SmarDex Ecosystem
Github
USDN Protocol
USDN Protocol
  • Introduction
    • Quick Overview
  • THE USDN Protocol
    • Protocol USDN Overview
      • Simplified Examples
    • Protocol Balance
      • Imbalance Protections
      • Equilibrium: The Role of the Funding Rate
    • Vault Side
      • Vault Overview
      • Rebase Mechanism
      • Yields
        • Funding Rates
        • Yield-bearing asset
    • Long Side
      • Long Perpetual
      • Long Overview
      • Dip Accumulator
      • wstETH Collateralization
      • Liquidations and Minimum Position
    • Inside the Protocol
      • Protocol vs Market Fluctuations
      • 1. Providing a Price
      • 2. Calculating Long PnLs
      • 3. Applying the Funding Rate
      • 4. Liquidating Positions
    • Integration
      • WUSDN
    • Fees
      • Protocol Fees
      • Liquidation Fee
    • Protocol parameters
    • Oracles
    • Governance
    • Risks
    • SDEX
    • Addresses
    • FAQ
    • Glossary
  • PERIPHERY
    • Long farming
  • Whitepaper
  • Github
  • Audits
Powered by GitBook
On this page
  • Funding Rate
  • If the Funding Rate is Positive:
  • If the Funding Rate is Negative:
  1. THE USDN Protocol
  2. Protocol Balance

Equilibrium: The Role of the Funding Rate

PreviousImbalance ProtectionsNextVault Side

Last updated 2 months ago

Funding Rate

The funding rate is a key mechanism for balancing the . In practice, the larger side (either the longs or the USDN ) pays a fee called the funding rate to the other side. This incentivizes participants to move toward the underrepresented side to collect this payment, thereby naturally bringing the protocol back to equilibrium based on market movements.

How Does It Work Exactly?

To measure each side, as mentioned in the previous section, we use the of the long side and the vault balance.

If the trading exposure of the longs exceeds the vault balance, the longs must pay the funding rate to the vault side. Conversely, if the vault balance exceeds the trading exposure of the longs, it is the vault that pays the longs.

Imbalance and Skew Factor

The imbalance is defined as the relative difference between the two quantities described above, and the funding rate is roughly proportional to the square of the imbalance. This means that, as the imbalance increases, the funding rate increases faster. This ensures that it gets quickly profitable to enter the underrepresented side in case of imbalance.

In practice, the funding rate should not be zero when the protocol is perfectly balanced. This is because the borrow assets from the vault, and loans generally imply an interest rate. The USDN protocol uses an adaptive mechanism to find the appropriate , which is the value of the funding rate when the protocol is perfectly balanced.

This skew factor is calculated as an exponential moving average of the daily funding rate and gets added to the part of the funding rate that is proportional to the imbalance. To simplify the explanations below, the rest of this page assumes that the skew factor is zero.

More information can be found in the USDN .

If the Funding Rate is Positive:

A positive funding rate occurs when the trading exposure of the longs exceeds the vault balance. This means that the longs are paying, which happens more often than not when the market for an asset is bullish.

In this situation, longs make periodic payments to the USDN vault, generating for the holders. The greater the imbalance between the trading exposure of the longs and the vault balance, the more longs pay in funding, making the yield more attractive. This then incentivizes new participants to the USDN token to take advantage of these benefits.

By minting new USDN tokens, the protocol balances itself, as additional assets are added to the vault, reducing the gap between the vault balance and the trading exposure of the longs. The protocol, therefore, naturally rebalances itself through this mechanism.

If the Funding Rate is Negative:

A negative funding rate occurs when the vault balance is higher than the trading exposure of the longs. In this case, it is the vault that pays the longs to open leveraged positions. In other words, traders are paid to take long positions and borrow assets, which is highly attractive. They can earn money simply by gaining exposure to the price of the underlying asset with leverage. In such a scenario, new traders will be incentivized to open long positions to take advantage of this benefit, thereby increasing the trading exposure and rebalancing the protocol.

The funding rate thus plays an essential role in maintaining a balanced protocol. Whether positive or negative, this mechanism constantly incentivizes participants to adjust their positions, allowing the protocol to reach equilibrium automatically and organically based on market fluctuations. By offering yield opportunities for both sides (the USDN vault and the longs), the funding rate contributes to the stability of the USDN token and enhances its appeal to users.

However, this is not the only force that drives the protocol back to equilibrium. A situation with a negative funding rate causes a loss for the USDN vault, as it must pay this funding. Since the value of the USDN token is directly linked to the vault, the USDN token could gradually lose value. The USDN token holders would then be incentivized to their USDN tokens to avoid losses, which would reduce the vault balance and also contribute to balancing the protocol.

whitepaper
redeem
USDN protocol
vault
trading exposure
long positions
skew factor
yield
USDN token
mint