When GaugeController distributes revenue to gauges it does not send and tokens to these contracts.
To distribute the rewards to gauges the distributeRevenue function is used. During this function call there isn't implemented any transfer of the tokens.
It is expected that this function should send rewards to the gauges. The comments above the function state that, it distributes revenue between veToken holders and gauges.
notifyRewardAmount function in BaseGauge expects direct tranfer of tokens but it is not done using distributeRevenue or any other function called during this function call.
Rewards are not sent to Gauges which prevents rewards distribution. Users will not receive the rewards which leads to loss of funds.
Manual Review, Hardhat
Send tokens to Gauge during distributeRevenue function call.
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.