The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/contract-inheritance.md

906 B

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