Description:
The constructor accepts eventStartDate, eventEndDate, and participationFeeAddress without validating:
eventStartDate is in the future
eventEndDate > eventStartDate
participationFeeAddress != address(0)
minimumAmount is reasonable
Incorrect parameters would render the contract unusable.
Impact:
Contract could be deployed with invalid dates (end before start, dates in past)
Participation fees could be sent to zero address (burned)
Contract would need redeployment
Mitigation:
Add validation in constructor:
This is owner action and the owner is assumed to be trusted and to provide correct input arguments.
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.