Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nibijs): distribution module txs #90

Merged
merged 7 commits into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/nibijs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

* .

## v0.19.1

* feat: Transactions for the distribution module
* feat: Queries for the distribution module
* sync: Update to protojs v0.19.0

## v0.8.6

* feat: Add staking query extension

## v0.8.0
Expand Down
21 changes: 16 additions & 5 deletions packages/nibijs/docs/classes/MsgFactory.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.0](../intro.md) / [Exports](../modules.md) / MsgFactory
[NibiJS Documentation - v0.19.1](../intro.md) / [Exports](../modules.md) / MsgFactory

# Class: MsgFactory

Expand All @@ -11,6 +11,7 @@
### Properties

- [bank](MsgFactory.md#bank)
- [distribution](MsgFactory.md#distribution)
- [perp](MsgFactory.md#perp)
- [spot](MsgFactory.md#spot)
- [staking](MsgFactory.md#staking)
Expand All @@ -29,7 +30,17 @@

#### Defined in

[msg/index.ts:7](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/msg/index.ts#L7)
[msg/index.ts:8](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/msg/index.ts#L8)

___

### distribution

• **distribution**: typeof `DistributionMsgs` = `DistributionMsgs`

#### Defined in

[msg/index.ts:16](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/msg/index.ts#L16)

___

Expand All @@ -39,7 +50,7 @@ ___

#### Defined in

[msg/index.ts:11](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/msg/index.ts#L11)
[msg/index.ts:12](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/msg/index.ts#L12)

___

Expand All @@ -49,7 +60,7 @@ ___

#### Defined in

[msg/index.ts:9](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/msg/index.ts#L9)
[msg/index.ts:10](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/msg/index.ts#L10)

___

Expand All @@ -59,4 +70,4 @@ ___

#### Defined in

[msg/index.ts:13](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/msg/index.ts#L13)
[msg/index.ts:14](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/msg/index.ts#L14)
12 changes: 6 additions & 6 deletions packages/nibijs/docs/classes/QueryCmd.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.0](../intro.md) / [Exports](../modules.md) / QueryCmd
[NibiJS Documentation - v0.19.1](../intro.md) / [Exports](../modules.md) / QueryCmd

# Class: QueryCmd

Expand Down Expand Up @@ -37,7 +37,7 @@

#### Defined in

[query/query.ts:77](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/query/query.ts#L77)
[query/query.ts:79](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/query/query.ts#L79)

## Properties

Expand All @@ -54,7 +54,7 @@ E.g. nibiru-testnet-1, nibiru-localnet-42

#### Defined in

[query/query.ts:75](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/query/query.ts#L75)
[query/query.ts:77](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/query/query.ts#L77)

___

Expand All @@ -71,7 +71,7 @@ It contains queries for all of the active modules of Nibiru Chain.

#### Defined in

[query/query.ts:71](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/query/query.ts#L71)
[query/query.ts:73](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/query/query.ts#L73)

___

Expand All @@ -85,7 +85,7 @@ ___

#### Defined in

[query/query.ts:73](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/query/query.ts#L73)
[query/query.ts:75](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/query/query.ts#L75)

## Methods

Expand All @@ -103,4 +103,4 @@ IQueryCmd.disconnect

#### Defined in

[query/query.ts:93](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/query/query.ts#L93)
[query/query.ts:96](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/query/query.ts#L96)
12 changes: 6 additions & 6 deletions packages/nibijs/docs/classes/Sdk.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.0](../intro.md) / [Exports](../modules.md) / Sdk
[NibiJS Documentation - v0.19.1](../intro.md) / [Exports](../modules.md) / Sdk

# Class: Sdk

Expand Down Expand Up @@ -63,7 +63,7 @@ Creates an instance of Sdk.

#### Defined in

[sdk.ts:71](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/sdk.ts#L71)
[sdk.ts:71](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/sdk.ts#L71)

## Properties

Expand All @@ -77,7 +77,7 @@ Creates an instance of Sdk.

#### Defined in

[sdk.ts:57](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/sdk.ts#L57)
[sdk.ts:57](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/sdk.ts#L57)

___

Expand All @@ -91,7 +91,7 @@ ___

#### Defined in

[sdk.ts:61](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/sdk.ts#L61)
[sdk.ts:61](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/sdk.ts#L61)

___

Expand All @@ -105,7 +105,7 @@ ___

#### Defined in

[sdk.ts:63](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/sdk.ts#L63)
[sdk.ts:63](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/sdk.ts#L63)

___

Expand All @@ -119,4 +119,4 @@ ___

#### Defined in

[sdk.ts:59](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/sdk.ts#L59)
[sdk.ts:59](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/sdk.ts#L59)
28 changes: 14 additions & 14 deletions packages/nibijs/docs/classes/TxCmd.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.0](../intro.md) / [Exports](../modules.md) / TxCmd
[NibiJS Documentation - v0.19.1](../intro.md) / [Exports](../modules.md) / TxCmd

# Class: TxCmd

Expand Down Expand Up @@ -47,7 +47,7 @@ TxCmd is analagous to the 'nibid tx' command of the nibid CLI.

#### Defined in

[tx/tx.ts:49](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L49)
[tx/tx.ts:49](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L49)

## Properties

Expand All @@ -57,7 +57,7 @@ TxCmd is analagous to the 'nibid tx' command of the nibid CLI.

#### Defined in

[tx/tx.ts:41](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L41)
[tx/tx.ts:41](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L41)

___

Expand All @@ -67,7 +67,7 @@ ___

#### Defined in

[tx/tx.ts:39](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L39)
[tx/tx.ts:39](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L39)

___

Expand All @@ -77,7 +77,7 @@ ___

#### Defined in

[tx/tx.ts:45](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L45)
[tx/tx.ts:45](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L45)

___

Expand All @@ -87,7 +87,7 @@ ___

#### Defined in

[tx/tx.ts:43](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L43)
[tx/tx.ts:43](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L43)

___

Expand All @@ -97,7 +97,7 @@ ___

#### Defined in

[tx/tx.ts:47](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L47)
[tx/tx.ts:47](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L47)

## Methods

Expand All @@ -117,7 +117,7 @@ ___

#### Defined in

[tx/tx.ts:108](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L108)
[tx/tx.ts:108](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L108)

___

Expand All @@ -131,7 +131,7 @@ ___

#### Defined in

[tx/tx.ts:135](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L135)
[tx/tx.ts:135](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L135)

___

Expand All @@ -151,7 +151,7 @@ ___

#### Defined in

[tx/tx.ts:99](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L99)
[tx/tx.ts:99](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L99)

___

Expand All @@ -172,7 +172,7 @@ ___

#### Defined in

[tx/tx.ts:129](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L129)
[tx/tx.ts:129](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L129)

___

Expand All @@ -192,7 +192,7 @@ ___

#### Defined in

[tx/tx.ts:80](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L80)
[tx/tx.ts:80](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L80)

___

Expand All @@ -219,7 +219,7 @@ returns an estimate of how many gas units are required.

#### Defined in

[tx/tx.ts:75](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L75)
[tx/tx.ts:75](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L75)

___

Expand All @@ -240,4 +240,4 @@ ___

#### Defined in

[tx/tx.ts:62](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/tx.ts#L62)
[tx/tx.ts:62](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/tx.ts#L62)
14 changes: 7 additions & 7 deletions packages/nibijs/docs/enums/BECH32_PREFIX.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.0](../intro.md) / [Exports](../modules.md) / BECH32\_PREFIX
[NibiJS Documentation - v0.19.1](../intro.md) / [Exports](../modules.md) / BECH32\_PREFIX

# Enumeration: BECH32\_PREFIX

Expand All @@ -23,7 +23,7 @@ ADDR defines the Bech32 prefix of an account address

#### Defined in

[tx/signer.ts:12](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/signer.ts#L12)
[tx/signer.ts:12](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/signer.ts#L12)

___

Expand All @@ -35,7 +35,7 @@ ADDR_VAL defines the Bech32 prefix of an validator's operator address

#### Defined in

[tx/signer.ts:14](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/signer.ts#L14)
[tx/signer.ts:14](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/signer.ts#L14)

___

Expand All @@ -47,7 +47,7 @@ ADDR_VALCONS defines the Bech32 prefix of a consensus node address

#### Defined in

[tx/signer.ts:16](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/signer.ts#L16)
[tx/signer.ts:16](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/signer.ts#L16)

___

Expand All @@ -59,7 +59,7 @@ PUB defines the Bech32 prefix of an account's public key

#### Defined in

[tx/signer.ts:18](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/signer.ts#L18)
[tx/signer.ts:18](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/signer.ts#L18)

___

Expand All @@ -71,7 +71,7 @@ PUB_VAL defines the Bech32 prefix of an validator's operator public key

#### Defined in

[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/signer.ts#L20)
[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/signer.ts#L20)

___

Expand All @@ -83,4 +83,4 @@ PUB_VALCONS defines the Bech32 prefix of a consensus node public key

#### Defined in

[tx/signer.ts:22](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/signer.ts#L22)
[tx/signer.ts:22](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/signer.ts#L22)
6 changes: 3 additions & 3 deletions packages/nibijs/docs/enums/Signer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[NibiJS Documentation - v0.19.0](../intro.md) / [Exports](../modules.md) / Signer
[NibiJS Documentation - v0.19.1](../intro.md) / [Exports](../modules.md) / Signer

# Enumeration: Signer

Expand All @@ -17,7 +17,7 @@

#### Defined in

[tx/signer.ts:71](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/signer.ts#L71)
[tx/signer.ts:71](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/signer.ts#L71)

___

Expand All @@ -27,4 +27,4 @@ ___

#### Defined in

[tx/signer.ts:70](https://github.com/NibiruChain/ts-sdk/blob/462c731/packages/nibijs/src/tx/signer.ts#L70)
[tx/signer.ts:70](https://github.com/NibiruChain/ts-sdk/blob/7fb601c/packages/nibijs/src/tx/signer.ts#L70)
Loading