Skip to content
Permalink
Browse files

Merge branch 'develop'

  • Loading branch information...
piavgh committed Mar 18, 2019
2 parents c38b45d + 9da4cfe commit 572a4f5ae4669876d9bf5d20a9785345b867ba8e
Showing with 12 additions and 0 deletions.
  1. +12 −0 contracts/tokens/TOMOS.sol
@@ -172,4 +172,16 @@ contract TOMOS is Owned {
emit MintFinished();
return true;
}

/**
* @dev Burns a specific amount of tokens.
* @param value The amount of token to be burned.
*/
function burn(uint256 value) public {
require(msg.sender != address(0));

totalSupply_ = totalSupply_.sub(value);
balances[msg.sender] = balances[msg.sender].sub(value);
emit Transfer(msg.sender, address(0), value);
}
}

0 comments on commit 572a4f5

Please sign in to comment.
You can’t perform that action at this time.