-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into koltenb-copy-fixes
- Loading branch information
Showing
94 changed files
with
1,578 additions
and
1,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
docs/sdk/decimal.decimal.bignumberfrom.md → ...dk/decimal.decimal.frombignumberstring.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@liquity/decimal](./decimal.md) > [Decimal](./decimal.decimal.md) > [bigNumberFrom](./decimal.decimal.bignumberfrom.md) | ||
[Home](./index.md) > [@liquity/decimal](./decimal.md) > [Decimal](./decimal.decimal.md) > [fromBigNumberString](./decimal.decimal.frombignumberstring.md) | ||
|
||
## Decimal.bigNumberFrom() method | ||
## Decimal.fromBigNumberString() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
static bigNumberFrom(decimalish: Decimalish): BigNumber; | ||
static fromBigNumberString(bigNumberString: string): Decimal; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| decimalish | [Decimalish](./decimal.decimalish.md) | | | ||
| bigNumberString | string | | | ||
|
||
<b>Returns:</b> | ||
|
||
BigNumber | ||
[Decimal](./decimal.decimal.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
|
||
## Decimalish type | ||
|
||
Types that can be converted into a Decimal. | ||
|
||
<b>Signature:</b> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@liquity/lib-base](./lib-base.md) > [ReadableLiquity](./lib-base.readableliquity.md) > [getTroves](./lib-base.readableliquity.gettroves_1.md) | ||
|
||
## ReadableLiquity.getTroves() method | ||
|
||
Get a slice from the list of Troves. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getTroves(params: TroveListingParams): Promise<[address: string, trove: Trove][]>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| params | [TroveListingParams](./lib-base.trovelistingparams.md) | Controls how the list is sorted, and where the slice begins and ends. | | ||
|
||
<b>Returns:</b> | ||
|
||
Promise<\[address: string, trove: [Trove](./lib-base.trove.md)<!-- -->\]\[\]> | ||
|
||
Pairs of owner addresses and their Troves. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
docs/sdk/lib-base.trovelistingparams.beforeredistribution.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@liquity/lib-base](./lib-base.md) > [TroveListingParams](./lib-base.trovelistingparams.md) > [beforeRedistribution](./lib-base.trovelistingparams.beforeredistribution.md) | ||
|
||
## TroveListingParams.beforeRedistribution property | ||
|
||
When set to `true`<!-- -->, the retrieved Troves won't include the liquidation shares received since the last time they were directly modified. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly beforeRedistribution?: boolean; | ||
``` | ||
|
||
## Remarks | ||
|
||
Changes the type of returned Troves to [TroveWithPendingRedistribution](./lib-base.trovewithpendingredistribution.md)<!-- -->. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) > [@liquity/lib-base](./lib-base.md) > [TroveListingParams](./lib-base.trovelistingparams.md) > [first](./lib-base.trovelistingparams.first.md) | ||
|
||
## TroveListingParams.first property | ||
|
||
Number of Troves to retrieve. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly first: number; | ||
``` |
Oops, something went wrong.