HubCoreRegistry
Inherits: CoreRegistry, IHubCoreRegistry
Constants
HubCoreRegistryStorageLocation
bytes32 private constant HubCoreRegistryStorageLocation =
0x662caa641f82b896df85da03edbf3b36c0e08aa64db68d7994394899aadc4700;Functions
_getHubCoreRegistryStorage
function _getHubCoreRegistryStorage() private pure returns (HubCoreRegistryStorage storage $);Returns
| Name | Type | Description |
|---|---|---|
| $ | HubCoreRegistryStorage |
constructor
constructor();initialize
function initialize(address _oracleRegistry, address _tokenRegistry, address initialAuthority)
external
initializer;Parameters
| Name | Type | Description |
|---|---|---|
| _oracleRegistry | address | |
| _tokenRegistry | address | |
| initialAuthority | address |
machineBeacon
Address of the machine beacon contract.
function machineBeacon() external view override returns (address);Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |
preDepositVaultBeacon
Address of the pre-deposit vault beacon contract.
function preDepositVaultBeacon() external view override returns (address);Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |
setMachineBeacon
Sets the machine beacon address.
function setMachineBeacon(address _machineBeacon) external override restricted;Parameters
| Name | Type | Description |
|---|---|---|
| _machineBeacon | address | The machine beacon address. |
setPreDepositVaultBeacon
Sets the pre-deposit vault beacon address.
function setPreDepositVaultBeacon(address _preDepositVaultBeacon) external override restricted;Parameters
| Name | Type | Description |
|---|---|---|
| _preDepositVaultBeacon | address | The pre-deposit vault beacon address. |
Structs
HubCoreRegistryStorage
Note:
- storage-location: erc7201:makina.storage.HubCoreRegistry
struct HubCoreRegistryStorage {
address _deprecated_0;
address _machineBeacon;
address _preDepositVaultBeacon;
}Properties
| Name | Type | Description |
|---|---|---|
| _deprecated_0 | address | |
| _machineBeacon | address | |
| _preDepositVaultBeacon | address |