Their should be a check if The index == contest.length
The parameter Index should be equal to the contest.length so if we put a wrong index it will revert so their is no check if it's exist
Likelihood:
Everytime the amdin/manager call the fundcontest he can enter a wrong Index
Impact:
The whole function will revert the admin/manager can't fund teh contest
This is the senario that will lead to the revert in the fundcontest function
adding check that the index == contest.length to avoid entering a wrong index
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.