The getLatestPrice function uses a single global lastUpdateTimestamp for all tokens instead of tracking updates per token. This can lead to incorrect price data being used, as it falsely implies that all token prices were updated simultaneously when only one token's price was modified.
Users or smart contracts relying on this timestamp may assume a price is recent when it is outdated.
Manual Review
Track timestamps per token by maintaining a mapping that stores the last update time for each _tokenId
Modify the function to return token-specific timestamps to ensure accuracy.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.