IERC20Issuance_v1.sol
Inherits: IERC20
Functions
setMinter
Sets the minting rights of an address.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the minter. |
|
| If the address is allowed to mint or not. |
mint
Mints new tokens.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the recipient. |
|
| The amount of tokens to mint. |
burn
Burns tokens.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the owner or approved address. |
|
| The amount of tokens to burn. |
allowedMinters
Mapping of allowed minters.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the minter. |
Returns
Name | Type | Description |
---|---|---|
|
| If the address is allowed to mint or not. |
Events
MinterSet
Emitted when the minter is set.
Errors
IERC20Issuance__CallerIsNotMinter
The caller is not the minter.
Last updated