IContractsRegistry

Interface Description

License: MIT

interface IContractsRegistry

This is the registry contract of DEXE platform that stores information about the other contracts used by the protocol. Its purpose is to keep track of the propotol's contracts, provide upgradeability mechanism and dependency injection mechanism.

Functions info

getUserRegistryContract (0x435403b4)

function getUserRegistryContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

UserRegistry contract address

getPoolFactoryContract (0x475c5bc6)

function getPoolFactoryContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

PoolFactory contract address

getPoolRegistryContract (0x892dd52a)

function getPoolRegistryContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

PoolRegistry contract address

getDEXEContract (0x9fc64f57)

function getDEXEContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

DEXE token contract address

getUSDContract (0xa5bac943)

function getUSDContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

Platform's native USD token contract address. This may be USDT/BUSD/USDC/DAI/FEI

getPriceFeedContract (0x9bc0c5d2)

function getPriceFeedContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

PriceFeed contract address

getTreasuryContract (0x26c74fc3)

function getTreasuryContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

Treasury contract/wallet address

getCorePropertiesContract (0xc1ff8103)

function getCorePropertiesContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

CoreProperties contract address

getBABTContract (0x05a1b626)

function getBABTContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

BABT contract address

getDexeExpertNftContract (0x029f708b)

function getDexeExpertNftContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

DexeExpertNft contract address

getPoolSphereXEngineContract (0x93446644)

function getPoolSphereXEngineContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

SphereX engine for DAOs

getSphereXEngineContract (0xb5ec48a4)

function getSphereXEngineContract() external view returns (address)

Used in dependency injection mechanism

Return values:

Name
Type
Description

[0]

address

SphereX engine for global entities