20 lines
658 B
Solidity
20 lines
658 B
Solidity
// SPDX-License-Identifier: AGPL-3.0
|
|
pragma solidity ^0.8.10;
|
|
|
|
interface IEACAggregatorProxy {
|
|
function decimals() external view returns (uint8);
|
|
|
|
function latestAnswer() external view returns (int256);
|
|
|
|
function latestTimestamp() external view returns (uint256);
|
|
|
|
function latestRound() external view returns (uint256);
|
|
|
|
function getAnswer(uint256 roundId) external view returns (int256);
|
|
|
|
function getTimestamp(uint256 roundId) external view returns (uint256);
|
|
|
|
event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 timestamp);
|
|
event NewRound(uint256 indexed roundId, address indexed startedBy);
|
|
}
|