Funding Rate

There are two components to the Funding Rate: the Interest Rate and the Premium Rate.

Unlike conventional perpetual exchanges, where the funding rate is manually charged and updated periodically, Derion's funding rate is autonomous and continuously applied on every block of the underlying smart contract platform.

Interest and Protocol Fee

Interest Rate

The Interest Rate is continuously charged from both the Long and Short sides to the LP side. Each pool is configured with a base interest rate I (expressed as an annual compounding rate).

A total of 1/5 of the interest tokens paid to LP is collected as the protocol fee.

Effective Leverage

Due to Derion's power perpetual curves, positions can be in two regimes:

  • Power regime (leveraged): Position has full leverage KK

  • Asymptotic regime (deleveraged): Position leverage decreases as price moves further

The effective leverage of each side (kLk_L for Long, kSk_S for Short) is calculated based on the current price position on the curve:

kL=min(K,k(x))k_L = \min(K, k(x))

kS=min(K,k(x))k_S = \min(K, k(x))

Where k(x) is the instantaneous leverage at current price x. In the power regime, k=Kk = K. In the asymptotic regime, k<Kk < K and decreases toward 0 as the position deleverages.

Compounding Interest Rate

The actual interest rate paid by each side scales with their effective leverage:

Long Interest Rate:

iL=I×kLKi_L = I \times \frac{k_L}{K}

Short Interest Rate:

iS=I×kSKi_S = I \times \frac{k_S}{K}

This means:

  • At full leverage (k=Kk=K): Pay the full base interest rate

  • When deleveraged (k<Kk<K): Pay less interest, proportional to effective leverage

This makes economic sense: deleveraged positions have less market exposure (delta), so they pay less for that reduced exposure to LP.

LP Interest Rate (received):

iLP=(rA+rB)×IrCi_{LP} = \frac{(r_A + r_B) \times I}{r_C}

A total of 1/5 of the interest paid to LP is collected as the protocol fee.

Premium Rate

The Premium is paid by the larger side directly to the smaller side of Long and Short, offering them the chance of negative funding rates as an incentive to balance the market. Note: LP does not receive premium — it flows only between Long and Short.

Each pool is configured with a maximum premium rate P (expressed as an annual compounding rate).

Compounding Premium Rate

The premium rate scales with the market imbalance between Long and Short:

Long Premium Rate:

pL=P×(rArB)×(rA+rB)R×rAp_L = P \times \frac{(r_A - r_B) \times (r_A + r_B)}{R \times r_A}

Short Premium Rate:

pS=P×(rBrA)×(rA+rB)R×rBp_S = P \times \frac{(r_B - r_A) \times (r_A + r_B)}{R \times r_B}

Where:

  • rAr_A: Long reserve

  • rBr_B: Short reserve

  • RR: Total pool reserve

  • Positive rate means paying premium

  • Negative rate means receiving premium

This design ensures:

  • When rA>rBr_A > r_B: Long pays premium, Short receives premium

  • When rB>rAr_B > r_A: Short pays premium, Long receives premium

  • When rA=rBr_A = r_B: No premium is exchanged

The premium rate is not affected by deleveraging — it depends only on the reserve imbalance regardless of the curve regime.

Total Funding Rate

The total funding rate for each side is the sum of interest and premium:

fL=iL+pLf_L = i_L + p_L

fS=iS+pSf_S = i_S + p_S

fLP=iLPf_{LP} = -i_{LP}

(LP receives interest, hence negative funding)

Protocol Fee

The protocol fee is calculated from the increase in LP reserves (from interest) and transferred to the fee receiver:

fee=rCrC5fee = \frac{r_C' - r_C}{5}

Where rC=RrArBr_C' = R - r_A' - r_B' is the new LP reserve after interest and premium are applied, and rCr_C is the original LP reserve before any fees.

This fee produces an actual token transfer and reduces the total pool reserve:

R=RfeeR' = R - fee

Last updated