ODCdataManagersomnichainERC20extensions

OmnichainERC20Burnable

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

The operations of this contract are only allowed on the single chain

burn

function burn(uint256 amount) public virtual

Burns amount tokens from the caller's account

Parameters

NameTypeDescription
amountuint256Amount of tokens to burn

burnFrom

function burnFrom(address from, uint256 amount) public virtual

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