ERC20MintingConnectorLogic
Inherits: TokenConnectorLogic
Functions
applyState
Applies the given state to the token contract by transfers.
function applyState(bytes calldata _state) public virtual override onlyBridge;
Parameters
Name | Type | Description |
---|---|---|
_state | bytes | The 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
Name | Type | Description |
---|---|---|
value | uint256 | The amount of tokens to burn |
Events
Burned
Events
event Burned(address indexed account, uint256 value);