Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Buying NFTs for themselfes

Summary

buyPresent can be used to buy an NFT also for NICE and EXTRA_NICE. This behaviour can be damaging for EXTRA_NICE, because if somebody is minting them a NFT they can't get the santa tokens, as when they call the collectPresent it will revert at the balance check, line 151

Vulnerability Details

Impact

Low

Tools Used

Manual

Recommendations

Buying present by NICE and EXTRA_NICE should not be possible, or it should be possible with a check that they already collected the NFT form collectPresent

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.