EVM Chains Contract
Contract Address
contract interface
User Interface
transferOutToken
Cross-chain transfer out token
function
function transferOutToken(address _token, bytes memory _to, uint256 _amount, uint256 _toChain) external
parameters
transferOutNative
Cross-chain transfer out of the native coin
function
function transferOutNative(bytes memory _to, uint _toChain) external
parameters
depositToken
Deposit token to vault
function
function depositToken(address _token, address _to, uint _amount) external
parameters
depositNative
Deposit native coin to vault
function
function depositNative(address _to) external
parameters
Messenger Interface
transferIn
Perform cross-chain transfer
function
function transferIn(uint256 _chainId, bytes memory _receiptProof) external
parameters
Management Interface
initialize
perform initialization
function
function initialize(address _wToken, address _lightNode)public
parameters
Data structure
ReceiptProof includes the proof and the receipt to prove.
Last updated