lib-ethers.populatedethersredemption.increaseamountbyminimumnetdebt

Home > @mosaic/lib-ethers > PopulatedEthersRedemption > increaseAmountByMinimumNetDebt

PopulatedEthersRedemption.increaseAmountByMinimumNetDebt() method

Prepare a new transaction by increasing the attempted amount to the next lowest redeemable value.

Signature:

increaseAmountByMinimumNetDebt(maxRedemptionRate?: Decimalish): Promise<PopulatedEthersRedemption>;

Parameters

ParameterTypeDescription

maxRedemptionRate

Maximum acceptable redemption rate to use in the new transaction.

Returns:

Promise<PopulatedEthersRedemption>

Remarks

If maxRedemptionRate is omitted, the original transaction's maxRedemptionRate is reused unless that was also omitted, in which case the current redemption rate (based on the increased amount) plus 0.1% is used as maximum acceptable rate.

Last updated