IERC20MintableBurnable

Git Source

Inherits: IERC20

Functions

mintTo

Mints a specified amount of tokens and assigns them to the specified account.

function mintTo(address receiver, uint256 amount) external;

Parameters

NameTypeDescription
receiveraddressThe address to which the tokens will be minted.
amountuint256The amount of tokens to be minted.

burnFrom

*Destroys a value amount of tokens from account, deducting from the caller's allowance. See ERC20-_burn and {ERC20-allowance}. Requirements:

  • the caller must have allowance for accounts's tokens of at least value.*
function burnFrom(address account, uint256 value) external;

Parameters

NameTypeDescription
accountaddressThe address from which the tokens will be burnt.
valueuint256The amount of tokens to burn.