lib-base.trove.recreate

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

Trove.recreate() method

Calculate the parameters of an openTrove() transaction that will result in the given Trove.

Signature:

static recreate(that: Trove, borrowingRate?: Decimalish): TroveCreationParams<Decimal>;

Parameters

Parameter
Type
Description

that

The Trove to recreate.

borrowingRate

Current borrowing rate.

Returns:

TroveCreationParams<Decimal>

Last updated