ICoreRegistry
Functions
coreFactory
Address of the core factory.
function coreFactory() external view returns (address);
oracleRegistry
Address of the oracle registry.
function oracleRegistry() external view returns (address);
tokenRegistry
Address of the token registry.
function tokenRegistry() external view returns (address);
swapModule
Address of the swapModule module.
function swapModule() external view returns (address);
flashLoanModule
Address of the flashLoan module.
function flashLoanModule() external view returns (address);
caliberBeacon
Address of the caliber beacon contract.
function caliberBeacon() external view returns (address);
bridgeAdapterBeacon
Bridge ID => Address of the bridge adapter beacon contract.
function bridgeAdapterBeacon(uint16 bridgeId) external view returns (address);
setCoreFactory
Sets the core factory address.
function setCoreFactory(address _coreFactory) external;
Parameters
Name | Type | Description |
---|---|---|
_coreFactory | address | The core factory address. |
setOracleRegistry
Sets the oracle registry address.
function setOracleRegistry(address _oracleRegistry) external;
Parameters
Name | Type | Description |
---|---|---|
_oracleRegistry | address | The oracle registry address. |
setTokenRegistry
Sets the token registry address.
function setTokenRegistry(address _tokenRegistry) external;
Parameters
Name | Type | Description |
---|---|---|
_tokenRegistry | address | The token registry address. |
setSwapModule
Sets the swap module address.
function setSwapModule(address _swapModule) external;
Parameters
Name | Type | Description |
---|---|---|
_swapModule | address | The swapModule address. |
setFlashLoanModule
Sets the flashLoan module address.
function setFlashLoanModule(address _flashLoanModule) external;
Parameters
Name | Type | Description |
---|---|---|
_flashLoanModule | address | The flashLoan module address. |
setCaliberBeacon
Sets the caliber beacon address.
function setCaliberBeacon(address _caliberBeacon) external;
Parameters
Name | Type | Description |
---|---|---|
_caliberBeacon | address | The caliber beacon address. |
setBridgeAdapterBeacon
Sets the bridge adapter beacon address.
function setBridgeAdapterBeacon(uint16 bridgeId, address _bridgeAdapter) external;
Parameters
Name | Type | Description |
---|---|---|
bridgeId | uint16 | The bridge ID. |
_bridgeAdapter | address | The bridge adapter beacon address. |
Events
BridgeAdapterBeaconChanged
event BridgeAdapterBeaconChanged(
uint256 indexed bridgeId, address indexed oldBridgeAdapterBeacon, address indexed newBridgeAdapterBeacon
);
CaliberBeaconChanged
event CaliberBeaconChanged(address indexed oldCaliberBeacon, address indexed newCaliberBeacon);
CoreFactoryChanged
event CoreFactoryChanged(address indexed oldCoreFactory, address indexed newCoreFactory);
FlashLoanModuleChanged
event FlashLoanModuleChanged(address indexed oldFlashLoanModule, address indexed newFlashLoanModule);
OracleRegistryChanged
event OracleRegistryChanged(address indexed oldOracleRegistry, address indexed newOracleRegistry);
SwapModuleChanged
event SwapModuleChanged(address indexed oldSwapModule, address indexed newSwapModule);
TokenRegistryChanged
event TokenRegistryChanged(address indexed oldTokenRegistry, address indexed newTokenRegistry);