Users can withdraw their funds from the BaseGauge, but will still receive rewards
When calculating how much rewards a user got it is using the earned function ->
as we can see the calculation formula is not using the how many tokens the user staked, which means that he can withdraw his tokens and still receive rewards. The earned tokens are only measted by the votingPower
loss of funds for the protocol
Make a check if the user doesn't staked tokens to not receive reward tokens or change the formula to use the staked tokens
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.