This contains a smart contract that 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 core team and used to drain the assets in the DEFI5, CC10 and FFF market pairs on Polygon, which will be sent to the treasury.
- Destroy DEFI5, CC10 and FFF.
- Upgrade the proxies for the core and sigma pools and controllers in order to remove the exploited vulnerability.
- Set the core UnboundTokenSeller implementation back to what it currently is.
- Transfer ownership of the proxy manager's access control back to the treasury.
yarn test
Runs all tests in test/
yarn coverage
Runs all tests with solidity-coverage and generates a coverage report.
yarn compile
Compiles artifacts into artifacts/
and generates typechain interfaces in typechain/
yarn lint
Runs solhint against the contracts.