FeedProjects
Developers
Settings
๐ŸŽ‰ A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
Balancer

Proposals

Discussions

Members

Information

Create Proposal

Balancer

ProposalsDiscussionsMembersInformation
Proposal
Back to Proposals
closedEnded 4 years ago ยท Snapshot (Offchain)

Refund wstETH Liquidity Providers

By 0x512f...C0f5F3

This proposal appears on Balancerโ€™s forum.

In the first few weeks of January, engineers at Balancer Labs noticed the protocol fee collector contract was amassing relatively large amounts of wstETH, which was unexpected given the corresponding poolโ€™s low trading volume.

Upon further investigation, it was detected that this happens because, when computing the fees it owes to the protocol the pool assumes that any increase in its value between two joins/exits is due to swap fees. This is however not true when pools contain tokens like wstETH, which increases in value over time. The combination of the protocol fee collection design and the rebasing nature of wstETH results in Balancer collecting a feee (set to 10% between Jan 4th and Feb 21st) of the wstETH appreciation.

However, at the time the Balancer app did not take this dimension into consideration when displaying the expected APR of the pool. A hotfix was deployed on Jan 21st to address this issue.

While this only has a minor effect on liquidity providers expected returns, we want to be fully transparent about the issue and present the community with an alternative to make liquidity providers whole. It would consist of refunding the protocol level fees collected from the wstETH pool over the period of time when the APR was incorrectly displayed on the frontend, plus a two week grace period.

Refunds would be computed in the following manner:

  • For every week $w$ between Jan 3rd and Feb 6th (5 weeks), compute the amount $A_w$ of wstETH received by the protocol fee collector (https://dune.xyz/queries/452650)
  • Compute the amounts $a_{i,w}$ owed to each liquidity provider $i$, as if $A_w = \sum_i(a_{i,w})$ was uniformly owed over the entire week. This allows us to reuse the liquidity mining scripts to compute the distributions. (GitHub)
  • Compute the amounts $A_i = \sum_w(a_{i,w})$ owed to each liquidity provider $i$ (GitHub)

This results in 221 recipients, ~75% of which would be entitled to less than 0.01 wstETH, which suggests the best form of distribution would be an airdrop. Gas cost is estimated at ~6.000,000 million gas based on similar transactions, meaning 0.6 ETH if we assume 100 Gwei gas price, to be paid be the DAOโ€™s Treasury.

If this proposal is approved by governance, 28.360863560000002 wstETH would be transferred from the protocol fee collector to the Ballerโ€™s liquidity mining distributor multisig, from where theyโ€™d be airdroppped to the recipients as per the report available here

Specification

For clarity, the DAO Multisig (0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f) will initiate a transaction to the protocol fee collector (0xce88686553686DA562CE7Cea497CE749DA109f9F) calling the function withdrawCollectedFees with inputs:

tokens: [0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2] amounts: [28360863560000002000, 600000000000000000] recipient: 0xc38c5f97B34E175FFd35407fc91a937300E33860

Continue Reading
Connect Wallet to Add Note
0
Votes 201
VoterCast PowerVote & Rationale
0x3b96...934220
22,400

Yes, let's do it.

0xE67d...5d7638
10,341

Yes, let's do it.

0xD543...9F9f77
6,644

Yes, let's do it.

0x4DAa...74f644
5,829

Yes, let's do it.

0x2652...DcD7b2
5,291

Yes, let's do it.

SHOW MORE
VOTE POWER
0
Connect Wallet
Proposal Status
  • Tue March 08 2022, 07:00 pmVoting Period Starts
  • Fri March 11 2022, 07:00 pmEnd Voting Period
Current Results

1-Yes, let's do it.

81,834.31

99.65%

2-No, this is not the way.

290.136

0.35%
DocumentationBrandingContact Us
Home
This Project is Currently Disabled

If you would like to enable it, please checkout below.

Boardroom Subscription

Sign up for an individual subscription (access all projects on the platform)

Subscribe
Enable Project

Enable the entire project for every user

Enable Project
Contact Us