ERC20BurnableFacet

Git Source

Inherits: IERC20Burnable, ERC20Base, AccessControlBase, Facet

Functions

ERC20Burnable_init

function ERC20Burnable_init() external;

burn

Burns an amount of the token of the sender.

function burn(uint256 amount) external;

Parameters

NameTypeDescription

amount

uint256

The amount that will be burnt.

burnFrom

Burns an amount of the token of a given account.

function burnFrom(address account, uint256 amount) external protected;

Parameters

NameTypeDescription

account

address

The account whose tokens will be burnt.

amount

uint256

The amount that will be burnt.