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
  • Liquidations
  • Minimum Position Size
  1. THE USDN Protocol
  2. Long Side

Liquidations and Minimum Position

Technical Details on Liquidations and Minimum Amount for Long Positions

PreviouswstETH CollateralizationNextInside the Protocol

Last updated 2 months ago

Liquidations

In our decentralized , when a reaches its liquidation price, it must be closed to ensure the system functions properly. However, as with all decentralized protocols, the protocol cannot trigger liquidations itself, as it operates on the blockchain and cannot monitor prices in real-time. This is why liquidation must be initiated by an external actor, such as a user or bot, that monitors prices and executes a liquidation transaction. The liquidation action is permissionless and can be triggered by anyone.

In practice, there are two possible scenarios:

  1. "Voluntary" liquidation: Liquidation is typically performed by bots programmed to constantly monitor opportunities. These bots submit a valid price to the protocol and initiate the liquidation of positions that need to be closed. However, it’s important to note that anyone—not just bots—can take advantage of these opportunities and execute a liquidation, provided they supply a valid price.

  2. "Involuntary" liquidation: A user performs one of the four main actions, such as / the or opening/closing a long position. When they interact with the protocol by providing a price, the protocol checks if there are any positions to liquidate. If so, these positions are automatically liquidated, and the user is rewarded.

Triggering a liquidation requires a transaction on the Ethereum blockchain, which incurs . To ensure that positions marked for liquidation are effectively liquidated, the protocol financially incentivizes liquidators by refunding gas fees and offering an additional reward. This incentive is made possible through a liquidation penalty built into every long position, set at approximately 2%. The liquidation price displayed on the website already includes this penalty.

This penalty, subject to change by the , serves to cover the gas fees associated with the liquidation transaction and provide a reward to the liquidator. Depending on the state of the protocol, any remaining surplus is redistributed to the and the . For more information about liquidation fees, please refer to the section.

Minimum Position Size

To ensure decentralization and the security of the protocol, a minimum collateral amount, subject to change by the , is required to open a long position on the USDN long-only perpetual. This threshold is necessary to ensure that the liquidation penalty (generally a couple of percentage points on the liquidation price) leaves a sufficient amount of collateral upon liquidation to cover the gas fees of the liquidator transaction.

By maintaining this minimum amount, we facilitate the participation of users and bots in managing liquidations without centralized intervention, while ensuring the economic viability of these actions. This choice is essential to achieving our decentralization goals while preserving the protocol’s security and efficiency.

The minimum position size is currently set at 0.65 wstETH

governance
liquidation fees
governance
protocol
position
minting
redeeming
USDN token
gas fees
dip accumulator
vault