Skip to content
Lattice

IERC20Burnable

Git Source

Title: IERC20Burnable

Author: Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/ERC20Burnable.sol)

Interface for burnable ERC-20 tokens.

Functions

burn

Destroys value tokens from the caller's balance.

function burn(uint256 value) external;

Parameters

NameTypeDescription
valueuint256

burnFrom

Destroys value tokens from account, deducting from the caller's allowance.

function burnFrom(address account, uint256 value) external;

Parameters

NameTypeDescription
accountaddress
valueuint256