@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / LiquidationEngineConfig

Interface: LiquidationEngineConfig

Defined in: packages/sdk/src/perp/system.ts:99

The LiquidationEngine's CONFIGURED bounds — not its history, which is indexed as LiquidationEvent.

Properties

address

address: `0x${string}`

Defined in: packages/sdk/src/perp/system.ts:101

The engine's address.


marginBank

marginBank: `0x${string}`

Defined in: packages/sdk/src/perp/system.ts:103

The MarginBank it liquidates against — cross-check against the system config.


penaltyBps

penaltyBps: bigint

Defined in: packages/sdk/src/perp/system.ts:105

Penalty charged on a liquidation, bps.


minSpreadBps

minSpreadBps: bigint

Defined in: packages/sdk/src/perp/system.ts:107

Lower bound on the liquidation spread, bps.


maxSpreadBps

maxSpreadBps: bigint

Defined in: packages/sdk/src/perp/system.ts:109

Upper bound on the liquidation spread, bps.


maxVolumePerBlock

maxVolumePerBlock: bigint

Defined in: packages/sdk/src/perp/system.ts:111

Per-block cap on liquidated notional, raw quote units — the throughput throttle.


bidderCount

bidderCount: bigint

Defined in: packages/sdk/src/perp/system.ts:119

Registered stage-4 backstop bidders.

Zero is a real operational signal, not just a statistic: with no bidders the takeover stage has nobody to take a position over, so the waterfall falls through to ADL sooner.