@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/src/xpla/rpc.query.ts
CHANGED
|
@@ -8,121 +8,121 @@ export const createRPCQueryClient = async ({
|
|
|
8
8
|
const tmClient = await Tendermint34Client.connect(rpcEndpoint);
|
|
9
9
|
const client = new QueryClient(tmClient);
|
|
10
10
|
return {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
cosmos: {
|
|
12
|
+
app: {
|
|
13
|
+
v1alpha1: (await import("../cosmos/app/v1alpha1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
14
14
|
},
|
|
15
|
-
|
|
16
|
-
v1beta1: (await import("
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
ibc: {
|
|
20
|
-
lightclients: {
|
|
21
|
-
wasm: {
|
|
22
|
-
v1: (await import("../ibc/lightclients/wasm/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
23
|
-
}
|
|
15
|
+
auth: {
|
|
16
|
+
v1beta1: (await import("../cosmos/auth/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
24
17
|
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
v1: (await import("../ibc/core/connection/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
28
|
-
},
|
|
29
|
-
client: {
|
|
30
|
-
v1: (await import("../ibc/core/client/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
31
|
-
},
|
|
32
|
-
channel: {
|
|
33
|
-
v1: (await import("../ibc/core/channel/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
34
|
-
}
|
|
18
|
+
authz: {
|
|
19
|
+
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
35
20
|
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
21
|
+
autocli: {
|
|
22
|
+
v1: (await import("../cosmos/autocli/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
23
|
+
},
|
|
24
|
+
bank: {
|
|
25
|
+
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
26
|
+
},
|
|
27
|
+
base: {
|
|
28
|
+
grpc: {
|
|
29
|
+
v2: (await import("../cosmos/base/grpc/v2/service.rpc.Service")).createRpcQueryExtension(client)
|
|
39
30
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
v1: (await import("../ibc/applications/interchain_accounts/host/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
43
|
-
},
|
|
44
|
-
controller: {
|
|
45
|
-
v1: (await import("../ibc/applications/interchain_accounts/controller/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
46
|
-
}
|
|
31
|
+
node: {
|
|
32
|
+
v1beta1: (await import("../cosmos/base/node/v1beta1/query.rpc.Service")).createRpcQueryExtension(client)
|
|
47
33
|
},
|
|
48
|
-
|
|
49
|
-
|
|
34
|
+
tendermint: {
|
|
35
|
+
v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.Service")).createRpcQueryExtension(client)
|
|
50
36
|
}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
ethermint: {
|
|
54
|
-
feemarket: {
|
|
55
|
-
v1: (await import("../ethermint/feemarket/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
56
37
|
},
|
|
57
|
-
|
|
58
|
-
v1: (await import("../
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
cosmwasm: {
|
|
62
|
-
wasm: {
|
|
63
|
-
v1: (await import("../cosmwasm/wasm/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
cosmos: {
|
|
67
|
-
upgrade: {
|
|
68
|
-
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
38
|
+
consensus: {
|
|
39
|
+
v1: (await import("../cosmos/consensus/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
69
40
|
},
|
|
70
|
-
|
|
71
|
-
v1beta1: (await import("../cosmos/
|
|
41
|
+
distribution: {
|
|
42
|
+
v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
72
43
|
},
|
|
73
|
-
|
|
74
|
-
v1beta1: (await import("../cosmos/
|
|
44
|
+
evidence: {
|
|
45
|
+
v1beta1: (await import("../cosmos/evidence/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
75
46
|
},
|
|
76
|
-
|
|
77
|
-
v1beta1: (await import("../cosmos/
|
|
47
|
+
feegrant: {
|
|
48
|
+
v1beta1: (await import("../cosmos/feegrant/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
78
49
|
},
|
|
79
|
-
|
|
80
|
-
|
|
50
|
+
gov: {
|
|
51
|
+
v1: (await import("../cosmos/gov/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
52
|
+
v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
81
53
|
},
|
|
82
54
|
mint: {
|
|
83
55
|
v1beta1: (await import("../cosmos/mint/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
84
56
|
},
|
|
85
|
-
|
|
86
|
-
v1beta1: (await import("../cosmos/
|
|
87
|
-
v1: (await import("../cosmos/gov/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
57
|
+
params: {
|
|
58
|
+
v1beta1: (await import("../cosmos/params/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
88
59
|
},
|
|
89
|
-
|
|
90
|
-
v1beta1: (await import("../cosmos/
|
|
60
|
+
slashing: {
|
|
61
|
+
v1beta1: (await import("../cosmos/slashing/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
91
62
|
},
|
|
92
|
-
|
|
93
|
-
v1beta1: (await import("../cosmos/
|
|
63
|
+
staking: {
|
|
64
|
+
v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
94
65
|
},
|
|
95
|
-
|
|
96
|
-
v1beta1: (await import("../cosmos/
|
|
66
|
+
tx: {
|
|
67
|
+
v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client)
|
|
97
68
|
},
|
|
98
|
-
|
|
99
|
-
|
|
69
|
+
upgrade: {
|
|
70
|
+
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
cosmwasm: {
|
|
74
|
+
wasm: {
|
|
75
|
+
v1: (await import("../cosmwasm/wasm/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
ethermint: {
|
|
79
|
+
evm: {
|
|
80
|
+
v1: (await import("../ethermint/evm/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
100
81
|
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
82
|
+
feemarket: {
|
|
83
|
+
v1: (await import("../ethermint/feemarket/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
ibc: {
|
|
87
|
+
applications: {
|
|
88
|
+
fee: {
|
|
89
|
+
v1: (await import("../ibc/applications/fee/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
104
90
|
},
|
|
105
|
-
|
|
106
|
-
|
|
91
|
+
interchain_accounts: {
|
|
92
|
+
controller: {
|
|
93
|
+
v1: (await import("../ibc/applications/interchain_accounts/controller/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
94
|
+
},
|
|
95
|
+
host: {
|
|
96
|
+
v1: (await import("../ibc/applications/interchain_accounts/host/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
97
|
+
}
|
|
107
98
|
},
|
|
108
|
-
|
|
109
|
-
|
|
99
|
+
transfer: {
|
|
100
|
+
v1: (await import("../ibc/applications/transfer/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
110
101
|
}
|
|
111
102
|
},
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
103
|
+
core: {
|
|
104
|
+
channel: {
|
|
105
|
+
v1: (await import("../ibc/core/channel/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
106
|
+
},
|
|
107
|
+
client: {
|
|
108
|
+
v1: (await import("../ibc/core/client/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
109
|
+
},
|
|
110
|
+
connection: {
|
|
111
|
+
v1: (await import("../ibc/core/connection/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
112
|
+
}
|
|
120
113
|
},
|
|
121
|
-
|
|
122
|
-
|
|
114
|
+
lightclients: {
|
|
115
|
+
wasm: {
|
|
116
|
+
v1: (await import("../ibc/lightclients/wasm/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
xpla: {
|
|
121
|
+
reward: {
|
|
122
|
+
v1beta1: (await import("./reward/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
123
123
|
},
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
volunteer: {
|
|
125
|
+
v1beta1: (await import("./volunteer/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { VolunteerValidator, VolunteerValidatorAmino } from "./volunteervalidator";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
4
|
/** GenesisState defines the volunteer module's genesis state. */
|
|
6
5
|
export interface GenesisState {
|
|
7
6
|
volunteerValidators: VolunteerValidator[];
|
|
@@ -87,6 +86,8 @@ export const GenesisState = {
|
|
|
87
86
|
typeUrl: "/xpla.volunteer.v1beta1.GenesisState",
|
|
88
87
|
value: GenesisState.encode(message).finish()
|
|
89
88
|
};
|
|
89
|
+
},
|
|
90
|
+
registerTypeUrl() {
|
|
91
|
+
VolunteerValidator.registerTypeUrl();
|
|
90
92
|
}
|
|
91
|
-
};
|
|
92
|
-
GlobalDecoderRegistry.register(GenesisState.typeUrl, GenesisState);
|
|
93
|
+
};
|
|
@@ -2,9 +2,9 @@ import { Description, DescriptionAmino } from "../../../cosmos/staking/v1beta1/s
|
|
|
2
2
|
import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
|
|
3
3
|
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
4
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
-
import { DeepPartial } from "../../../helpers";
|
|
6
|
-
import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing";
|
|
7
5
|
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
|
+
import { DeepPartial } from "../../../helpers";
|
|
7
|
+
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
8
8
|
/** RegisterVolunteerValidatorProposal */
|
|
9
9
|
/** @deprecated */
|
|
10
10
|
export interface RegisterVolunteerValidatorProposal {
|
|
@@ -265,10 +265,11 @@ export const RegisterVolunteerValidatorProposal = {
|
|
|
265
265
|
typeUrl: "/xpla.volunteer.v1beta1.RegisterVolunteerValidatorProposal",
|
|
266
266
|
value: RegisterVolunteerValidatorProposal.encode(message).finish()
|
|
267
267
|
};
|
|
268
|
+
},
|
|
269
|
+
registerTypeUrl() {
|
|
270
|
+
Coin.registerTypeUrl();
|
|
268
271
|
}
|
|
269
272
|
};
|
|
270
|
-
GlobalDecoderRegistry.register(RegisterVolunteerValidatorProposal.typeUrl, RegisterVolunteerValidatorProposal);
|
|
271
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(RegisterVolunteerValidatorProposal.aminoType, RegisterVolunteerValidatorProposal.typeUrl);
|
|
272
273
|
function createBaseRegisterVolunteerValidatorProposalWithDeposit(): RegisterVolunteerValidatorProposalWithDeposit {
|
|
273
274
|
return {
|
|
274
275
|
title: "",
|
|
@@ -427,10 +428,11 @@ export const RegisterVolunteerValidatorProposalWithDeposit = {
|
|
|
427
428
|
typeUrl: "/xpla.volunteer.v1beta1.RegisterVolunteerValidatorProposalWithDeposit",
|
|
428
429
|
value: RegisterVolunteerValidatorProposalWithDeposit.encode(message).finish()
|
|
429
430
|
};
|
|
431
|
+
},
|
|
432
|
+
registerTypeUrl() {
|
|
433
|
+
Coin.registerTypeUrl();
|
|
430
434
|
}
|
|
431
435
|
};
|
|
432
|
-
GlobalDecoderRegistry.register(RegisterVolunteerValidatorProposalWithDeposit.typeUrl, RegisterVolunteerValidatorProposalWithDeposit);
|
|
433
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(RegisterVolunteerValidatorProposalWithDeposit.aminoType, RegisterVolunteerValidatorProposalWithDeposit.typeUrl);
|
|
434
436
|
function createBaseUnregisterVolunteerValidatorProposal(): UnregisterVolunteerValidatorProposal {
|
|
435
437
|
return {
|
|
436
438
|
title: "",
|
|
@@ -529,10 +531,9 @@ export const UnregisterVolunteerValidatorProposal = {
|
|
|
529
531
|
typeUrl: "/xpla.volunteer.v1beta1.UnregisterVolunteerValidatorProposal",
|
|
530
532
|
value: UnregisterVolunteerValidatorProposal.encode(message).finish()
|
|
531
533
|
};
|
|
532
|
-
}
|
|
534
|
+
},
|
|
535
|
+
registerTypeUrl() {}
|
|
533
536
|
};
|
|
534
|
-
GlobalDecoderRegistry.register(UnregisterVolunteerValidatorProposal.typeUrl, UnregisterVolunteerValidatorProposal);
|
|
535
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(UnregisterVolunteerValidatorProposal.aminoType, UnregisterVolunteerValidatorProposal.typeUrl);
|
|
536
537
|
function createBaseUnregisterVolunteerValidatorProposalWithDeposit(): UnregisterVolunteerValidatorProposalWithDeposit {
|
|
537
538
|
return {
|
|
538
539
|
title: "",
|
|
@@ -643,7 +644,6 @@ export const UnregisterVolunteerValidatorProposalWithDeposit = {
|
|
|
643
644
|
typeUrl: "/xpla.volunteer.v1beta1.UnregisterVolunteerValidatorProposalWithDeposit",
|
|
644
645
|
value: UnregisterVolunteerValidatorProposalWithDeposit.encode(message).finish()
|
|
645
646
|
};
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(UnregisterVolunteerValidatorProposalWithDeposit.aminoType, UnregisterVolunteerValidatorProposalWithDeposit.typeUrl);
|
|
647
|
+
},
|
|
648
|
+
registerTypeUrl() {}
|
|
649
|
+
};
|
|
@@ -5,5 +5,6 @@ export const createGetVolunteerValidators = (clientResolver?: RpcResolver) => bu
|
|
|
5
5
|
decode: QueryVolunteerValidatorsResponse.decode,
|
|
6
6
|
service: "xpla.volunteer.v1beta1.Query",
|
|
7
7
|
method: "VolunteerValidators",
|
|
8
|
-
clientResolver
|
|
8
|
+
clientResolver,
|
|
9
|
+
deps: [QueryVolunteerValidatorsRequest, QueryVolunteerValidatorsResponse]
|
|
9
10
|
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
3
|
/** QueryVolunteerValidatorsRequest */
|
|
5
4
|
export interface QueryVolunteerValidatorsRequest {}
|
|
6
5
|
export interface QueryVolunteerValidatorsRequestProtoMsg {
|
|
@@ -83,9 +82,9 @@ export const QueryVolunteerValidatorsRequest = {
|
|
|
83
82
|
typeUrl: "/xpla.volunteer.v1beta1.QueryVolunteerValidatorsRequest",
|
|
84
83
|
value: QueryVolunteerValidatorsRequest.encode(message).finish()
|
|
85
84
|
};
|
|
86
|
-
}
|
|
85
|
+
},
|
|
86
|
+
registerTypeUrl() {}
|
|
87
87
|
};
|
|
88
|
-
GlobalDecoderRegistry.register(QueryVolunteerValidatorsRequest.typeUrl, QueryVolunteerValidatorsRequest);
|
|
89
88
|
function createBaseQueryVolunteerValidatorsResponse(): QueryVolunteerValidatorsResponse {
|
|
90
89
|
return {
|
|
91
90
|
volunteerValidators: []
|
|
@@ -155,6 +154,6 @@ export const QueryVolunteerValidatorsResponse = {
|
|
|
155
154
|
typeUrl: "/xpla.volunteer.v1beta1.QueryVolunteerValidatorsResponse",
|
|
156
155
|
value: QueryVolunteerValidatorsResponse.encode(message).finish()
|
|
157
156
|
};
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
157
|
+
},
|
|
158
|
+
registerTypeUrl() {}
|
|
159
|
+
};
|
|
@@ -1,3 +1,47 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { MsgRegisterVolunteerValidator, MsgUnregisterVolunteerValidator } from "./tx";
|
|
3
|
-
export const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]> = [["/xpla.volunteer.v1beta1.MsgRegisterVolunteerValidator", MsgRegisterVolunteerValidator], ["/xpla.volunteer.v1beta1.MsgUnregisterVolunteerValidator", MsgUnregisterVolunteerValidator]];
|
|
3
|
+
export const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]> = [["/xpla.volunteer.v1beta1.MsgRegisterVolunteerValidator", MsgRegisterVolunteerValidator], ["/xpla.volunteer.v1beta1.MsgUnregisterVolunteerValidator", MsgUnregisterVolunteerValidator]];
|
|
4
|
+
export const MessageComposer = {
|
|
5
|
+
encoded: {
|
|
6
|
+
registerVolunteerValidator(value: MsgRegisterVolunteerValidator) {
|
|
7
|
+
return {
|
|
8
|
+
typeUrl: "/xpla.volunteer.v1beta1.MsgRegisterVolunteerValidator",
|
|
9
|
+
value: MsgRegisterVolunteerValidator.encode(value).finish()
|
|
10
|
+
};
|
|
11
|
+
},
|
|
12
|
+
unregisterVolunteerValidator(value: MsgUnregisterVolunteerValidator) {
|
|
13
|
+
return {
|
|
14
|
+
typeUrl: "/xpla.volunteer.v1beta1.MsgUnregisterVolunteerValidator",
|
|
15
|
+
value: MsgUnregisterVolunteerValidator.encode(value).finish()
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
withTypeUrl: {
|
|
20
|
+
registerVolunteerValidator(value: MsgRegisterVolunteerValidator) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/xpla.volunteer.v1beta1.MsgRegisterVolunteerValidator",
|
|
23
|
+
value
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
unregisterVolunteerValidator(value: MsgUnregisterVolunteerValidator) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/xpla.volunteer.v1beta1.MsgUnregisterVolunteerValidator",
|
|
29
|
+
value
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
fromPartial: {
|
|
34
|
+
registerVolunteerValidator(value: MsgRegisterVolunteerValidator) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/xpla.volunteer.v1beta1.MsgRegisterVolunteerValidator",
|
|
37
|
+
value: MsgRegisterVolunteerValidator.fromPartial(value)
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
unregisterVolunteerValidator(value: MsgUnregisterVolunteerValidator) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/xpla.volunteer.v1beta1.MsgUnregisterVolunteerValidator",
|
|
43
|
+
value: MsgUnregisterVolunteerValidator.fromPartial(value)
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
@@ -5,11 +5,13 @@ export const createRegisterVolunteerValidator = (clientResolver?: SigningClientR
|
|
|
5
5
|
clientResolver,
|
|
6
6
|
typeUrl: MsgRegisterVolunteerValidator.typeUrl,
|
|
7
7
|
encoders: toEncoders(MsgRegisterVolunteerValidator),
|
|
8
|
-
converters: toConverters(MsgRegisterVolunteerValidator)
|
|
8
|
+
converters: toConverters(MsgRegisterVolunteerValidator),
|
|
9
|
+
deps: [MsgRegisterVolunteerValidator]
|
|
9
10
|
});
|
|
10
11
|
export const createUnregisterVolunteerValidator = (clientResolver?: SigningClientResolver) => buildTx<MsgUnregisterVolunteerValidator>({
|
|
11
12
|
clientResolver,
|
|
12
13
|
typeUrl: MsgUnregisterVolunteerValidator.typeUrl,
|
|
13
14
|
encoders: toEncoders(MsgUnregisterVolunteerValidator),
|
|
14
|
-
converters: toConverters(MsgUnregisterVolunteerValidator)
|
|
15
|
+
converters: toConverters(MsgUnregisterVolunteerValidator),
|
|
16
|
+
deps: [MsgUnregisterVolunteerValidator]
|
|
15
17
|
});
|
|
@@ -2,9 +2,9 @@ import { Description, DescriptionAmino } from "../../../cosmos/staking/v1beta1/s
|
|
|
2
2
|
import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
|
|
3
3
|
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
4
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
-
import { DeepPartial } from "../../../helpers";
|
|
6
|
-
import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing";
|
|
7
5
|
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
|
+
import { DeepPartial } from "../../../helpers";
|
|
7
|
+
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
8
8
|
/**
|
|
9
9
|
* MsgRegisterVolunteerValidator defines a message to register a new volunteer
|
|
10
10
|
* validator.
|
|
@@ -238,10 +238,11 @@ export const MsgRegisterVolunteerValidator = {
|
|
|
238
238
|
typeUrl: "/xpla.volunteer.v1beta1.MsgRegisterVolunteerValidator",
|
|
239
239
|
value: MsgRegisterVolunteerValidator.encode(message).finish()
|
|
240
240
|
};
|
|
241
|
+
},
|
|
242
|
+
registerTypeUrl() {
|
|
243
|
+
Coin.registerTypeUrl();
|
|
241
244
|
}
|
|
242
245
|
};
|
|
243
|
-
GlobalDecoderRegistry.register(MsgRegisterVolunteerValidator.typeUrl, MsgRegisterVolunteerValidator);
|
|
244
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgRegisterVolunteerValidator.aminoType, MsgRegisterVolunteerValidator.typeUrl);
|
|
245
246
|
function createBaseMsgRegisterVolunteerValidatorResponse(): MsgRegisterVolunteerValidatorResponse {
|
|
246
247
|
return {};
|
|
247
248
|
}
|
|
@@ -296,9 +297,9 @@ export const MsgRegisterVolunteerValidatorResponse = {
|
|
|
296
297
|
typeUrl: "/xpla.volunteer.v1beta1.MsgRegisterVolunteerValidatorResponse",
|
|
297
298
|
value: MsgRegisterVolunteerValidatorResponse.encode(message).finish()
|
|
298
299
|
};
|
|
299
|
-
}
|
|
300
|
+
},
|
|
301
|
+
registerTypeUrl() {}
|
|
300
302
|
};
|
|
301
|
-
GlobalDecoderRegistry.register(MsgRegisterVolunteerValidatorResponse.typeUrl, MsgRegisterVolunteerValidatorResponse);
|
|
302
303
|
function createBaseMsgUnregisterVolunteerValidator(): MsgUnregisterVolunteerValidator {
|
|
303
304
|
return {
|
|
304
305
|
authority: "",
|
|
@@ -385,10 +386,9 @@ export const MsgUnregisterVolunteerValidator = {
|
|
|
385
386
|
typeUrl: "/xpla.volunteer.v1beta1.MsgUnregisterVolunteerValidator",
|
|
386
387
|
value: MsgUnregisterVolunteerValidator.encode(message).finish()
|
|
387
388
|
};
|
|
388
|
-
}
|
|
389
|
+
},
|
|
390
|
+
registerTypeUrl() {}
|
|
389
391
|
};
|
|
390
|
-
GlobalDecoderRegistry.register(MsgUnregisterVolunteerValidator.typeUrl, MsgUnregisterVolunteerValidator);
|
|
391
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUnregisterVolunteerValidator.aminoType, MsgUnregisterVolunteerValidator.typeUrl);
|
|
392
392
|
function createBaseMsgUnregisterVolunteerValidatorResponse(): MsgUnregisterVolunteerValidatorResponse {
|
|
393
393
|
return {};
|
|
394
394
|
}
|
|
@@ -443,6 +443,6 @@ export const MsgUnregisterVolunteerValidatorResponse = {
|
|
|
443
443
|
typeUrl: "/xpla.volunteer.v1beta1.MsgUnregisterVolunteerValidatorResponse",
|
|
444
444
|
value: MsgUnregisterVolunteerValidatorResponse.encode(message).finish()
|
|
445
445
|
};
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
|
|
446
|
+
},
|
|
447
|
+
registerTypeUrl() {}
|
|
448
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
3
|
/** VolunteerValidator required for validator set update logic. */
|
|
5
4
|
export interface VolunteerValidator {
|
|
6
5
|
/** address is the address of the validator. */
|
|
@@ -102,6 +101,6 @@ export const VolunteerValidator = {
|
|
|
102
101
|
typeUrl: "/xpla.volunteer.v1beta1.VolunteerValidator",
|
|
103
102
|
value: VolunteerValidator.encode(message).finish()
|
|
104
103
|
};
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
104
|
+
},
|
|
105
|
+
registerTypeUrl() {}
|
|
106
|
+
};
|