Skip to main content

ILZEndpointDelegate

Git Source

Title: ILZEndpointDelegate

The external interface of an LZ Bridge endpoint delegate policy that acts as a LayerZero V2 endpoint delegate for a specific LZBridgeGateway, exposing the OApp-authorized endpoint surface via ILZEndpointV2Authorized.

Implementations are designed to be assigned as the endpoint delegate of the gateway so the LayerZero endpoint accepts the calls forwarded by this policy with the gateway as the OApp argument.

Functions​

LZ_ENDPOINT​

The LayerZero V2 endpoint address this delegate proxies to.

function LZ_ENDPOINT() external view returns (address);

Returns

NameTypeDescription
<none>address

GATEWAY​

The address of the LZBridgeGateway this delegate acts on behalf of.

function GATEWAY() external view returns (address);

Returns

NameTypeDescription
<none>address