IPriceOracleGetter
Was this helpful?
Interface for the Aave price oracle.
function BASE_CURRENCY() external view returns (address)Returns the base currency address
Address 0x0 is reserved for USD as base currency.
[0]
address
Returns the base currency address.
function BASE_CURRENCY_UNIT() external view returns (uint256)Returns the base currency unit
1 ether for ETH, 1e8 for USD.
[0]
uint256
Returns the base currency unit.
Returns the asset price in the base currency
asset
address
The address of the asset
[0]
uint256
The price of the asset
Was this helpful?
Was this helpful?
function getAssetPrice(address asset) external view returns (uint256)