April 1, 2024

dYdX Chain v4.0 Release

dYdX
dYdX Chain v4.0 Release

Overview

dYdX Trading is excited to share that v4.0 of our v4 open source software (”dYdX Chain”) has been released! The release includes various feature, risk, governance, and performance upgrades to the protocol.

For more information, head to the release notes.

Reduce Only

Reduce-only orders are beginning to be supported on dYdX Chain. Reduce-only will only be available for fill-or-kill and immediate-or-cancel short term orders, as well as fill-or-kill and immediate-or-cancel conditional orders.

On the front end, this translates to any market orders, limit fill-or-kill and immediate-or-cancel orders, stop market orders, take profit market orders, as well as stop limit and take profit limit fill-or-kill and immediate-or-cancel orders.

IBC Withdrawal Rate Limiting

dYdX Chain withdrawal rate limits have been created which gate the amount of tokens that can be IBC’d out of dYdX Chain in emergency situations.

The default software rate limits net-withdrawal of Noble USDC, at below levels:

max(1% of TVL, $1mm) per hour

AND

max(10% of TVL, $10mm) per day

*These rate limit parameters can be updated by governance.

Subaccount Withdrawal Gating

dYdX Chain has created subaccount withdrawal gating for specific circumstances. All subaccount transfers and withdrawals will be gated for 50 blocks if a negative collateralized subaccount is seen in state and/or can't be liquidated or deleveraged. All subaccount transfers and withdrawals will also be gated for 50 blocks if a 5+ minute chain outage occurs.

Governance Enabled Slashing

A new module, x/govplus, has been created which enables any applicable layer 1 token holders to slash validators and their stakers. This was built to ensure any applicable layer 1 token holders have the appropriate powers and tools to punish any validator who may be violating socially agreed upon rules, such as MEV.

Authz

x/authz is a Cosmos module that has now been enabled on dYdX Chain. The x/authz module defines interfaces and messages which grant authorizations to perform actions on behalf of one account to other accounts.

The module can be used in a variety of ways which include but are not limited to enabling delegation of voting rights to other accounts such as hot wallets, and enabling new use cases for auto compounding staking rewards.

For more information on x/authz, head to the Cosmos SDK documentation.

Cosmos 0.50.3 Upgrade

The Cosmos SDK has been upgraded to v0.50.3 allowing features such as optimistic execution and vote extensions to be enabled in future protocol releases. See the Cosmos SDK 0.50.0 release announcement and release notes for additional details.

With the introduction of Cosmos 0.50.3, the governance module introduces the concept of expedited proposals. A proposal can be expedited, making the proposal use shorter voting duration and a higher tally threshold by its default. If an expedited proposal fails to meet the threshold within the scope of shorter voting duration, the expedited proposal is then converted to a regular proposal and restarts voting under regular voting conditions.

dYdX Trading recommends the following parameters for any network utilizing its open source software:

  • Expedited voting period: 1 day
  • Expedited threshold: 0.75
  • Expedited minimum deposit: Equivalent to the network’s Minimum Deposit for a regular proposal

About dYdX and Terms

Here at dYdX, our mission is to democratize access to financial opportunity. We believe that v4 software will represent notable progress in service of that mission. The events in the global economy that have transpired over the last year have only reinforced the need for open, transparent, and permissionless financial products. We’re excited for v4 software to better meet those needs.

If building the future of a decentralized exchange and open finance is something you’re interested in, check out what it’s like to work at dYdX and our open roles!

To ask additional questions, join the discussion on Discord, participate in the dYdX community, or follow us on Twitter. We’re excited to continue building the dYdX Chain and will continue to release updates over the coming months.

Terms and Conditions: This post is subject to the dYdX Terms of Use.  The dYdX interface and products are not available to persons or entities who reside in, are located in, are incorporated in, or have registered offices in the United States or Canada ("Blocked Persons"), or other Restricted Persons (as defined in the dYdX Terms of Use). dYdX products and services are not intended for, and should not be used by, Blocked Persons or Restricted Persons. Terms of Use specific to v4 software can be found here.

dYdX is a decentralised, disintermediated and permissionless protocol, and is not available in the U.S. or to U.S. persons as well as in other restricted jurisdictions. The dYdX Foundation does not operate or participate in the operation of any component of the dYdX Chain's infrastructure.

Nothing in this website should be used or considered as legal, financial, tax, or any other advice, nor as an instruction or invitation to act in any way by anyone. You should perform your own research and due diligence before engaging in any activity involving crypto-assets due to high volatility and risks of loss.

Depositing into the MegaVault carries risks. Do your own research and make sure to understand the risks before depositing funds. MegaVault returns are not guaranteed and may fluctuate over time depending on multiple factors. MegaVault returns may be negative and you may lose your entire investment.

The dYdX Foundation does not operate or has control over the MegaVault and has not been involved in the development, deployment and operation of  any component of the dYdX Unlimited software (including the MegaVault).

Crypto-assets can be highly volatile and trading crypto-assets involves risk of loss, particularly when using leverage. Investment into crypto-assets may not be regulated and may not be adequate for retail investors. Do your own research and due diligence before engaging in any activity involving crypto-assets.