closePot is meant to run once, after the 90-day period, to pay the manager cut and the claimants' share of the leftover.
It keeps no "closed" state and never sets remainingRewards to 0, so it can be called again and again. Each extra call pays the manager cut and the claimant cut a second time, out of whatever balance is still in the Pot, until a transfer reverts.
Likelihood:
Requires the owner to call closeContest more than once for the same Pot (e.g. a retry or script re-run); there is no guard against it.
Impact:
Payouts are made twice from the same accounting: claimants and the manager receive more than their share, draining the balance that should back other obligations (e.g. late claims, rescue of leftover funds).
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.