aave-protocol-v2/contracts/interfaces/IPriceOracleGetter.sol

17 lines
402 B
Solidity
Raw Permalink Normal View History

// SPDX-License-Identifier: agpl-3.0
2020-11-20 10:45:20 +00:00
pragma solidity 0.6.12;
/**
2020-07-13 08:54:08 +00:00
* @title IPriceOracleGetter interface
* @notice Interface for the Aave price oracle.
**/
interface IPriceOracleGetter {
2020-07-13 08:54:08 +00:00
/**
* @dev returns the asset price in ETH
* @param asset the address of the asset
2020-07-13 08:54:08 +00:00
* @return the ETH price of the asset
**/
function getAssetPrice(address asset) external view returns (uint256);
}