DerivaDEX Upgrade Proposal #11

Published by ยท Feb 22, 2024

test

Within the next week (prior to the Ethereum mainnet Dencun upgrade), the DerivaDEX Foundation expects to propose an upgrade for DerivaDEX. The following draft proposal covers the included features, motivation, and other details relevant to the proposal. The exact features included are subject to change as testing progresses in coming days.

Testnet has been upgraded to reflect this latest release, the details of which are described in more detail below. This proposal draft will be posted to the forum shortly for discussion and feedback.

This proposal marks an important moment in DerivaDEX's development, but is just the start of the platform's vision. Over the past four years, significant amounts of development and research have contributed to the exchange's current implementation. DerivaDEX is still the only derivatives exchange which utilizes trusted hardware for execution security, enabling twin goals of security and performance to be satisfied without compromise. DerivaDEX is focused on durability and sustainable use, positioning to serve users for many years within a rapidly changing industry.

In coming days, there will be more information around the vision for DerivaDEX's development in the coming year, including what the product priorities are, and what categories of users may be onboarded to a mainnet product first.

DerivaDEX Upgrade Proposal #11: Dencun Compatibility, Guarded Launch 1

This proposed upgrade to DerivaDEX is intended to transition the mainnet exchange from Pilot to Guarded launch. The proposal brings a number of improvements to the existing mainnet deployment of DerivaDEX, as well as prepares the DerivaDEX contracts for the changes to Ethereum coming with the Dencun upgrade.

In particular, the upgrade implements the following notable changes for traders and API users:

Protocol

  • Price feed improvements that resolve bugs identified in testing.
  • Implementation of changes to transaction types supported by the DerivaDEX Sparse Merkle Tree to reflect updates to the Ethereum mainnet coming with the Dencun upgrade. Specifically, handling EIP 4788 and 4844 block metadata changes

Features

  • Addition of a KYC onboarding flow using Blockpass.
  • Enabling a manual user checkpoint submission from within the UI when new checkpoints are available (checkpointing button)
  • Support for cancel-all orders by symbol
  • The /metrics stats endpoint is now also available to show current leverage and available collateral for trades
  • Order rejections can now be streamed via the realtime api order intent feed

Additionally, there have been a number of other miscellaneous improvements, including:

  • Improvements of the web and mobile exchange UI
  • Improvements to the orderbook sorting
  • Optimizations of the liquidation engine
  • Implementation of a timekeeper for price feed
  • Improvements to the stats API, including new endpoints for open interest and funding rate history
  • Implementation of backend support for index fund products
  • Funding and settlement decoupled to separate request types

This proposal marks the transition from Pilot to Guarded Launch. Pilot is a release intended to test the stability of the network, uncover mainnet-specific bugs, and has been extremely limited in access for users. Guarded Launch is a series of proposals intended to bring more functionality, stability, and usage to the exchange. Guarded Launch is not a single-stage release, and the community can expect (and propose) incremental upgrades moving forward, as stability and performance expectations are met.

Notably, this phase of Guarded Launch implements a Know-Your-Customer onboarding flow, provided by Blockpass. Not all users, and not all regions, are permitted to access the platform. Some regional restrictions may be removed in time.

There have been no changes to the existing Pilot safeguards, including but not limited to leverage limits, limits to maximum per-user open orders, and price band limits.

The content provided in this article is for educational and informational purposes only and does not constitute financial, investment, or trading advice.

Disclaimer DerivaDEX is not available in all jurisdictions, including the US. Users should be aware that there is a risk of financial loss whenever trading derivatives and margin products. Information found in these articles is not financial advice.