Registry
Git Source (opens in a new tab)
Allows registering Infernet contracts for inter-contract discovery
Requires deploy-time decleration of contract addresses
Immutable with no upgradeability; used only for discovery
State Variables
COORDINATOR
Coordinator address
address public immutable COORDINATOR;
INBOX
Inbox address
address public immutable INBOX;
READER
Reader address
address public immutable READER;
FEE
Fee registry address
address public immutable FEE;
WALLET_FACTORY
Wallet factory address
address public immutable WALLET_FACTORY;
Functions
constructor
Initializes new Registry
Requires pre-computing expected deployed addresses
constructor(address coordinator, address inbox, address reader, address fee, address walletFactory);
Parameters
Name | Type | Description |
---|---|---|
coordinator | address | Coordinator address |
inbox | address | Inbox address |
reader | address | Reader address |
fee | address | Fee registry address |
walletFactory | address | Wallet factory address |