Jellyverse Docs
WebsiteApp
English
English
  • Overview
    • How to Connect to SEI
    • How to get SEI Devnet Funds
    • How to make your first Swap
  • Protocol Library
    • JellySwap
      • Liquidity Management
        • Swaps
      • Pools
        • Weighted Pools
        • Stable Pools
          • Composable Stable Pools
        • Setting up a Pool Configuration
      • Impermanent Loss
        • 50/50 Pools
        • 80/20 Pools
        • Multitoken Pools
      • Preminted JPT
      • Relayers
      • Smart Order Router (SOR)
    • JellyStake
      • Staking Chests
      • Voting power
    • jAssets by BLKSWN
      • Liquidation and the Stability Pool
      • Liquidation Logic
      • Recovery Mode
      • jUSD Redemption
      • Expected User Behaviors
      • Core Smart Contracts
      • PriceFeed and Oracle
      • Contract Ownership and Function Permissions
      • Keeping a sorted list of Vaults ordered by LACR
      • Supplying Hints to Vault operations
      • Gas compensation
      • The Stability Pool
      • Swap Pools
      • Protocol System Fees
      • Governance
      • Audits
  • Jellyverse Architecture
    • Governance
    • Rewards
    • Reward Distributor
    • Tokenomics
    • Whitepaper
    • Contract Addresses
  • Audit
  • Community
    • Socials
  • COMMUNITY PROTOCOLS
    • Introduction
Powered by GitBook
On this page
  1. Protocol Library
  2. jAssets by BLKSWN

Liquidation Logic

The precise behavior of liquidations depends on the initial collateralization ratio (ICR) of the Vault being liquidated and global system conditions: the total collateralization ratio (TCR) of the system, the size of the Stability Pool, etc.

ICR > TCR
Not liquidatable.

ICR < IMCR

Try to offset through the stability pools and redistribute anything remaining.

ICR ≥ IMCR

Normal Mode: Not liquidatable. Recovery Mode: Try to offset through the stability pools and redistribute anything remaining, but only a fraction (IMCR * debt's USD value) of the Vault's collateral, the rest will be transferred into the CollSurplusPool, from where it is claimable by the Vault owner.

Stability Pool depositors gain collateral tokens over time as liquidated debt is canceled with their deposit. When they withdraw all or part of their deposited jAssets or top up their deposit, the system sends them their accumulated collateral gains.

Similarly, a Vault's accumulated gains from liquidations are automatically applied to the Vault when the owner performs any operation - e.g., adding/withdrawing collateral or issuing/repaying jAssets.

Last updated 6 months ago