SCCP-2063: Enable Perps V2 Markets / Update Parameters

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

Simple Summary

This SCCP proposes to configure the markets in SIPs 2035, 2037, 2038, 2040 2041 and 2042 with the below parameters:

Max Market Value

Market SNX Max OI CEX OI SNX Max OI$
TRB 23,000 804,079 $1,769,091
TIA 270,000 8,363,153 $1,726,650
IMX 500,000 21,901,395 $631,700
MEME 25,000,000 1,065,267,060 $665,925
FET 900,000 42,927,036 $472,140
GRT 3,300,000 87,273,398 $473,055
PYTH 955,000 45,568,171 $375,888
ANKR 12,000,000 229,438,201 $308,880
BONK 61,000,000,000 969,048,806,750 $240,157

Skew Scale

Market Snx Scale Snx Slippage* CEX Slippage*
TRB 200,000 33 9
TIA 3,000,000 26 9
IMX 8,000,000 49 11
MEME 650,000,000 29 11
FET 17,000,000 56 14
GRT 75,000,000 47 14
PYTH 16,500,000 77 22
ANKR 250,000,000 78 18
BONK 760,000,000,000 167 54

*Slippage in Bp per 100k$ trade

Aside from the changes above, the perps markets will have the following configurations as well:

  • maker/taker offchain fees are 2 bp and 10 bp respectfully
  • liquidationBufferRatio: 150 bp
  • liquidationPremiumMultiplier: 3
  • offchainDelayedOrderMinAge: 2 seconds
  • offchainDelayedOrderMaxAge: 60 seconds
  • maxFundingVelocity: 36
  • maxLeverage: 27.5
  • offchainPriceDivergence: 10%
  • maxLiquidationDelta: maker+taker offchain fees
  • maxPD: maxLiquidationDelta * 2
  • dynamicFeeRounds: 1
  • maxDynamicFeeRate: 10%

The parameters for deprecated trading paths (atomic and delayed) are as follows:

  • nextPriceConfirmWindow: 2
  • delayedOrderConfirmWindow: 120 seconds
  • minDelayTimeDelta: 60 seconds
  • maxDelayTimeDelta: 6000 seconds
  • taker & maker fees on delayed orders (not-offchain) and atomic orders: 30%

Abstract

The parameters configurations description is as follows:

  • maker/taker offchain delayed orders pertain to fees charged with the pyth offchain route
  • maxMarketValue is the max market value of the relevant market in the underlying currency
  • skewScale is the scaling factor of the relevant market in the underlying currency for computing PD and Funding Rates
  • liquidationBufferRatio and liquidationPremiumMultiplier are parameters that determine the safety buffer required for liquidations
  • minDelayTimeDelta is the minimum period after which delayed orders can be executed
  • maxDelayTimeDelta is the maximum period before which delayed orders can be executed
  • offchainDelayedOrderMinAge is the minimum delay before which offchain orders can be executed
  • offchainDelayedOrderMaxAge is the maximum delay after which offchain orders cannot be executed
  • maxFundingVelocity is the main parameter that allows to nudge funding rates
  • offchainPriceDivergence is the maximum allowable delta between chainlink and pyth prices
  • dynamicFeeRounds and maxDynamicFeeRate are set to the above specified parameters, via DirectIntegrationManager, effectively disabling dynamic fees on perp markets (due to legacy code base)

Parameters for trading paths (atomic and delayed orders) which are set for deprecation but need to be specified:

  • makerFee/takerFee fees pertain to fees for atomic trades at chainlink price, which have been deprecated via high fees
  • maker/taker delayed fees pertain to fees for trades at the next chainlink price, which have been deprecated via high fees
  • nextPriceConfirmWindow is the window, in chainlink rounds, in which next price delayed orders can be triggered, a deprecated path for trading
  • delayedOrderConfirmWindow is the minimum number of seconds after which next price delayed orders can be triggered if no new chainlink rounds are available, a deprecated path for trading

Motivation

Provide the configuration for the markets mentioned in SIPs 2035, 2037, 2040 2041 and 2042.

Copyright

Copyright and related rights waived via CC0.