lib-base.troveclosureparams

Home > @mosaic/lib-base > TroveClosureParams

TroveClosureParams type

Parameters of a closeTrove() transaction.

Signature:

export declare type TroveClosureParams<T> = _CollateralWithdrawal<T> & _NoCollateralDeposit & Partial<_MoUSDRepayment<T>> & _NoMoUSDBorrowing;

Remarks

The type parameter T specifies the allowed value type(s) of the particular TroveClosureParams object's properties.

Properties

PropertyTypeDescription

withdrawCollateral

T

The amount of collateral that's withdrawn.

repayMoUSD?

T

(Optional) The amount of MoUSD that's repaid.

Last updated