Inputs to computeNICR: a position's collateral + entire debt.

interface ComputeNICRParams {
    collateral: bigint;
    entireDebt: bigint;
}

Hierarchy (View Summary)

Properties

collateral: bigint

Collateral in BTC wei (1e18).

entireDebt: bigint

The position's ENTIRE debt (e.g. for an open: draw + fee + 200).