PoolAddressesProviderRegistry
PoolAddressesProviderRegistry
A register of the active
Disconnected from the target VM, address: 'localhost:60489', transport: 'socket' PoolAddressesProvider contracts, covering all markets. This contract is immutable and the address will never change. For example, the Pool address for the main market is different from the Pool address for the AMM market.
The source code can be found onGithub.
View Methods
getAddressesProviderList
Returns a list of activePoolAddressesProvider contracts for the registered Aave protocol markets.
Returs Values
Type | Description |
---|---|
address[] | List of active PoolAddressesProvider |
getAddressesProviderIdByAddress
Returns Id of PoolAddressesProvider .
Call Params
Name | Type | Description |
---|---|---|
addressesProvider | address | Address of the PoolAddressesProvider |
Return Values
Type | Description |
---|---|
uint256 | Id of the associated PoolAddressesProvider. 0 indicates not a valid PoolAddressesProvider address |
Last updated