lib-base.trove.collateralratioisbelowminimum

Home > @mosaic/lib-base > Trove > collateralRatioIsBelowMinimum

Trove.collateralRatioIsBelowMinimum() method

Whether the Trove is undercollateralized at a given price.

Signature:

collateralRatioIsBelowMinimum(price: Decimalish): boolean;

Parameters

ParameterTypeDescription

price

Returns:

boolean

true if the Trove's collateralization ratio is less than the MINIMUM_COLLATERAL_RATIO.

Last updated