Liquidation

Liquidation can occur when the value of the pVault falls below the minimum collateral value. All positions will be closed and fee of 20%(10% on Version 2.0.2) of the minimum collateral of the vault will also be lost. The vault is in danger and can be liquidated when the equation below becomes true.

ValuepVault=CollateralUSDC+PositionsPnL<Min.CollateralValue_{pVault} \, = \, Collateral_{USDC} \, + \, \sum \, Positions \, PnL \, < Min. \, Collateral

When a vault is in danger, anybody (or any bot) can liquidate the vault, closing all positions. The liquidator receives a reward of 10% of the minimum collateral value and the protocol treasury also receives the same reward.

The equation below shows how the minimum collateral for a pVault is calculated.

Min.Collateral= αS(2S(1+FundingRateETH2)AmountETH2+(1+FundingRateETH)AmountETH+2S(1+FundingRateETH2)AmountETH2)Min.Collateral=200,if Min.Collateral<200where:S=PriceETH from Chainlinkα=5%\begin{align*} Min. \, Collateral = \ &α*S(|2S(1+FundingRate_{ETH^2})*Amount_{ETH^2} \\ &+(1+FundingRate_{ETH})*Amount_{ETH}| \\ &+ 2S*(1+FundingRate_{ETH^2})*|Amount_{ETH^2}|) \\ \\ &Min. \, Collateral = 200, \, if \ Min. \, Collateral < 200 & \\ &where: \\& S = Price_{ETH} \ from \ Chainlink \\& α = 5 \% & \\ \end{align*}

Last updated