[Proposal]: One-Time Emergency Fund for Partial Compensation of yvUSDT and yvDAI Vault Users Affected by Sonne Finance Exploit (No Precedent)
Summary
This proposal establishes a One-Time Emergency Fund to provide partial compensation to users of the yvUSDT and yvDAI vaults affected by the Sonne Finance exploit. Yearn will cover 70% of the remaining losses, with affected users accepting a 30% haircut, which is 3x larger compared to the last compensation proposal. Compensation will be provided in YFI tokens, with a 6-month vesting schedule to minimize selling pressure on the market to only 7.14 YFI per month in case all victims would even sell and not just hold.
Background
On May 15, 2024, Sonne Finance, where Yearn decided to allocate significant portions of its managed yvUSDT and yvDAI vault assets (especially yvUSDT), was exploited for $20 million. Despite a prior audit by Yearn-assigned auditors, the exploit targeted a vulnerability in a new governance timelock introduced by Sonne Finance. Beefy Finance was reportedly able to withdraw their liquidity from Sonne Finance before Yearn Finance did, which led to Yearn vaults facing higher significant losses compared to Beefy vaults.
Affected vaults and losses:
- yvUSDT Vault (Optimism): Net Loss: 185,291.61 USDT
- yvDAI Vault (Optimism): Net Loss: 145,196.92 DAI
- Total Net Loss (after subtracting yvOP rewards): $330,488.53, of which users will bear 30%.
Motivation
- Maintaining Trust: Compensation is crucial for maintaining user trust in the protocol.
- Balanced Approach: This proposal sets clear expectations without creating future precedents.
- One-Time Emergency: The exploit justifies an exceptional response given the significant exposure of Yearnâs funds.
Specification
We propose the following compensation structure:
- Total remaining loss: $330,488.53
- Usersâ 30% haircut: $99,146.56 (3x larger than the previous proposal).
- Requested Yearn compensation: $231,341.91, paid in YFI tokens (~42.8 YFI as of October 1, 2024) or 7.14 YFI token per month according to the 6 month vesting schedule. This amounts to only 0.7% of Yearnâs treasury ($32.72 M) or less than 2 weeks of Yearnâs monthly treasury yield-farming revenue** (Source âCryptonewsâ)
- One-Time Emergency Fund: This compensation is categorized as a âOne-Time Emergency Fundâ specific to this incident, designed to address the exceptional nature of the Sonne Finance exploit. It is not intended to create a precedent for future compensation requests.
- Future Recovery Assignment: Users will assign all future recoveries provided by Sonne Finance to the Yearn DAO to offset the compensation provided.
- Reimbursement Clause: Any future recoveries through legal actions or third-party settlements will be reimbursed to Yearn, potentially offsetting the cost of this compensation.
- Exclusion of Minor Losses: Vaults with losses of less than 1% are excluded from this compensation proposal, aligning with Yearnâs approach to focus on significant losses.
Users are then fully aligned with the objective of Yearn.
Conclusion
By approving this proposal, Yearn will compensate affected users, while implementing a large 30% haircut and ensuring no future compensation expectations are set. The 6 month vesting schedule of YFI reduces the sell pressure of YFI significantly to only 7.14 YFI token per month which is neglectable.
The significant allocation to Sonne Finance justifies this one-off response to mitigate the impact on Yearn users. Furthermore, Yearnâs treasury strength and monthly yield-farming revenue strengthens its ability to support such one-time emergency compensation without jeopardizing its long-term sustainability.
Process for Execution if Voted âYesâ
A. Full list of depositors â Data on Sonne Depositors and compensation amounts ¡ GitHub
A balance snapshot of the vault and the rewards contract combined, done using The Graph.
B. Smart contracts â we will use the code from GitHub - Uniswap/merkle-distributor: đŚ A smart contract that distributes a balance of tokens according to a merkle root
C. Merkle proof: Yearn chooses between DAI, USDC or USDT and will generate the Merkle proof based on the price of the chosen stablecoin and the full list of depositors as disclosed in the link above.
D. Execution: Yearn (or alternatively the team behind the proposal) will generate the Merkle proof based on the information provided and deploy the contract.
E. Assistance: The team behind the proposal will assist if necessary to create the Merkle proof and execute the in the chosen stablecoin.
Voting
- YES! For partial compensation
- no
- YES! For partial compensation of victims
- No
Resources
[1]: â â Yearn Talkâ
[2]: Yearn Vaults
[3]: Yearn Vaults
[4]: Screen_Shot_2024-07-17_at_4.48.16_PM.png
[5]: DeBank | The Real User Based Web3 Community
[6]: DeBank | The Real User Based Web3 Community
[7] full list of depositors â Data on Sonne Depositors and compensation amounts ¡ GitHub
[8] smart contracts â https://github.com/pandadefi/merkle-distributor-with-vesting/blob/master/contracts/MerkleDistributor.sols
[9]: 05-2023-Sonne | yAudit Reports
[10]: Rekt - Sonne Finance - Rekt