Only users who have been approved are expected to be able to call ThePredicter::makePrediction
; however, there is no restriction on this implying that anyone can call it.
Loss of funds for random users who enter the function
Manual Review
Add a requirement ensuring that the msg.sender
is approved; that is Status.approved
.
makePrediction has no access controls and any unapproved user can make predictions causing an incorrect calculation and distribution of rewards.
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.