The ContestManager::fundContest
function allows funding after a contest's expiration, which can lead to permanent fund locking.
The ContestManager::fundContest
function permits multiple funding attempts even after the contest has expired. Funds sent to expired contests may remain locked if no mechanism exists to retrieve them.
Funds could become permanently locked if there is no method for reclaiming them after the contest has expired.
Manual code review.
Allow funding only a single time, a very fast solution might be to add a mapping to verify if a contest has been funded before, for instance we could add:
Then we could refactor ContestManager::fundContest
like this:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.