ILayerZeroReceiver
Functions
lzReceive
LayerZero endpoint will invoke this function to deliver the message on the destination
function lzReceive(uint16 srcChainId, bytes calldata srcAddress, uint64 nonce, bytes calldata payload) external;
Parameters
Name | Type | Description |
---|---|---|
srcChainId | uint16 | The source endpoint identifier |
srcAddress | bytes | The source sending contract address from the source chain |
nonce | uint64 | The ordered message nonce |
payload | bytes | The signed payload is the UA bytes has encoded to be sent |