2020-05-29 16:45:37 +00:00
|
|
|
// SPDX-License-Identifier: agpl-3.0
|
|
|
|
pragma solidity ^0.6.8;
|
|
|
|
|
|
|
|
/**
|
2020-07-13 08:54:08 +00:00
|
|
|
* @title IPriceOracleGetter interface
|
|
|
|
* @notice Interface for the Aave price oracle.
|
|
|
|
**/
|
2020-05-29 16:45:37 +00:00
|
|
|
|
|
|
|
interface IPriceOracleGetter {
|
2020-07-13 08:54:08 +00:00
|
|
|
/**
|
|
|
|
* @dev returns the asset price in ETH
|
2020-08-21 13:38:47 +00:00
|
|
|
* @param asset the address of the asset
|
2020-07-13 08:54:08 +00:00
|
|
|
* @return the ETH price of the asset
|
|
|
|
**/
|
2020-08-21 13:38:47 +00:00
|
|
|
function getAssetPrice(address asset) external view returns (uint256);
|
2020-05-29 16:45:37 +00:00
|
|
|
}
|