IHubPeripheryRegistry
Functions
peripheryFactory
Address of the periphery factory.
function peripheryFactory() external view returns (address);Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |
depositorBeacon
Implementation ID => Address of the depositor beacon
function depositorBeacon(uint16 implemId) external view returns (address);Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |
redeemerBeacon
Implementation ID => Address of the redeemer beacon
function redeemerBeacon(uint16 implemId) external view returns (address);Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |
feeManagerBeacon
Implementation ID => Address of the fee manager beacon
function feeManagerBeacon(uint16 implemId) external view returns (address);Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |
securityModuleBeacon
Address of the security module beacon.
function securityModuleBeacon() external view returns (address);Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |
setPeripheryFactory
Sets the address of the periphery factory.
function setPeripheryFactory(address _peripheryFactory) external;Parameters
| Name | Type | Description |
|---|---|---|
| _peripheryFactory | address | The periphery factory address. |
setDepositorBeacon
Sets the beacon address for the depositor implementation.
function setDepositorBeacon(uint16 implemId, address _depositorBeacon) external;Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 | The ID of the machine depositor implementation. |
| _depositorBeacon | address | The machine depositor beacon address. |
setRedeemerBeacon
Sets the beacon address for the redeemer implementation.
function setRedeemerBeacon(uint16 implemId, address _redeemerBeacon) external;Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 | The ID of the redeemer implementation. |
| _redeemerBeacon | address | The machine redeemer beacon address. |
setFeeManagerBeacon
Sets the beacon address for the fee manager implementation.
function setFeeManagerBeacon(uint16 implemId, address _feeManagerBeacon) external;Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 | The ID of the fee manager implementation. |
| _feeManagerBeacon | address | The fee manager beacon address. |
setSecurityModuleBeacon
Sets the security module beacon address.
function setSecurityModuleBeacon(address _securityModuleBeacon) external;Parameters
| Name | Type | Description |
|---|---|---|
| _securityModuleBeacon | address | The security module beacon address. |
Events
DepositorBeaconChanged
event DepositorBeaconChanged(
uint16 indexed implemId, address indexed oldDepositorBeacon, address indexed newDepositorBeacon
);Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 | |
| oldDepositorBeacon | address | |
| newDepositorBeacon | address |
FeeManagerBeaconChanged
event FeeManagerBeaconChanged(
uint16 indexed implemId, address indexed oldFeeManagerBeacon, address indexed newFeeManagerBeacon
);Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 | |
| oldFeeManagerBeacon | address | |
| newFeeManagerBeacon | address |
PeripheryFactoryChanged
event PeripheryFactoryChanged(address indexed oldPeripheryFactory, address indexed newPeripheryFactory);Parameters
| Name | Type | Description |
|---|---|---|
| oldPeripheryFactory | address | |
| newPeripheryFactory | address |
RedeemerBeaconChanged
event RedeemerBeaconChanged(
uint16 indexed implemId, address indexed oldRedeemerBeacon, address indexed newRedeemerBeacon
);Parameters
| Name | Type | Description |
|---|---|---|
| implemId | uint16 | |
| oldRedeemerBeacon | address | |
| newRedeemerBeacon | address |
SecurityModuleBeaconChanged
event SecurityModuleBeaconChanged(address indexed oldSecurityModuleBeacon, address indexed newSecurityModuleBeacon);Parameters
| Name | Type | Description |
|---|---|---|
| oldSecurityModuleBeacon | address | |
| newSecurityModuleBeacon | address |