According to FeeCollector docs:
The FeeCollector
is designed to implement a time-weighted reward distribution to veRAAC holders (claimable by address).
However, in _calculatePendingRewards()
:
An attacker can acquire a large amount of veRRACToken and lock it for the maximum duration to increase his voting power. This allow him to steal rewards from users that have been holding veRAAC for a longer time.
Steal of rewards from legit users due to not implementing a time-weighted rewards distribution as mentioned in the documentation.
Broken implementation as it doesn't use the period created in the through the TimeWeightedAverage
to distribute those funds.
Manual Review
Implement proper time-weighted reward calculation like the one done in BaseGauge
.
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.