Liquidity Provider Rewards
Overview of the Liquidity Provider rewards Program.
7.5% of the initial token supply (75,000,000 DYDX) will be distributed to liquidity providers based on a formula rewarding a combination of uptime, two-sided depth, bid-ask spreads, and the number of markets supported.
Objectives
Improve two-sided liquidity and programmatically reward liquidity providers.

# Overview

To incentivize market liquidity, DYDX will be distributed to liquidity providers based on a formula that rewards participation in markets, two-sided depth, spread (vs. mid-market), and uptime on dYdX’s Layer 2 Protocol. Any Ethereum address can earn these rewards, subject to a minimum maker volume threshold of 5% of maker volume in the preceding epoch. DYDX will be distributed on a 28-day epoch basis over five years and are not subject to any vesting or lockups. 1,150,685 DYDX will be distributed per epoch.
The following function is used to compute how much DYDX should be rewarded to each liquidity provider per epoch. The amount of DYDX earned is determined by the relative share of each participant’s
$Q_{FINAL}$
:
Orders below a certain minimum depth (size) (
$MinDepth$
) per market are excluded, and orders over a certain maximum spread (mid-market spread) (
$MaxSpread$
) market are excluded as well.
Liquidity provider performance is monitored and calculated on a minute-by-minute basis (using randomized sampling) and aggregated into a
$Q_{SCORE}$
(
$Q_{FINAL}$
) for a given market. Given minute-by-minute sampling, each epoch has 28 days * 24 hours * 60 minutes of data points—40,320 data points per epoch in total.
Liquidity providers earn monthly rewards based on their relative
$Q_{FINAL}$
share per epoch.
The above formula is broken out into step-by-step calculations below for detail:
Term / Formula (in order of calculation)
Explanation / Example
Assume a liquidity provider has multiple open bid orders (1 BTC at $29,900, 5 BTC at$29,850, 10 BTC at $29,500) on the BTC-USD order book and BTC is currently at$30,000 (based on mid-market). Assume MinDepth is $5000 and MaxSpread vs. mid-market is$200, or 6.7 Basis Points ($200/30000). A BP is one-hundredth of one percent. $Q_{BID} = (1\ \times \left(\frac{\29,900}{\100/30000}\right)) + (5\ \times \left(\frac{\29,850}{\150/30000}\right))$ $Q_{BID}$ is calculated every minute using random sampling. Assume a liquidity provider has multiple open ask orders (0.1 BTC at$30,100, 5 BTC at $30,150, 10 BTC at$30,175) on the BTC-USD order book and BTC is currently trading at $30,000 (based on mid-market). Assume MinDepth is$5000 and MaxSpread vs. mid-market is $200, or 6.7 Basis Points ($200/30000). A BP is one-hundredth of one percent.
$Q_{ASK} = (5\ \times \left(\frac{\30,150}{\150/30000}\right)) + (10\ \times \left(\frac{\30,175}{\175/30000}\right))$
$Q_{ASK}$
is calculated every minute at a random interval.
Rewards 2-sided liquidity by taking the minimum of
$Q_{BID}$
and
$Q_{ASK}$
.
Calculated every minute.
$Q_{EPOCH}$
is the sum of all
$Q_{MIN}$
in a given epoch.
$Uptime_{EPOCH}$
is the percentage of time in an epoch that a given market maker was live and quoting on both the bid and ask sides with order sizes greater than stated order minimum (noted below by market) and spreads smaller than stated maximum spread (noted below by market).
$Q_{FINAL}$
normalizes
$Q_{EPOCH}$
to account for uptime
Each market will have its own rewards pool that will be weighted differently. The initial set of weights applied to each market is as follows:
Market
% Allocation of Total Rewards Pool
BTC-USD
20%
ETH-USD
20%
Other perpetual market

# FAQ

## Who is eligible for liquidity provider rewards?

All liquidity providers who have achieved a minimum of 5% of maker volume on the dYdX Layer 2 Protocol in the prior epoch are eligible to receive DYDX as rewards in a given epoch.
For Epoch 0, dYdX Trading Inc. intends to display which liquidity providers achieve a minimum of 5% of maker volume.
The dYdX Layer 2 Protocol is not available to liquidity providers in the United States or Restricted Territories, as defined in dYdX Trading Inc.’s Terms of Use.

## How much DYDX did I earn in the Liquidity Provider Rewards program?

In a given epoch, liquidity providers earn yield based on their relative
$Q_{SCORE}$
in a given pair’s market. Each pair has its own relative reward amount set by governance. The expected amount of DYDX earned can be determined based on the number of liquidity providers involved, the relative
$Q_{SCORE}$
, and the amount of reward available for a given pair.

## How do I claim my Liquidity Provider Rewards?

Liquidity Provider Rewards are surfaced in the dYdX API. Although not surfaced on the governance user interface, they are still claimable via the governance at the end of every epoch here.

## When can I withdraw and transfer my claimed DYDX Liquidity Provider Rewards?

DYDX tokens rewarded via the Liquidity Provider Rewards will become claimable and transferable once the initial transfer restriction period is lifted.
Starting in Epoch 1, DYDX tokens rewarded via the Liquidity Provider Rewards will become claimable 7 days (Waiting Period) after the end of each epoch.

## How are two-sided depth, bid-ask spread, and uptime defined and measured?

Two-sided depth
A two-sided liquidity provider is a firm or individual who actively quotes two-sided markets on the dYdX Layer 2 Protocol, providing bids and asks for a given market. They provide liquidity to the protocol overall.
For instance, a liquidity provider in the BTC-USD market may provide a quote of $30,000-$30,100, 10x50. This means that they bid (they will buy) 10 BTC for $30,000 and also offer (they will sell) 50 BTC at$30,100. Other market participants may then buy (lift the offer) from the liquidity provider at $30,100 or sell to them (hit the bid) at$30,000.
Liquidity providers are assessed on their ability to provide both bids and asks on a given market. Liquidity providers who only quote on 1-side (either just bids or asks) are excluded from receiving rewards due to the min() function.
For instance, if a liquidity provider’s bid price for BTC-USD is $30,000 and the ask price is$30,100, then the bid-ask spread is $100. The mid-market price is$30,050, and the mid-market spread is $50. Uptime Liquidity provider uptime is critical for markets, especially in periods of high volatility. By applying an exponent of 5 to $Uptime_{epoch}$ as an input to the $Q_{FINAL}$ , the rewards are skewed towards liquidity providers who maintain 2-sided liquidity constantly. In other words, a liquidity provider who provides uptime 99% of the time is exponentially more valuable than a liquidity provider who provides 90% uptime. Uptime is defined as the percentage of time orders are in a given market providing liquidity on a minute-by-minute basis (with randomized sampling). Uptime excludes periods of time when outages exist on the dYdX Layer 2 Protocol itself. There may be edge cases where the exchange is slow or not accepting orders (but is not an outage)—in which case the above would not apply (but that would be considered a bug and all liquidity providers would be similarly affected, as with outages). ## How is the maximum spreads per market defined? No $Q_{BID}$ or $Q_{ASK}$ will be generated when the spread is above a given market’s $MaxSpread$ . The initial Max Spreads are as follows: Market Max Spread vs Mid-Market (Bid and Ask) BTC-USD 20 bps ETH-USD 20 bps Other perpetual markets 40 bps ## How is the minimum depth (size) per market defined? No $Q_{BID}$ or $Q_{ASK}$ will be generated when the size is below a given market’s $MinDepth$ . The initial Min Depths are as follows: Market Min Depth (Bid and Ask) BTC-USD$5000
$5000 Other perpetual markets$1000