Staking::update and Staking::updateFor perform unfamiliar math to calculate rewards and update the state variables, adding to the equation that names as index and supplyIndex doesn't give clear indication about the role of this variables it can be troublesome for users and even auditors to properly infer about how the contract works.
Consider renaming state variables index and supplyIndex, and enchance functions NatSpec.
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.