mirror of
				https://github.com/Instadapp/aave-protocol-v2.git
				synced 2024-07-29 21:47:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			585 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			585 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| // SPDX-License-Identifier: agpl-3.0
 | |
| pragma solidity ^0.6.8;
 | |
| 
 | |
| interface IChainlinkAggregator {
 | |
|   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);
 | |
| }
 | 
