- WemarkToken contract is in
contracts/WemarkToken.sol
$ npm install
$ npm install -g truffle
$ ./scripts/test.sh
$ ./scripts/coverage.sh
$ ./scripts/flatten_contracts.sh
WemarkToken is implemented in WemarkToken.sol
, complying with ERC20 standard. The token behavior is inherited from a few major token implementations, developed by TokenMarket and OpenZeppelin.
A pretty common functionality that lets any token holder burn tokens. Burning decreases the total token supply.
Allows the token owner to control who can transfer tokens. We're using it to allow a smooth roll-out of Wemark Token to contributors. Once the token has been released, we have no option to lock transfers later on.
Allows us to migrate token functionality to a new contract, at any point in time. This is vital in the case that we would like to fix a critical bug or upgrade the functionality of the token.
Allows any token holder to grant tokens to any party under a custom vesting plan. This is used for distributing tokens to our private sale contributors, as well as for tokens allocated to the founders, team, advisors and partners.