Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: low
Invalid

Undefined function for an abstract Interface function leads to DoS in minting RAAC Tokens in RAACNFT.sol

Vulnerability Details

The RAACNFT contract relies on the RAACHousePrices contract for getting the house praces of a token ID to ensure the minter pays the price required to mint that particular token ID. It calls the tokenToHousePrice function on RAACHousePrices to fetch the house price. But this function has not been defined in the RAACHousePrices contract leading to unintended revert.

Affected Lines:
RAACNFT mint function
RAACNFT getHousePrice

Impact

Minting functionality is completely lost

Tools Used

Manual Review

Recommendations

Define the function or fetch the house prices using the getLatestPrice function that is already defined

Updates

Lead Judging Commences

inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.