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 |
---|---|---|
|
| The address of the LOCAL LayerZero endpoint. |
|
| The delegate capable of making OApp configurations inside of the endpoint. |
oAppVersion
Retrieves the OApp version information.
Returns
Name | Type | Description |
---|---|---|
|
| The version of the OAppSender.sol implementation. |
|
| The version of the OAppReceiver.sol implementation. |