mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
19 lines
455 B
Solidity
19 lines
455 B
Solidity
// SPDX-License-Identifier: agpl-3.0
|
|
pragma solidity ^0.6.8;
|
|
|
|
/************
|
|
@title IPriceOracle interface
|
|
@notice Interface for the Aave price oracle.*/
|
|
interface IPriceOracle {
|
|
/***********
|
|
@dev returns the asset price in ETH
|
|
*/
|
|
function getAssetPrice(address _asset) external view returns (uint256);
|
|
|
|
/***********
|
|
@dev sets the asset price, in wei
|
|
*/
|
|
function setAssetPrice(address _asset, uint256 _price) external;
|
|
|
|
}
|