BaseOmnichainControllerDest
BaseOmnichainControllerDest
Section titled “BaseOmnichainControllerDest”BaseOmnichainControllerDest at v2.15.0 is the abstract destination-side base for OmnichainGovernanceExecutor. It uses the LayerZero V1 NonblockingLzApp API, applies one 24-hour receive-command limit to the BNB source, and disables ownership renunciation. It is not a standalone deployment.
Solidity API
Section titled “Solidity API”maxDailyReceiveLimit
Section titled “maxDailyReceiveLimit”Maximum daily limit for receiving commands from BNB Chain
uint256 maxDailyReceiveLimitlast24HourCommandsReceived
Section titled “last24HourCommandsReceived”Total received commands within the last 24-hour window from Binance chain
uint256 last24HourCommandsReceivedlast24HourReceiveWindowStart
Section titled “last24HourReceiveWindowStart”Timestamp when the last 24-hour window started from Binance chain
uint256 last24HourReceiveWindowStartsetMaxDailyReceiveLimit
Section titled “setMaxDailyReceiveLimit”Sets the maximum daily limit for receiving commands
function setMaxDailyReceiveLimit(uint256 limit_) externalParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| limit_ | uint256 | Number of commands |
📅 Events
Section titled “📅 Events”- Emits SetMaxDailyReceiveLimit with old and new limit
⛔️ Access Requirements
Section titled “⛔️ Access Requirements”- Only Owner
Triggers the paused state of the controller
function pause() external⛔️ Access Requirements
Section titled “⛔️ Access Requirements”- Only owner
unpause
Section titled “unpause”Triggers the resume state of the controller
function unpause() external⛔️ Access Requirements
Section titled “⛔️ Access Requirements”- Only owner
renounceOwnership
Section titled “renounceOwnership”Empty implementation of renounce ownership to avoid any mishappening
function renounceOwnership() public