IERC20Issuance_v1.sol
Inherits: IERC20
Functions
setMinter
Sets the minting rights of an address.
Parameters
Name
Type
Description
_minter
address
The address of the minter.
_allowed
bool
If the address is allowed to mint or not.
mint
Mints new tokens.
Parameters
Name
Type
Description
_to
address
The address of the recipient.
_amount
uint256
The amount of tokens to mint.
burn
Burns tokens.
Parameters
Name
Type
Description
_from
address
The address of the owner or approved address.
_amount
uint256
The amount of tokens to burn.
allowedMinters
Mapping of allowed minters.
Parameters
Name
Type
Description
_minter
address
The address of the minter.
Returns
Name
Type
Description
<none>
bool
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