interchain-token-service

Solidity API

IERC20MintableBurnable

Interface of the ERC20 standard as defined in the EIP.

mint

function mint(address to, uint256 amount) external

Function to mint new tokens.

Can only be called by the minter address.

Parameters

Name Type Description
to address The address that will receive the minted tokens.
amount uint256 The amount of tokens to mint.

burn

function burn(address from, uint256 amount) external

Function to burn tokens.

Can only be called by the minter address.

Parameters

Name Type Description
from address The address that will have its tokens burnt.
amount uint256 The amount of tokens to burn.