Token

mint

function mint(address to, uint amount) external;

mints ERC20 token

Parameters Name
Type
Description

to

address

receiver address of the ERC20 address

amount

uint

amount of ERC20 token minted

burnFrom

function burnFrom(address account, uint amount) external;

Tokens from account, deducting from the caller's allowance.

Parameter Name
Type
Description

account

address

Destroys amount tokens from account, deducting from the caller's allowance.

amount

uint

the caller must have allowance for accounts's tokens of at least amount.

Last updated