@xpla/xplajs 1.7.0-beta.1 → 1.7.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +3 -3
- package/package.json +14 -12
- package/src/binary.ts +1 -1
- package/src/cosmos/app/runtime/v1alpha1/module.ts +6 -7
- package/src/cosmos/app/runtime/v2/module.ts +9 -10
- package/src/cosmos/app/v1alpha1/config.ts +10 -9
- package/src/cosmos/app/v1alpha1/module.ts +9 -10
- package/src/cosmos/app/v1alpha1/query.rpc.func.ts +2 -1
- package/src/cosmos/app/v1alpha1/query.ts +6 -7
- package/src/cosmos/auth/module/v1/module.ts +6 -7
- package/src/cosmos/auth/v1beta1/accounts.ts +6 -7
- package/src/cosmos/auth/v1beta1/auth.ts +15 -12
- package/src/cosmos/auth/v1beta1/genesis.ts +3 -5
- package/src/cosmos/auth/v1beta1/query.rpc.func.ts +20 -10
- package/src/cosmos/auth/v1beta1/query.ts +52 -55
- package/src/cosmos/auth/v1beta1/tx.registry.ts +27 -1
- package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +2 -1
- package/src/cosmos/auth/v1beta1/tx.ts +6 -7
- package/src/cosmos/authz/module/v1/module.ts +3 -5
- package/src/cosmos/authz/v1beta1/authz.ts +32 -17
- package/src/cosmos/authz/v1beta1/event.ts +5 -8
- package/src/cosmos/authz/v1beta1/genesis.ts +4 -4
- package/src/cosmos/authz/v1beta1/query.rpc.func.ts +6 -3
- package/src/cosmos/authz/v1beta1/query.ts +22 -14
- package/src/cosmos/authz/v1beta1/tx.registry.ts +63 -1
- package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +6 -3
- package/src/cosmos/authz/v1beta1/tx.ts +15 -19
- package/src/cosmos/autocli/v1/options.ts +22 -14
- package/src/cosmos/autocli/v1/query.rpc.func.ts +2 -1
- package/src/cosmos/autocli/v1/query.ts +9 -7
- package/src/cosmos/bank/module/v1/module.ts +3 -5
- package/src/cosmos/bank/v1beta1/authz.ts +6 -3
- package/src/cosmos/bank/v1beta1/bank.ts +22 -17
- package/src/cosmos/bank/v1beta1/genesis.ts +11 -6
- package/src/cosmos/bank/v1beta1/query.rpc.func.ts +26 -13
- package/src/cosmos/bank/v1beta1/query.ts +83 -62
- package/src/cosmos/bank/v1beta1/tx.registry.ts +81 -1
- package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +8 -4
- package/src/cosmos/bank/v1beta1/tx.ts +22 -22
- package/src/cosmos/base/abci/v1beta1/abci.ts +30 -29
- package/src/cosmos/base/grpc/v2/service.rpc.func.ts +4 -2
- package/src/cosmos/base/grpc/v2/service.ts +12 -16
- package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +4 -2
- package/src/cosmos/base/node/v1beta1/query.ts +9 -14
- package/src/cosmos/base/query/v1beta1/pagination.ts +5 -8
- package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +4 -2
- package/src/cosmos/base/reflection/v1beta1/reflection.ts +9 -14
- package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +12 -6
- package/src/cosmos/base/reflection/v2alpha1/reflection.ts +72 -67
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +14 -7
- package/src/cosmos/base/tendermint/v1beta1/query.ts +56 -49
- package/src/cosmos/base/tendermint/v1beta1/types.ts +11 -6
- package/src/cosmos/base/v1beta1/coin.ts +16 -20
- package/src/cosmos/consensus/module/v1/module.ts +3 -5
- package/src/cosmos/consensus/v1/query.rpc.func.ts +2 -1
- package/src/cosmos/consensus/v1/query.ts +6 -7
- package/src/cosmos/consensus/v1/tx.registry.ts +27 -1
- package/src/cosmos/consensus/v1/tx.rpc.func.ts +2 -1
- package/src/cosmos/consensus/v1/tx.ts +9 -7
- package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +5 -8
- package/src/cosmos/distribution/module/v1/module.ts +3 -5
- package/src/cosmos/distribution/v1beta1/distribution.ts +53 -43
- package/src/cosmos/distribution/v1beta1/genesis.ts +32 -19
- package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +20 -10
- package/src/cosmos/distribution/v1beta1/query.ts +52 -53
- package/src/cosmos/distribution/v1beta1/tx.registry.ts +135 -1
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +14 -7
- package/src/cosmos/distribution/v1beta1/tx.ts +35 -38
- package/src/cosmos/evidence/module/v1/module.ts +3 -5
- package/src/cosmos/evidence/v1beta1/evidence.ts +3 -5
- package/src/cosmos/evidence/v1beta1/genesis.ts +3 -5
- package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +4 -2
- package/src/cosmos/evidence/v1beta1/query.ts +11 -12
- package/src/cosmos/evidence/v1beta1/tx.registry.ts +27 -1
- package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +2 -1
- package/src/cosmos/evidence/v1beta1/tx.ts +6 -8
- package/src/cosmos/feegrant/module/v1/module.ts +3 -5
- package/src/cosmos/feegrant/v1beta1/feegrant.ts +24 -9
- package/src/cosmos/feegrant/v1beta1/genesis.ts +4 -4
- package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +6 -3
- package/src/cosmos/feegrant/v1beta1/query.ts +20 -15
- package/src/cosmos/feegrant/v1beta1/tx.registry.ts +63 -1
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +6 -3
- package/src/cosmos/feegrant/v1beta1/tx.ts +17 -19
- package/src/cosmos/gov/module/v1/module.ts +3 -5
- package/src/cosmos/gov/v1/genesis.ts +10 -4
- package/src/cosmos/gov/v1/gov.ts +25 -24
- package/src/cosmos/gov/v1/query.rpc.func.ts +18 -9
- package/src/cosmos/gov/v1/query.ts +54 -45
- package/src/cosmos/gov/v1/tx.registry.ts +135 -1
- package/src/cosmos/gov/v1/tx.rpc.func.ts +14 -7
- package/src/cosmos/gov/v1/tx.ts +60 -45
- package/src/cosmos/gov/v1beta1/genesis.ts +9 -4
- package/src/cosmos/gov/v1beta1/gov.ts +56 -32
- package/src/cosmos/gov/v1beta1/query.rpc.func.ts +16 -8
- package/src/cosmos/gov/v1beta1/query.ts +49 -39
- package/src/cosmos/gov/v1beta1/tx.registry.ts +81 -1
- package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +8 -4
- package/src/cosmos/gov/v1beta1/tx.ts +47 -29
- package/src/cosmos/ics23/v1/proofs.ts +45 -31
- package/src/cosmos/mint/module/v1/module.ts +3 -5
- package/src/cosmos/mint/v1beta1/genesis.ts +5 -4
- package/src/cosmos/mint/v1beta1/mint.ts +24 -26
- package/src/cosmos/mint/v1beta1/query.rpc.func.ts +6 -3
- package/src/cosmos/mint/v1beta1/query.ts +14 -19
- package/src/cosmos/mint/v1beta1/tx.registry.ts +27 -1
- package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +2 -1
- package/src/cosmos/mint/v1beta1/tx.ts +6 -7
- package/src/cosmos/params/module/v1/module.ts +3 -5
- package/src/cosmos/params/v1beta1/params.ts +8 -6
- package/src/cosmos/params/v1beta1/query.rpc.func.ts +4 -2
- package/src/cosmos/params/v1beta1/query.ts +13 -15
- package/src/cosmos/slashing/module/v1/module.ts +3 -5
- package/src/cosmos/slashing/v1beta1/genesis.ts +14 -11
- package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +6 -3
- package/src/cosmos/slashing/v1beta1/query.ts +18 -16
- package/src/cosmos/slashing/v1beta1/slashing.ts +5 -8
- package/src/cosmos/slashing/v1beta1/tx.registry.ts +45 -1
- package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +4 -2
- package/src/cosmos/slashing/v1beta1/tx.ts +10 -13
- package/src/cosmos/staking/module/v1/module.ts +3 -5
- package/src/cosmos/staking/v1beta1/authz.ts +9 -6
- package/src/cosmos/staking/v1beta1/genesis.ts +11 -7
- package/src/cosmos/staking/v1beta1/query.rpc.func.ts +28 -14
- package/src/cosmos/staking/v1beta1/query.ts +85 -65
- package/src/cosmos/staking/v1beta1/staking.ts +82 -76
- package/src/cosmos/staking/v1beta1/tx.registry.ts +135 -1
- package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +14 -7
- package/src/cosmos/staking/v1beta1/tx.ts +43 -40
- package/src/cosmos/tx/config/v1/config.ts +3 -5
- package/src/cosmos/tx/signing/v1beta1/signing.ts +17 -13
- package/src/cosmos/tx/v1beta1/service.rpc.func.ts +18 -9
- package/src/cosmos/tx/v1beta1/service.ts +54 -46
- package/src/cosmos/tx/v1beta1/tx.ts +41 -32
- package/src/cosmos/upgrade/module/v1/module.ts +3 -5
- package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +10 -5
- package/src/cosmos/upgrade/v1beta1/query.ts +23 -30
- package/src/cosmos/upgrade/v1beta1/tx.registry.ts +45 -1
- package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +4 -2
- package/src/cosmos/upgrade/v1beta1/tx.ts +10 -13
- package/src/cosmos/upgrade/v1beta1/upgrade.ts +14 -11
- package/src/cosmos_proto/cosmos.ts +5 -6
- package/src/cosmwasm/wasm/v1/authz.ts +51 -24
- package/src/cosmwasm/wasm/v1/genesis.ts +17 -11
- package/src/cosmwasm/wasm/v1/ibc.ts +83 -11
- package/src/cosmwasm/wasm/v1/proposal_legacy.ts +61 -29
- package/src/cosmwasm/wasm/v1/query.lcd.ts +21 -1
- package/src/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -1
- package/src/cosmwasm/wasm/v1/query.rpc.func.ts +31 -12
- package/src/cosmwasm/wasm/v1/query.ts +322 -55
- package/src/cosmwasm/wasm/v1/tx.registry.ts +315 -1
- package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +34 -17
- package/src/cosmwasm/wasm/v1/tx.ts +81 -99
- package/src/cosmwasm/wasm/v1/types.ts +21 -23
- package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +5 -6
- package/src/ethermint/evm/v1/events.ts +9 -10
- package/src/ethermint/evm/v1/evm.ts +21 -15
- package/src/ethermint/evm/v1/genesis.ts +8 -4
- package/src/ethermint/evm/v1/query.rpc.func.ts +24 -12
- package/src/ethermint/evm/v1/query.ts +57 -45
- package/src/ethermint/evm/v1/tx.registry.ts +45 -1
- package/src/ethermint/evm/v1/tx.rpc.func.ts +4 -2
- package/src/ethermint/evm/v1/tx.ts +25 -15
- package/src/ethermint/feemarket/v1/events.ts +5 -6
- package/src/ethermint/feemarket/v1/feemarket.ts +10 -11
- package/src/ethermint/feemarket/v1/genesis.ts +4 -3
- package/src/ethermint/feemarket/v1/query.rpc.func.ts +6 -3
- package/src/ethermint/feemarket/v1/query.ts +14 -13
- package/src/ethermint/feemarket/v1/tx.registry.ts +27 -1
- package/src/ethermint/feemarket/v1/tx.rpc.func.ts +2 -1
- package/src/ethermint/feemarket/v1/tx.ts +6 -6
- package/src/ethermint/types/v1/account.ts +6 -3
- package/src/ethermint/types/v1/dynamic_fee.ts +3 -4
- package/src/ethermint/types/v1/indexer.ts +3 -4
- package/src/ethermint/types/v1/web3.ts +3 -4
- package/src/extern.ts +2 -2
- package/src/google/api/http.ts +10 -6
- package/src/google/protobuf/any.ts +2 -1
- package/src/google/protobuf/descriptor.ts +118 -44
- package/src/google/protobuf/duration.ts +3 -4
- package/src/google/protobuf/timestamp.ts +3 -4
- package/src/helper-func-types.ts +26 -10
- package/src/helpers.ts +1 -2
- package/src/ibc/applications/fee/v1/ack.ts +3 -5
- package/src/ibc/applications/fee/v1/fee.ts +14 -10
- package/src/ibc/applications/fee/v1/genesis.ts +17 -15
- package/src/ibc/applications/fee/v1/metadata.ts +3 -5
- package/src/ibc/applications/fee/v1/query.rpc.func.ts +20 -10
- package/src/ibc/applications/fee/v1/query.ts +58 -48
- package/src/ibc/applications/fee/v1/tx.registry.ts +81 -1
- package/src/ibc/applications/fee/v1/tx.rpc.func.ts +8 -4
- package/src/ibc/applications/fee/v1/tx.ts +20 -24
- package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +3 -5
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +4 -2
- package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +10 -13
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +63 -1
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +6 -3
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +15 -18
- package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +19 -14
- package/src/ibc/applications/interchain_accounts/host/v1/host.ts +5 -8
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +2 -1
- package/src/ibc/applications/interchain_accounts/host/v1/query.ts +6 -7
- package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +45 -1
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +4 -2
- package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +11 -12
- package/src/ibc/applications/interchain_accounts/v1/account.ts +7 -4
- package/src/ibc/applications/interchain_accounts/v1/metadata.ts +3 -5
- package/src/ibc/applications/interchain_accounts/v1/packet.ts +5 -8
- package/src/ibc/applications/transfer/v1/authz.ts +9 -5
- package/src/ibc/applications/transfer/v1/genesis.ts +6 -4
- package/src/ibc/applications/transfer/v1/query.rpc.func.ts +12 -6
- package/src/ibc/applications/transfer/v1/query.ts +31 -33
- package/src/ibc/applications/transfer/v1/transfer.ts +5 -8
- package/src/ibc/applications/transfer/v1/tx.registry.ts +45 -1
- package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +4 -2
- package/src/ibc/applications/transfer/v1/tx.ts +12 -12
- package/src/ibc/applications/transfer/v2/packet.ts +3 -5
- package/src/ibc/core/channel/v1/channel.ts +24 -24
- package/src/ibc/core/channel/v1/genesis.ts +9 -7
- package/src/ibc/core/channel/v1/query.rpc.func.ts +34 -17
- package/src/ibc/core/channel/v1/query.ts +102 -83
- package/src/ibc/core/channel/v1/tx.registry.ts +351 -1
- package/src/ibc/core/channel/v1/tx.rpc.func.ts +38 -19
- package/src/ibc/core/channel/v1/tx.ts +106 -97
- package/src/ibc/core/channel/v1/upgrade.ts +9 -10
- package/src/ibc/core/client/v1/client.ts +21 -20
- package/src/ibc/core/client/v1/genesis.ts +12 -9
- package/src/ibc/core/client/v1/query.rpc.func.ts +20 -10
- package/src/ibc/core/client/v1/query.ts +55 -52
- package/src/ibc/core/client/v1/tx.registry.ts +135 -1
- package/src/ibc/core/client/v1/tx.rpc.func.ts +14 -7
- package/src/ibc/core/client/v1/tx.ts +30 -43
- package/src/ibc/core/commitment/v1/commitment.ts +10 -13
- package/src/ibc/core/connection/v1/connection.ts +20 -20
- package/src/ibc/core/connection/v1/genesis.ts +6 -4
- package/src/ibc/core/connection/v1/query.rpc.func.ts +12 -6
- package/src/ibc/core/connection/v1/query.ts +36 -31
- package/src/ibc/core/connection/v1/tx.registry.ts +99 -1
- package/src/ibc/core/connection/v1/tx.rpc.func.ts +10 -5
- package/src/ibc/core/connection/v1/tx.ts +29 -27
- package/src/ibc/core/types/v1/genesis.ts +6 -4
- package/src/ibc/lightclients/localhost/v2/localhost.ts +4 -4
- package/src/ibc/lightclients/solomachine/v2/solomachine.ts +37 -46
- package/src/ibc/lightclients/solomachine/v3/solomachine.ts +19 -24
- package/src/ibc/lightclients/tendermint/v1/tendermint.ts +19 -13
- package/src/ibc/lightclients/wasm/v1/genesis.ts +6 -7
- package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +4 -2
- package/src/ibc/lightclients/wasm/v1/query.ts +11 -12
- package/src/ibc/lightclients/wasm/v1/tx.registry.ts +63 -1
- package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +6 -3
- package/src/ibc/lightclients/wasm/v1/tx.ts +13 -20
- package/src/ibc/lightclients/wasm/v1/wasm.ts +10 -13
- package/src/registry.ts +1 -1
- package/src/tendermint/abci/types.ts +157 -74
- package/src/tendermint/crypto/keys.ts +3 -4
- package/src/tendermint/crypto/proof.ts +13 -10
- package/src/tendermint/p2p/types.ts +11 -9
- package/src/tendermint/types/block.ts +7 -3
- package/src/tendermint/types/evidence.ts +15 -6
- package/src/tendermint/types/params.ts +20 -15
- package/src/tendermint/types/types.ts +48 -21
- package/src/tendermint/types/validator.ts +10 -5
- package/src/tendermint/version/types.ts +5 -6
- package/src/test.ts +11 -0
- package/src/types.ts +3 -6
- package/src/utf8.ts +1 -1
- package/src/varint.ts +1 -1
- package/src/xpla/lcd.ts +102 -102
- package/src/xpla/reward/v1beta1/genesis.ts +4 -3
- package/src/xpla/reward/v1beta1/query.rpc.func.ts +4 -2
- package/src/xpla/reward/v1beta1/query.ts +11 -8
- package/src/xpla/reward/v1beta1/reward.ts +13 -14
- package/src/xpla/reward/v1beta1/tx.registry.ts +45 -1
- package/src/xpla/reward/v1beta1/tx.rpc.func.ts +4 -2
- package/src/xpla/reward/v1beta1/tx.ts +11 -10
- package/src/xpla/rpc.query.ts +89 -89
- package/src/xpla/volunteer/v1beta1/genesis.ts +4 -3
- package/src/xpla/volunteer/v1beta1/proposal.ts +13 -13
- package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +2 -1
- package/src/xpla/volunteer/v1beta1/query.ts +5 -6
- package/src/xpla/volunteer/v1beta1/tx.registry.ts +45 -1
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +4 -2
- package/src/xpla/volunteer/v1beta1/tx.ts +12 -12
- package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.7.0-beta.11](https://github.com/xpladev/xplajs/compare/@xpla/xplajs@1.7.0-beta.10...@xpla/xplajs@1.7.0-beta.11) (2025-03-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* implements common interchainjs ([c7b42ca](https://github.com/xpladev/xplajs/commit/c7b42caf7ff5b4f2a734684084e4ed2a18c55e56))
|
|
12
|
+
* telescope config. messageComposer in xplajs & default using rpc ([f5b099a](https://github.com/xpladev/xplajs/commit/f5b099a2f864307ffbfc5bb5fd435b82f52a4680))
|
|
13
|
+
* telescope v1.11.22 ([5b6e0ae](https://github.com/xpladev/xplajs/commit/5b6e0aeed3f3a50ed42d7424bc1f0a0f2c7ab47a))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# [1.7.0-beta.10](https://github.com/xpladev/xplajs/compare/@xpla/xplajs@1.7.0-beta.1...@xpla/xplajs@1.7.0-beta.10) (2025-01-21)
|
|
20
|
+
|
|
21
|
+
**Note:** Version bump only for package @xpla/xplajs
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
6
27
|
# [1.7.0-beta.1](https://github.com/xpladev/xplajs/compare/@xpla/xplajs@1.7.0-beta.0...@xpla/xplajs@1.7.0-beta.1) (2025-01-21)
|
|
7
28
|
|
|
8
29
|
**Note:** Version bump only for package @xpla/xplajs
|
package/README.md
CHANGED
|
@@ -23,10 +23,10 @@ npm install @xpla/xplajs
|
|
|
23
23
|
|
|
24
24
|
### Example
|
|
25
25
|
```ts
|
|
26
|
-
import {
|
|
26
|
+
import { createRPCQueryClient } from "@xpla/xplajs/xpla/rpc.query";
|
|
27
27
|
|
|
28
|
-
const
|
|
28
|
+
const client = await createRPCQueryClient({rpcEndpoint: "https://cube-lcd.xpla.io"});
|
|
29
29
|
|
|
30
|
-
const res = await
|
|
30
|
+
const res = await client.cosmos.auth.v1beta1.params()
|
|
31
31
|
console.log(res)
|
|
32
32
|
```
|
package/package.json
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpla/xplajs",
|
|
3
|
-
"version": "1.7.0-beta.
|
|
3
|
+
"version": "1.7.0-beta.11",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "esm/index.js",
|
|
6
6
|
"author": "Joowon Yun <joowon@delightlabs.io>",
|
|
7
7
|
"homepage": "https://github.com/xpladev/xplajs",
|
|
8
8
|
"scripts": {
|
|
9
|
+
"copy": "copyfiles -f README.md package.json dist",
|
|
9
10
|
"clean": "rimraf dist/**",
|
|
10
|
-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json"
|
|
11
|
+
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy"
|
|
12
|
+
},
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public",
|
|
15
|
+
"directory": "dist"
|
|
11
16
|
},
|
|
12
17
|
"dependencies": {
|
|
13
|
-
"@cosmjs/stargate": "^0.
|
|
14
|
-
"@cosmjs/tendermint-rpc": "^0.32.4",
|
|
18
|
+
"@cosmjs/stargate": "^0.33.0",
|
|
15
19
|
"@cosmology/lcd": "^0.14.0",
|
|
16
|
-
"@interchainjs/cosmos": "
|
|
17
|
-
"@interchainjs/cosmos-types": "
|
|
18
|
-
"@interchainjs/
|
|
19
|
-
"@interchainjs/
|
|
20
|
+
"@interchainjs/cosmos": "1.9.14",
|
|
21
|
+
"@interchainjs/cosmos-types": "1.9.14",
|
|
22
|
+
"@interchainjs/encoding": "1.9.14",
|
|
23
|
+
"@interchainjs/pubkey": "1.9.14",
|
|
24
|
+
"@interchainjs/types": "1.9.14",
|
|
25
|
+
"@interchainjs/utils": "1.9.14",
|
|
20
26
|
"@noble/hashes": "^1.3.1",
|
|
21
27
|
"decimal.js": "^10.4.3"
|
|
22
28
|
},
|
|
23
|
-
"publishConfig": {
|
|
24
|
-
"access": "public",
|
|
25
|
-
"directory": "dist"
|
|
26
|
-
},
|
|
27
29
|
"license": "MIT",
|
|
28
30
|
"description": "",
|
|
29
31
|
"devDependencies": {
|
package/src/binary.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.22
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
4
3
|
/** Module is the config object for the runtime module. */
|
|
5
4
|
export interface Module {
|
|
6
5
|
/** app_name is the name of the app. */
|
|
@@ -327,10 +326,11 @@ export const Module = {
|
|
|
327
326
|
typeUrl: "/cosmos.app.runtime.v1alpha1.Module",
|
|
328
327
|
value: Module.encode(message).finish()
|
|
329
328
|
};
|
|
329
|
+
},
|
|
330
|
+
registerTypeUrl() {
|
|
331
|
+
StoreKeyConfig.registerTypeUrl();
|
|
330
332
|
}
|
|
331
333
|
};
|
|
332
|
-
GlobalDecoderRegistry.register(Module.typeUrl, Module);
|
|
333
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
|
|
334
334
|
function createBaseStoreKeyConfig(): StoreKeyConfig {
|
|
335
335
|
return {
|
|
336
336
|
moduleName: "",
|
|
@@ -417,7 +417,6 @@ export const StoreKeyConfig = {
|
|
|
417
417
|
typeUrl: "/cosmos.app.runtime.v1alpha1.StoreKeyConfig",
|
|
418
418
|
value: StoreKeyConfig.encode(message).finish()
|
|
419
419
|
};
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(StoreKeyConfig.aminoType, StoreKeyConfig.typeUrl);
|
|
420
|
+
},
|
|
421
|
+
registerTypeUrl() {}
|
|
422
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
4
3
|
/** Module is the config object for the runtime module. */
|
|
5
4
|
export interface Module {
|
|
6
5
|
/** app_name is the name of the app. */
|
|
@@ -391,10 +390,12 @@ export const Module = {
|
|
|
391
390
|
typeUrl: "/cosmos.app.runtime.v2.Module",
|
|
392
391
|
value: Module.encode(message).finish()
|
|
393
392
|
};
|
|
393
|
+
},
|
|
394
|
+
registerTypeUrl() {
|
|
395
|
+
GasConfig.registerTypeUrl();
|
|
396
|
+
StoreKeyConfig.registerTypeUrl();
|
|
394
397
|
}
|
|
395
398
|
};
|
|
396
|
-
GlobalDecoderRegistry.register(Module.typeUrl, Module);
|
|
397
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
|
|
398
399
|
function createBaseGasConfig(): GasConfig {
|
|
399
400
|
return {
|
|
400
401
|
validateTxGasLimit: BigInt(0),
|
|
@@ -493,10 +494,9 @@ export const GasConfig = {
|
|
|
493
494
|
typeUrl: "/cosmos.app.runtime.v2.GasConfig",
|
|
494
495
|
value: GasConfig.encode(message).finish()
|
|
495
496
|
};
|
|
496
|
-
}
|
|
497
|
+
},
|
|
498
|
+
registerTypeUrl() {}
|
|
497
499
|
};
|
|
498
|
-
GlobalDecoderRegistry.register(GasConfig.typeUrl, GasConfig);
|
|
499
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GasConfig.aminoType, GasConfig.typeUrl);
|
|
500
500
|
function createBaseStoreKeyConfig(): StoreKeyConfig {
|
|
501
501
|
return {
|
|
502
502
|
moduleName: "",
|
|
@@ -583,7 +583,6 @@ export const StoreKeyConfig = {
|
|
|
583
583
|
typeUrl: "/cosmos.app.runtime.v2.StoreKeyConfig",
|
|
584
584
|
value: StoreKeyConfig.encode(message).finish()
|
|
585
585
|
};
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(StoreKeyConfig.aminoType, StoreKeyConfig.typeUrl);
|
|
586
|
+
},
|
|
587
|
+
registerTypeUrl() {}
|
|
588
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Any, AnyAmino } from "../../../google/protobuf/any";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
4
|
/**
|
|
6
5
|
* Config represents the configuration for a Cosmos SDK ABCI app.
|
|
7
6
|
* It is intended that all state machine logic including the version of
|
|
@@ -222,10 +221,12 @@ export const Config = {
|
|
|
222
221
|
typeUrl: "/cosmos.app.v1alpha1.Config",
|
|
223
222
|
value: Config.encode(message).finish()
|
|
224
223
|
};
|
|
224
|
+
},
|
|
225
|
+
registerTypeUrl() {
|
|
226
|
+
ModuleConfig.registerTypeUrl();
|
|
227
|
+
GolangBinding.registerTypeUrl();
|
|
225
228
|
}
|
|
226
229
|
};
|
|
227
|
-
GlobalDecoderRegistry.register(Config.typeUrl, Config);
|
|
228
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Config.aminoType, Config.typeUrl);
|
|
229
230
|
function createBaseModuleConfig(): ModuleConfig {
|
|
230
231
|
return {
|
|
231
232
|
name: "",
|
|
@@ -326,10 +327,11 @@ export const ModuleConfig = {
|
|
|
326
327
|
typeUrl: "/cosmos.app.v1alpha1.ModuleConfig",
|
|
327
328
|
value: ModuleConfig.encode(message).finish()
|
|
328
329
|
};
|
|
330
|
+
},
|
|
331
|
+
registerTypeUrl() {
|
|
332
|
+
GolangBinding.registerTypeUrl();
|
|
329
333
|
}
|
|
330
334
|
};
|
|
331
|
-
GlobalDecoderRegistry.register(ModuleConfig.typeUrl, ModuleConfig);
|
|
332
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ModuleConfig.aminoType, ModuleConfig.typeUrl);
|
|
333
335
|
function createBaseGolangBinding(): GolangBinding {
|
|
334
336
|
return {
|
|
335
337
|
interfaceType: "",
|
|
@@ -416,7 +418,6 @@ export const GolangBinding = {
|
|
|
416
418
|
typeUrl: "/cosmos.app.v1alpha1.GolangBinding",
|
|
417
419
|
value: GolangBinding.encode(message).finish()
|
|
418
420
|
};
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GolangBinding.aminoType, GolangBinding.typeUrl);
|
|
421
|
+
},
|
|
422
|
+
registerTypeUrl() {}
|
|
423
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
3
|
/** ModuleDescriptor describes an app module. */
|
|
5
4
|
export interface ModuleDescriptor {
|
|
6
5
|
/**
|
|
@@ -287,10 +286,12 @@ export const ModuleDescriptor = {
|
|
|
287
286
|
typeUrl: "/cosmos.app.v1alpha1.ModuleDescriptor",
|
|
288
287
|
value: ModuleDescriptor.encode(message).finish()
|
|
289
288
|
};
|
|
289
|
+
},
|
|
290
|
+
registerTypeUrl() {
|
|
291
|
+
PackageReference.registerTypeUrl();
|
|
292
|
+
MigrateFromInfo.registerTypeUrl();
|
|
290
293
|
}
|
|
291
294
|
};
|
|
292
|
-
GlobalDecoderRegistry.register(ModuleDescriptor.typeUrl, ModuleDescriptor);
|
|
293
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ModuleDescriptor.aminoType, ModuleDescriptor.typeUrl);
|
|
294
295
|
function createBasePackageReference(): PackageReference {
|
|
295
296
|
return {
|
|
296
297
|
name: "",
|
|
@@ -377,10 +378,9 @@ export const PackageReference = {
|
|
|
377
378
|
typeUrl: "/cosmos.app.v1alpha1.PackageReference",
|
|
378
379
|
value: PackageReference.encode(message).finish()
|
|
379
380
|
};
|
|
380
|
-
}
|
|
381
|
+
},
|
|
382
|
+
registerTypeUrl() {}
|
|
381
383
|
};
|
|
382
|
-
GlobalDecoderRegistry.register(PackageReference.typeUrl, PackageReference);
|
|
383
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(PackageReference.aminoType, PackageReference.typeUrl);
|
|
384
384
|
function createBaseMigrateFromInfo(): MigrateFromInfo {
|
|
385
385
|
return {
|
|
386
386
|
module: ""
|
|
@@ -455,7 +455,6 @@ export const MigrateFromInfo = {
|
|
|
455
455
|
typeUrl: "/cosmos.app.v1alpha1.MigrateFromInfo",
|
|
456
456
|
value: MigrateFromInfo.encode(message).finish()
|
|
457
457
|
};
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MigrateFromInfo.aminoType, MigrateFromInfo.typeUrl);
|
|
458
|
+
},
|
|
459
|
+
registerTypeUrl() {}
|
|
460
|
+
};
|
|
@@ -5,5 +5,6 @@ export const createGetConfig = (clientResolver?: RpcResolver) => buildQuery<Quer
|
|
|
5
5
|
decode: QueryConfigResponse.decode,
|
|
6
6
|
service: "cosmos.app.v1alpha1.Query",
|
|
7
7
|
method: "Config",
|
|
8
|
-
clientResolver
|
|
8
|
+
clientResolver,
|
|
9
|
+
deps: [QueryConfigRequest, QueryConfigResponse]
|
|
9
10
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Config, ConfigAmino } from "./config";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
4
|
/** QueryConfigRequest is the Query/Config request type. */
|
|
6
5
|
export interface QueryConfigRequest {}
|
|
7
6
|
export interface QueryConfigRequestProtoMsg {
|
|
@@ -93,10 +92,9 @@ export const QueryConfigRequest = {
|
|
|
93
92
|
typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest",
|
|
94
93
|
value: QueryConfigRequest.encode(message).finish()
|
|
95
94
|
};
|
|
96
|
-
}
|
|
95
|
+
},
|
|
96
|
+
registerTypeUrl() {}
|
|
97
97
|
};
|
|
98
|
-
GlobalDecoderRegistry.register(QueryConfigRequest.typeUrl, QueryConfigRequest);
|
|
99
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryConfigRequest.aminoType, QueryConfigRequest.typeUrl);
|
|
100
98
|
function createBaseQueryConfigResponse(): QueryConfigResponse {
|
|
101
99
|
return {
|
|
102
100
|
config: undefined
|
|
@@ -171,7 +169,8 @@ export const QueryConfigResponse = {
|
|
|
171
169
|
typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse",
|
|
172
170
|
value: QueryConfigResponse.encode(message).finish()
|
|
173
171
|
};
|
|
172
|
+
},
|
|
173
|
+
registerTypeUrl() {
|
|
174
|
+
Config.registerTypeUrl();
|
|
174
175
|
}
|
|
175
|
-
};
|
|
176
|
-
GlobalDecoderRegistry.register(QueryConfigResponse.typeUrl, QueryConfigResponse);
|
|
177
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryConfigResponse.aminoType, QueryConfigResponse.typeUrl);
|
|
176
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
4
3
|
/** Module is the config object for the auth module. */
|
|
5
4
|
export interface Module {
|
|
6
5
|
/** bech32_prefix is the bech32 account prefix for the app. */
|
|
@@ -155,10 +154,11 @@ export const Module = {
|
|
|
155
154
|
typeUrl: "/cosmos.auth.module.v1.Module",
|
|
156
155
|
value: Module.encode(message).finish()
|
|
157
156
|
};
|
|
157
|
+
},
|
|
158
|
+
registerTypeUrl() {
|
|
159
|
+
ModuleAccountPermission.registerTypeUrl();
|
|
158
160
|
}
|
|
159
161
|
};
|
|
160
|
-
GlobalDecoderRegistry.register(Module.typeUrl, Module);
|
|
161
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
|
|
162
162
|
function createBaseModuleAccountPermission(): ModuleAccountPermission {
|
|
163
163
|
return {
|
|
164
164
|
account: "",
|
|
@@ -247,7 +247,6 @@ export const ModuleAccountPermission = {
|
|
|
247
247
|
typeUrl: "/cosmos.auth.module.v1.ModuleAccountPermission",
|
|
248
248
|
value: ModuleAccountPermission.encode(message).finish()
|
|
249
249
|
};
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ModuleAccountPermission.aminoType, ModuleAccountPermission.typeUrl);
|
|
250
|
+
},
|
|
251
|
+
registerTypeUrl() {}
|
|
252
|
+
};
|
|
@@ -2,7 +2,6 @@ import { Any, AnyAmino } from "../../../google/protobuf/any";
|
|
|
2
2
|
import { BaseAccount, BaseAccountAmino } from "./auth";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
import { DeepPartial } from "../../../helpers";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
5
|
/**
|
|
7
6
|
* QueryLegacyAccount defines a query that can be implemented by an x/account
|
|
8
7
|
* to return an auth understandable representation of an account.
|
|
@@ -130,10 +129,9 @@ export const QueryLegacyAccount = {
|
|
|
130
129
|
typeUrl: "/cosmos.auth.v1beta1.QueryLegacyAccount",
|
|
131
130
|
value: QueryLegacyAccount.encode(message).finish()
|
|
132
131
|
};
|
|
133
|
-
}
|
|
132
|
+
},
|
|
133
|
+
registerTypeUrl() {}
|
|
134
134
|
};
|
|
135
|
-
GlobalDecoderRegistry.register(QueryLegacyAccount.typeUrl, QueryLegacyAccount);
|
|
136
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryLegacyAccount.aminoType, QueryLegacyAccount.typeUrl);
|
|
137
135
|
function createBaseQueryLegacyAccountResponse(): QueryLegacyAccountResponse {
|
|
138
136
|
return {
|
|
139
137
|
account: undefined,
|
|
@@ -220,7 +218,8 @@ export const QueryLegacyAccountResponse = {
|
|
|
220
218
|
typeUrl: "/cosmos.auth.v1beta1.QueryLegacyAccountResponse",
|
|
221
219
|
value: QueryLegacyAccountResponse.encode(message).finish()
|
|
222
220
|
};
|
|
221
|
+
},
|
|
222
|
+
registerTypeUrl() {
|
|
223
|
+
BaseAccount.registerTypeUrl();
|
|
223
224
|
}
|
|
224
|
-
};
|
|
225
|
-
GlobalDecoderRegistry.register(QueryLegacyAccountResponse.typeUrl, QueryLegacyAccountResponse);
|
|
226
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(QueryLegacyAccountResponse.aminoType, QueryLegacyAccountResponse.typeUrl);
|
|
225
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Any, AnyAmino } from "../../../google/protobuf/any";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
4
3
|
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
5
|
/**
|
|
6
6
|
* BaseAccount defines a base account type. It contains all the necessary fields
|
|
7
7
|
* for basic account functionality. Any custom account type should extend this
|
|
@@ -222,10 +222,12 @@ export const BaseAccount = {
|
|
|
222
222
|
typeUrl: "/cosmos.auth.v1beta1.BaseAccount",
|
|
223
223
|
value: BaseAccount.encode(message).finish()
|
|
224
224
|
};
|
|
225
|
+
},
|
|
226
|
+
registerTypeUrl() {
|
|
227
|
+
GlobalDecoderRegistry.register(BaseAccount.typeUrl, BaseAccount);
|
|
228
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(BaseAccount.aminoType, BaseAccount.typeUrl);
|
|
225
229
|
}
|
|
226
230
|
};
|
|
227
|
-
GlobalDecoderRegistry.register(BaseAccount.typeUrl, BaseAccount);
|
|
228
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(BaseAccount.aminoType, BaseAccount.typeUrl);
|
|
229
231
|
function createBaseModuleAccount(): ModuleAccount {
|
|
230
232
|
return {
|
|
231
233
|
baseAccount: undefined,
|
|
@@ -326,10 +328,13 @@ export const ModuleAccount = {
|
|
|
326
328
|
typeUrl: "/cosmos.auth.v1beta1.ModuleAccount",
|
|
327
329
|
value: ModuleAccount.encode(message).finish()
|
|
328
330
|
};
|
|
331
|
+
},
|
|
332
|
+
registerTypeUrl() {
|
|
333
|
+
GlobalDecoderRegistry.register(ModuleAccount.typeUrl, ModuleAccount);
|
|
334
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ModuleAccount.aminoType, ModuleAccount.typeUrl);
|
|
335
|
+
BaseAccount.registerTypeUrl();
|
|
329
336
|
}
|
|
330
337
|
};
|
|
331
|
-
GlobalDecoderRegistry.register(ModuleAccount.typeUrl, ModuleAccount);
|
|
332
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ModuleAccount.aminoType, ModuleAccount.typeUrl);
|
|
333
338
|
function createBaseModuleCredential(): ModuleCredential {
|
|
334
339
|
return {
|
|
335
340
|
moduleName: "",
|
|
@@ -418,10 +423,9 @@ export const ModuleCredential = {
|
|
|
418
423
|
typeUrl: "/cosmos.auth.v1beta1.ModuleCredential",
|
|
419
424
|
value: ModuleCredential.encode(message).finish()
|
|
420
425
|
};
|
|
421
|
-
}
|
|
426
|
+
},
|
|
427
|
+
registerTypeUrl() {}
|
|
422
428
|
};
|
|
423
|
-
GlobalDecoderRegistry.register(ModuleCredential.typeUrl, ModuleCredential);
|
|
424
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ModuleCredential.aminoType, ModuleCredential.typeUrl);
|
|
425
429
|
function createBaseParams(): Params {
|
|
426
430
|
return {
|
|
427
431
|
maxMemoCharacters: BigInt(0),
|
|
@@ -544,7 +548,6 @@ export const Params = {
|
|
|
544
548
|
typeUrl: "/cosmos.auth.v1beta1.Params",
|
|
545
549
|
value: Params.encode(message).finish()
|
|
546
550
|
};
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Params.aminoType, Params.typeUrl);
|
|
551
|
+
},
|
|
552
|
+
registerTypeUrl() {}
|
|
553
|
+
};
|
|
@@ -2,7 +2,6 @@ import { Params, ParamsAmino } from "./auth";
|
|
|
2
2
|
import { Any, AnyAmino } from "../../../google/protobuf/any";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
import { DeepPartial } from "../../../helpers";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
5
|
/** GenesisState defines the auth module's genesis state. */
|
|
7
6
|
export interface GenesisState {
|
|
8
7
|
/** params defines all the parameters of the module. */
|
|
@@ -113,7 +112,6 @@ export const GenesisState = {
|
|
|
113
112
|
typeUrl: "/cosmos.auth.v1beta1.GenesisState",
|
|
114
113
|
value: GenesisState.encode(message).finish()
|
|
115
114
|
};
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GenesisState.aminoType, GenesisState.typeUrl);
|
|
115
|
+
},
|
|
116
|
+
registerTypeUrl() {}
|
|
117
|
+
};
|
|
@@ -5,68 +5,78 @@ export const createGetAccounts = (clientResolver?: RpcResolver) => buildQuery<Qu
|
|
|
5
5
|
decode: QueryAccountsResponse.decode,
|
|
6
6
|
service: "cosmos.auth.v1beta1.Query",
|
|
7
7
|
method: "Accounts",
|
|
8
|
-
clientResolver
|
|
8
|
+
clientResolver,
|
|
9
|
+
deps: [QueryAccountsRequest, QueryAccountsResponse]
|
|
9
10
|
});
|
|
10
11
|
export const createGetAccount = (clientResolver?: RpcResolver) => buildQuery<QueryAccountRequest, QueryAccountResponse>({
|
|
11
12
|
encode: QueryAccountRequest.encode,
|
|
12
13
|
decode: QueryAccountResponse.decode,
|
|
13
14
|
service: "cosmos.auth.v1beta1.Query",
|
|
14
15
|
method: "Account",
|
|
15
|
-
clientResolver
|
|
16
|
+
clientResolver,
|
|
17
|
+
deps: [QueryAccountRequest, QueryAccountResponse]
|
|
16
18
|
});
|
|
17
19
|
export const createGetAccountAddressByID = (clientResolver?: RpcResolver) => buildQuery<QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse>({
|
|
18
20
|
encode: QueryAccountAddressByIDRequest.encode,
|
|
19
21
|
decode: QueryAccountAddressByIDResponse.decode,
|
|
20
22
|
service: "cosmos.auth.v1beta1.Query",
|
|
21
23
|
method: "AccountAddressByID",
|
|
22
|
-
clientResolver
|
|
24
|
+
clientResolver,
|
|
25
|
+
deps: [QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse]
|
|
23
26
|
});
|
|
24
27
|
export const createGetParams = (clientResolver?: RpcResolver) => buildQuery<QueryParamsRequest, QueryParamsResponse>({
|
|
25
28
|
encode: QueryParamsRequest.encode,
|
|
26
29
|
decode: QueryParamsResponse.decode,
|
|
27
30
|
service: "cosmos.auth.v1beta1.Query",
|
|
28
31
|
method: "Params",
|
|
29
|
-
clientResolver
|
|
32
|
+
clientResolver,
|
|
33
|
+
deps: [QueryParamsRequest, QueryParamsResponse]
|
|
30
34
|
});
|
|
31
35
|
export const createGetModuleAccounts = (clientResolver?: RpcResolver) => buildQuery<QueryModuleAccountsRequest, QueryModuleAccountsResponse>({
|
|
32
36
|
encode: QueryModuleAccountsRequest.encode,
|
|
33
37
|
decode: QueryModuleAccountsResponse.decode,
|
|
34
38
|
service: "cosmos.auth.v1beta1.Query",
|
|
35
39
|
method: "ModuleAccounts",
|
|
36
|
-
clientResolver
|
|
40
|
+
clientResolver,
|
|
41
|
+
deps: [QueryModuleAccountsRequest, QueryModuleAccountsResponse]
|
|
37
42
|
});
|
|
38
43
|
export const createGetModuleAccountByName = (clientResolver?: RpcResolver) => buildQuery<QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse>({
|
|
39
44
|
encode: QueryModuleAccountByNameRequest.encode,
|
|
40
45
|
decode: QueryModuleAccountByNameResponse.decode,
|
|
41
46
|
service: "cosmos.auth.v1beta1.Query",
|
|
42
47
|
method: "ModuleAccountByName",
|
|
43
|
-
clientResolver
|
|
48
|
+
clientResolver,
|
|
49
|
+
deps: [QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse]
|
|
44
50
|
});
|
|
45
51
|
export const createGetBech32Prefix = (clientResolver?: RpcResolver) => buildQuery<Bech32PrefixRequest, Bech32PrefixResponse>({
|
|
46
52
|
encode: Bech32PrefixRequest.encode,
|
|
47
53
|
decode: Bech32PrefixResponse.decode,
|
|
48
54
|
service: "cosmos.auth.v1beta1.Query",
|
|
49
55
|
method: "Bech32Prefix",
|
|
50
|
-
clientResolver
|
|
56
|
+
clientResolver,
|
|
57
|
+
deps: [Bech32PrefixRequest, Bech32PrefixResponse]
|
|
51
58
|
});
|
|
52
59
|
export const createGetAddressBytesToString = (clientResolver?: RpcResolver) => buildQuery<AddressBytesToStringRequest, AddressBytesToStringResponse>({
|
|
53
60
|
encode: AddressBytesToStringRequest.encode,
|
|
54
61
|
decode: AddressBytesToStringResponse.decode,
|
|
55
62
|
service: "cosmos.auth.v1beta1.Query",
|
|
56
63
|
method: "AddressBytesToString",
|
|
57
|
-
clientResolver
|
|
64
|
+
clientResolver,
|
|
65
|
+
deps: [AddressBytesToStringRequest, AddressBytesToStringResponse]
|
|
58
66
|
});
|
|
59
67
|
export const createGetAddressStringToBytes = (clientResolver?: RpcResolver) => buildQuery<AddressStringToBytesRequest, AddressStringToBytesResponse>({
|
|
60
68
|
encode: AddressStringToBytesRequest.encode,
|
|
61
69
|
decode: AddressStringToBytesResponse.decode,
|
|
62
70
|
service: "cosmos.auth.v1beta1.Query",
|
|
63
71
|
method: "AddressStringToBytes",
|
|
64
|
-
clientResolver
|
|
72
|
+
clientResolver,
|
|
73
|
+
deps: [AddressStringToBytesRequest, AddressStringToBytesResponse]
|
|
65
74
|
});
|
|
66
75
|
export const createGetAccountInfo = (clientResolver?: RpcResolver) => buildQuery<QueryAccountInfoRequest, QueryAccountInfoResponse>({
|
|
67
76
|
encode: QueryAccountInfoRequest.encode,
|
|
68
77
|
decode: QueryAccountInfoResponse.decode,
|
|
69
78
|
service: "cosmos.auth.v1beta1.Query",
|
|
70
79
|
method: "AccountInfo",
|
|
71
|
-
clientResolver
|
|
80
|
+
clientResolver,
|
|
81
|
+
deps: [QueryAccountInfoRequest, QueryAccountInfoResponse]
|
|
72
82
|
});
|