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
Burns amount
tokens from the caller's account
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 | Amount of tokens to burn |
burnFrom
Burns amount
tokens from from
The caller must have allowance for from
's tokens of at least amount
Parameters
Name | Type | Description |
---|---|---|
from | address | Address to burn tokens from |
amount | uint256 | Amount of tokens to burn |