injectivejs 1.6.3 → 1.6.4

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.
Files changed (106) hide show
  1. package/binary.d.ts +1 -1
  2. package/binary.js +1 -1
  3. package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
  4. package/cosmos/authz/v1beta1/tx.registry.js +67 -0
  5. package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
  6. package/cosmos/bank/v1beta1/tx.registry.js +85 -0
  7. package/cosmos/client.d.ts +13 -0
  8. package/cosmos/client.js +59 -0
  9. package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
  10. package/cosmos/distribution/v1beta1/tx.registry.js +139 -0
  11. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
  12. package/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
  13. package/cosmos/gov/v1/tx.registry.d.ts +95 -0
  14. package/cosmos/gov/v1/tx.registry.js +139 -0
  15. package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
  16. package/cosmos/gov/v1beta1/tx.registry.js +85 -0
  17. package/cosmos/group/v1/tx.registry.d.ts +179 -0
  18. package/cosmos/group/v1/tx.registry.js +265 -0
  19. package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
  20. package/cosmos/staking/v1beta1/tx.registry.js +139 -0
  21. package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
  22. package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
  23. package/cosmwasm/client.d.ts +16 -0
  24. package/cosmwasm/client.js +53 -0
  25. package/cosmwasm/wasm/v1/tx.registry.d.ts +215 -0
  26. package/cosmwasm/wasm/v1/tx.registry.js +319 -0
  27. package/esm/binary.js +1 -1
  28. package/esm/cosmos/authz/v1beta1/tx.registry.js +64 -0
  29. package/esm/cosmos/bank/v1beta1/tx.registry.js +82 -0
  30. package/esm/cosmos/client.js +31 -0
  31. package/esm/cosmos/distribution/v1beta1/tx.registry.js +136 -0
  32. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +64 -0
  33. package/esm/cosmos/gov/v1/tx.registry.js +136 -0
  34. package/esm/cosmos/gov/v1beta1/tx.registry.js +82 -0
  35. package/esm/cosmos/group/v1/tx.registry.js +262 -0
  36. package/esm/cosmos/staking/v1beta1/tx.registry.js +136 -0
  37. package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
  38. package/esm/cosmwasm/client.js +25 -0
  39. package/esm/cosmwasm/wasm/v1/tx.registry.js +316 -0
  40. package/esm/extern.js +1 -1
  41. package/esm/helper-func-types.js +1 -1
  42. package/esm/helpers.js +1 -1
  43. package/esm/ibc/applications/transfer/v1/tx.registry.js +46 -0
  44. package/esm/ibc/client.js +28 -0
  45. package/esm/ibc/core/channel/v1/tx.registry.js +352 -0
  46. package/esm/ibc/core/client/v1/tx.registry.js +136 -0
  47. package/esm/ibc/core/connection/v1/tx.registry.js +100 -0
  48. package/esm/injective/auction/v1beta1/tx.registry.js +46 -0
  49. package/esm/injective/client.js +33 -0
  50. package/esm/injective/exchange/v1beta1/tx.registry.js +640 -0
  51. package/esm/injective/insurance/v1beta1/tx.registry.js +82 -0
  52. package/esm/injective/ocr/v1beta1/tx.registry.js +172 -0
  53. package/esm/injective/oracle/v1beta1/tx.registry.js +154 -0
  54. package/esm/injective/peggy/v1/msgs.registry.js +262 -0
  55. package/esm/injective/permissions/v1beta1/tx.registry.js +136 -0
  56. package/esm/injective/tokenfactory/v1beta1/tx.registry.js +118 -0
  57. package/esm/injective/wasmx/v1/tx.registry.js +118 -0
  58. package/esm/registry.js +1 -1
  59. package/esm/types.js +1 -1
  60. package/esm/utf8.js +1 -1
  61. package/esm/varint.js +1 -1
  62. package/extern.d.ts +1 -1
  63. package/extern.js +1 -1
  64. package/helper-func-types.d.ts +1 -1
  65. package/helper-func-types.js +1 -1
  66. package/helpers.d.ts +1 -1
  67. package/helpers.js +1 -1
  68. package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
  69. package/ibc/applications/transfer/v1/tx.registry.js +49 -0
  70. package/ibc/client.d.ts +16 -0
  71. package/ibc/client.js +56 -0
  72. package/ibc/core/channel/v1/tx.registry.d.ts +239 -0
  73. package/ibc/core/channel/v1/tx.registry.js +355 -0
  74. package/ibc/core/client/v1/tx.registry.d.ts +95 -0
  75. package/ibc/core/client/v1/tx.registry.js +139 -0
  76. package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
  77. package/ibc/core/connection/v1/tx.registry.js +103 -0
  78. package/injective/auction/v1beta1/tx.registry.d.ts +35 -0
  79. package/injective/auction/v1beta1/tx.registry.js +49 -0
  80. package/injective/client.d.ts +16 -0
  81. package/injective/client.js +61 -0
  82. package/injective/exchange/v1beta1/tx.registry.d.ts +431 -0
  83. package/injective/exchange/v1beta1/tx.registry.js +643 -0
  84. package/injective/insurance/v1beta1/tx.registry.d.ts +59 -0
  85. package/injective/insurance/v1beta1/tx.registry.js +85 -0
  86. package/injective/ocr/v1beta1/tx.registry.d.ts +119 -0
  87. package/injective/ocr/v1beta1/tx.registry.js +175 -0
  88. package/injective/oracle/v1beta1/tx.registry.d.ts +107 -0
  89. package/injective/oracle/v1beta1/tx.registry.js +157 -0
  90. package/injective/peggy/v1/msgs.registry.d.ts +179 -0
  91. package/injective/peggy/v1/msgs.registry.js +265 -0
  92. package/injective/permissions/v1beta1/tx.registry.d.ts +95 -0
  93. package/injective/permissions/v1beta1/tx.registry.js +139 -0
  94. package/injective/tokenfactory/v1beta1/tx.registry.d.ts +83 -0
  95. package/injective/tokenfactory/v1beta1/tx.registry.js +121 -0
  96. package/injective/wasmx/v1/tx.registry.d.ts +83 -0
  97. package/injective/wasmx/v1/tx.registry.js +121 -0
  98. package/package.json +2 -2
  99. package/registry.d.ts +1 -1
  100. package/registry.js +1 -1
  101. package/types.d.ts +1 -1
  102. package/types.js +1 -1
  103. package/utf8.d.ts +1 -1
  104. package/utf8.js +1 -1
  105. package/varint.d.ts +1 -1
  106. package/varint.js +1 -1
package/binary.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.0
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.1
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
  */
package/binary.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.0
3
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.1
4
4
  * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
5
5
  * and run the transpile command or npm scripts command that is used to regenerate this bundle.
6
6
  */
@@ -0,0 +1,47 @@
1
+ import { TelescopeGeneratedType } from "../../../types";
2
+ import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
4
+ export declare const MessageComposer: {
5
+ encoded: {
6
+ grant(value: MsgGrant): {
7
+ typeUrl: string;
8
+ value: Uint8Array;
9
+ };
10
+ exec(value: MsgExec): {
11
+ typeUrl: string;
12
+ value: Uint8Array;
13
+ };
14
+ revoke(value: MsgRevoke): {
15
+ typeUrl: string;
16
+ value: Uint8Array;
17
+ };
18
+ };
19
+ withTypeUrl: {
20
+ grant(value: MsgGrant): {
21
+ typeUrl: string;
22
+ value: MsgGrant;
23
+ };
24
+ exec(value: MsgExec): {
25
+ typeUrl: string;
26
+ value: MsgExec;
27
+ };
28
+ revoke(value: MsgRevoke): {
29
+ typeUrl: string;
30
+ value: MsgRevoke;
31
+ };
32
+ };
33
+ fromPartial: {
34
+ grant(value: MsgGrant): {
35
+ typeUrl: string;
36
+ value: MsgGrant;
37
+ };
38
+ exec(value: MsgExec): {
39
+ typeUrl: string;
40
+ value: MsgExec;
41
+ };
42
+ revoke(value: MsgRevoke): {
43
+ typeUrl: string;
44
+ value: MsgRevoke;
45
+ };
46
+ };
47
+ };
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageComposer = exports.registry = void 0;
4
+ const tx_1 = require("./tx");
5
+ exports.registry = [["/cosmos.authz.v1beta1.MsgGrant", tx_1.MsgGrant], ["/cosmos.authz.v1beta1.MsgExec", tx_1.MsgExec], ["/cosmos.authz.v1beta1.MsgRevoke", tx_1.MsgRevoke]];
6
+ exports.MessageComposer = {
7
+ encoded: {
8
+ grant(value) {
9
+ return {
10
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
11
+ value: tx_1.MsgGrant.encode(value).finish()
12
+ };
13
+ },
14
+ exec(value) {
15
+ return {
16
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
17
+ value: tx_1.MsgExec.encode(value).finish()
18
+ };
19
+ },
20
+ revoke(value) {
21
+ return {
22
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
23
+ value: tx_1.MsgRevoke.encode(value).finish()
24
+ };
25
+ }
26
+ },
27
+ withTypeUrl: {
28
+ grant(value) {
29
+ return {
30
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
31
+ value
32
+ };
33
+ },
34
+ exec(value) {
35
+ return {
36
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
37
+ value
38
+ };
39
+ },
40
+ revoke(value) {
41
+ return {
42
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
43
+ value
44
+ };
45
+ }
46
+ },
47
+ fromPartial: {
48
+ grant(value) {
49
+ return {
50
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
51
+ value: tx_1.MsgGrant.fromPartial(value)
52
+ };
53
+ },
54
+ exec(value) {
55
+ return {
56
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
57
+ value: tx_1.MsgExec.fromPartial(value)
58
+ };
59
+ },
60
+ revoke(value) {
61
+ return {
62
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
63
+ value: tx_1.MsgRevoke.fromPartial(value)
64
+ };
65
+ }
66
+ }
67
+ };
@@ -0,0 +1,59 @@
1
+ import { TelescopeGeneratedType } from "../../../types";
2
+ import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
4
+ export declare const MessageComposer: {
5
+ encoded: {
6
+ send(value: MsgSend): {
7
+ typeUrl: string;
8
+ value: Uint8Array;
9
+ };
10
+ multiSend(value: MsgMultiSend): {
11
+ typeUrl: string;
12
+ value: Uint8Array;
13
+ };
14
+ updateParams(value: MsgUpdateParams): {
15
+ typeUrl: string;
16
+ value: Uint8Array;
17
+ };
18
+ setSendEnabled(value: MsgSetSendEnabled): {
19
+ typeUrl: string;
20
+ value: Uint8Array;
21
+ };
22
+ };
23
+ withTypeUrl: {
24
+ send(value: MsgSend): {
25
+ typeUrl: string;
26
+ value: MsgSend;
27
+ };
28
+ multiSend(value: MsgMultiSend): {
29
+ typeUrl: string;
30
+ value: MsgMultiSend;
31
+ };
32
+ updateParams(value: MsgUpdateParams): {
33
+ typeUrl: string;
34
+ value: MsgUpdateParams;
35
+ };
36
+ setSendEnabled(value: MsgSetSendEnabled): {
37
+ typeUrl: string;
38
+ value: MsgSetSendEnabled;
39
+ };
40
+ };
41
+ fromPartial: {
42
+ send(value: MsgSend): {
43
+ typeUrl: string;
44
+ value: MsgSend;
45
+ };
46
+ multiSend(value: MsgMultiSend): {
47
+ typeUrl: string;
48
+ value: MsgMultiSend;
49
+ };
50
+ updateParams(value: MsgUpdateParams): {
51
+ typeUrl: string;
52
+ value: MsgUpdateParams;
53
+ };
54
+ setSendEnabled(value: MsgSetSendEnabled): {
55
+ typeUrl: string;
56
+ value: MsgSetSendEnabled;
57
+ };
58
+ };
59
+ };
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageComposer = exports.registry = void 0;
4
+ const tx_1 = require("./tx");
5
+ exports.registry = [["/cosmos.bank.v1beta1.MsgSend", tx_1.MsgSend], ["/cosmos.bank.v1beta1.MsgMultiSend", tx_1.MsgMultiSend], ["/cosmos.bank.v1beta1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/cosmos.bank.v1beta1.MsgSetSendEnabled", tx_1.MsgSetSendEnabled]];
6
+ exports.MessageComposer = {
7
+ encoded: {
8
+ send(value) {
9
+ return {
10
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
11
+ value: tx_1.MsgSend.encode(value).finish()
12
+ };
13
+ },
14
+ multiSend(value) {
15
+ return {
16
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
17
+ value: tx_1.MsgMultiSend.encode(value).finish()
18
+ };
19
+ },
20
+ updateParams(value) {
21
+ return {
22
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
23
+ value: tx_1.MsgUpdateParams.encode(value).finish()
24
+ };
25
+ },
26
+ setSendEnabled(value) {
27
+ return {
28
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
29
+ value: tx_1.MsgSetSendEnabled.encode(value).finish()
30
+ };
31
+ }
32
+ },
33
+ withTypeUrl: {
34
+ send(value) {
35
+ return {
36
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
37
+ value
38
+ };
39
+ },
40
+ multiSend(value) {
41
+ return {
42
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
43
+ value
44
+ };
45
+ },
46
+ updateParams(value) {
47
+ return {
48
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
49
+ value
50
+ };
51
+ },
52
+ setSendEnabled(value) {
53
+ return {
54
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
55
+ value
56
+ };
57
+ }
58
+ },
59
+ fromPartial: {
60
+ send(value) {
61
+ return {
62
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
63
+ value: tx_1.MsgSend.fromPartial(value)
64
+ };
65
+ },
66
+ multiSend(value) {
67
+ return {
68
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
69
+ value: tx_1.MsgMultiSend.fromPartial(value)
70
+ };
71
+ },
72
+ updateParams(value) {
73
+ return {
74
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
75
+ value: tx_1.MsgUpdateParams.fromPartial(value)
76
+ };
77
+ },
78
+ setSendEnabled(value) {
79
+ return {
80
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
81
+ value: tx_1.MsgSetSendEnabled.fromPartial(value)
82
+ };
83
+ }
84
+ }
85
+ };
@@ -0,0 +1,13 @@
1
+ import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing";
2
+ import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
3
+ import { HttpEndpoint } from "@cosmjs/tendermint-rpc";
4
+ export declare const cosmosAminoConverters: {};
5
+ export declare const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]>;
6
+ export declare const getSigningCosmosClientOptions: () => {
7
+ registry: Registry;
8
+ aminoTypes: AminoTypes;
9
+ };
10
+ export declare const getSigningCosmosClient: ({ rpcEndpoint, signer }: {
11
+ rpcEndpoint: string | HttpEndpoint;
12
+ signer: OfflineSigner;
13
+ }) => Promise<SigningStargateClient>;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.getSigningCosmosClient = exports.getSigningCosmosClientOptions = exports.cosmosProtoRegistry = exports.cosmosAminoConverters = void 0;
27
+ const proto_signing_1 = require("@cosmjs/proto-signing");
28
+ const stargate_1 = require("@cosmjs/stargate");
29
+ const cosmosAuthzV1beta1TxRegistry = __importStar(require("./authz/v1beta1/tx.registry"));
30
+ const cosmosBankV1beta1TxRegistry = __importStar(require("./bank/v1beta1/tx.registry"));
31
+ const cosmosDistributionV1beta1TxRegistry = __importStar(require("./distribution/v1beta1/tx.registry"));
32
+ const cosmosFeegrantV1beta1TxRegistry = __importStar(require("./feegrant/v1beta1/tx.registry"));
33
+ const cosmosGovV1TxRegistry = __importStar(require("./gov/v1/tx.registry"));
34
+ const cosmosGovV1beta1TxRegistry = __importStar(require("./gov/v1beta1/tx.registry"));
35
+ const cosmosGroupV1TxRegistry = __importStar(require("./group/v1/tx.registry"));
36
+ const cosmosStakingV1beta1TxRegistry = __importStar(require("./staking/v1beta1/tx.registry"));
37
+ const cosmosVestingV1beta1TxRegistry = __importStar(require("./vesting/v1beta1/tx.registry"));
38
+ exports.cosmosAminoConverters = {};
39
+ exports.cosmosProtoRegistry = [...cosmosAuthzV1beta1TxRegistry.registry, ...cosmosBankV1beta1TxRegistry.registry, ...cosmosDistributionV1beta1TxRegistry.registry, ...cosmosFeegrantV1beta1TxRegistry.registry, ...cosmosGovV1TxRegistry.registry, ...cosmosGovV1beta1TxRegistry.registry, ...cosmosGroupV1TxRegistry.registry, ...cosmosStakingV1beta1TxRegistry.registry, ...cosmosVestingV1beta1TxRegistry.registry];
40
+ const getSigningCosmosClientOptions = () => {
41
+ const registry = new proto_signing_1.Registry([...exports.cosmosProtoRegistry]);
42
+ const aminoTypes = new stargate_1.AminoTypes({
43
+ ...exports.cosmosAminoConverters
44
+ });
45
+ return {
46
+ registry,
47
+ aminoTypes
48
+ };
49
+ };
50
+ exports.getSigningCosmosClientOptions = getSigningCosmosClientOptions;
51
+ const getSigningCosmosClient = async ({ rpcEndpoint, signer }) => {
52
+ const { registry, aminoTypes } = (0, exports.getSigningCosmosClientOptions)();
53
+ const client = await stargate_1.SigningStargateClient.connectWithSigner(rpcEndpoint, signer, {
54
+ registry: registry,
55
+ aminoTypes
56
+ });
57
+ return client;
58
+ };
59
+ exports.getSigningCosmosClient = getSigningCosmosClient;
@@ -0,0 +1,95 @@
1
+ import { TelescopeGeneratedType } from "../../../types";
2
+ import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
4
+ export declare const MessageComposer: {
5
+ encoded: {
6
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
7
+ typeUrl: string;
8
+ value: Uint8Array;
9
+ };
10
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
11
+ typeUrl: string;
12
+ value: Uint8Array;
13
+ };
14
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
15
+ typeUrl: string;
16
+ value: Uint8Array;
17
+ };
18
+ fundCommunityPool(value: MsgFundCommunityPool): {
19
+ typeUrl: string;
20
+ value: Uint8Array;
21
+ };
22
+ updateParams(value: MsgUpdateParams): {
23
+ typeUrl: string;
24
+ value: Uint8Array;
25
+ };
26
+ communityPoolSpend(value: MsgCommunityPoolSpend): {
27
+ typeUrl: string;
28
+ value: Uint8Array;
29
+ };
30
+ depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
31
+ typeUrl: string;
32
+ value: Uint8Array;
33
+ };
34
+ };
35
+ withTypeUrl: {
36
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
37
+ typeUrl: string;
38
+ value: MsgSetWithdrawAddress;
39
+ };
40
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
41
+ typeUrl: string;
42
+ value: MsgWithdrawDelegatorReward;
43
+ };
44
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
45
+ typeUrl: string;
46
+ value: MsgWithdrawValidatorCommission;
47
+ };
48
+ fundCommunityPool(value: MsgFundCommunityPool): {
49
+ typeUrl: string;
50
+ value: MsgFundCommunityPool;
51
+ };
52
+ updateParams(value: MsgUpdateParams): {
53
+ typeUrl: string;
54
+ value: MsgUpdateParams;
55
+ };
56
+ communityPoolSpend(value: MsgCommunityPoolSpend): {
57
+ typeUrl: string;
58
+ value: MsgCommunityPoolSpend;
59
+ };
60
+ depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
61
+ typeUrl: string;
62
+ value: MsgDepositValidatorRewardsPool;
63
+ };
64
+ };
65
+ fromPartial: {
66
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
67
+ typeUrl: string;
68
+ value: MsgSetWithdrawAddress;
69
+ };
70
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
71
+ typeUrl: string;
72
+ value: MsgWithdrawDelegatorReward;
73
+ };
74
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
75
+ typeUrl: string;
76
+ value: MsgWithdrawValidatorCommission;
77
+ };
78
+ fundCommunityPool(value: MsgFundCommunityPool): {
79
+ typeUrl: string;
80
+ value: MsgFundCommunityPool;
81
+ };
82
+ updateParams(value: MsgUpdateParams): {
83
+ typeUrl: string;
84
+ value: MsgUpdateParams;
85
+ };
86
+ communityPoolSpend(value: MsgCommunityPoolSpend): {
87
+ typeUrl: string;
88
+ value: MsgCommunityPoolSpend;
89
+ };
90
+ depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
91
+ typeUrl: string;
92
+ value: MsgDepositValidatorRewardsPool;
93
+ };
94
+ };
95
+ };
@@ -0,0 +1,139 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageComposer = exports.registry = void 0;
4
+ const tx_1 = require("./tx");
5
+ exports.registry = [["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", tx_1.MsgSetWithdrawAddress], ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", tx_1.MsgWithdrawDelegatorReward], ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", tx_1.MsgWithdrawValidatorCommission], ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", tx_1.MsgFundCommunityPool], ["/cosmos.distribution.v1beta1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", tx_1.MsgCommunityPoolSpend], ["/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool", tx_1.MsgDepositValidatorRewardsPool]];
6
+ exports.MessageComposer = {
7
+ encoded: {
8
+ setWithdrawAddress(value) {
9
+ return {
10
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
11
+ value: tx_1.MsgSetWithdrawAddress.encode(value).finish()
12
+ };
13
+ },
14
+ withdrawDelegatorReward(value) {
15
+ return {
16
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
17
+ value: tx_1.MsgWithdrawDelegatorReward.encode(value).finish()
18
+ };
19
+ },
20
+ withdrawValidatorCommission(value) {
21
+ return {
22
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
23
+ value: tx_1.MsgWithdrawValidatorCommission.encode(value).finish()
24
+ };
25
+ },
26
+ fundCommunityPool(value) {
27
+ return {
28
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
29
+ value: tx_1.MsgFundCommunityPool.encode(value).finish()
30
+ };
31
+ },
32
+ updateParams(value) {
33
+ return {
34
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
35
+ value: tx_1.MsgUpdateParams.encode(value).finish()
36
+ };
37
+ },
38
+ communityPoolSpend(value) {
39
+ return {
40
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
41
+ value: tx_1.MsgCommunityPoolSpend.encode(value).finish()
42
+ };
43
+ },
44
+ depositValidatorRewardsPool(value) {
45
+ return {
46
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
47
+ value: tx_1.MsgDepositValidatorRewardsPool.encode(value).finish()
48
+ };
49
+ }
50
+ },
51
+ withTypeUrl: {
52
+ setWithdrawAddress(value) {
53
+ return {
54
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
55
+ value
56
+ };
57
+ },
58
+ withdrawDelegatorReward(value) {
59
+ return {
60
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
61
+ value
62
+ };
63
+ },
64
+ withdrawValidatorCommission(value) {
65
+ return {
66
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
67
+ value
68
+ };
69
+ },
70
+ fundCommunityPool(value) {
71
+ return {
72
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
73
+ value
74
+ };
75
+ },
76
+ updateParams(value) {
77
+ return {
78
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
79
+ value
80
+ };
81
+ },
82
+ communityPoolSpend(value) {
83
+ return {
84
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
85
+ value
86
+ };
87
+ },
88
+ depositValidatorRewardsPool(value) {
89
+ return {
90
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
91
+ value
92
+ };
93
+ }
94
+ },
95
+ fromPartial: {
96
+ setWithdrawAddress(value) {
97
+ return {
98
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
99
+ value: tx_1.MsgSetWithdrawAddress.fromPartial(value)
100
+ };
101
+ },
102
+ withdrawDelegatorReward(value) {
103
+ return {
104
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
105
+ value: tx_1.MsgWithdrawDelegatorReward.fromPartial(value)
106
+ };
107
+ },
108
+ withdrawValidatorCommission(value) {
109
+ return {
110
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
111
+ value: tx_1.MsgWithdrawValidatorCommission.fromPartial(value)
112
+ };
113
+ },
114
+ fundCommunityPool(value) {
115
+ return {
116
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
117
+ value: tx_1.MsgFundCommunityPool.fromPartial(value)
118
+ };
119
+ },
120
+ updateParams(value) {
121
+ return {
122
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
123
+ value: tx_1.MsgUpdateParams.fromPartial(value)
124
+ };
125
+ },
126
+ communityPoolSpend(value) {
127
+ return {
128
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
129
+ value: tx_1.MsgCommunityPoolSpend.fromPartial(value)
130
+ };
131
+ },
132
+ depositValidatorRewardsPool(value) {
133
+ return {
134
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
135
+ value: tx_1.MsgDepositValidatorRewardsPool.fromPartial(value)
136
+ };
137
+ }
138
+ }
139
+ };
@@ -0,0 +1,47 @@
1
+ import { TelescopeGeneratedType } from "../../../types";
2
+ import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
4
+ export declare const MessageComposer: {
5
+ encoded: {
6
+ grantAllowance(value: MsgGrantAllowance): {
7
+ typeUrl: string;
8
+ value: Uint8Array;
9
+ };
10
+ revokeAllowance(value: MsgRevokeAllowance): {
11
+ typeUrl: string;
12
+ value: Uint8Array;
13
+ };
14
+ pruneAllowances(value: MsgPruneAllowances): {
15
+ typeUrl: string;
16
+ value: Uint8Array;
17
+ };
18
+ };
19
+ withTypeUrl: {
20
+ grantAllowance(value: MsgGrantAllowance): {
21
+ typeUrl: string;
22
+ value: MsgGrantAllowance;
23
+ };
24
+ revokeAllowance(value: MsgRevokeAllowance): {
25
+ typeUrl: string;
26
+ value: MsgRevokeAllowance;
27
+ };
28
+ pruneAllowances(value: MsgPruneAllowances): {
29
+ typeUrl: string;
30
+ value: MsgPruneAllowances;
31
+ };
32
+ };
33
+ fromPartial: {
34
+ grantAllowance(value: MsgGrantAllowance): {
35
+ typeUrl: string;
36
+ value: MsgGrantAllowance;
37
+ };
38
+ revokeAllowance(value: MsgRevokeAllowance): {
39
+ typeUrl: string;
40
+ value: MsgRevokeAllowance;
41
+ };
42
+ pruneAllowances(value: MsgPruneAllowances): {
43
+ typeUrl: string;
44
+ value: MsgPruneAllowances;
45
+ };
46
+ };
47
+ };