There was an exploit of the Curve Finance pETH/ETH pool related to a bug in the Vyper Compiler. This resulted in a loss of 6,106 WETH to liquidity providers of this pool. After the pool was drained a material amount of trading activity was made on the pool buying discounted pETH with ETH. This activity contributed to losses to liquidity providers.
JPEG’d DAO recovered 5,495.4 WETH related to the exploit. This post proposes a range of options that may be voted on by JPEG’d token holders in the near future regarding the disbursement of recovered WETH to all addresses that incurred losses due to the Curve exploit.
The resolution of this situation requires issuing a new pETH token, which will be airdropped to wallets holding pETH before the exploit at 1:1.
Please note that these are preliminary numbers and are subject to change before formal voting commences.
Option A:
- JPEG’d DAO reimburses unrecovered funds (611.35 WETH) and losses to pETH/ETH liquidity providers hurt via arbitrageurs.
- JPEG’d Citadel liquidity providers are reimbursed 100%.
- pETH arbitrageurs receive their cost back in ETH or JPEG, depending on which asset they used to purchase discounted pETH.
- Non-Citadel liquidity providers are reimbursed 100%.
- JPEG/pETH liquidity providers are airdropped liquidity tokens at the time of Snapshot. Any single-sided JPEG added to this pool after the snapshot receives the JPEG back they added.
- Realised losses to liquidity providers of the JPEG/pETH pool are reimbursed.
Net ETH cost to the DAO: 1,446.37 ETH
Option B:
- JPEG’d DAO reimburses unrecovered funds (611.35 WETH) and losses to pETH/ETH liquidity providers hurt via arbitrageurs.
- JPEG’d Citadel liquidity providers are reimbursed 100%.
- pETH arbitrageurs receive their cost back in ETH or JPEG, depending on which asset they used to purchase discounted pETH.
- Non-Citadel liquidity providers are reimbursed 90%.
- JPEG/pETH liquidity providers are airdropped liquidity tokens at the time of Snapshot. Any single-sided JPEG added to this pool after the snapshot receives the JPEG back they added.
- Realised losses to liquidity providers of the JPEG/pETH pool are reimbursed.
Net ETH cost to the DAO: 1,124.54 ETH
Option C:
- JPEG’d DAO reimburses unrecovered funds (611.35 WETH) and losses to pETH/ETH liquidity providers hurt via arbitrageurs.
- JPEG’d Citadel liquidity providers are reimbursed 100%.
- pETH arbitrageurs receive 90% of their cost back in ETH or JPEG, depending on which asset they used to purchase discounted pETH.
- Non-Citadel liquidity providers are reimbursed 90%.
- JPEG/pETH liquidity providers are airdropped liquidity tokens at the time of Snapshot. Any single-sided JPEG added to this pool after the snapshot receives the JPEG back they added.
- Realised losses to liquidity providers of the JPEG/pETH pool are reimbursed.
Net ETH cost to the DAO: 1,051.13 ETH
Option D:
- JPEG’d DAO dos not reimburses unrecovered funds (611.35 WETH), but covers the losses to pETH/ETH liquidity providers hurt via arbitrageurs.
- JPEG’d Citadel liquidity providers are reimbursed 100%.
- pETH arbitrageurs proportionally absorb the unrecovered funds (611.35 WETH) with non-Citadel liquidity providers. They will receive this amount in either ETH or JPEG depending on which asset they used to purchase discounted pETH.
- JPEG/pETH liquidity providers are airdropped liquidity tokens at the time of Snapshot. Any single-sided JPEG added to this pool after the snapshot receives the JPEG back they added.
- Realised losses to liquidity providers of the JPEG/pETH pool are reimbursed.
Net ETH cost to the DAO: 835.02 ETH
Option E:
- JPEG’d DAO dos not reimburses unrecovered funds (611.35 WETH), but covers the losses to pETH/ETH liquidity providers hurt via arbitrageurs.
- JPEG’d Citadel liquidity providers are reimbursed 100%.
- pETH arbitrageurs receive their cost back in ETH or JPEG, depending on which asset they used to purchase discounted pETH.
- Non-Citadel liquidity providers absorb the white-hat cost (611.35 WETH) and receive their lp positions back less this cost.
- JPEG/pETH liquidity providers are airdropped liquidity tokens at the time of Snapshot. Any single-sided JPEG added to this pool after the snapshot receives the JPEG back they added.
- Realised losses to liquidity providers of the JPEG/pETH pool are reimbursed.
Net ETH cost to the DAO: 835.02 ETH
Option F:
- JPEG’d DAO dos not reimburses unrecovered funds (611.35 WETH), but covers the losses to pETH/ETH liquidity providers hurt via arbitrageurs.
- JPEG’d Citadel liquidity providers are reimbursed 90%.
- pETH arbitrageurs receive 90% of their cost back in ETH or JPEG, depending on which asset they used to purchase discounted pETH.
- Non-Citadel liquidity providers are reimbursed 90%.
- JPEG/pETH liquidity providers are airdropped liquidity tokens at the time of Snapshot. Any single-sided JPEG added to this pool after the snapshot receives the JPEG back they added.
- Realized losses to liquidity providers of the JPEG/pETH pool are reimbursed.
Net ETH cost to the DAO: 341.03 ETH
*edited to add … regarding the disbursement of recovered WETH to all addresses having incurred losses in that event.
*edited to add arigatopunks suggestion on the phrasing of point 1 of each option.