There is no code to transfer the NFT minted to the presentReceiver
in function buyPresent
.
There is no code for the logic mentioned in the docs. With the current logic of buyPresent
function, user can only burn his/her SantaToken
s and mint NFT but cannot transfer that NFT to
Due
Hence, making the contract unusable for any user or santa.
Manual Review
To mitigate the vulnerability,
Here's how you can modify the function:
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.