balancer-v2-monorepo icon indicating copy to clipboard operation
balancer-v2-monorepo copied to clipboard

Add FeeDistributorBALClaimer contract

Open TomAFrench opened this issue 3 years ago • 2 comments
trafficstars

Merge after #1191

Currently the BAL emissions for veBAL holders are sent to a BALTokenHolder contract which the LM committee multisig has powers to withdraw from. This PR automates the process of distributing these tokens to veBAL holders.

The FeeDistributorBALClaimer contract allows anyone to call a function which will

  1. Mint any BAL emissions from the SingleRecipientGauge which is responsible for veBAL rewards.
  2. Send this BAL from the BALTokenHolder to the FeeDistributor.
  3. Checkpoint the FeeDistributor to make it aware of the new BAL tokens it holds.

TomAFrench avatar Mar 31 '22 17:03 TomAFrench

I'll fix these issues once #1191 is merged, building on top of non-merged branches is annoying.

TomAFrench avatar Mar 31 '22 18:03 TomAFrench

I want to add a quick fork test to make sure that the BAL ends up in the right place before we deploy.

TomAFrench avatar May 18 '22 22:05 TomAFrench

Closing for inactivity.

#2281 is still open; we can revive the PR when we actively work on this.

jubeira avatar Apr 26 '23 19:04 jubeira