Links

Safety Module

An overview of the Safety Staking Pool
2.50% of the initial token supply (25,000,000 DYDX) will be distributed to users staking DYDX to a Safety pool for backstopping the system. The Safety Module is no longer active as of November 28, 2022. In DIP 17, the dYdX community voted to effectively wind down the Safety Module by setting the Safety Module rewards per second to 0.
Previously, DYDX was distributed to users who staked DYDX to the Safety Module. The Safety module was a decentralized fund which was to be used in the case of insolvency or other issues with the dYdX protocol.
DYDX staked in the Safety Module retains its proposing and voting rights, as well as delegation abilities.

Overview

Currently, DYDX staked in the Safety Module is not earning rewards.
The 383,562 DYDX previously distributed to DYDX stakers will accrue in the Rewards Treasury and can be used by the dYdX community with a governance vote.

DYDX Unstaking & Withdrawals

Stakers must request to withdraw funds at least 3 days (Blackout Window) before the end of the epoch in order to be able to withdraw DYDX after the end of that epoch. If stakers do not request to withdraw, their staked DYDX is rolled over into the next epoch.
Withdrawals cannot be requested during the Blackout Window.
In DIP 17, the dYdX community voted to reduce the length of the Blackout Window from 14 days to 3 days.

FAQ

What is the blackout window?

A blackout window is a period of time during which users cannot request withdrawals of stkDYDX. TherequestWithdrawalfunction cannot be called during a blackout window, which is configured as the last 3 daysof an epoch. New epochs start every 28 days. In other words, users can request a withdrawal for the next epoch up to 3 daysbefore the end of a given epoch.

How do I withdraw funds from the staking pool? How long does it take?

An epoch schedule is enforced for withdrawals in order to provide predictability and a regular cadence for the availability of funds in the pool. A staker must request to withdraw funds at least 3 days before the end of an epoch in order to be able to withdraw their funds after the end of that epoch. If stakers do not request to withdraw, their staked DYDX is rolled over into the next epoch.
To withdraw funds, users call the `requestWithdrawal` function to request to withdraw funds for the next epoch. User funds will remain staked and not withdrawable for the current epoch. Starting in the next epoch, funds will be “inactive” and available for withdrawal.
In the next epoch, users call the `withdrawStake` function to withdraw inactive funds to a specific address. Users can select the amount of inactive funds they want to withdraw or call the `withdrawMaxStake` function to withdraw all inactive funds. Note that the `withdrawMaxStake` function is less gas-efficient than querying the max via eth_call and calling `withdrawStake()`.
To withdraw DYDX from the Safety Module, follow these steps:
  • Click on “Request”, and enter the amount of DYDX you want to request to withdraw from the pool.
  • Click “Request withdraw”. You will need to pay gas fees to withdraw funds.
  • Stakers who request to withdraw DYDX at least 3 days before the current epoch ends can withdraw their DYDX at the start of the next epoch.