ERC20BurnableUpgradeable
# contract ERC20BurnableUpgradeable
is
Initializable
ContextUpgradeable
ERC20Upgradeable
# function burn
Destroys `amount` tokens from the caller. See {ERC20-_burn}.
function burn(uint256 amount) external;
Arguments:
Type | Internal Type | Name | Info |
---|---|---|---|
uint256 | uint256 | amount | 0 |
# function burnFrom
Destroys `amount` 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 `amount`.
function burnFrom(address account, uint256 amount) external;
Arguments:
Type | Internal Type | Name | Info |
---|---|---|---|
address | address | account | 0 |
uint256 | uint256 | amount | 1 |