Kwenta V3 Docs
DiscordKwentaTwitterBlog
  • 🥂Welcome to Kwenta
  • Welcome to Kwenta
    • 🔄Bridging on Kwenta
  • V3 Perps
    • 📜Perps V3
    • ♨️Multi Collateral
      • What is USDx?
      • The Mechanics of USDx
      • Edge Cases in Liquidation:
      • Settlement of Debt
      • FAQ's
    • 📚Perps Basics
    • 💰Margin Types & Collateral
    • ⚖️Funding
      • Technical Details
    • 🤝Maker or Taker?
    • 💪Leverage & Initial/Maintenance Margin
    • 🔚Account Health & Liquidations
    • 🛜Conditional Orders
    • ⚡Gasless One-Click Trading
      • 🟩Starting/Stopping 1CT
      • ⁉️FAQ
    • 🗣️Delegated Trading
      • 📙Getting started with Delegation
      • 👩‍🎓Managing Delegates
      • 🔐Accessing Accounts Delegate to You
    • 📈Trading Tutorial
  • Infrastructure Overview
    • 📕Getting Started
    • 🔍System Overview
    • 🗂️Account Management
    • 👥Delegate Management
    • 💻Conditional Orders
    • 🌐Oracle Data
  • Resources
    • 🕵️Audits
    • GitHub
Powered by GitBook
On this page
  • Scenario 1: Small Liquidation
  • Scenario 2: Large Liquidation

Was this helpful?

  1. V3 Perps
  2. Multi Collateral

Edge Cases in Liquidation:

Understanding Slippage Scenarios

In some instances, traders may face slippage during liquidation events. Below are examples illustrating how different sizes of liquidation can lead to varying slippage:

Scenario 1: Small Liquidation

  • Trader's Margin: $101,000 of tBTC, with $100,000 debt.

  • Steps:

    • Flash borrow $100,000 USDC from Aave.

    • Convert $100,000 USDC to USDx using Synthetix Spot Market.

    • Burn $100,000 of USDx debt.

    • Withdraw $101,000 of tBTC collateral.

    • Swap $101,000 of tBTC for $100,000 USDC.

    • Repay Aave flash loan.

    • Result: Approximately 1% slippage on the tBTC/USDC swap.

Scenario 2: Large Liquidation

  • Trader's Margin: $3.3 million of tBTC, with $3 million debt.

  • Steps:

    • Flash borrow $3 million USDC from Aave.

    • Convert $3 million USDC to USDx using Synthetix Spot Market.

    • Burn $3 million of USDx debt.

    • Withdraw $3.3 million of tBTC collateral.

    • Swap $3.3 million of tBTC for $3 million USDC.

    • Repay Aave flash loan.

    • Result: Approximately 10% slippage on the tBTC/USDC swap.

These examples illustrate how slippage can vary significantly with the size of the liquidation, influencing the efficiency of debt repayment and collateral recovery.

PreviousThe Mechanics of USDxNextSettlement of Debt

Last updated 6 months ago

Was this helpful?

♨️
Page cover image