balancer-v2-monorepo
balancer-v2-monorepo copied to clipboard
Add FeeDistributorBALClaimer contract
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
- Mint any BAL emissions from the
SingleRecipientGaugewhich is responsible for veBAL rewards. - Send this BAL from the
BALTokenHolderto theFeeDistributor. - Checkpoint the
FeeDistributorto make it aware of the new BAL tokens it holds.
I'll fix these issues once #1191 is merged, building on top of non-merged branches is annoying.
I want to add a quick fork test to make sure that the BAL ends up in the right place before we deploy.
Closing for inactivity.
#2281 is still open; we can revive the PR when we actively work on this.