Likwidacje Zdecentralizowanych Kontraktów Perpetual

Zautomatyzowane mechanizmy wymuszające zamknięcie niedozabezpieczonej pozycji w DeFi, aby zapobiec bankructwu protokołu.

Źle zaprojektowany system może prowadzić do likwidacji kaskadowych (cascading liquidations), gdzie sprzedaż zabezpieczenia dodatkowo obniża cenę rynkową aktywa, wywołując kolejne likwidacje.

        graph LR
  Center["Likwidacje Zdecentralizowanych Kontraktów Perpetual"]:::main
  Rel_decentralized_perpetual_futures_funding["decentralized-perpetual-futures-funding"]:::related -.-> Center
  click Rel_decentralized_perpetual_futures_funding "/terms/decentralized-perpetual-futures-funding"
  Rel_decentralized_perpetual_futures_risk["decentralized-perpetual-futures-risk"]:::related -.-> Center
  click Rel_decentralized_perpetual_futures_risk "/terms/decentralized-perpetual-futures-risk"
  Rel_decentralized_perpetual_futures_hedging["decentralized-perpetual-futures-hedging"]:::related -.-> Center
  click Rel_decentralized_perpetual_futures_hedging "/terms/decentralized-perpetual-futures-hedging"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 Wyjaśnij jak 5-latkowi

Wyobraź sobie, że pożyczasz pieniądze w lombardzie pod zastaw zegarka. Jeśli wartość twojego długu przewyższy wartość zegarka, lombard go sprzeda. W krypto nie ma właściciela lombardu. Jest robot (Keeper), który ciągle sprawdza matematykę wszystkich. Gdy twój dług jest za duży, robot wciska przycisk, by sprzedać twój zastaw, za co dostaje mały napiwek.

🤓 Expert Deep Dive

Rola Keepers a MEV: Likwidacje to wysoce konkurencyjna forma MEV. Keepers używają Flashbots, by jako pierwsi przetworzyć transakcję likwidacji. Obsługa Złego Długu (Bad Debt): Podczas krachów na rynku pozycje mogą nie zostać zlikwidowane na czas. Protokół pokrywa straty z Funduszu Ubezpieczeniowego (Insurance Fund). Jeśli fundusz się wyczerpie, stosuje się Auto-Deleveraging (ADL), polegający na przymusowym zamykaniu zyskownych pozycji innych traderów, by uspołecznić straty bankrutów.

❓ Częste pytania

Who actually triggers a liquidation on the blockchain?

Since smart contracts cannot execute themselves, third-party actors called 'Keepers' or 'Liquidators' run bots to monitor the network. They trigger the liquidation transaction because the protocol rewards them with a bounty.

What is 'Bad Debt' in DeFi?

Bad debt occurs when the market crashes so fast that a position cannot be liquidated before its collateral is worth less than the debt it owes. The protocol must cover this loss, usually from an Insurance Fund.

What is a Maintenance Margin?

It is the minimum amount of collateral (expressed as a percentage of your position size) that you must maintain to keep your leveraged position open. Dropping below this triggers liquidation.

📚 Źródła