Pot::claimCut has no validation for the time, and it enables anyone to claim their cut after the contest is closed or the claim period is over.Nobody can't claim their cut after the claim period is over.
But Pot::claimCut has no validation for the time, so anyone can claim their cut after the claim period is over.
Likelihood:
When the claim period is over, players who didn't claim in time, can claim their cuts.
Impact:
It's possible for players to claim their cuts after the claim period is over.
ContestManager create new Pot and add players and rewards.
No one claims their cut before the claim period is over.
Players who didn't claim in time, claim their cuts.
Add validation for the time(block.timestamp < i_deplayAt + 90 days) in Pot::claimCut.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.