Based on the code documentation RAACNFT prices are stored in USD amount. However, this amount is not converted to a value to match the crvUSD decimals. This allows users to mint assets at an extremely low price. What is more, this price is also used to calculate user collateral which is compared to debt (again in e18decimals), resulting in invalid collateral level checks.
The code suggests using a mapping from tokenId to USD value:
If the above is taken as a source of truth, this means that, when NFTs are minted, users will deposit USD amount of crvUSD:
What is more, every collateral check in the LendingPool will compare debt (e18) to collateral (USD decimals), leading to invalid calculations.
Breaking core protocol functionality.
Manual review
When setting the home prices carefully scale the decimals to the right amount.
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.