Players have 90 days to claim. After that, the remaining pool belongs to the manager (10%) and to "those who claimed in time" (README).
claimCut never checks the time, and neither closePot nor anything else marks the Pot as closed. Between day 90 and the moment the admin calls closePot, and even after that, a player who missed the deadline can still claim the full reward. This reduces remainingRewards, so the in-time claimants and the manager lose their share.
Likelihood:
Every time the admin does not call closePot in the same block the 90 days end. The admin is a person sending a separate transaction, so there is always a window.
A late player only needs to watch the mempool or the clock. Claiming right after day 90, or front-running closeContest, costs one transaction.
Impact:
Players who claimed in time lose their share of the leftover pool, and the manager loses the 10% cut. In the PoC both get zero.
The late player is also pushed into claimants, so they would additionally receive a bonus from any later closePot call.
player2 claims 35 in time. player1 misses the deadline and claims 65 on day 91, before the admin closes. closePot then finds remainingRewards == 0: player2 gets no bonus and the manager gets no cut.
Reject claims once the claim period is over.
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.