Skip to main content

HubCoreRegistry

Git Source

Inherits: CoreRegistry, IHubCoreRegistry

State Variables

HubCoreRegistryStorageLocation

bytes32 private constant HubCoreRegistryStorageLocation =
0x662caa641f82b896df85da03edbf3b36c0e08aa64db68d7994394899aadc4700;

Functions

_getHubCoreRegistryStorage

function _getHubCoreRegistryStorage() private pure returns (HubCoreRegistryStorage storage $);

constructor

constructor();

initialize

function initialize(address _oracleRegistry, address _tokenRegistry, address _chainRegistry, address _initialAuthority)
external
initializer;

chainRegistry

Address of the chain registry.

function chainRegistry() external view override returns (address);

machineBeacon

Address of the machine beacon contract.

function machineBeacon() external view override returns (address);

preDepositVaultBeacon

Address of the pre-deposit vault beacon contract.

function preDepositVaultBeacon() external view override returns (address);

setChainRegistry

Sets the chain registry address.

function setChainRegistry(address _chainRegistry) external override restricted;

Parameters

NameTypeDescription
_chainRegistryaddressThe chain registry address.

setMachineBeacon

Sets the machine beacon address.

function setMachineBeacon(address _machineBeacon) external override restricted;

Parameters

NameTypeDescription
_machineBeaconaddressThe machine beacon address.

setPreDepositVaultBeacon

Sets the pre-deposit vault beacon address.

function setPreDepositVaultBeacon(address _preDepositVaultBeacon) external override restricted;

Parameters

NameTypeDescription
_preDepositVaultBeaconaddressThe pre-deposit vault beacon address.

Structs

HubCoreRegistryStorage

Note: storage-location: erc7201:makina.storage.HubCoreRegistry

struct HubCoreRegistryStorage {
address _chainRegistry;
address _machineBeacon;
address _preDepositVaultBeacon;
}