NonblockingLzApp

Git Source

Inherits: LzApp

Functions

constructor

constructor(address endpoint) LzApp(endpoint);

_blockingLzReceive

function _blockingLzReceive(uint16 srcChainId, bytes memory srcAddress, uint64 nonce, bytes memory payload)
    internal
    virtual
    override;

nonblockingLzReceive

function nonblockingLzReceive(uint16 srcChainId, bytes memory srcAddress, uint64 nonce, bytes memory payload)
    public
    virtual;

_nonblockingLzReceive

function _nonblockingLzReceive(uint16 srcChainId, bytes memory srcAddress, uint64 nonce, bytes memory payload)
    internal
    virtual;

retryMessage

function retryMessage(uint16 srcChainId, bytes memory srcAddress, uint64 nonce, bytes memory payload)
    public
    payable
    virtual;

failedMessages

function failedMessages(uint16 srcChainId, bytes memory srcAddress, uint64 nonce) external view returns (bytes32);

Events

MessageFailed

event MessageFailed(uint16 srcChainId, bytes srcAddress, uint64 nonce, bytes payload, bytes reason);

RetryMessageSuccess

event RetryMessageSuccess(uint16 srcChainId, bytes srcAddress, uint64 nonce, bytes32 payloadHash);

Errors

NonblockingLzApp__CallerNotLzApp

error NonblockingLzApp__CallerNotLzApp();

NonblockingLzApp__InvalidPayload

error NonblockingLzApp__InvalidPayload();

NonblockingLzApp__NoStoredMessage

error NonblockingLzApp__NoStoredMessage();