aave-protocol-v2/contracts/misc/interfaces/IAaveOracle.sol

18 lines
484 B
Solidity
Raw Normal View History

2021-10-08 10:27:23 +00:00
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.6.12;
/**
* @title IAaveOracle interface
* @notice Interface for the Aave oracle.
**/
interface IAaveOracle {
2021-10-08 10:42:01 +00:00
function BASE_CURRENCY() external view returns (address);
function BASE_CURRENCY_UNIT() external view returns (address);
function WETH() external view returns (address);
2021-10-08 10:27:23 +00:00
/***********
@dev returns the asset price in ETH
*/
function getAssetPrice(address asset) external view returns (uint256);
}