Skip to content

Commit

Permalink
fix: Move IChainlinkAggregator to dependencies and rename it to offic…
Browse files Browse the repository at this point in the history
…ial name
  • Loading branch information
miguelmtzinf committed Dec 27, 2021
1 parent 73073b4 commit 6099f84
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;
// SPDX-License-Identifier: MIT
// Chainlink Contracts v0.8
pragma solidity ^0.8.0;

interface IChainlinkAggregator {
interface AggregatorInterface {
function latestAnswer() external view returns (int256);

function latestTimestamp() external view returns (uint256);
Expand All @@ -12,6 +13,7 @@ interface IChainlinkAggregator {

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);
event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt);

event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt);
}

0 comments on commit 6099f84

Please sign in to comment.