Liquidation

Overview

Liquidation is a crucial part of managing risk on any leveraged position. On SolFarm, we currently have borrowing up 2x leverage. This means a user can deposit collateral and borrow up to 1x of what they have deposited and pay interest on the borrowed amount. A position will become at risk of liquidation as it approaches its debt threshold and its loan to value ratio (LTV) goes above the position maintenance requirements.

Our protocol currently runs on the following liquidation parameters:

LTV Ratio

Liquidation Bounty

Estimated* Collateral Retuned to user

85%

5%

10%

*Estimated as the 10% is not guaranteed, it is the remainder of collateral after the bounty is taken

Liquidation is required when a position is unable to maintain their LTV ratio. As a user's collateral's value decreases and if it continues to drop in value, the risk of the user being unable to return the loan increases. Therefore, liquidation is required to settle the debt and ensure the lending funds are safe and lenders continue to feel confident to lend into our protocol to supply collateral for users to farm with.

Liquidation Example

  1. Steve opens a SRM-USDC leveraged farming position using 2x leverage.

  2. He supplies 1000 SRM (worth 3000 USDC) in collateral.

  3. He borrows 3000 USDC (1x of his collateral)

  4. SolFarm converts all deposits and loans into a LP position: 1000 SRM + 3000 USDC

  5. Steve's LTV ratio is 50% (debt/position value)

  6. If SRM decreases approximately >60%, then Steve's LTV ratio will exceed 85%. A liquidation bot will call the program to close the position and settle the loan. The 5% bounty is taken and any remaining collateral will be returned to the user.

Liquidation Bot

The team will be running the first liquidation bot to ensure an orderly market at launch and to ensure positions are being liquidated in a timely manner. We will open source the liquidation bot sample code in the future.

Currently, any profit made by the team's liquidation bot will go towards an insurance fund for backstopping/possible blackswan events.

Insurance fund address: 4HusCtno8Jo9zpx7JMXmNoMQBbLCRo1UtctCfmWEokLm

Last updated