The FeeCollector veRAAC rewards is intended to distribute over a period using a time-weighted average mechanism. However, the current implementation does not enforce this logic. Instead, it distributes rewards immediately based on the current voting power, bypassing the intended time-weighted distribution. This deviation from the design could lead to unfair or inefficient reward distribution.
The _processDistributions
function calls TimeWeightedAverage.createPeriod
but does not implement the time-weighted distribution logic. Specifically:
Rewards are added to totalDistributed
immediately, without considering the time-weighted average.
The createPeriod
function initializes a period but does not enforce gradual distribution over time.
Instead, it uses a simple, immediate distribution based on current voting power.
Inefficient use of rewards, as the time-weighted mechanism is designed to incentivize long-term participation.
Manual
Implement the time-weighted distribution logic to ensure rewards are distributed gradually over the specified period.
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.