Interface of the ERC20 standard as defined in the EIP.
function mint(address to, uint256 amount) external
Function to mint new tokens.
Can only be called by the minter address.
Name | Type | Description |
---|---|---|
to | address | The address that will receive the minted tokens. |
amount | uint256 | The amount of tokens to mint. |
function burn(address from, uint256 amount) external
Function to burn tokens.
Can only be called by the minter address.
Name | Type | Description |
---|---|---|
from | address | The address that will have its tokens burnt. |
amount | uint256 | The amount of tokens to burn. |