When GaugeController distributes rewards to gauges it does not send and tokens to these contracts.
To distribute the rewards to gauges the distributeRewards 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 calculates and transfers rewards based on gauge weight.
notifyRewardAmount function in BaseGauge expects direct tranfer of tokens but it is not done using distributeRewards 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 distributeRewards 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.