The protocol tokenizes real estate using the RAACNFT.sol contract, which retrieves house prices from an oracle. When a user mints an NFT to represent a real-world asset, they must transfer an amount of tokens equivalent to the house price to the NFT contract. However, since prices are denominated in USD, assuming that stablecoins always have a value of one USD introduces a vulnerability—if the stablecoin depegs, the protocol can suffer losses.
In RAACHousePrices.sol we can see that house prices are set in USD:
Later price is read in RAACNFT.sol and exact amount of stable coins are transferred for the NFT:
A depeg of 1% could mean that a house priced at 100,000 USD would be tokenized by paying 99,000 USD value, causing a loss of 1000 USD for the protocol.
Consider fetching the stable token price from oracles.
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.