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 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 K
Asymptotic regime (deleveraged): Position leverage decreases as price moves further
The effective leverage of each side (kL for Long, kS for Short) is calculated based on the current price position on the curve:
kL=min(K,k(x))
kS=min(K,k(x))
Where k(x) is the instantaneous leverage at current price x. In the power regime, k=K. In the asymptotic regime, k<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×KkL
Short Interest Rate:
iS=I×KkS
This means:
At full leverage (k=K): Pay the full base interest rate
When deleveraged (k<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=rC(rA+rB)×I
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×R×rA(rA−rB)×(rA+rB)
Short Premium Rate:
pS=P×R×rB(rB−rA)×(rA+rB)
Where:
rA: Long reserve
rB: Short reserve
R: Total pool reserve
Positive rate means paying premium
Negative rate means receiving premium
This design ensures:
When rA>rB: Long pays premium, Short receives premium
When rB>rA: Short pays premium, Long receives premium
When rA=rB: 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+pL
fS=iS+pS
fLP=−iLP
(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=5rC′−rC
Where rC′=R−rA′−rB′ is the new LP reserve after interest and premium are applied, and rC is the original LP reserve before any fees.
This fee produces an actual token transfer and reduces the total pool reserve:
R′=R−fee
Last updated