Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Latest commit

 

History

History
47 lines (38 loc) · 906 Bytes

contract-inheritance.md

File metadata and controls

47 lines (38 loc) · 906 Bytes

Contract Inheritance

Core Contracts

  • Home (initializes Common, OwnableUpgradeable)
    • MerkleTreeManager
    • Common (initializes QueueManager)
      • QueueManager
    • OwnableUpgradeable
  • Replica (initializes Common) -Common (initializes QueueManager) -QueueManager
  • UpdaterManager
    • Ownable
    • IUpdaterManager
  • XAppConnectionManager
    • Ownable
  • MerkleTreeManager

Upgrade

  • UpgradeBeacon
  • UpgradeBeaconController
    • Ownable
  • UpgradeBeaconProxy

Governance

  • GovernanceRouter
    • Initializable
    • IMessageRecipient

xApps

Token Bridge

  • BridgeRouter (initializes TokenRegistry and XAppConnectionClient)
    • TokenRegistry
      • Initializable
    • Router (no initializer)
      • XAppConnectionClient (initializes OwnableUpgradeable)
        • OwnableUpgradeable
  • BridgeToken (initializes OwnableUpgradeable)
    • ERC20
    • OwnableUpgradeable
    • IBridgeToken
  • ETHHelper