The performanceShare is not being stored in the performanceFees mapping, leading to potential mismanagement of performance fees.
The GaugeController contract maintains two mappings for revenue distribution:
However, in the distributeRevenue function, only revenueShares is updated, while performanceShare is calculated but never stored:
Since performanceShare is not recorded, performance fees are not tracked correctly.
Untracked performance fees could lead to unintended behavior as it can not be claimed.
Manual Review
Store performanceShare in the performanceFees mapping within distributeRevenue. Also add funciton which will transfer this shares to intended user/contracts
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.