Skip to main content

IHubCoreRegistry

Git Source

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

NameTypeDescription
_chainRegistryaddressThe chain registry address.

setMachineBeacon

Sets the machine beacon address.

function setMachineBeacon(address _machineBeacon) external;

Parameters

NameTypeDescription
_machineBeaconaddressThe machine beacon address.

setPreDepositVaultBeacon

Sets the pre-deposit vault beacon address.

function setPreDepositVaultBeacon(address _preDepositVaultBeacon) external;

Parameters

NameTypeDescription
_preDepositVaultBeaconaddressThe 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);