ERC20MintingConnectorLogic

Git Source

Inherits: TokenConnectorLogic

Functions

applyState

Applies the given state to the token contract by transfers.

function applyState(bytes calldata _state) public virtual override onlyBridge;

Parameters

NameTypeDescription
_statebytesThe state to be applied.

burn

The amount of tokens to burn must be approved by the sender

Burns a specified amount of tokens to transfer them to the other network.

function burn(uint256 value) public payable onlySettled;

Parameters

NameTypeDescription
valueuint256The amount of tokens to burn

Events

Burned

Events

event Burned(address indexed account, uint256 value);