ClearDAO FAQ
  • Getting Started
    • How it Works
    • Product
    • Roadmap
    • Team
    • ClearDAO Token
    • ClearDAO Token Bridge
    • Contact
  • Development Resources
    • SDK
      • ClearDAO Developer Guide
      • Deploy Contracts
        • Options and Notes
          • Quick Start
          • Configure Contract
          • Contract Upgrade
          • Contract Address
        • TRS
      • Configure Contract Parameters
      • Interact With Contracts
        • Options
        • Notes
        • TRS
        • CDS
          • README
          • CDS Buyer
          • Challenger
          • Liquidity Provider
          • Ticket
          • Ticket Market
          • Ticket Sale
          • Seller
      • Contract Reference
        • Oracle
        • Index Contract
        • Option Contract
        • Market Maker Contract
        • Note Contract
      • APIs
        • CDS
          • Config
          • Ticket
          • Ticket Sale
          • Transaction
          • CDS Market
          • Issue CDS
          • CDS Category
          • Ticket Market
        • Options and Notes
          • Configure
          • Price
          • User
          • Index
          • Option Parameter Configuration
          • Faucet
          • Market Maker
        • TRS
        • CLEARIndex
    • Barrier Options
    • NFT Marketplace
    • ClearIndex
  • Governance
    • CLH Staking Module
Powered by GitBook
On this page
  1. Development Resources
  2. SDK
  3. Deploy Contracts
  4. Options and Notes

Contract Upgrade

Some key contracts can be upgraded when there’s an update or the bug needs to be fixed. The upgradeable contracts are as follows:

  • Option contract(OptionV2

  • Market maker contract (OptionMaker)

  • Fund contract (NoteV2)

  • Price coefficient (PriceCoefficient)

  • Access control contract(ClearAccessControl)

  • Option index contrac(OptionIndex)

Upgrade Method

  1. Deploy new contract logic and get a new contract address;

  2. contracts.json->ClearProxyAdminis the upgrade management contract. Call upgrade(proxy,implementation),to upgrade the contract,where proxy is the contract that needs to be upgraded, implementation is the new contract logic, contracts.json->proxyManageris the caller address.

PreviousConfigure ContractNextContract Address

Last updated 1 year ago