mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
17 lines
484 B
Solidity
17 lines
484 B
Solidity
// SPDX-License-Identifier: agpl-3.0
|
|
pragma solidity 0.6.12;
|
|
|
|
/**
|
|
* @title IAaveOracle interface
|
|
* @notice Interface for the Aave oracle.
|
|
**/
|
|
|
|
interface IAaveOracle {
|
|
function BASE_CURRENCY() external view returns (address); // if usd returns 0x0, if eth returns weth address
|
|
function BASE_CURRENCY_UNIT() external view returns (uint256);
|
|
|
|
/***********
|
|
@dev returns the asset price in ETH
|
|
*/
|
|
function getAssetPrice(address asset) external view returns (uint256);
|
|
} |