IDEX
  • Introduction to IDEX
  • What is IDEX
    • Components
      • High-performance Exchange
      • Hybrid Liquidity
        • HL Mechanics
        • IDEX HL and LPs
      • Smart Contracts
    • User Benefits
    • Liquidity Mining
    • Staking
    • Referral Program
    • Hummingbot
    • Markets
    • Fees
    • Live Help
  • Code
    • API
    • Smart Contracts
      • Custodian
      • Exchange
      • Governance
    • Resources
  • User Guides
    • Getting Started
      • Connect Your Ledger Hardware Wallet to IDEX
      • Connect Your Metamask Account to IDEX
      • Connect You Private Key/Keystore on IDEX
    • Trading
      • Deposit tokens
      • Withdraw tokens
      • Buy and sell
      • View and cancel open orders
      • View trade, deposit, and withdraw history
    • LP and Farms
      • Add liquidity (LP)
      • Remove liquidity (LP)
      • Add LP tokens to farms
      • Remove LP tokens from farms
    • Staking
      • Operate your own staking node
        • Host a public staking node
      • Delegate to an existing node
    • Polygon Confirmations
    • Hummingbot Setup
      • Pure Market Making
      • Arbitrage
    • AURA Swap Instructions
    • Withdraw Directly on Chain
      • Farm ID List
  • FAQ
    • Polygon Bridge
    • Escape Hatch
    • Adding Polygon To Metamask
    • Clock Sync
Powered by GitBook
On this page
  • Roles and Responsibilities

Was this helpful?

  1. Code
  2. Smart Contracts

Governance

Implements upgrade logic while enforcing governance constraints

PreviousExchangeNextResources

Last updated 3 years ago

Was this helpful?

The Governance contract manages the upgrade process. It contains the logic and constraints for changing the and Governance contract addresses within the . This allows for changes to both the exchange features and governance process without requiring users to migrate funds from the Custodian contract.

Roles and Responsibilities

Owner: The Governance contract has a single owner, which is the address the launched the contract. The owner of the contract cannot be changed.

Admin: The Governance contract has a single admin. The admin address can be changed by the owner of the contract with no delay.

The admin is the only address permitted to change the Exchange or Governance contract addresses in the Custodian. Changes to the contract addresses have a 1 week time delay before taking effect. This delay gives users time to withdraw their funds in the event that they disagree with the Exchange contract upgrade.

Exchange
Custodian