GaugeController._calculateReward returns smaller reward amount
When GauigeController distributes reward, individual gauge's reward amount is calculated from GaugeController._calculateReward function:
The function calculates period emissions based on gauge type and type share.
The problem is that since RWA gauges and RAAC gauges use different emission rate, individual gauge's share should not be multiplied by typeShare.
For example, let's assume there are two gauges: RAACGauge and RWA Gauge, and type weights are set to 0.5 and 0.5 as in GaugeController's constructor. And RAACEmission is 250k per week and RWAEmission is 1M per month.
What will happen is that RAACGauge will receive 125k per week and RWAGauge will receive 0.5M per month.
Any unclaimed rewards will be stuck at protocol
No need to multiply periodEmission by typeShare
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.