The mintTreat
function is vulnerable to reentrancy attacks due to its failure to adhere to the Checks-Effects-Interactions (CEI) pattern.
In the mintTreat
function update of the nextTokenId
index is after the
better is to put this part of code before _mint(recipient, tokenId);````_setTokenURI(tokenId, treat.metadataURI);
Function can be affected by reetrance attack. But it is internal
and probability is low.
manual review
Please check Checks-Effects-Interactions (CEI) pattern.
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.