Cold Canvas Tortoise
Medium
Oracle price feeds can become stale due to a variety of reasons. Using a stale price will result in incorrect calculations in the key functionalities SWAP and REDEEM, Since a transaction can spend hours in the mempool.
No response
No response
No response
No response
No response
No response
It is recommended that the _latestRoundData function implement a validation check comparing the timestamp returned by the oracle with the timeout stored in the TokenOracle struct. This will ensure that only fresh and valid data is utilized in crucial functionalities such as SWAP and REDEEM