Skip to content

PoolAddressesProvider Contract Interface

The registry of addresses which comprise the Bend logic.

getMarketId

solidity
function getMarketId() external view returns (string)

Returns the id of the Bend market to which this contract points to.

Return Values

NameTypeDescription
[0]stringThe market id

getAddress

solidity
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

NameTypeDescription
idbytes32The id

Return Values

NameTypeDescription
[0]addressThe address of the registered for the specified id

getPool

solidity
function getPool() external view returns (address)

Returns the address of the Pool proxy.

Return Values

NameTypeDescription
[0]addressThe Pool proxy address

getPoolConfigurator

solidity
function getPoolConfigurator() external view returns (address)

Returns the address of the PoolConfigurator proxy.

Return Values

NameTypeDescription
[0]addressThe PoolConfigurator proxy address

getPriceOracle

solidity
function getPriceOracle() external view returns (address)

Returns the address of the price oracle.

Return Values

NameTypeDescription
[0]addressThe address of the PriceOracle

getACLManager

solidity
function getACLManager() external view returns (address)

Returns the address of the ACL manager.

Return Values

NameTypeDescription
[0]addressThe address of the ACLManager

getACLAdmin

solidity
function getACLAdmin() external view returns (address)

Returns the address of the ACL admin.

Return Values

NameTypeDescription
[0]addressThe address of the ACL admin

getPriceOracleSentinel

solidity
function getPriceOracleSentinel() external view returns (address)

Returns the address of the price oracle sentinel.

Return Values

NameTypeDescription
[0]addressThe address of the PriceOracleSentinel

getPoolDataProvider

solidity
function getPoolDataProvider() external view returns (address)

Returns the address of the data provider.

Return Values

NameTypeDescription
[0]addressThe address of the DataProvider

getVariableDebtPOLRewardsVault

solidity
function getVariableDebtPOLRewardsVault() external view returns (address)

Returns the address of the variable debt POL rewards vault.

getVariableDebtPeripheryToken

solidity
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.