PsyFi Documentation
  • Welcome to PsyFi
    • Why use PsyFi?
    • PsyFi Product Suite
    • PsyVaults - Vaults Product
      • πŸ—οΈCovered Calls & Secured Puts Vaults Architecture
      • πŸ“ΆLeveraged Strategy Vaults (Call Spreads & Put Spreads) - Currently Paused
      • πŸ’ΉMarket Making Vaults - Currently Paused
      • πŸ“šPsyVaults Resources
        • PsyFi Vault Contracts
      • πŸ‘©β€πŸ«PsyVaults Tutorials
        • πŸ’΅Weekly Bidding on V2 Vaults
        • πŸ’°PsyVault Rewards
          • Auto-Deposit into PsyLend to Earn Rewards
          • Understanding Staking Rewards
          • Boosting your Staking Rewards
      • ❓PsyVaults FAQs
    • PsyLend - Structured Products Lending
      • πŸ‘©β€πŸŽ“Tutorials - Supplying & Borrowing
      • 🎰Supply & Interest Rate Calculations
      • πŸ…ΏοΈLending Parameters
      • βš’οΈLiquidations
      • πŸ’°Rewards
      • ⚑Fees
      • *️Risks & Insurance Fund
      • PsyLend FAQs
      • PsyLend Glossary
  • PsyFi DAO Audits
    • Audits
  • Build with PsyFi
    • Options Protocol
      • American Style Options
      • Tokenized European Style Options
      • Under-Collateralized European Style Options
      • PsyOptions FAQ
    • Fusion - Airdropping Options - Deprecated
      • πŸ‘©β€πŸ«Fusion Tutorials
        • Users: Option Rewards and What You Can Do With Them
        • Users: Claiming Airdrops Through Fusion
    • Developers
      • Program Integration
      • Client Integration
        • Namespace: instructions
        • Namespace: serumInstructions
        • Namespace: serum utils
        • Enumeration: ClusterName
        • Enumeration: ProgramVersions
        • Class: Validation
      • PsyFi DAO Contributor Support
    • Designers
      • Logos
      • Fonts
  • Options Education
    • Styles of Options
    • Calls & Puts
    • Option Strategies
    • Glossary
  • PSY Token & DAO
    • PSY Tokenomics
      • PSY Token Unlock Schedule
    • Governance Infrastructure & Tokenomics
    • Governance Parameters
    • PSY 2.0: PSY Stake and DeMux Overview [RFC]
    • Governance Tutorials
      • Governance Overview & Walkthrough
      • Initializing a Proposal Using Poseidon [RFC]
      • PsyOptions Protocol Governance Actions
      • Voter Stake Registry Set Up
        • How to Lock Your Own Tokens
        • How to Propose Issuing Locked Tokens
        • How to Propose Clawing Back Granted Tokens
      • PSY 2.0 - How to Stake Your PSY to Start Participating in PSY 2.0 Governance
      • PSY 2.0 - How to Claim Rewards For Staked PSY
      • PSY 2.0 - How to Setup a RewardPool
      • PSY 2.0 - How to perform DeMuX Actions on Reward Pools [RFC]
      • PSY 2.0 - How to view tokens that are sent to DeMux [RFC]
    • Governance FAQ
      • πŸ›PSY DAO Bug Bounty
    • Poseidon [RFC]
    • PsyFi DAO Contributors
Powered by GitBook
On this page
  1. Welcome to PsyFi
  2. PsyLend - Structured Products Lending

Liquidations

PreviousLending ParametersNextRewards

Last updated 2 years ago

Liquidations are a pivotal part of the PsyLend risk engine to maintain protocol health. Liquidation mechanisms are designed to take place before a loan is underwater to ensure that there is enough collateral in the pool for suppliers to withdraw.

Users are liquidated when their account health reaches their liquidation threshold. This information can be found in the account details section. When the white line reaches the red hazard sign, your account is open for liquidation.

Liquidation thresholds are calculated based on the largest minimum Collateralization Ratio (C-Ratio), or smallest Loan-to-Value Ratio (LTV) of any borrowed asset that the user has in their account. Note that C-Ratio is the inverse of the LTV. The thresholds for different assets can be found in the section. Note that opening a new position can have serious consequences on borrowing power if the minimum C-Ratio of the new position is higher than any position the user currently has open!

When an account is eligible for liquidation, any third party liquidator will be able to repay any loan of their choice and seize any collateral asset of their choice in exchange. That is, liquidators do not have to repay the debt of any specific asset, it is at their sole discretion to choose which assets to seize and repay, as long as the account is restored to a healthy range! For example, if an account deposits SOL and ETH as collateral, then borrows BTC, and the price of SOL goes down significantly, the liquidator may opt to seize ETH instead of SOL when repaying the BTC debt.

Liquidators are economically incentivized only to liquidate enough assets to bring the account health back into a healthy range. Additionally, Liquidators will get a bonus for liquidating Vault Assets (10% of the total liquidated position) versus a standard token (5% of the total liquidated position).

To learn more about participating in liquidations, reach out on Discord.

Liquidation Example

  • User A supplies $50 USDC and $50 of SOL-Call Vault Token . User A now borrows $50 of BTC (Min Collateral Ratio 150%) and $.00000001 of some other token (Min Collateral Ratio 200%)

  • In this case, the larger of the two min collateral ratios are used to determine account Min Collateral Ratio of 200%. The value of the collateral is $100, so they can borrow $50 in total (100/50 = 200%)

  • User A now borrows $50 of BTC, maxing out their min collateral ratio.

  • The price of BTC increases by 10% to $55. The account is now below the Min Collateral Ratio threshold: 100/55 = 182%

  • The liquidator would repay up to $10.53 in BTC. They would seize $11.06 in USDC or ETH, earning a net premium of $0.53 ~= 5% of $10.53.

  • If the liquidator decides to take USDC, the user’s new position is $50-11.06 = $38.94 of USDC, $50 of SOL-Call Vault Token, and $55-10.53 = $44.47 in borrowed BTC. The Collateral Ratio is now 88.94/44.47 = 200%, so the account is now healthy again.

βš’οΈ
parameters