The reward is implemented to be received based on the value returned from the _calculatePendingRewards
function. The reward is received as a percentage of the totalDistributed
based on the voting power. However, after the first reward, userRewards[user]
is set to totalDistributed
, causing the user to lose rewards.
For example, assuming user A has a voting power percentage of 1% and totalDistributed
is 100, the first reward will be 1% of 100, which is 1. Afterward, userRewards[user]
will be set to 100, and the user will not receive rewards until totalDistributed
exceeds 10,000.
By making the change above, users will be able to receive rewards correctly.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
View preliminary resultsAppeals are being carefully reviewed by our judges.
The contest is complete and the rewards are being distributed.