Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: medium
Invalid

Users can enter the raffle after the end of the ruffle duration.

Summary

Users can enter the raffle after the end of the ruffle duration.

Vulnerability Details

The contract defines RAFFLE_DURATION as 86400 seconds or one day. However, the enter_raffle function has no restriction regarding when users can enter the raffle, and users can still participate in the raffle after the RAFFLE_DURATION is finished.

Impact

Medium

Tools Used

Manual analysis

Recommendations

Add require statement to limit the time users can participate in a raffle to the enter_raffle function.

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.