The RAAC protocol documentation stipulates:
"The RAACNFT is an ERC721 token representing real estate assets in the RAAC lending protocol. It implements minting functionality tied to house prices and allows for batch minting of NFTs."
and:
"Key features of the implementation include:
Implements batch minting functionality"
The RAACNFT contrat indeeds holds a currentBatchSize
variable whose value is set to 3, that can be increased with the addNewBatch
function:
The problem is that this variable is never used, and no batch minting mechanism is available in the contract.
The impact of this issue is medium as there is one key feature of the RAACNFT contract is missing in the current implementation.
Manual review
Add a batchMint
function to allow batch minting. Also, currentBatchSize
is not strictly necessary, batch minting could be variable in size. More documentation is required about the desired behaviour for batch minting.
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.