Skip to content
No description or website provided.
JavaScript Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts
migrations
public
test
trash
utils/test/helpers
.gitignore
.soliumignore
.soliumrc.json
README.md
docker-compose.yml
getabi.rb
package.json
truffle-config.js
truffle.js

README.md

Mars Token contracts

Contract Reference:

contracts

  • MarsToken as main contract are mintable & burnable ERC20 token.
  • using external smart contract to store balance, allowance, totallsupply. that will be helpful during contract upgrade.

Role:

  • Owner
    • superAdmin of contracts
  • MintMaster
    • mint management
  • Mint
    • Can mint with allowance amount
    • Can burn token
  • Blacklister
    • black list management

About testing:

docker-compose up -d blockchain
./node_modules/.bin/truffle test

Compilation

npm install -g truffle-flattener
truffle-flattener contracts/MarsTokenV2.sol > 1sg.sol
You can’t perform that action at this time.