[VS Incentives] refactor: unexported addToGaugeRewards
function without token transfer
#6433
Labels
F: volume-splitting
feat: Volume-splitting incentives
Context
AddToGaugeRewards
takes in a sender. We use it for distributing incentives from group gauge to underlying gauges.The problem is that we end up transferring tokens redundantly from module account to itself.
A/C
addToGaugeRewards
that does not take in the receiver and does not transfer tokensAddToGaugeRewards
useaddToGaugeRewards
to reduce code duplicationThe text was updated successfully, but these errors were encountered: