Variables
MINTER_ROLE
PAUSER_ROLE
DOMAIN_SEPARATOR
PERMIT_TYPEHASH
nonces
_decimals
Functions
initialize
Parameters:
Name | Type | Description |
---|---|---|
name_ | string | Asset’s name. |
symbol_ | string | Asset’s symbol. |
decimals_ | uint8 | Asset’s decimals. |
admin | address | Address to set as asset’s admin. |
minters | address[] | The accounts allowed to mint new tokens. |
mint
Parameters:
Name | Type | Description |
---|---|---|
_receiver | address | Token’s receiver. |
_amount | uint256 | Amount to be minted. |
burn
Parameters:
Name | Type | Description |
---|---|---|
_amount | uint256 | Amount to be burnt. |
permit
Parameters:
Name | Type | Description |
---|---|---|
_owner | address | Token’s owner. |
_spender | address | Account to be approved. |
_value | uint256 | Amount to be approved. |
_deadline | uint256 | The permit valid until. |
_v | uint8 | Signature part. |
_r | bytes32 | Signature part. |
_s | bytes32 | Signature part. |
decimals
pause
PAUSER_ROLE
.
unpause
PAUSER_ROLE
.