Function calcLiquidationMargin

    • Calculates the loan's liquidation margin

      Parameters

      • totalEffectiveBorrowBalanceValue: bigint

        (4dp)

      • totalEffectiveCollateralBalanceValue: bigint

        (4dp)

      Returns bigint

      liquidationMargin (4dp)