EVM Chains Contract
Message EVM Chains Contract
contract interface
initialize
perform initialization
function
function initialize(address _wToken, address _lightNode)public
parameters
parameter
type
comment
_wToken
address
This is wrap contract address
_lightNode
address
This is the LightClient contract address
transferOut
Cross-chain transfer of message
function
function transferOut(uint256 _toChain,CallData memory _callData) external
parameters
parameter
type
comment
_toChain
address
Target chain id to transfer out
_messageData
bytes
This structure contains information across the chain
_feeToken
address
Toke address for payment of handling charges
transferIn
Perform cross-chain transfer
function
function transferIn(uint256 _chainId, bytes memory _receiptProof) external
parameters
parameter
type
comment
_chainId
uint256
source chain id
_receiptProof
bytes
source chain transfer proof
Data structure
ReceiptProof includes the proof and the receipt to prove.
Last updated