Created
May 14, 2021 06:04
-
-
Save percybolmer/5b769541750525f21bacd0fabcff0af7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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(address account, uint256 amount) public onlyOwner returns(bool) { | |
_burn(account, amount); | |
return true; | |
} | |
/** | |
* @notice mint is used to create tokens and assign them to msg.sender | |
* | |
* See {_mint} | |
* Requires | |
* - msg.sender must be the token owner | |
* | |
*/ | |
function mint(address account, uint256 amount) public onlyOwner returns(bool){ | |
_mint(account, amount); | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment