Vault Ratio#
The vault ratio is defined in the following way:
LetCaโbetheamountofcollateraldepositedCpโbethepriceofthecollateralDaโbetheamountofdebtMintedDpโbethepriceofthedebtVrโbethevaultratioVrโ=DaโโDbโCaโโCpโโร100โ Liquidation#
The Index token needed to liquidate a vault is:
LetDLโbetheamountofindextokenneededtoliquidateavaultLpโbetheliquidationpenaltyDLโ=Dpโ(VrโโLpโโ100)DaโDpโVrโโ100CaโCpโโโ The reward received is given by:
LetCrโbetheamountofcollateralreceivedasrewardCrโ=100CpโDpโ(VrโโLpโโ100)(DaโDpโVrโโ100CaโCpโ)(Lpโ+100)โโ Fees#
The mint fee and the fee are calculated in the following way:
LetBfโbetheburnfeepercentageLetMfโbethemintfeepercentagemintFee=100EpโCaโCpโMfโโBurnFee=100EpโCaโCpโBfโโ Math Derivation#
For the derivation of the formulae please refer to this medium article