-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: aggregator interface with soften version * fix: abi encoder * fix: AaveV3 import
- Loading branch information
1 parent
f978994
commit a32a855
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity >=0.6.0; | ||
|
||
interface AggregatorInterface { | ||
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 updatedAt); | ||
|
||
event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt); | ||
} |