The distributePoints() function calculates the correct amount of variables for points distribution and emits the PointsDistributed event. According to the documentation, the first argument of the event should be 'the total number of points distributed.' There is a storage variable that holds this number.
However, instead of totalPoints, pointsPerEpoch is used as the points parameter.
Frontend or other off-chain services may display incorrect values, potentially misleading users.
Manual
Use totalPoints
instead of pointsPerEpoch
.
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.