Parameters

The leverage module contains the following parameters:

KeyTypeExample
CompleteLiquidationThresholdsdk.Dec0.1
MinimumCloseFactorsdk.Dec0.01
OracleRewardFactorsdk.Dec0.01
SmallLiquidationSizesdk.Dec100.00

CompleteLiquidationThreshold

CompleteLiquidationThreshold governs how far above their liquidation limit a borrower must be to have a Close Factor of 1.0 - that is, to be eligible for full liquidation in a single liquidation event.

MinimumCloseFactor

MinimumCloseFactor is the Close Factor for borrows that are just above their liquidation limit.

OracleRewardFactor

OracleRewardFactor is the portion of borrow interest accrued that goes to fund the x/oracle reward pool.

SmallLiquidationSize

SmallLiquidationSize is the borrow value in USD below which Close Factor is always 1.