OAppAuth
Inherits: OAppAuthSender, OAppAuthReceiver
Abstract contract serving as the base for OApp implementation, combining OAppSender and OAppReceiver functionality.
This Auth version of OAppCore uses solmate's Auth instead of OZ's Ownable for compatibility purposes
Functions
constructor
Constructor to initialize the OApp with the provided endpoint and owner.
Parameters
Name
Type
Description
_endpoint
address
The address of the LOCAL LayerZero endpoint.
_delegate
address
The delegate capable of making OApp configurations inside of the endpoint.
oAppVersion
Retrieves the OApp version information.
Returns
Name
Type
Description
senderVersion
uint64
The version of the OAppSender.sol implementation.
receiverVersion
uint64
The version of the OAppReceiver.sol implementation.