If the manager close the pot after the 90 days, the user could claim the reward with more days than expected (the limit is 90 days). This is unfair for the early claimants and also for the manager which could get a higher cut
Below function should have a check where asks if the 90 days has passed. If that period passed, should exit the function.
Likelihood:
Medium. If the manager "forgets" or is not able to close the pot at day 90, exist the potential issue that some users continue getting the reward.
Impact:
Medium. This means a lesser cut for the manager and for the early claimants.
As we can see below, a user cut the reward after 90 days and that is still possible. When we check the user's balance. We see he has got the reward + the remaining. And he should have get nothing being that took the reward late.
We add a check before which control doesn't be able to get the reward after 90 days.
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.