BaseTestFungibleToken
Inherits: ERC20
Functions
mint
Mint fungible tokens for oneself.
function mint(uint256 value) external;
Parameters
| Name | Type | Description |
|---|---|---|
value | uint256 | The amount of fungible tokens to mint |
mint
Mint fungible tokens.
Compatible with cast erc20 mint <TOKEN> <TO> <VALUE>.
function mint(address to, uint256 value) external;
Parameters
| Name | Type | Description |
|---|---|---|
to | address | The account that will receive the tokens |
value | uint256 | The amount of fungible tokens to mint |
burn
Burn fungible tokens from one's balance.
Compatible with cast erc20 burn <TOKEN> <VALUE>.
function burn(uint256 value) external;
Parameters
| Name | Type | Description |
|---|---|---|
value | uint256 | The amount of fungible tokens to burn |