The RAACHousePrices
doesn't track the timestamp of the price of each token. It only tracks lastUpdateTimestamp
of lask updated NFT. Therefore, it doesn't provide fresh price feed for NFT.
The current implementation of the setHousePrice
function updates the lastUpdateTimestamp
to the current block.timestamp
whenever a price is set. However, it does not maintain individual update timestamps for each token. As a result, the contract does not accurately reflect the freshness of the price data for each specific token, leading to potential issues with price staleness
RAACHousePrices
provides stale prices for NFT.
Manual Review
Implement a separate timestamp for each token price update.
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.