Created
April 24, 2018 13:27
-
-
Save MrCrambo/f4b0b7089d594a7f62fb4d94e28fe777 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function burn() public onlyAdmin { | |
extraTokensAmount = balances[tokenHolder]; | |
_totalSupply = _totalSupply.sub(extraTokensAmount); | |
balances[tokenHolder] = 0; | |
emit Burn(tokenHolder, extraTokensAmount); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment