SantasList::buyPresent
mints NFT to wrong address
SantasList::buyPresent
is a function that allows any user to burn SantaTokens and mint NFT presents to a receiver address. After burning SANTA ERC20 tokens, it then calls the internal function _mintAndIncrement
which mints the NFT present to the msg.sender
, when it should be minted to the presentReceiver
.
MEDIUM.
Manual Review
Instead of using the internal _mintAndIncrement
function, use the safe mint directly
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.