Skip to content

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.

Maximum daily limit for receiving commands from BNB Chain

uint256 maxDailyReceiveLimit

Total received commands within the last 24-hour window from Binance chain

uint256 last24HourCommandsReceived

Timestamp when the last 24-hour window started from Binance chain

uint256 last24HourReceiveWindowStart

Sets the maximum daily limit for receiving commands

function setMaxDailyReceiveLimit(uint256 limit_) external
NameTypeDescription
limit_uint256Number of commands
  • Emits SetMaxDailyReceiveLimit with old and new limit
  • Only Owner

Triggers the paused state of the controller

function pause() external
  • Only owner

Triggers the resume state of the controller

function unpause() external
  • Only owner

Empty implementation of renounce ownership to avoid any mishappening

function renounceOwnership() public