Function collectPresent
supposed to mint only one present to a person but can be called several times if NFT is transferred
To make sure present is not minted twice, balanceOf(msg.sender) > 0
is used. However balance can be 0
if user collected NFT and transferred it to another account
Person can unlimitedly mint gifts
Store information about given NFTS in mapping. Consider to prohibit NFT transferring
Relying on balanceOf > 0 in collectPresent() allows the msg.sender to send their present to another address and then collect again.
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.