What should latestTimestamp, latestRound, getAnswer, getTimestamp output - what is roundId here?


We are trying to implement a reward price oracle which should be compatible with this interface - [Github Aave](https://github.com/aave/aave-v3-periphery/blob/master/contracts/misc/interfaces/IEACAggregatorProxy.sol); But i am not very clear, about what each function should do. I am assuming `latestAnswer() `will give the latest TWAP. What should `latestTimestamp`, `latestRound`, `getAnswer`, `getTimestamp `output? What is `roundId` here? Is there some documentation around this?

Answers 1

This contract is the Chainlink aggregator, the contract [source ](https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.6/EACAggregatorProxy.soll)explains each function.