IERC20MintableBurnable
Inherits: IERC20
Functions
mintTo
Mints a specified amount of tokens and assigns them to the specified account.
function mintTo(address receiver, uint256 amount) external;
Parameters
Name | Type | Description |
---|---|---|
receiver | address | The address to which the tokens will be minted. |
amount | uint256 | The amount of tokens to be minted. |
burnFrom
*Destroys a value
amount of tokens from account
, deducting from
the caller's allowance.
See ERC20-_burn and {ERC20-allowance}.
Requirements:
- the caller must have allowance for
accounts
's tokens of at leastvalue
.*
function burnFrom(address account, uint256 value) external;
Parameters
Name | Type | Description |
---|---|---|
account | address | The address from which the tokens will be burnt. |
value | uint256 | The amount of tokens to burn. |