Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FeeDistributorBALClaimer contract #1212

Closed
wants to merge 14 commits into from

Conversation

TomAFrench
Copy link
Contributor

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 TomAFrench force-pushed the fee-distribution-veBAL-claimer branch 3 times, most recently from 4b9e0be to 4228761 Compare March 31, 2022 17:40
@TomAFrench
Copy link
Contributor Author

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

Base automatically changed from fee-distribution to master April 5, 2022 16:09
@TomAFrench TomAFrench force-pushed the fee-distribution-veBAL-claimer branch from 83e4960 to be4ace5 Compare April 5, 2022 17:17
* master:
  Authorizer: Migration script (#1173)
  Managed Pool: BPT management fees (#1163)
  Improve token checkpointing logic (#1217)
  Prevent late lockers from having to claim many weeks of zero-value distributions (#1218)
  fix: make sure to use EVM time when calculating startTime (#1221)
EndymionJkb and others added 2 commits May 11, 2022 21:09
# Conflicts:
#	pkg/interfaces/contracts/liquidity-mining/IStakelessGauge.sol
#	pkg/interfaces/contracts/standalone-utils/IBALTokenHolder.sol
#	pkg/liquidity-mining/contracts/gauges/StakelessGauge.sol
#	pkg/standalone-utils/contracts/BALTokenHolder.sol
@TomAFrench TomAFrench requested a review from nventuro May 16, 2022 14:45
* master:
  Automatically save the deployment tx hash on deployment (#1310)
  Update SNX impl input (#1309)
  Add implementation + deployment of the ProtocolFeesWithdrawer (#1301)
  minor update for consistency (#1306)
  fix: fix fork test for NoProtocolFeeLBP (#1304)
  ci: switch from infura to alchemy (#1305)
  Check deployment outputs (#1284)
  fix: use force argument in no fee LBP task (#1303)
  style: silence linter errors (#1302)
  change 'factory' to 'NoProtocolFeeLiquidityBootstrappingPoolFactory' (#1286)
  Double Entrypoint Fix Relayer (#1300)
@TomAFrench
Copy link
Contributor Author

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

@balancer balancer deleted a comment from TomAFrench May 19, 2022
@jubeira
Copy link
Contributor

jubeira commented Apr 26, 2023

Closing for inactivity.

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

@jubeira jubeira closed this Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants