mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
21 lines
563 B
Solidity
21 lines
563 B
Solidity
|
// SPDX-License-Identifier: agpl-3.0
|
||
|
pragma solidity ^0.6.8;
|
||
|
|
||
|
interface GenericOracleI {
|
||
|
// ganache
|
||
|
event AssetPriceUpdated(address _asset, uint256 _price, uint256 timestamp);
|
||
|
event EthPriceUpdated(uint256 _price, uint256 timestamp);
|
||
|
|
||
|
// kovan
|
||
|
event ProphecySubmitted(
|
||
|
address indexed _sybil,
|
||
|
address indexed _asset,
|
||
|
uint96 _sybilProphecy,
|
||
|
uint96 _oracleProphecy
|
||
|
);
|
||
|
|
||
|
function getAssetPrice(address _asset) external view returns(uint256);
|
||
|
function getEthUsdPrice() external view returns(uint256);
|
||
|
}
|
||
|
|