The purpose of these functions is to update the global index of earned rewards in the deposit
, withdraw
, claim
functions.
However, this function is being made available to any user.
They can activate the functions when it is not due.
Manual code review
Change the visibility of both functions depending on whether you want this contract to be used in the future in some inheritance. You could change it to internal to have access to the same functions or private if you only want this contract to have access.
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.