Recover assets from and destroy exploited index pools, upgrade remaining pools
Summary
Drain the affected index pools and their market pairs and upgrade the unaffected index pools to remove the vulnerability.
This action was approved on Snapshot in this proposal: https://gov.indexed.finance/#/proposal/QmaGzhQ9haHQoYBJyUSnwgM96DZtQoDyni5DEPEBNagbLo
There is a discussion thread here: https://forum.indexed.finance/t/proposal-compensation-mechanisms/801/9
Rationale
The index pools have all been damaged by the attack to such a degree that they are not worth fixing. Holders who have not yet burned their tokens are simply losing value to arbitrage, as are Uniswap liquidity providers.
These assets should be sent to the treasury to be used in compensation efforts.
Actions
The actions directly executed by this proposal are:
- Transfer ownership of the proxy manager’s access control contract to the recovery contract.
- Execute the
drainAndRepair()function on the recovery contract.
The call to drainAndRepair() on the recovery contract will:
- Change the proxy implementation for the core and sigma pools and the core UnboundTokenSeller contract to the recovery contract.
- Drain the remaining assets from DEFI5, CC10, the CC10 UnboundTokenSeller and FFF to the Indexed treasury.
- Drain the ETH from the DEFI5-ETH, CC10-ETH and FFF-ETH Uniswap pairs to the Indexed treasury.
- Execute fake deposits of 2**128-1 of DEFI5, CC10 and FFF to Polygon.
- These deposits will be received by a gnosis safe owned by the sigma committee and will be used to drain the assets in the DEFI5, CC10 and FFF market pairs on Polygon, which will be sent to the treasury.
- Upgrade the proxies for the core and sigma pools and controllers in order to remove the exploited vulnerability and disable the affected contracts.
- To prevent issues with staking rewards, DEFI5, CC10 and FFF will not be destroyed. An intermediate fallthrough proxy will be used for the pools that disables all functions except
balanceOfon the affected pools and delegates to the fixed implementation for the unaffected pools.
- To prevent issues with staking rewards, DEFI5, CC10 and FFF will not be destroyed. An intermediate fallthrough proxy will be used for the pools that disables all functions except
- Destroy the CC10 UnboundTokenSeller.
- Set the core UnboundTokenSeller implementation back to what it currently is.
- Transfer ownership of the proxy manager’s access control back to the treasury.
New Contracts
IndexPoolRecovery
Github: https://github.com/indexed-finance/recovery/blob/master/contracts/IndexPoolRecovery.sol
Deployment: https://etherscan.io/address/0x2cbB98cc5d587087633614fA9d4Ea88C70A86821#code
IndexPool (core)
Github: https://github.com/indexed-finance/indexed-core/blob/master/contracts/balancer/IndexPool.sol
Deployment: https://etherscan.io/address/0x669693A42B58E87b9e568bA2C6AdD607eb298d95
SigmaIndexPoolV1
Github: https://github.com/indexed-finance/sigma-core/blob/master/contracts/balancer/SigmaIndexPoolV1.sol
Deployment: https://etherscan.io/address/0x7B3B2B39CbdBddaDC13D8559D82c054b9C2fd5f3
MarketCapSqrtController (core)
Github: https://github.com/indexed-finance/indexed-core/blob/master/contracts/MarketCapSqrtController.sol
Deployment: https://etherscan.io/address/0x78b4f45B4A2Afa333C7Be1dbc7F2c9F056615327
SigmaControllerV1
Github: https://github.com/indexed-finance/sigma-core/blob/master/contracts/controller/SigmaControllerV1.sol
Deployment: https://etherscan.io/address/0x4561784841DE5335922a9ad3E44aba69a162bA7A
CoreFallThrough
Github: https://github.com/indexed-finance/recovery/blob/master/contracts/CoreFallThrough.sol
Deployment: https://etherscan.io/address/0x84dbd48c487032d2bd363cc74605e2690d3a95eb
SigmaFallThrough
Github: https://github.com/indexed-finance/recovery/blob/master/contracts/SigmaFallThrough.sol
Deployment: https://etherscan.io/address/0x92bd1aa95ca9265eab2af8ac1b536aa995d8fc37
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0x0000...C0bA6E | 151,087 | FOR |
0xE7f4...0F153e | 108,654 | FOR |
0x9D31...93abb5 | 100,000 | FOR |
0xF159...b5affb | 100,000 | FOR |
0x8c47...6F64FF | 1,516 | FOR |
VOTE POWER
Proposal Status
- Published Onchain
0x236E...cE4d46
- Wed November 24 2021, 12:25 amVoting Period Starts
- Fri November 26 2021, 06:15 pmEnd Voting Period
- Fri November 26 2021, 11:30 pmQueue Proposal
- Mon November 29 2021, 03:03 amExecute Proposal
Current Results
1-FOR
464,935.06
2-AGAINST
N/A Tokens
