Skip to main content
Pure parameter reference for margin thresholds. For conceptual explanation of the margin model, see Margin Model.

Margin Parameters

Formulas

Invariant

Any attempt to set mmFactorBps >= imFactorBps reverts.

Leverage Tiers

Margin Operation Constraints

Liquidation Condition

Strict less-than (<). A position with equity exactly equal to MM is not liquidatable.

Snapshotted Fields

These values are captured at position open time and never change for that position: Admin changes to these parameters only affect positions opened after the change.

Margin Model

Conceptual explanation of isolated margin, leverage, and equity.

Liquidation

Liquidation mechanics, penalty calculation, and keeper incentives.

Parameter Reference

Complete list of all configurable protocol parameters.