Skip to content

Commit

Permalink
chore(release): 0.21.34
Browse files Browse the repository at this point in the history
## [@nibiruchain/indexer-nibi-v0.21.34](https://github.com/NibiruChain/ts-sdk/compare/@nibiruchain/indexer-nibi-v0.21.33...@nibiruchain/indexer-nibi-v0.21.34) (2024-01-05)

### Miscellaneous Chores

* develop -> main ([#275](#275)) ([c5e4f87](c5e4f87)), closes [#254](#254) [#256](#256) [#257](#257) [#262](#262) [#260](#260)

 [skip ci]
  • Loading branch information
semantic-release-bot committed Jan 5, 2024
1 parent c5e4f87 commit b8e3018
Show file tree
Hide file tree
Showing 41 changed files with 12,841 additions and 12,629 deletions.
1,369 changes: 432 additions & 937 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions packages/indexer-nibi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [@nibiruchain/indexer-nibi-v0.21.34](https://github.com/NibiruChain/ts-sdk/compare/@nibiruchain/indexer-nibi-v0.21.33...@nibiruchain/indexer-nibi-v0.21.34) (2024-01-05)

### Miscellaneous Chores

- develop -> main ([#275](https://github.com/NibiruChain/ts-sdk/issues/275)) ([c5e4f87](https://github.com/NibiruChain/ts-sdk/commit/c5e4f879d49309c9faa389a0ae06e113eeb92c97)), closes [#254](https://github.com/NibiruChain/ts-sdk/issues/254) [#256](https://github.com/NibiruChain/ts-sdk/issues/256) [#257](https://github.com/NibiruChain/ts-sdk/issues/257) [#262](https://github.com/NibiruChain/ts-sdk/issues/262) [#260](https://github.com/NibiruChain/ts-sdk/issues/260)

## [@nibiruchain/indexer-nibi-v0.21.33](https://github.com/NibiruChain/ts-sdk/compare/@nibiruchain/indexer-nibi-v0.21.32...@nibiruchain/indexer-nibi-v0.21.33) (2023-11-15)

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/indexer-nibi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nibiruchain/indexer-nibi",
"description": "GraphQL API client for the Nibiru Chain indexer (heart-monitor)",
"version": "0.21.33",
"version": "0.21.34",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
164 changes: 164 additions & 0 deletions packages/nibijs/docs/classes/BalancerPool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
[NibiJS Documentation - v0.21.45](../intro.md) / [Exports](../modules.md) / BalancerPool

# Class: BalancerPool

Balancer contains the logic for exchanging tokens in a traditional xy=k AMM pool

Constructor:

**`Param`**

**`Param`**

**`Param`**

**`Export`**

## Table of contents

### Constructors

- [constructor](BalancerPool.md#constructor)

### Properties

- [swapFee](BalancerPool.md#swapfee)
- [x](BalancerPool.md#x)
- [y](BalancerPool.md#y)

### Methods

- [k](BalancerPool.md#k)
- [spotPrice](BalancerPool.md#spotprice)
- [swapX](BalancerPool.md#swapx)
- [swapY](BalancerPool.md#swapy)

## Constructors

### constructor

**new BalancerPool**(`x`, `y`, `fee`)

#### Parameters

| Name | Type |
| :---- | :---------- |
| `x` | `BigNumber` |
| `y` | `BigNumber` |
| `fee` | `BigNumber` |

#### Defined in

[src/balancer/balancer.ts:61](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/balancer/balancer.ts#L61)

## Properties

### swapFee

**swapFee**: `BigNumber`

the swap fee expressed as a ratio

#### Defined in

[src/balancer/balancer.ts:59](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/balancer/balancer.ts#L59)

---

### x

**x**: `BigNumber`

the amount of x in the pool

#### Defined in

[src/balancer/balancer.ts:57](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/balancer/balancer.ts#L57)

---

### y

**y**: `BigNumber`

the amount of y in the pool

#### Defined in

[src/balancer/balancer.ts:58](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/balancer/balancer.ts#L58)

## Methods

### k

**k**(): `BigNumber`

#### Returns

`BigNumber`

#### Defined in

[src/balancer/balancer.ts:67](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/balancer/balancer.ts#L67)

---

### spotPrice

**spotPrice**(): `BigNumber`

#### Returns

`BigNumber`

#### Defined in

[src/balancer/balancer.ts:71](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/balancer/balancer.ts#L71)

---

### swapX

**swapX**(`dxAmm`): `undefined` \| [`Swap`](Swap.md)

Calculates the result of adding x to the pool

#### Parameters

| Name | Type | Description |
| :------ | :---------- | :----------------------------------------------------- |
| `dxAmm` | `BigNumber` | the amount of x to add to the pool. Could be negative. |

#### Returns

`undefined` \| [`Swap`](Swap.md)

a Swap object representing the result of the swap

#### Defined in

[src/balancer/balancer.ts:81](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/balancer/balancer.ts#L81)

---

### swapY

**swapY**(`dyAmm`): `undefined` \| [`Swap`](Swap.md)

Calculates the result of adding y to the pool

#### Parameters

| Name | Type | Description |
| :------ | :---------- | :----------------------------------------------------- |
| `dyAmm` | `BigNumber` | the amount of y to add to the pool. Could be negative. |

#### Returns

`undefined` \| [`Swap`](Swap.md)

a Swap object representing the result of the swap

#### Defined in

[src/balancer/balancer.ts:117](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/balancer/balancer.ts#L117)
24 changes: 12 additions & 12 deletions packages/nibijs/docs/classes/CustomChain.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const chain = new CustomChain({

#### Defined in

[src/chain/chain.ts:72](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L72)
[src/chain/chain.ts:72](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L72)

## Properties

Expand All @@ -72,7 +72,7 @@ chainId: identifier for the chain

#### Defined in

[src/chain/chain.ts:61](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L61)
[src/chain/chain.ts:61](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L61)

---

Expand All @@ -82,7 +82,7 @@ chainId: identifier for the chain

#### Defined in

[src/chain/chain.ts:70](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L70)
[src/chain/chain.ts:70](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L70)

---

Expand All @@ -98,7 +98,7 @@ chainName: the name of the chain to display to the user

#### Defined in

[src/chain/chain.ts:62](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L62)
[src/chain/chain.ts:62](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L62)

---

Expand All @@ -114,7 +114,7 @@ endptGrpc: endpoint for the gRPC gateway. Usually on port 9090.

#### Defined in

[src/chain/chain.ts:65](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L65)
[src/chain/chain.ts:65](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L65)

---

Expand All @@ -130,7 +130,7 @@ endptHm: endpoint for the heart monitor.

#### Defined in

[src/chain/chain.ts:66](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L66)
[src/chain/chain.ts:66](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L66)

---

Expand All @@ -146,7 +146,7 @@ endptRest: endpoint for the REST server. Also, the LCD endpoint.

#### Defined in

[src/chain/chain.ts:64](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L64)
[src/chain/chain.ts:64](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L64)

---

Expand All @@ -162,7 +162,7 @@ endptTm: endpoint for the Tendermint RPC server. Usually on port 26657.

#### Defined in

[src/chain/chain.ts:63](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L63)
[src/chain/chain.ts:63](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L63)

---

Expand All @@ -178,7 +178,7 @@ endptWs: endpoint for the web socket.

#### Defined in

[src/chain/chain.ts:67](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L67)
[src/chain/chain.ts:67](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L67)

---

Expand All @@ -194,7 +194,7 @@ feeDenom: the denomination of the fee to be paid for transactions.

#### Defined in

[src/chain/chain.ts:68](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L68)
[src/chain/chain.ts:68](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L68)

## Methods

Expand All @@ -208,7 +208,7 @@ feeDenom: the denomination of the fee to be paid for transactions.

#### Defined in

[src/chain/chain.ts:98](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L98)
[src/chain/chain.ts:98](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L98)

---

Expand All @@ -228,4 +228,4 @@ feeDenom: the denomination of the fee to be paid for transactions.

#### Defined in

[src/chain/chain.ts:88](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/chain/chain.ts#L88)
[src/chain/chain.ts:88](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/chain/chain.ts#L88)
4 changes: 2 additions & 2 deletions packages/nibijs/docs/classes/MsgFactory.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#### Defined in

[src/msg/index.ts:6](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/msg/index.ts#L6)
[src/msg/index.ts:6](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/msg/index.ts#L6)

---

Expand All @@ -37,4 +37,4 @@

#### Defined in

[src/msg/index.ts:5](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/msg/index.ts#L5)
[src/msg/index.ts:5](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/msg/index.ts#L5)
18 changes: 9 additions & 9 deletions packages/nibijs/docs/classes/NibiruQuerier.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ StargateClient.constructor

#### Defined in

[src/query/query.ts:66](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L66)
[src/query/query.ts:66](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L66)

## Properties

Expand All @@ -68,7 +68,7 @@ StargateClient.constructor

#### Defined in

[src/query/query.ts:53](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L53)
[src/query/query.ts:53](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L53)

---

Expand All @@ -78,7 +78,7 @@ StargateClient.constructor

#### Defined in

[src/query/query.ts:55](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L55)
[src/query/query.ts:55](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L55)

---

Expand All @@ -88,7 +88,7 @@ StargateClient.constructor

#### Defined in

[src/query/query.ts:54](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L54)
[src/query/query.ts:54](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L54)

## Methods

Expand Down Expand Up @@ -126,7 +126,7 @@ const txRespResult = await getTxByHash(txHash)

#### Defined in

[src/query/query.ts:122](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L122)
[src/query/query.ts:122](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L122)

---

Expand All @@ -153,7 +153,7 @@ getTxByHash - Equivalent query using the hex-encoded tx hash string.

#### Defined in

[src/query/query.ts:136](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L136)
[src/query/query.ts:136](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L136)

---

Expand All @@ -173,7 +173,7 @@ getTxByHash - Equivalent query using the hex-encoded tx hash string.

#### Defined in

[src/query/query.ts:92](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L92)
[src/query/query.ts:92](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L92)

---

Expand All @@ -187,7 +187,7 @@ getTxByHash - Equivalent query using the hex-encoded tx hash string.

#### Defined in

[src/query/query.ts:100](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L100)
[src/query/query.ts:100](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L100)

---

Expand All @@ -212,4 +212,4 @@ StargateClient.connect

#### Defined in

[src/query/query.ts:57](https://github.com/NibiruChain/ts-sdk/blob/89f4b6e/packages/nibijs/src/query/query.ts#L57)
[src/query/query.ts:57](https://github.com/NibiruChain/ts-sdk/blob/c5e4f87/packages/nibijs/src/query/query.ts#L57)
Loading

0 comments on commit b8e3018

Please sign in to comment.