Skip to content

Commit

Permalink
Merge branch 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
danielattilasimon committed Jun 29, 2021
2 parents dbadb79 + 1f4270e commit 4ad0998
Show file tree
Hide file tree
Showing 137 changed files with 5,769 additions and 1,121 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@liquity/lib-ethers](./lib-ethers.md) &gt; [BorrowingOperationOptionalParams](./lib-ethers.borrowingoperationoptionalparams.md) &gt; [borrowingFeeDecayToleranceMinutes](./lib-ethers.borrowingoperationoptionalparams.borrowingfeedecaytoleranceminutes.md)

## BorrowingOperationOptionalParams.borrowingFeeDecayToleranceMinutes property

Control the amount of extra gas included attached to the transaction.

<b>Signature:</b>

```typescript
borrowingFeeDecayToleranceMinutes?: number;
```

## Remarks

Transactions that borrow LUSD must pay a variable borrowing fee, which is added to the Trove's debt. This fee increases whenever a redemption occurs, and otherwise decays exponentially. Due to this decay, a Trove's collateral ratio can end up being higher than initially calculated if the transaction is pending for a long time. When this happens, the backend has to iterate over the sorted list of Troves to find a new position for the Trove, which costs extra gas.

The SDK can estimate how much the gas costs of the transaction may increase due to this decay, and can include additional gas to ensure that it will still succeed, even if it ends up pending for a relatively long time. This parameter specifies the length of time that should be covered by the extra gas.

Default: 60 minutes.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@liquity/lib-ethers](./lib-ethers.md) &gt; [BorrowingOperationOptionalParams](./lib-ethers.borrowingoperationoptionalparams.md) &gt; [maxBorrowingRate](./lib-ethers.borrowingoperationoptionalparams.maxborrowingrate.md)

## BorrowingOperationOptionalParams.maxBorrowingRate property

Maximum acceptable [borrowing rate](./lib-base.fees.borrowingrate.md) (default: current borrowing rate plus 0.5%).

<b>Signature:</b>

```typescript
maxBorrowingRate?: Decimalish;
```
21 changes: 21 additions & 0 deletions docs/sdk/lib-ethers.borrowingoperationoptionalparams.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@liquity/lib-ethers](./lib-ethers.md) &gt; [BorrowingOperationOptionalParams](./lib-ethers.borrowingoperationoptionalparams.md)

## BorrowingOperationOptionalParams interface

Optional parameters of a transaction that borrows LUSD.

<b>Signature:</b>

```typescript
export interface BorrowingOperationOptionalParams
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [borrowingFeeDecayToleranceMinutes?](./lib-ethers.borrowingoperationoptionalparams.borrowingfeedecaytoleranceminutes.md) | number | <i>(Optional)</i> Control the amount of extra gas included attached to the transaction. |
| [maxBorrowingRate?](./lib-ethers.borrowingoperationoptionalparams.maxborrowingrate.md) | [Decimalish](./lib-base.decimalish.md) | <i>(Optional)</i> Maximum acceptable [borrowing rate](./lib-base.fees.borrowingrate.md) (default: current borrowing rate plus 0.5%). |

6 changes: 3 additions & 3 deletions docs/sdk/lib-ethers.ethersliquity.adjusttrove.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Adjust existing Trove by changing its collateral, debt, or both.
<b>Signature:</b>

```typescript
adjustTrove(params: TroveAdjustmentParams<Decimalish>, maxBorrowingRate?: Decimalish, overrides?: EthersTransactionOverrides): Promise<TroveAdjustmentDetails>;
adjustTrove(params: TroveAdjustmentParams<Decimalish>, maxBorrowingRateOrOptionalParams?: Decimalish | BorrowingOperationOptionalParams, overrides?: EthersTransactionOverrides): Promise<TroveAdjustmentDetails>;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| params | [TroveAdjustmentParams](./lib-base.troveadjustmentparams.md)<!-- -->&lt;[Decimalish](./lib-base.decimalish.md)<!-- -->&gt; | Parameters of the adjustment. |
| maxBorrowingRate | [Decimalish](./lib-base.decimalish.md) | Maximum acceptable [borrowing rate](./lib-base.fees.borrowingrate.md) if <code>params</code> includes <code>borrowLUSD</code>. |
| maxBorrowingRateOrOptionalParams | [Decimalish](./lib-base.decimalish.md) \| [BorrowingOperationOptionalParams](./lib-ethers.borrowingoperationoptionalparams.md) | |
| overrides | [EthersTransactionOverrides](./lib-ethers.etherstransactionoverrides.md) | |

<b>Returns:</b>
Expand All @@ -26,7 +26,7 @@ Promise&lt;[TroveAdjustmentDetails](./lib-base.troveadjustmentdetails.md)<!-- --

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.approveunitokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.borrowlusd.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Promise&lt;[TroveAdjustmentDetails](./lib-base.troveadjustmentdetails.md)<!-- --

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.closetrove.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Promise&lt;[TroveClosureDetails](./lib-base.troveclosuredetails.md)<!-- -->&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.depositcollateral.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Promise&lt;[TroveAdjustmentDetails](./lib-base.troveadjustmentdetails.md)<!-- --

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Promise&lt;[StabilityDepositChangeDetails](./lib-base.stabilitydepositchangedeta

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.exitliquiditymining.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.liquidate.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Promise&lt;[LiquidationDetails](./lib-base.liquidationdetails.md)<!-- -->&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.liquidateupto.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Promise&lt;[LiquidationDetails](./lib-base.liquidationdetails.md)<!-- -->&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

4 changes: 2 additions & 2 deletions docs/sdk/lib-ethers.ethersliquity.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The constructor for this class is marked as internal. Third-party code should no
| Method | Modifiers | Description |
| --- | --- | --- |
| [adjustTrove(params, maxBorrowingRate, overrides)](./lib-ethers.ethersliquity.adjusttrove.md) | | Adjust existing Trove by changing its collateral, debt, or both. |
| [adjustTrove(params, maxBorrowingRateOrOptionalParams, overrides)](./lib-ethers.ethersliquity.adjusttrove.md) | | Adjust existing Trove by changing its collateral, debt, or both. |
| [approveUniTokens(allowance, overrides)](./lib-ethers.ethersliquity.approveunitokens.md) | | Allow the liquidity mining contract to use Uniswap ETH/LUSD LP tokens for [staking](./lib-base.transactableliquity.stakeunitokens.md)<!-- -->. |
| [borrowLUSD(amount, maxBorrowingRate, overrides)](./lib-ethers.ethersliquity.borrowlusd.md) | | Adjust existing Trove by borrowing more LUSD. |
| [claimCollateralSurplus(overrides)](./lib-ethers.ethersliquity.claimcollateralsurplus.md) | | Claim leftover collateral after a liquidation or redemption. |
Expand Down Expand Up @@ -65,7 +65,7 @@ The constructor for this class is marked as internal. Third-party code should no
| [hasStore(store)](./lib-ethers.ethersliquity.hasstore_1.md) | | Check whether this <code>EthersLiquity</code> is an [EthersLiquityWithStore](./lib-ethers.ethersliquitywithstore.md)<!-- -->&lt;[BlockPolledLiquityStore](./lib-ethers.blockpolledliquitystore.md)<!-- -->&gt;<!-- -->. |
| [liquidate(address, overrides)](./lib-ethers.ethersliquity.liquidate.md) | | Liquidate one or more undercollateralized Troves. |
| [liquidateUpTo(maximumNumberOfTrovesToLiquidate, overrides)](./lib-ethers.ethersliquity.liquidateupto.md) | | Liquidate the least collateralized Troves up to a maximum number. |
| [openTrove(params, maxBorrowingRate, overrides)](./lib-ethers.ethersliquity.opentrove.md) | | Open a new Trove by depositing collateral and borrowing LUSD. |
| [openTrove(params, maxBorrowingRateOrOptionalParams, overrides)](./lib-ethers.ethersliquity.opentrove.md) | | Open a new Trove by depositing collateral and borrowing LUSD. |
| [redeemLUSD(amount, maxRedemptionRate, overrides)](./lib-ethers.ethersliquity.redeemlusd.md) | | Redeem LUSD to native currency (e.g. Ether) at face value. |
| [registerFrontend(kickbackRate, overrides)](./lib-ethers.ethersliquity.registerfrontend.md) | | Register current wallet address as a Liquity frontend. |
| [repayLUSD(amount, overrides)](./lib-ethers.ethersliquity.repaylusd.md) | | Adjust existing Trove by repaying some of its debt. |
Expand Down
6 changes: 3 additions & 3 deletions docs/sdk/lib-ethers.ethersliquity.opentrove.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Open a new Trove by depositing collateral and borrowing LUSD.
<b>Signature:</b>

```typescript
openTrove(params: TroveCreationParams<Decimalish>, maxBorrowingRate?: Decimalish, overrides?: EthersTransactionOverrides): Promise<TroveCreationDetails>;
openTrove(params: TroveCreationParams<Decimalish>, maxBorrowingRateOrOptionalParams?: Decimalish | BorrowingOperationOptionalParams, overrides?: EthersTransactionOverrides): Promise<TroveCreationDetails>;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| params | [TroveCreationParams](./lib-base.trovecreationparams.md)<!-- -->&lt;[Decimalish](./lib-base.decimalish.md)<!-- -->&gt; | How much to deposit and borrow. |
| maxBorrowingRate | [Decimalish](./lib-base.decimalish.md) | Maximum acceptable [borrowing rate](./lib-base.fees.borrowingrate.md)<!-- -->. |
| maxBorrowingRateOrOptionalParams | [Decimalish](./lib-base.decimalish.md) \| [BorrowingOperationOptionalParams](./lib-ethers.borrowingoperationoptionalparams.md) | |
| overrides | [EthersTransactionOverrides](./lib-ethers.etherstransactionoverrides.md) | |

<b>Returns:</b>
Expand All @@ -26,7 +26,7 @@ Promise&lt;[TroveCreationDetails](./lib-base.trovecreationdetails.md)<!-- -->&gt

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.redeemlusd.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Promise&lt;[RedemptionDetails](./lib-base.redemptiondetails.md)<!-- -->&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.registerfrontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.repaylusd.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Promise&lt;[TroveAdjustmentDetails](./lib-base.troveadjustmentdetails.md)<!-- --

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.sendlqty.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.sendlusd.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.stakelqty.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.stakeunitokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Promise&lt;[CollateralGainTransferDetails](./lib-base.collateralgaintransferdeta

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.unstakelqty.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.unstakeunitokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

2 changes: 1 addition & 1 deletion docs/sdk/lib-ethers.ethersliquity.withdrawcollateral.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Promise&lt;[TroveAdjustmentDetails](./lib-base.troveadjustmentdetails.md)<!-- --

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Promise&lt;[StabilityPoolGainsWithdrawalDetails](./lib-base.stabilitypoolgainswi

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Promise&lt;void&gt;

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Promise&lt;[StabilityDepositChangeDetails](./lib-base.stabilitydepositchangedeta

## Exceptions

Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure.
Throws [EthersTransactionFailedError](./lib-ethers.etherstransactionfailederror.md) in case of transaction failure. Throws [EthersTransactionCancelledError](./lib-ethers.etherstransactioncancellederror.md) if the transaction is cancelled or replaced.

## Remarks

Expand Down
Loading

0 comments on commit 4ad0998

Please sign in to comment.