In the GaugeController contract's distributeRevenue function, 20% of the revenue is allocated as performance share but is never distributed or tracked, effectively making these tokens stuck or lost.
In distributeRevenue:
The issues are:
performanceShare is calculated (20% of amount) but never used
While performanceFees mapping exists in storage, it's never updated
The tokens allocated for performance shares are not transferred anywhere
Only the veRAACShare (80%) is actually distributed via _distributeToGauges
Funds are stuck in the contract and Gauges don't receive their intended performance fees.
Manual Review
Create a function _distributePerformanceFees
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.