When GaugeController::distributeRevenue
is called, there is a misallocation of funds to gauges.
GaugeController::distributeRevenue
is designed to distribute revenue between veToken holders and gauges. It does this by first calculating veRAACShare
and performanceShare
. Further down the line, the function makes a call to _distributeToGauges
which should distribute rewards to gauges , but the argument it is called with is veRAACShare
and not the correct performanceShare
value.
As we can see in the event emitted, performanceShare
is what should be distributedToGauges:
which means the function incorrectly sends veRAACShare
to gauges instead of performanceShare
Incorrect Revenue distribution.
Manual Review
The function can be implemented correctly, like so:
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.