PoolAddressesProvider Contract Interface
The registry of addresses which comprise the Bend logic.
getMarketId
function getMarketId() external view returns (string)
Returns the id of the Bend market to which this contract points to.
Return Values
Name | Type | Description |
---|---|---|
[0] | string | The market id |
getAddress
function getAddress(bytes32 id) external view returns (address)
Returns an address by its identifier.
The returned address might be an EOA or a contract, potentially proxied It returns ZERO if there is no registered address with the given id
Parameters
Name | Type | Description |
---|---|---|
id | bytes32 | The id |
Return Values
Name | Type | Description |
---|---|---|
[0] | address | The address of the registered for the specified id |
getPool
function getPool() external view returns (address)
Returns the address of the Pool proxy.
Return Values
Name | Type | Description |
---|---|---|
[0] | address | The Pool proxy address |
getPoolConfigurator
function getPoolConfigurator() external view returns (address)
Returns the address of the PoolConfigurator proxy.
Return Values
Name | Type | Description |
---|---|---|
[0] | address | The PoolConfigurator proxy address |
getPriceOracle
function getPriceOracle() external view returns (address)
Returns the address of the price oracle.
Return Values
Name | Type | Description |
---|---|---|
[0] | address | The address of the PriceOracle |
getACLManager
function getACLManager() external view returns (address)
Returns the address of the ACL manager.
Return Values
Name | Type | Description |
---|---|---|
[0] | address | The address of the ACLManager |
getACLAdmin
function getACLAdmin() external view returns (address)
Returns the address of the ACL admin.
Return Values
Name | Type | Description |
---|---|---|
[0] | address | The address of the ACL admin |
getPriceOracleSentinel
function getPriceOracleSentinel() external view returns (address)
Returns the address of the price oracle sentinel.
Return Values
Name | Type | Description |
---|---|---|
[0] | address | The address of the PriceOracleSentinel |
getPoolDataProvider
function getPoolDataProvider() external view returns (address)
Returns the address of the data provider.
Return Values
Name | Type | Description |
---|---|---|
[0] | address | The address of the DataProvider |
getVariableDebtPOLRewardsVault
function getVariableDebtPOLRewardsVault() external view returns (address)
Returns the address of the variable debt POL rewards vault.
getVariableDebtPeripheryToken
function getVariableDebtPeripheryToken() external view returns (address)
Returns the address of the variable debt periphery token.
This token is used to stake/withdraw in POL vault to incentivize variable borrowing.