Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save percybolmer/5b769541750525f21bacd0fabcff0af7 to your computer and use it in GitHub Desktop.
Save percybolmer/5b769541750525f21bacd0fabcff0af7 to your computer and use it in GitHub Desktop.
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