Skip to content
LogoLogo

HubCoreRegistry

Git Source

Inherits: CoreRegistry, IHubCoreRegistry

Constants

HubCoreRegistryStorageLocation

bytes32 private constant HubCoreRegistryStorageLocation =
        0x662caa641f82b896df85da03edbf3b36c0e08aa64db68d7994394899aadc4700;

Functions

_getHubCoreRegistryStorage

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

Returns

NameTypeDescription
$HubCoreRegistryStorage

constructor

constructor();

initialize

function initialize(address _oracleRegistry, address _tokenRegistry, address initialAuthority)
        external
        initializer;

Parameters

NameTypeDescription
_oracleRegistryaddress
_tokenRegistryaddress
initialAuthorityaddress

machineBeacon

Address of the machine beacon contract.

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

Returns

NameTypeDescription
<none>address

preDepositVaultBeacon

Address of the pre-deposit vault beacon contract.

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

Returns

NameTypeDescription
<none>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 _deprecated_0;
        address _machineBeacon;
        address _preDepositVaultBeacon;
    }

Properties

NameTypeDescription
_deprecated_0address
_machineBeaconaddress
_preDepositVaultBeaconaddress