aave-protocol-v2/contracts/mocks/oracle/IExtendedPriceAggregator.sol

17 lines
497 B
Solidity
Raw Normal View History

// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.6.8;
interface IExtendedPriceAggregator {
2020-07-13 08:54:08 +00:00
event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 timestamp);
function getToken() external view returns (address);
function getTokenType() external view returns (uint256);
function getPlatformId() external view returns (uint256);
function getSubTokens() external view returns (address[] memory);
function latestAnswer() external view returns (int256);
}