SCCP-2041: Enable Perps V2 Markets / Update Parameters

Author
StatusImplemented
TypeGovernance
NetworkOptimism
ImplementorTBD
ReleaseTBD
ProposalLoading status...
Created2023-09-07

Simple Summary

This SCCP proposes to unpause the markets specified in 2029, 2032 and 2033, except for UMA and ZRX with the following configurations:

Market Offchain Fees MaxMarketValue Skew Scale
EOS 2/10 1,000,000 128,000,000
RUNE 2/10 400,000 34,000,000
XLM 2/10 4,500,000 333,000,000
ALGO 2/10 6,000,000 277,000,000
CELO 2/10 1,250,000 55,000,000
SEI 2/10 3,000,000 142,000,000
ZEC 2/10 15,000 780,000
KNC 2/10 750,000 36,000,000
ZIL 2/10 25,000,000 950,000,000
1INCH 2/10 1,250,000 60,000,000
ICP 2/10 75,000 4,000,000
XTZ 2/10 400,000 19,000,000
SUSHI 2/10 500,000 21,000,000
ENJ 2/10 1,250,000 46,000,000
ONE 2/10 20,000,000 750,000,000
FXS 2/10 40,000 1,250,000
BAL 2/10 125,000 1,500,000
PERP 2/10 300,000 10,000,000
RNDR 2/10 200,000 10,000,000

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

  • liquidationBufferRatio: 150 bp
  • liquidationPremiumMultiplier: 3
  • offchainDelayedOrderMinAge: 15 seconds
  • offchainDelayedOrderMaxAge: 120 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

The main motivation is to launch of the markets specified in SIP-2029, SIP-2032 and SIP-2033.

Copyright

Copyright and related rights waived via CC0.