The protocol attempts to constrain the users from having NFTs before Christmas (CHRISTMAS_2023_BLOCK_TIME
). Although this check is applied correctly inside collectPresent(), it is not the case for buyPresent()
.
The function buyPresent() can be called by (actually for, but that's a different bug) anyone with SantaTokens to gain a NFT. This can be done even before Christmas .
Once can get their hands on presents (NFTs) even before Christmas arrives.
Manual inspection.
Add the check inside buyPresent()
too:
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.