IntegrationRegistry

The IntegrationRegistry holds state relating to the Modules and the integrations they are connected with. The state is combined into a single Registry to allow governance updates to be aggregated to one contract.

Current Integrations

The current adapters registered in the IntegrationRegistry are:

Mainnet
Mainnet

Integration Name

Module

Description

"UniswapV2ExchangeAdapter"

TradeModule

Exchange adapter for Uniswap V2 that returns data for trades

"SushiswapExchangeAdapter"

TradeModule

Exchange adapter for Sushiswap that returns data for trades

"OneInchExchangeAdapter"

TradeModule

Exchange adapter for 1Inch exchange V1 that returns data for trades

"AaveMigrationWrapAdapter"

WrapModule

Wrap adapter for one time token migration that returns data for wrapping LEND into AAVE

"AaveGovernanceAdapter"

GovernanceModule

Governance adapter for Aave V1 governance that returns data for voting

"CompoundGovernanceAdapter"

GovernanceModule

Governance adapter for Compound that returns data for voting, delegating and making proposals

"UniswapGovernanceAdapter"

GovernanceModule

Governance adapter for Uniswap that returns data for voting, delegating and making proposals

"KyberTradeAdapter"

TradeModule

Exchange adapter that returns Kyber trade data

"AaveWrapAdapter"

WrapModule

Wrap adapter that returns data for lending components in Aave V1

Select View Methods

getIntegrationAdapter()

function getIntegrationAdapter(address _module, string memory _name) external view returns (address)

Get integration adapter address associated with passed human readable name.

Parameter Name

Type

Description

_module

address

Address of module

_name

string

Human readable adapter name

Return Name

Type

Description

integrationAdapter

address

Address of adapter

isValidIntegration()

function isValidIntegration(address _module, string memory _name) external view returns (bool)

Check if adapter name is valid

Return Name

Type

Description

isValidIntegration

bool

Boolean indicating if valid