⚖️Liquidity Provider Rewards

Overview of the Liquidity Provider rewards Program.

3.3% (32,794,525 $ethDYDX) of the token supply is allocated to be distributed to liquidity providers ("LPs") based on formulas that reward a combination of maker volume, uptime, two-sided depth, bid-ask spreads, and the number of markets supported. Initially, 7.5% (75,000,000 $ethDYDX) of the token supply was allocated for LP rewards.

  • In DIP 24, the dYdX community voted to reduce Liquidity Provider Rewards by 50% from 1,150,685 $ethDYDX per epoch to 575,343 $ethDYDX per epoch. As a result, the allocation for LP rewards decreased from 7.5% to 5.2%.

  • In DIP 29, the dYdX community voted to reduce LP rewards by ⅓ from Epoch 30-32 on dYdX v3 to the following values:

    • Epoch 30: 383,562 $ethDYDX

    • Epoch 31: 191,781 $ethDYDX

    • Epoch 32: 0 $ethDYDX

    After Epoch 31, there will not be any LP rewards on dYdX v3. As a result, the allocation for LP rewards decreased from 5.2% to 3.2%.

Since there is no distribution of Liquidity Provider rewards on dYdX Chain, the dYdX community in DIP 29 voted to migrate the remaining allocation for Liquidity Provider rewards to the dYdX Chain Community Treasury.

Objectives

  • Improve two-sided liquidity and programmatically reward liquidity providers.

Overview

To incentivize market liquidity, $ethDYDX will be distributed to liquidity providers based on formulas that reward participation in markets, maker volume, two-sided depth, spread (vs. mid-market), and uptime on dYdX v3. Any Ethereum address can earn these rewards, subject to a minimum maker volume threshold of 0.25% of maker volume in the preceding epoch. $ethDYDX was distributed on a 28-day epoch basis over five years and are not subject to any vesting or lockups.

The following functions calculate how much $ethDYDX should be rewarded to each liquidity provider per epoch. In DIP 15, the dYdX community voted to revise the LP rewards formula by splitting the functions for BTC/ETH markets and non BTC/ETH markets. In DIP 19, the dYdX community voted to re-allocate the 0.05 stkDYDX weight to MakerVolume.

Overall, the volume weighting in the functions was increased in all markets. The amount of ethDYDX earned is determined by the relative share of each participant’s QFINALQ_{FINAL} (QBTCQ_{BTC}+​QETHQ_{ETH}+QnonBTC/ETHQ_{non BTC/ETH}​).

Orders below a certain minimum depth (size) (MinDepthMinDepth) per market are excluded, and orders over a certain maximum spread (mid-market spread) (MaxSpreadMaxSpread) market are excluded as well.

Liquidity provider performance is monitored and calculated minute-by-minute (using randomized sampling) and aggregated into a QSCOREQ_{SCORE} 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 QFINALQ_{FINAL} share per epoch.

The above formula is broken out into step-by-step calculations below for detail:

Maker Volume

Total maker volume for the Epoch.

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 67 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))

QBIDQ_{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 67 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))

QASKQ_{ASK} is calculated every minute at a random interval.

Rewards 2-sided liquidity by taking the minimum of QBIDQ_{BID} and QASKQ_{ASK}.

Calculated every minute.

QEPOCHQ_{EPOCH}is the sum of all QMINQ_{MIN}in a given epoch.

UptimeEPOCHUptime_{EPOCH}is the 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).

QFINALQ_{FINAL}normalizes QEPOCHQ_{EPOCH}to account for uptime

Each market will have its own rewards pool that will be weighted differently. In DIP 15, the dYdX community voted to reduce the allocation of total rewards in BTC-USD and ETH-USDC to 10% each. The set of weights applied to each market is as follows:

Market% Allocation of Total Rewards Pool

BTC-USD

10%

ETH-USD

10%

Other perpetual markets

FAQ

Who is eligible for liquidity provider rewards?

All liquidity providers who have achieved a minimum of 0.25% of maker volume on dYdX v3 in the prior epoch are eligible to receive ethDYDX as rewards in a given epoch.

dYdX v3 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 $ethDYDX did I earn in the Liquidity Provider Rewards program?

In a given epoch, liquidity providers earn yield based on their relative QSCOREQ_{SCORE} in a given pair’s market. Each pair has its own relative reward amount set by governance. The expected amount of ethDYDX earned is displayed in the LP Rewards Dashboard and can be determined based on the number of liquidity providers involved, the relative QSCOREQ_{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 $ethDYDX Liquidity Provider Rewards?

$ethDYDX tokens rewarded via the Liquidity Provider Rewards will become claimable and transferable once the initial transfer restriction period is lifted.

Starting in Epoch 1, $ethDYDX 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 on dYdX v3 is someone who actively quotes both buy and sell prices for a market, providing liquidity to the protocol. For example, in the BTC-USD market, they might offer to buy 10 BTC at $30,000 and sell 50 BTC at $30,100. Other participants can then trade with them at these prices. Liquidity providers are evaluated based on their ability to provide both buy and sell prices. Those who only quote on one side are excluded from rewards.

  • Mid-market spread

The bid-ask spread is a common measure of liquidity, representing the difference between the highest bid (buy) price and the lowest ask (sell) price in a market. It is the main cost of trading and is collected by liquidity providers. The mid-market spread, which is the midpoint of the market, is another measure. For example, if the bid price for BTC-USD is $30,000 and the ask price is $30,100, the bid-ask spread is $100, 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 UptimeepochUptime_{epoch} as an input to the QFINALQ_{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 the percentage of time orders are actively providing liquidity in a market, measured on a minute-by-minute basis with randomized sampling. It excludes periods when the dYdX Layer 2 Protocol is experiencing outages but may not account for occasional slowness or order acceptance issues, which would be considered bugs affecting all liquidity providers similarly.

How is the maximum spreads per market defined?

No QBIDQ_{BID} or QASKQ_{ASK}will be generated when the spread is above a given market’s MaxSpreadMaxSpread.

The initial Max Spreads are as follows:

  • BTC-USD: 20 bps

  • ETH-USD: 20 bps

  • other perpetual markets: 40 bps

How is the minimum depth (size) per market defined?

No QBIDQ_{BID} or QASKQ_{ASK}will be generated when the size is below a given market’s MinDepthMinDepth.

The initial Min Depths are as follows:

  • BTC-USD: $5000

  • ETH-USD: $5000

  • Other perpetual market: $1000

Last updated