OAppAuth
Was this helpful?
Was this helpful?
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
Constructor to initialize the OApp with the provided endpoint and owner.
Parameters
_endpoint
address
The address of the LOCAL LayerZero endpoint.
_delegate
address
The delegate capable of making OApp configurations inside of the endpoint.
Retrieves the OApp version information.
Returns
senderVersion
uint64
The version of the OAppSender.sol implementation.
receiverVersion
uint64
The version of the OAppReceiver.sol implementation.