Function calcLiquidationMargin
- calcLiquidationMargin(totalEffectiveBorrowBalanceValue: bigint, totalEffectiveCollateralBalanceValue: bigint): bigint
-
Parameters
-
totalEffectiveBorrowBalanceValue: bigint
-
totalEffectiveCollateralBalanceValue: bigint
Returns bigint
Calculates the loan's liquidation margin
Returns
liquidationMargin (4dp)