NativeConnectorLogic
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. |
lock
This function is payable, meaning it can receive TARA.
Locks the specified amount of tokens to transfer them to the other network.
function lock(uint256 amount) public payable;
Events
Locked
Events
event Locked(address indexed account, uint256 value);