SCCP-2068: Drop Perps V1 Markets from the Futures Market Manager

Author
StatusImplemented
TypeGovernance
NetworkOptimism
ImplementorTBD
ReleaseTBD
ProposalLoading status...
Created2023-12-11

Simple Summary

This SCCP proposes to deprecate the v1 market configured under FuturesMarketManager.

Abstract

The v1 markets can be dropped from the futures market manager by running the following function FuturesMarketManager.removeMarkets. The addresses of the v1 perp markets are follows:

['0x4434f56ddBdE28fab08C4AE71970a06B300F8881',
 '0x10305C1854d6DB8A1060dF60bDF8A8B2981249Cf',
 '0xFe00395ec846240dc693e92AB2Dd720F94765Aa3',
 '0xf86048DFf23cF130107dfB4e6386f574231a5C65',
 '0xad44873632840144fFC97b2D1de716f6E2cF0366',
 '0x1228c7D8BBc5bC53DB181bD7B1fcE765aa83bF8A',
 '0xcF853f7f8F78B2B801095b66F8ba9c5f04dB1640',
 '0x9f231dBE53D460f359B2B8CC47574493caA5B7Bf',
 '0xd325B17d5C9C3f2B6853A760afCF81945b0184d3',
 '0x5Af0072617F7f2AEB0e314e2faD1DE0231Ba97cD',
 '0x4ff54624D5FB61C34c634c3314Ed3BfE4dBB665a',
 '0x3Ed04CEfF4c91872F19b1da35740C0Be9CA21558',
 '0x9F1C2f0071Bc3b31447AEda9fA3A68d651eB4632',
 '0x001b7876F567f0b3A639332Ed1e363839c6d85e2',
 '0xbCB2D435045E16B059b2130b28BE70b5cA47bFE5',
 '0x4Aa0dabd22BC0894975324Bec293443c8538bD08',
 '0xEe8804d8Ad10b0C3aD1Bd57AC3737242aD24bB95',
 '0xb147C69BEe211F57290a6cde9d1BAbfD0DCF3Ea3']

Motivation

The motivation behind this sccp is to decrease the gas required to fetch the debt, which iterates on both the v1 and v2 markets, and allows us to list more markets on Perps V2. Aside from this benefit, these v1 markets have largely been shutdown as per SCCP-278, which was implemented as seen on kwenta. However, having these legacy markets in the state, creates issues with debt cache which reports an invalid debt calculation, due to legacy v1 configurations which have long been outlived by the protocol (related to the ExchangeRatesCircuitBreaker and deprecation of synth exchanges exchanges). Therefore, deprecating these markets, removes any connections of the existing manager system to these deprecated markets while not have any impact on the existing v2 markets.

Copyright

Copyright and related rights waived via CC0.