Skip to content
KIMP

Liquidation

When a Kimp Contract position becomes liquidatable, how permissionless liquidation works, the 0.50% penalty and a full worked example.

A position is liquidated when its equity falls to its maintenance margin. Liquidation closes the position at the mark, charges a penalty, and returns any remaining equity to the trader. It is permissionless: anyone can call KimpMarket.liquidate.

Parameters#

ParameterValue
Maintenance margin25% of initial margin
Liquidation conditionequity ≤ maintenance margin
Liquidation priceMark, the latest finalized index value
Penalty0.50% of notional
Penalty recipientKimp Pool, less the keeper share
Keeper share10% of the penalty
CallerAnyone, via KimpMarket.liquidate

Condition#

Formula
equity             = margin_value + unrealized_pnl − feesmaintenance_margin = 25% × initial_marginliquidatable if equity ≤ maintenance_margin

Margin value is collateral after the 10% ETH haircut, if any. Unrealized P&L is measured at the mark. Fees are fees owed but not yet paid, which is the 0.05% closing fee. The open fee was paid at entry and is not part of the calculation.

Worked example#

A trader opens a Short premium position on BTC in the Verified Lane.

ItemValue
Notional10,000 USD
Leverage5x
Initial margin2,000 USD in USDC
Maintenance margin25% × 2,000 = 500 USD
Closing fee owed0.05% × 10,000 = 5 USD
Entry+150 bps

Step 1: find the liquidation level#

Formula
2,000 + unrealized_pnl − 5 ≤ 500unrealized_pnl ≤ −1,495 USD10,000 × Δbps / 10,000 ≤ −1,495Δbps ≤ −1,495 bps

For a Short, Δbps = −(mark − entry), so the position is liquidatable when the mark rises 1,495 bps above entry:

Formula
liquidation mark = 150 + 1,495 = +1,645 bps

Step 2: liquidate at the mark#

In a period of extreme retail demand, the BTC index finalizes at +1,645 bps. A keeper calls KimpMarket.liquidate.

Formula
unrealized_pnl = 10,000 × −(1,645 − 150) / 10,000 = −1,495 USDequity         = 2,000 − 1,495 − 5 = 500 USDpenalty        = 0.50% × 10,000 = 50 USDkeeper share   = 10% × 50 = 5 USDpool share     = 50 − 5 = 45 USDreturned       = 500 − 50 = 450 USD

Step 3: account for every dollar#

FlowAmount
Trading loss to the Kimp Pool1,495 USD
Closing fee5 USD
Penalty to the Kimp Pool45 USD
Penalty to the keeper5 USD
Returned to the trader450 USD
Total2,000 USD

The total equals the initial margin. The trader's total loss is 1,550 USD plus the 5 USD open fee paid at entry.

Distance to liquidation#

Maintenance margin is 25% of initial margin, so a position can lose 75% of its initial margin, less the closing fee, before liquidation. For a position margined in USDC:

Formula
distance_bps = 7,500 / leverage − 5
LeverageDistance to liquidation
1x7,495 bps
2x3,745 bps
3x2,495 bps
4x1,870 bps
5x1,495 bps

Premium moves of this size are rare, but they are not impossible, and positions margined in ETH can be liquidated earlier because a fall in ETH reduces margin value.

Gaps past the liquidation level#

The mark updates once per epoch. If the index moves past the liquidation level within one epoch, the position is liquidated at the new mark with less equity remaining. The penalty is paid from remaining equity and is reduced to whatever remains if equity is below the penalty. If equity is negative, the shortfall is absorbed by the Kimp Pool. Full collateralization and the circuit guard make this unlikely, but LPs carry this risk. See Risk disclosures.

Frozen or stale index#

While an index is frozen or carried, the mark does not change. Positions cannot become liquidatable from index movement during that time. ETH-margined positions can still be liquidated if ETH falls.

Keepers#

Anyone can run a keeper. Keepers watch finalized index values through Flashblocks preconfirmations and call KimpMarket.liquidate on positions that meet the condition. The first valid call succeeds and earns 10% of the penalty. The call reverts if the position is not liquidatable at the current mark.