Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IERC20Burnable

Git Source

Inherits: IERC20

Author: Mure

Interface for IERC20Burnable token extension by Openzeppelin.

Functions

burn

Destroys a value amount of tokens from the caller. See ERC20-_burn.

function burn(uint256 value) external;

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;