LogoLogo
  • Getting Started
    • Overview
    • Whitepaper V4
    • FAQ
  • What's New?
    • Isolated Pools
    • Reward Distributor
    • Peg Stability Module
    • Automatic Income Allocation
    • Token Converter
    • Venus Prime
    • Stable Rate Borrowing
  • Governance
    • VIPs
    • Tokenomics
    • Community Forum
  • Risk
    • Resilient Price Oracle
    • Interest Rate Model
    • Risk Fund and Shortfall Handling
    • Risk Management
  • Tokens
    • XVS
    • VAI
      • VAIController
      • VAIUnitroller
  • Guides
    • Venus interface
    • Supplying and borrowing
    • Liquidations
    • Governance
      • Submitting a VIP
      • Delegating & Voting
    • Vaults
    • Protocol Math
    • XVS Bridge
    • Borrowing VAI
    • Gasless Transactions on zkSync
  • Technical reference
    • Contracts Overview
    • Technical articles
      • Automatic income allocation
      • Capped Oracles
      • Contributing
      • Diamond Comptroller in the Core pool
      • Native Token Gateway
      • Omnichain Governance
      • Prime tokens
      • Shortfall and auctions
      • Token Converters
      • Two Kinks Interest Rate Curve
      • XVS Bridge
    • Core Pool
      • Comptroller
        • ComptrollerLens
        • Diamond
          • Diamond
          • DiamondConsolidated
          • Facets
            • MarketFacet
            • PolicyFacet
            • RewardFacet
            • SetterFacet
      • VToken
      • Prime
        • Prime token
        • Prime liquidity provider
        • Prime storage
      • Vaults
        • XVS
          • XVSVault
          • XVSVaultProxy
          • XVSStore
          • XVSVaultTreasury
        • VAI
          • VAIVault
          • VAIVaultProxy
      • InterestRateModels
        • JumpModel
        • TwoKinksInterestRateModel
        • WhitePaperModel
        • InterestRateModelLens
      • Liquidator
      • VTreasury
      • VenusLens
      • PSM
      • VBNBAdmin
    • Isolated Pools
      • Comptroller
        • Comptroller
        • ComptrollerStorage
      • VToken
        • VToken
        • VTokenInterfaces
      • NativeTokenGateway
      • Pool Registry
        • PoolRegistry
        • PoolRegistryInterface
      • RewardsDistributor
      • PoolLens
      • Interest Rate Models
        • InterestRateModel
        • BaseJumpRateModelV2
        • JumpRateModelV2
        • TwoKinksInterestRateModel
        • WhitePaperInterestRateModel
      • Risk Fund and Shortfall
        • Shortfall
        • ProtocolShareReserve
        • RiskFund
        • RiskFundStorage
      • Utility
        • MaxLoopsLimitHelper
        • ErrorReporter
        • ExponentialNoError
    • Oracle
      • ResilientOracle
      • BoundValidator
      • Sources
        • ChainlinkOracle
        • SequencerChainlinkOracle
        • BinanceOracle
      • Correlated token oracles
        • AnkrBNBOracle
        • CorrelatedTokenOracle
        • BNBxOracle
        • OneJumpOracle
        • PendleOracle
        • SFraxOracle
        • SFrxETHOracle
        • SlisBNBOracle
        • StkBNBOracle
        • WBETHOracle
        • WeETHOracle
        • WstETHOracle
    • Governance
      • AccessControlManager
      • GovernorBravoDelegate
      • AccessControlledV5
      • GovernorBravoDelegator
      • Timelock
      • GovernorBravoInterfaces
      • AccessControlledV8
      • BaseOmnichainControllerSrc
      • BaseOmnichainControllerDest
      • OmnichainProposalSender
      • OmnichainGovernanceExecutor
      • OmnichainExecutorOwner
    • Token Converter
      • AbstractTokenConverter
      • RiskFundConverter
      • SingleTokenConverter
      • ConverterNetwork
    • XVS Bridge
      • BaseXVSProxyOFT
      • XVSProxyOFTSrc
      • XVSProxyOFTDest
      • XVSBridgeAdmin
      • XVS
      • TokenController
  • Deployed Contracts
    • Markets
    • Funds
    • Oracles
    • Governance
    • XVS Omnichain
    • Token Converters
  • Services
    • API
    • Subgraphs
  • Links
    • Security & Audits
    • Resources
    • Community Resources
    • Brand kit
Powered by GitBook
On this page
  • BaseOmnichainControllerSrc
  • Solidity API
Export as PDF
  1. Technical reference
  2. Governance

BaseOmnichainControllerSrc

BaseOmnichainControllerSrc

Solidity API

accessControlManager

ACM (Access Control Manager) contract address

address accessControlManager

chainIdToMaxDailyLimit

Maximum daily limit for commands from the local chain

mapping(uint16 => uint256) chainIdToMaxDailyLimit

chainIdToLast24HourCommandsSent

Total commands transferred within the last 24-hour window from the local chain

mapping(uint16 => uint256) chainIdToLast24HourCommandsSent

chainIdToLast24HourWindowStart

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

mapping(uint16 => uint256) chainIdToLast24HourWindowStart

chainIdToLastProposalSentTimestamp

Timestamp when the last proposal sent from the local chain to dest chain

mapping(uint16 => uint256) chainIdToLastProposalSentTimestamp

setMaxDailyLimit

Sets the limit of daily (24 Hour) command amount

function setMaxDailyLimit(uint16 chainId_, uint256 limit_) external

Parameters

Name
Type
Description

chainId_

uint16

Destination chain id

limit_

uint256

Number of commands

📅 Events

  • Emits SetMaxDailyLimit with old and new limit and its corresponding chain id

⛔️ Access Requirements

  • Controlled by AccessControlManager


pause

Triggers the paused state of the controller

function pause() external

⛔️ Access Requirements

  • Controlled by AccessControlManager


unpause

Triggers the resume state of the controller

function unpause() external

⛔️ Access Requirements

  • Controlled by AccessControlManager


setAccessControlManager

Sets the address of Access Control Manager (ACM)

function setAccessControlManager(address accessControlManager_) external

Parameters

Name
Type
Description

accessControlManager_

address

The new address of the Access Control Manager

📅 Events

  • Emits NewAccessControlManager with old and new access control manager addresses

⛔️ Access Requirements

  • Only owner


renounceOwnership

Empty implementation of renounce ownership to avoid any mishap

function renounceOwnership() public

Last updated 3 months ago