Skip to content

PoolAddressesProvider

Functions

getMarketId

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

solidity
function getMarketId() external view override returns (string memory);
function getMarketId() external view override returns (string memory);

Returns

NameTypeDescription
<none>stringThe market id

getAddress

Returns an address by its identifier.

The returned address might be an EOA or a contract, potentially proxied

solidity
function getAddress(bytes32 id) public view override returns (address);
function getAddress(bytes32 id) public view override returns (address);

Parameters

NameTypeDescription
idbytes32The id

Returns

NameTypeDescription
<none>addressThe address of the registered for the specified id

getPool

Returns the address of the Pool proxy.

solidity
function getPool() external view override returns (address);
function getPool() external view override returns (address);

Returns

NameTypeDescription
<none>addressThe Pool proxy address

getPoolConfigurator

Returns the address of the PoolConfigurator proxy.

solidity
function getPoolConfigurator() external view override returns (address);
function getPoolConfigurator() external view override returns (address);

Returns

NameTypeDescription
<none>addressThe PoolConfigurator proxy address

getPriceOracle

Returns the address of the price oracle.

solidity
function getPriceOracle() external view override returns (address);
function getPriceOracle() external view override returns (address);

Returns

NameTypeDescription
<none>addressThe address of the PriceOracle

getACLManager

Returns the address of the ACL manager.

solidity
function getACLManager() external view override returns (address);
function getACLManager() external view override returns (address);

Returns

NameTypeDescription
<none>addressThe address of the ACLManager

getACLAdmin

Returns the address of the ACL admin.

solidity
function getACLAdmin() external view override returns (address);
function getACLAdmin() external view override returns (address);

Returns

NameTypeDescription
<none>addressThe address of the ACL admin

getPriceOracleSentinel

Returns the address of the price oracle sentinel.

solidity
function getPriceOracleSentinel() external view override returns (address);
function getPriceOracleSentinel() external view override returns (address);

Returns

NameTypeDescription
<none>addressThe address of the PriceOracleSentinel

getPoolDataProvider

Returns the address of the data provider.

solidity
function getPoolDataProvider() external view override returns (address);
function getPoolDataProvider() external view override returns (address);

Returns

NameTypeDescription
<none>addressThe address of the DataProvider