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