The mint
function in RAACNFT uses tokenToHousePrice
instead of getLatestPrice
, which is problematic because:
It doesn't receive or check the timestamp of the price update
Users could potentially mint NFTs using stale prices if the oracle hasn't updated recently
This could be exploited if market prices have changed significantly
Users could mint NFTs at outdated prices
In a rising market, users could get NFTs below market value
In a falling market, users might overpay
Manual Review + Foundry Testing Framework
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.