ILayerZeroReceiver.sol 597 B

123456789101112
  1. // SPDX-License-Identifier: BUSL-1.1
  2. pragma solidity >=0.5.0;
  3. interface ILayerZeroReceiver {
  4. // @notice LayerZero endpoint will invoke this function to deliver the message on the destination
  5. // @param _srcChainId - the source endpoint identifier
  6. // @param _srcAddress - the source sending contract address from the source chain
  7. // @param _nonce - the ordered message nonce
  8. // @param _payload - the signed payload is the UA bytes has encoded to be sent
  9. function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;
  10. }