IHubCoreRegistry
Inherits: ICoreRegistry
Functions
chainRegistry
Address of the chain registry.
function chainRegistry() external view returns (address);
machineBeacon
Address of the machine beacon contract.
function machineBeacon() external view returns (address);
preDepositVaultBeacon
Address of the pre-deposit vault beacon contract.
function preDepositVaultBeacon() external view returns (address);
setChainRegistry
Sets the chain registry address.
function setChainRegistry(address _chainRegistry) external;
Parameters
Name | Type | Description |
---|---|---|
_chainRegistry | address | The chain registry address. |
setMachineBeacon
Sets the machine beacon address.
function setMachineBeacon(address _machineBeacon) external;
Parameters
Name | Type | Description |
---|---|---|
_machineBeacon | address | The machine beacon address. |
setPreDepositVaultBeacon
Sets the pre-deposit vault beacon address.
function setPreDepositVaultBeacon(address _preDepositVaultBeacon) external;
Parameters
Name | Type | Description |
---|---|---|
_preDepositVaultBeacon | address | The pre-deposit vault beacon address. |
Events
ChainRegistryChanged
event ChainRegistryChanged(address indexed oldChainRegistry, address indexed newChainRegistry);
MachineBeaconChanged
event MachineBeaconChanged(address indexed oldMachineBeacon, address indexed newMachineBeacon);
PreDepositVaultBeaconChanged
event PreDepositVaultBeaconChanged(address indexed oldPreDepositVaultBeacon, address indexed newPreDepositVaultBeacon);