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

Expert

We are trying to implement a reward price oracle which should be compatible with this interface - Github Aave; 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 explains each function.