ERC20BurnableFacet
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
Name
Type
Description
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
Name
Type
Description
account
address
The account whose tokens will be burnt.
amount
uint256
The amount that will be burnt.
Was this helpful?