ODCdataManagersERC20extensions

ERC20Burnable

Abstract contract that provides the burn operations of the ERC20 Data Manager

burn

function burn(uint256 amount) external

Burns amount tokens from the caller's account

Parameters

NameTypeDescription
amountuint256Amount of tokens to burn

burnFrom

function burnFrom(address from, uint256 amount) external

Burns amount tokens from from

The caller must have allowance for from's tokens of at least amount

Parameters

NameTypeDescription
fromaddressAddress to burn tokens from
amountuint256Amount of tokens to burn

On this page