@sparkdreamnft/sparkdreamjs 0.0.4 → 0.0.6

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 (172) hide show
  1. package/cosmos/auth/v1beta1/tx.registry.d.ts +23 -0
  2. package/cosmos/auth/v1beta1/tx.registry.js +33 -1
  3. package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
  4. package/cosmos/authz/v1beta1/tx.registry.js +69 -1
  5. package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
  6. package/cosmos/bank/v1beta1/tx.registry.js +87 -1
  7. package/cosmos/benchmark/v1/tx.registry.d.ts +23 -0
  8. package/cosmos/benchmark/v1/tx.registry.js +33 -1
  9. package/cosmos/bundle.d.ts +1138 -181
  10. package/cosmos/bundle.js +184 -184
  11. package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
  12. package/cosmos/circuit/v1/tx.registry.js +69 -1
  13. package/cosmos/consensus/v1/tx.registry.d.ts +23 -0
  14. package/cosmos/consensus/v1/tx.registry.js +33 -1
  15. package/cosmos/counter/v1/tx.registry.d.ts +23 -0
  16. package/cosmos/counter/v1/tx.registry.js +33 -1
  17. package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
  18. package/cosmos/distribution/v1beta1/tx.registry.js +141 -1
  19. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
  20. package/cosmos/feegrant/v1beta1/tx.registry.js +69 -1
  21. package/cosmos/gov/v1/tx.registry.d.ts +95 -0
  22. package/cosmos/gov/v1/tx.registry.js +141 -1
  23. package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
  24. package/cosmos/gov/v1beta1/tx.registry.js +87 -1
  25. package/cosmos/group/v1/tx.registry.d.ts +179 -0
  26. package/cosmos/group/v1/tx.registry.js +267 -1
  27. package/cosmos/mint/v1beta1/tx.registry.d.ts +23 -0
  28. package/cosmos/mint/v1beta1/tx.registry.js +33 -1
  29. package/cosmos/protocolpool/v1/tx.registry.d.ts +71 -0
  30. package/cosmos/protocolpool/v1/tx.registry.js +105 -1
  31. package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
  32. package/cosmos/staking/v1beta1/tx.registry.js +141 -1
  33. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +35 -0
  34. package/cosmos/upgrade/v1beta1/tx.registry.js +51 -1
  35. package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
  36. package/cosmos/vesting/v1beta1/tx.registry.js +69 -1
  37. package/esm/cosmos/auth/v1beta1/tx.registry.js +31 -0
  38. package/esm/cosmos/authz/v1beta1/tx.registry.js +67 -0
  39. package/esm/cosmos/bank/v1beta1/tx.registry.js +85 -0
  40. package/esm/cosmos/benchmark/v1/tx.registry.js +31 -0
  41. package/esm/cosmos/bundle.js +184 -184
  42. package/esm/cosmos/circuit/v1/tx.registry.js +67 -0
  43. package/esm/cosmos/consensus/v1/tx.registry.js +31 -0
  44. package/esm/cosmos/counter/v1/tx.registry.js +31 -0
  45. package/esm/cosmos/distribution/v1beta1/tx.registry.js +139 -0
  46. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
  47. package/esm/cosmos/gov/v1/tx.registry.js +139 -0
  48. package/esm/cosmos/gov/v1beta1/tx.registry.js +85 -0
  49. package/esm/cosmos/group/v1/tx.registry.js +265 -0
  50. package/esm/cosmos/mint/v1beta1/tx.registry.js +31 -0
  51. package/esm/cosmos/protocolpool/v1/tx.registry.js +103 -0
  52. package/esm/cosmos/staking/v1beta1/tx.registry.js +139 -0
  53. package/esm/cosmos/upgrade/v1beta1/tx.registry.js +49 -0
  54. package/esm/cosmos/vesting/v1beta1/tx.registry.js +67 -0
  55. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +67 -0
  56. package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +49 -0
  57. package/esm/ibc/applications/transfer/v1/tx.registry.js +49 -0
  58. package/esm/ibc/bundle.js +96 -96
  59. package/esm/ibc/core/channel/v1/tx.registry.js +193 -0
  60. package/esm/ibc/core/channel/v2/tx.registry.js +85 -0
  61. package/esm/ibc/core/client/v1/tx.registry.js +157 -0
  62. package/esm/ibc/core/client/v2/tx.registry.js +49 -0
  63. package/esm/ibc/core/connection/v1/tx.registry.js +103 -0
  64. package/esm/ibc/lightclients/wasm/v1/tx.registry.js +67 -0
  65. package/esm/sparkdream/blog/module/{module.js → v1/module.js} +3 -3
  66. package/esm/sparkdream/blog/{genesis.js → v1/genesis.js} +3 -3
  67. package/esm/sparkdream/blog/{params.js → v1/params.js} +3 -3
  68. package/esm/sparkdream/blog/{post.js → v1/post.js} +3 -3
  69. package/esm/sparkdream/blog/{query.js → v1/query.js} +14 -14
  70. package/esm/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
  71. package/esm/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
  72. package/esm/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
  73. package/esm/sparkdream/blog/{tx.js → v1/tx.js} +17 -17
  74. package/esm/sparkdream/blog/v1/tx.registry.js +87 -0
  75. package/esm/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
  76. package/esm/sparkdream/bundle.js +68 -48
  77. package/esm/sparkdream/client.js +7 -7
  78. package/esm/sparkdream/lcd.js +10 -6
  79. package/esm/sparkdream/rpc.query.js +6 -2
  80. package/esm/sparkdream/rpc.tx.js +6 -2
  81. package/esm/sparkdream/sparkdream/module/{module.js → v1/module.js} +3 -3
  82. package/esm/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +3 -3
  83. package/esm/sparkdream/sparkdream/{params.js → v1/params.js} +3 -3
  84. package/esm/sparkdream/sparkdream/{query.js → v1/query.js} +5 -5
  85. package/esm/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
  86. package/esm/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
  87. package/esm/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
  88. package/esm/sparkdream/sparkdream/{tx.js → v1/tx.js} +5 -5
  89. package/esm/sparkdream/sparkdream/v1/tx.registry.js +33 -0
  90. package/esm/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
  91. package/esm/tendermint/bundle.js +18 -18
  92. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +47 -0
  93. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +69 -1
  94. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +35 -0
  95. package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +51 -1
  96. package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
  97. package/ibc/applications/transfer/v1/tx.registry.js +51 -1
  98. package/ibc/bundle.d.ts +630 -81
  99. package/ibc/bundle.js +96 -96
  100. package/ibc/core/channel/v1/tx.registry.d.ts +131 -0
  101. package/ibc/core/channel/v1/tx.registry.js +195 -1
  102. package/ibc/core/channel/v2/tx.registry.d.ts +59 -0
  103. package/ibc/core/channel/v2/tx.registry.js +87 -1
  104. package/ibc/core/client/v1/tx.registry.d.ts +107 -0
  105. package/ibc/core/client/v1/tx.registry.js +159 -1
  106. package/ibc/core/client/v2/tx.registry.d.ts +35 -0
  107. package/ibc/core/client/v2/tx.registry.js +51 -1
  108. package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
  109. package/ibc/core/connection/v1/tx.registry.js +105 -1
  110. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +47 -0
  111. package/ibc/lightclients/wasm/v1/tx.registry.js +69 -1
  112. package/package.json +1 -1
  113. package/sparkdream/{sparkdream/module → blog/module/v1}/module.d.ts +12 -6
  114. package/sparkdream/blog/module/{module.js → v1/module.js} +3 -3
  115. package/sparkdream/blog/{genesis.d.ts → v1/genesis.d.ts} +4 -4
  116. package/sparkdream/blog/{genesis.js → v1/genesis.js} +3 -3
  117. package/sparkdream/blog/{params.d.ts → v1/params.d.ts} +3 -3
  118. package/sparkdream/blog/{params.js → v1/params.js} +3 -3
  119. package/sparkdream/blog/{post.d.ts → v1/post.d.ts} +6 -4
  120. package/sparkdream/blog/{post.js → v1/post.js} +3 -3
  121. package/sparkdream/blog/{query.d.ts → v1/query.d.ts} +23 -15
  122. package/sparkdream/blog/{query.js → v1/query.js} +14 -14
  123. package/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
  124. package/sparkdream/blog/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +3 -3
  125. package/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
  126. package/sparkdream/blog/{tx.amino.d.ts → v1/tx.amino.d.ts} +4 -4
  127. package/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
  128. package/sparkdream/blog/{tx.d.ts → v1/tx.d.ts} +29 -17
  129. package/sparkdream/blog/{tx.js → v1/tx.js} +17 -17
  130. package/sparkdream/blog/v1/tx.registry.d.ts +61 -0
  131. package/sparkdream/blog/v1/tx.registry.js +91 -0
  132. package/sparkdream/blog/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +4 -1
  133. package/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
  134. package/sparkdream/bundle.d.ts +476 -348
  135. package/sparkdream/bundle.js +68 -48
  136. package/sparkdream/client.d.ts +15 -15
  137. package/sparkdream/client.js +7 -7
  138. package/sparkdream/lcd.d.ts +6 -2
  139. package/sparkdream/lcd.js +10 -6
  140. package/sparkdream/rpc.query.d.ts +8 -4
  141. package/sparkdream/rpc.query.js +6 -2
  142. package/sparkdream/rpc.tx.d.ts +6 -2
  143. package/sparkdream/rpc.tx.js +6 -2
  144. package/sparkdream/{blog/module → sparkdream/module/v1}/module.d.ts +12 -6
  145. package/sparkdream/sparkdream/module/{module.js → v1/module.js} +3 -3
  146. package/sparkdream/sparkdream/{genesis.d.ts → v1/genesis.d.ts} +4 -4
  147. package/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +3 -3
  148. package/sparkdream/sparkdream/{params.d.ts → v1/params.d.ts} +3 -3
  149. package/sparkdream/sparkdream/{params.js → v1/params.js} +3 -3
  150. package/sparkdream/sparkdream/{query.d.ts → v1/query.d.ts} +6 -6
  151. package/sparkdream/sparkdream/{query.js → v1/query.js} +5 -5
  152. package/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
  153. package/sparkdream/sparkdream/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +1 -1
  154. package/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
  155. package/sparkdream/sparkdream/{tx.amino.d.ts → v1/tx.amino.d.ts} +1 -1
  156. package/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
  157. package/sparkdream/sparkdream/{tx.d.ts → v1/tx.d.ts} +5 -5
  158. package/sparkdream/sparkdream/{tx.js → v1/tx.js} +5 -5
  159. package/sparkdream/sparkdream/v1/tx.registry.d.ts +25 -0
  160. package/sparkdream/sparkdream/v1/tx.registry.js +37 -0
  161. package/sparkdream/sparkdream/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +1 -1
  162. package/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
  163. package/tendermint/bundle.d.ts +844 -844
  164. package/tendermint/bundle.js +18 -18
  165. package/esm/sparkdream/blog/tx.registry.js +0 -2
  166. package/esm/sparkdream/sparkdream/tx.registry.js +0 -2
  167. package/sparkdream/blog/tx.registry.d.ts +0 -2
  168. package/sparkdream/blog/tx.registry.js +0 -5
  169. package/sparkdream/sparkdream/tx.registry.d.ts +0 -2
  170. package/sparkdream/sparkdream/tx.registry.js +0 -5
  171. /package/sparkdream/blog/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
  172. /package/sparkdream/sparkdream/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
@@ -1,2 +1,25 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgUpdateParams } from "./tx";
2
4
  export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
5
+ export declare const load: (protoRegistry: Registry) => void;
6
+ export declare const MessageComposer: {
7
+ encoded: {
8
+ updateParams(value: MsgUpdateParams): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ };
13
+ withTypeUrl: {
14
+ updateParams(value: MsgUpdateParams): {
15
+ typeUrl: string;
16
+ value: MsgUpdateParams;
17
+ };
18
+ };
19
+ fromPartial: {
20
+ updateParams(value: MsgUpdateParams): {
21
+ typeUrl: string;
22
+ value: MsgUpdateParams;
23
+ };
24
+ };
25
+ };
@@ -1,5 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.registry = void 0;
3
+ exports.MessageComposer = exports.load = exports.registry = void 0;
4
4
  const tx_1 = require("./tx");
5
5
  exports.registry = [["/cosmos.consensus.v1.MsgUpdateParams", tx_1.MsgUpdateParams]];
6
+ const load = (protoRegistry) => {
7
+ exports.registry.forEach(([typeUrl, mod]) => {
8
+ protoRegistry.register(typeUrl, mod);
9
+ });
10
+ };
11
+ exports.load = load;
12
+ exports.MessageComposer = {
13
+ encoded: {
14
+ updateParams(value) {
15
+ return {
16
+ typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
17
+ value: tx_1.MsgUpdateParams.encode(value).finish()
18
+ };
19
+ }
20
+ },
21
+ withTypeUrl: {
22
+ updateParams(value) {
23
+ return {
24
+ typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
25
+ value
26
+ };
27
+ }
28
+ },
29
+ fromPartial: {
30
+ updateParams(value) {
31
+ return {
32
+ typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
33
+ value: tx_1.MsgUpdateParams.fromPartial(value)
34
+ };
35
+ }
36
+ }
37
+ };
@@ -1,2 +1,25 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgIncreaseCounter } from "./tx";
2
4
  export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
5
+ export declare const load: (protoRegistry: Registry) => void;
6
+ export declare const MessageComposer: {
7
+ encoded: {
8
+ increaseCount(value: MsgIncreaseCounter): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ };
13
+ withTypeUrl: {
14
+ increaseCount(value: MsgIncreaseCounter): {
15
+ typeUrl: string;
16
+ value: MsgIncreaseCounter;
17
+ };
18
+ };
19
+ fromPartial: {
20
+ increaseCount(value: MsgIncreaseCounter): {
21
+ typeUrl: string;
22
+ value: MsgIncreaseCounter;
23
+ };
24
+ };
25
+ };
@@ -1,5 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.registry = void 0;
3
+ exports.MessageComposer = exports.load = exports.registry = void 0;
4
4
  const tx_1 = require("./tx");
5
5
  exports.registry = [["/cosmos.counter.v1.MsgIncreaseCounter", tx_1.MsgIncreaseCounter]];
6
+ const load = (protoRegistry) => {
7
+ exports.registry.forEach(([typeUrl, mod]) => {
8
+ protoRegistry.register(typeUrl, mod);
9
+ });
10
+ };
11
+ exports.load = load;
12
+ exports.MessageComposer = {
13
+ encoded: {
14
+ increaseCount(value) {
15
+ return {
16
+ typeUrl: "/cosmos.counter.v1.MsgIncreaseCounter",
17
+ value: tx_1.MsgIncreaseCounter.encode(value).finish()
18
+ };
19
+ }
20
+ },
21
+ withTypeUrl: {
22
+ increaseCount(value) {
23
+ return {
24
+ typeUrl: "/cosmos.counter.v1.MsgIncreaseCounter",
25
+ value
26
+ };
27
+ }
28
+ },
29
+ fromPartial: {
30
+ increaseCount(value) {
31
+ return {
32
+ typeUrl: "/cosmos.counter.v1.MsgIncreaseCounter",
33
+ value: tx_1.MsgIncreaseCounter.fromPartial(value)
34
+ };
35
+ }
36
+ }
37
+ };
@@ -1,2 +1,97 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
2
4
  export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
5
+ export declare const load: (protoRegistry: Registry) => void;
6
+ export declare const MessageComposer: {
7
+ encoded: {
8
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
13
+ typeUrl: string;
14
+ value: Uint8Array<ArrayBufferLike>;
15
+ };
16
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
17
+ typeUrl: string;
18
+ value: Uint8Array<ArrayBufferLike>;
19
+ };
20
+ fundCommunityPool(value: MsgFundCommunityPool): {
21
+ typeUrl: string;
22
+ value: Uint8Array<ArrayBufferLike>;
23
+ };
24
+ updateParams(value: MsgUpdateParams): {
25
+ typeUrl: string;
26
+ value: Uint8Array<ArrayBufferLike>;
27
+ };
28
+ communityPoolSpend(value: MsgCommunityPoolSpend): {
29
+ typeUrl: string;
30
+ value: Uint8Array<ArrayBufferLike>;
31
+ };
32
+ depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
33
+ typeUrl: string;
34
+ value: Uint8Array<ArrayBufferLike>;
35
+ };
36
+ };
37
+ withTypeUrl: {
38
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
39
+ typeUrl: string;
40
+ value: MsgSetWithdrawAddress;
41
+ };
42
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
43
+ typeUrl: string;
44
+ value: MsgWithdrawDelegatorReward;
45
+ };
46
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
47
+ typeUrl: string;
48
+ value: MsgWithdrawValidatorCommission;
49
+ };
50
+ fundCommunityPool(value: MsgFundCommunityPool): {
51
+ typeUrl: string;
52
+ value: MsgFundCommunityPool;
53
+ };
54
+ updateParams(value: MsgUpdateParams): {
55
+ typeUrl: string;
56
+ value: MsgUpdateParams;
57
+ };
58
+ communityPoolSpend(value: MsgCommunityPoolSpend): {
59
+ typeUrl: string;
60
+ value: MsgCommunityPoolSpend;
61
+ };
62
+ depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
63
+ typeUrl: string;
64
+ value: MsgDepositValidatorRewardsPool;
65
+ };
66
+ };
67
+ fromPartial: {
68
+ setWithdrawAddress(value: MsgSetWithdrawAddress): {
69
+ typeUrl: string;
70
+ value: MsgSetWithdrawAddress;
71
+ };
72
+ withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
73
+ typeUrl: string;
74
+ value: MsgWithdrawDelegatorReward;
75
+ };
76
+ withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
77
+ typeUrl: string;
78
+ value: MsgWithdrawValidatorCommission;
79
+ };
80
+ fundCommunityPool(value: MsgFundCommunityPool): {
81
+ typeUrl: string;
82
+ value: MsgFundCommunityPool;
83
+ };
84
+ updateParams(value: MsgUpdateParams): {
85
+ typeUrl: string;
86
+ value: MsgUpdateParams;
87
+ };
88
+ communityPoolSpend(value: MsgCommunityPoolSpend): {
89
+ typeUrl: string;
90
+ value: MsgCommunityPoolSpend;
91
+ };
92
+ depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
93
+ typeUrl: string;
94
+ value: MsgDepositValidatorRewardsPool;
95
+ };
96
+ };
97
+ };
@@ -1,5 +1,145 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.registry = void 0;
3
+ exports.MessageComposer = exports.load = exports.registry = void 0;
4
4
  const tx_1 = require("./tx");
5
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
+ const load = (protoRegistry) => {
7
+ exports.registry.forEach(([typeUrl, mod]) => {
8
+ protoRegistry.register(typeUrl, mod);
9
+ });
10
+ };
11
+ exports.load = load;
12
+ exports.MessageComposer = {
13
+ encoded: {
14
+ setWithdrawAddress(value) {
15
+ return {
16
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
17
+ value: tx_1.MsgSetWithdrawAddress.encode(value).finish()
18
+ };
19
+ },
20
+ withdrawDelegatorReward(value) {
21
+ return {
22
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
23
+ value: tx_1.MsgWithdrawDelegatorReward.encode(value).finish()
24
+ };
25
+ },
26
+ withdrawValidatorCommission(value) {
27
+ return {
28
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
29
+ value: tx_1.MsgWithdrawValidatorCommission.encode(value).finish()
30
+ };
31
+ },
32
+ fundCommunityPool(value) {
33
+ return {
34
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
35
+ value: tx_1.MsgFundCommunityPool.encode(value).finish()
36
+ };
37
+ },
38
+ updateParams(value) {
39
+ return {
40
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
41
+ value: tx_1.MsgUpdateParams.encode(value).finish()
42
+ };
43
+ },
44
+ communityPoolSpend(value) {
45
+ return {
46
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
47
+ value: tx_1.MsgCommunityPoolSpend.encode(value).finish()
48
+ };
49
+ },
50
+ depositValidatorRewardsPool(value) {
51
+ return {
52
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
53
+ value: tx_1.MsgDepositValidatorRewardsPool.encode(value).finish()
54
+ };
55
+ }
56
+ },
57
+ withTypeUrl: {
58
+ setWithdrawAddress(value) {
59
+ return {
60
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
61
+ value
62
+ };
63
+ },
64
+ withdrawDelegatorReward(value) {
65
+ return {
66
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
67
+ value
68
+ };
69
+ },
70
+ withdrawValidatorCommission(value) {
71
+ return {
72
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
73
+ value
74
+ };
75
+ },
76
+ fundCommunityPool(value) {
77
+ return {
78
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
79
+ value
80
+ };
81
+ },
82
+ updateParams(value) {
83
+ return {
84
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
85
+ value
86
+ };
87
+ },
88
+ communityPoolSpend(value) {
89
+ return {
90
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
91
+ value
92
+ };
93
+ },
94
+ depositValidatorRewardsPool(value) {
95
+ return {
96
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
97
+ value
98
+ };
99
+ }
100
+ },
101
+ fromPartial: {
102
+ setWithdrawAddress(value) {
103
+ return {
104
+ typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
105
+ value: tx_1.MsgSetWithdrawAddress.fromPartial(value)
106
+ };
107
+ },
108
+ withdrawDelegatorReward(value) {
109
+ return {
110
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
111
+ value: tx_1.MsgWithdrawDelegatorReward.fromPartial(value)
112
+ };
113
+ },
114
+ withdrawValidatorCommission(value) {
115
+ return {
116
+ typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
117
+ value: tx_1.MsgWithdrawValidatorCommission.fromPartial(value)
118
+ };
119
+ },
120
+ fundCommunityPool(value) {
121
+ return {
122
+ typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
123
+ value: tx_1.MsgFundCommunityPool.fromPartial(value)
124
+ };
125
+ },
126
+ updateParams(value) {
127
+ return {
128
+ typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
129
+ value: tx_1.MsgUpdateParams.fromPartial(value)
130
+ };
131
+ },
132
+ communityPoolSpend(value) {
133
+ return {
134
+ typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
135
+ value: tx_1.MsgCommunityPoolSpend.fromPartial(value)
136
+ };
137
+ },
138
+ depositValidatorRewardsPool(value) {
139
+ return {
140
+ typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
141
+ value: tx_1.MsgDepositValidatorRewardsPool.fromPartial(value)
142
+ };
143
+ }
144
+ }
145
+ };
@@ -1,2 +1,49 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
2
4
  export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
5
+ export declare const load: (protoRegistry: Registry) => void;
6
+ export declare const MessageComposer: {
7
+ encoded: {
8
+ grantAllowance(value: MsgGrantAllowance): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ revokeAllowance(value: MsgRevokeAllowance): {
13
+ typeUrl: string;
14
+ value: Uint8Array<ArrayBufferLike>;
15
+ };
16
+ pruneAllowances(value: MsgPruneAllowances): {
17
+ typeUrl: string;
18
+ value: Uint8Array<ArrayBufferLike>;
19
+ };
20
+ };
21
+ withTypeUrl: {
22
+ grantAllowance(value: MsgGrantAllowance): {
23
+ typeUrl: string;
24
+ value: MsgGrantAllowance;
25
+ };
26
+ revokeAllowance(value: MsgRevokeAllowance): {
27
+ typeUrl: string;
28
+ value: MsgRevokeAllowance;
29
+ };
30
+ pruneAllowances(value: MsgPruneAllowances): {
31
+ typeUrl: string;
32
+ value: MsgPruneAllowances;
33
+ };
34
+ };
35
+ fromPartial: {
36
+ grantAllowance(value: MsgGrantAllowance): {
37
+ typeUrl: string;
38
+ value: MsgGrantAllowance;
39
+ };
40
+ revokeAllowance(value: MsgRevokeAllowance): {
41
+ typeUrl: string;
42
+ value: MsgRevokeAllowance;
43
+ };
44
+ pruneAllowances(value: MsgPruneAllowances): {
45
+ typeUrl: string;
46
+ value: MsgPruneAllowances;
47
+ };
48
+ };
49
+ };
@@ -1,5 +1,73 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.registry = void 0;
3
+ exports.MessageComposer = exports.load = exports.registry = void 0;
4
4
  const tx_1 = require("./tx");
5
5
  exports.registry = [["/cosmos.feegrant.v1beta1.MsgGrantAllowance", tx_1.MsgGrantAllowance], ["/cosmos.feegrant.v1beta1.MsgRevokeAllowance", tx_1.MsgRevokeAllowance], ["/cosmos.feegrant.v1beta1.MsgPruneAllowances", tx_1.MsgPruneAllowances]];
6
+ const load = (protoRegistry) => {
7
+ exports.registry.forEach(([typeUrl, mod]) => {
8
+ protoRegistry.register(typeUrl, mod);
9
+ });
10
+ };
11
+ exports.load = load;
12
+ exports.MessageComposer = {
13
+ encoded: {
14
+ grantAllowance(value) {
15
+ return {
16
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
17
+ value: tx_1.MsgGrantAllowance.encode(value).finish()
18
+ };
19
+ },
20
+ revokeAllowance(value) {
21
+ return {
22
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
23
+ value: tx_1.MsgRevokeAllowance.encode(value).finish()
24
+ };
25
+ },
26
+ pruneAllowances(value) {
27
+ return {
28
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
29
+ value: tx_1.MsgPruneAllowances.encode(value).finish()
30
+ };
31
+ }
32
+ },
33
+ withTypeUrl: {
34
+ grantAllowance(value) {
35
+ return {
36
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
37
+ value
38
+ };
39
+ },
40
+ revokeAllowance(value) {
41
+ return {
42
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
43
+ value
44
+ };
45
+ },
46
+ pruneAllowances(value) {
47
+ return {
48
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
49
+ value
50
+ };
51
+ }
52
+ },
53
+ fromPartial: {
54
+ grantAllowance(value) {
55
+ return {
56
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
57
+ value: tx_1.MsgGrantAllowance.fromPartial(value)
58
+ };
59
+ },
60
+ revokeAllowance(value) {
61
+ return {
62
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
63
+ value: tx_1.MsgRevokeAllowance.fromPartial(value)
64
+ };
65
+ },
66
+ pruneAllowances(value) {
67
+ return {
68
+ typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
69
+ value: tx_1.MsgPruneAllowances.fromPartial(value)
70
+ };
71
+ }
72
+ }
73
+ };
@@ -1,2 +1,97 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx";
2
4
  export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
5
+ export declare const load: (protoRegistry: Registry) => void;
6
+ export declare const MessageComposer: {
7
+ encoded: {
8
+ submitProposal(value: MsgSubmitProposal): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ execLegacyContent(value: MsgExecLegacyContent): {
13
+ typeUrl: string;
14
+ value: Uint8Array<ArrayBufferLike>;
15
+ };
16
+ vote(value: MsgVote): {
17
+ typeUrl: string;
18
+ value: Uint8Array<ArrayBufferLike>;
19
+ };
20
+ voteWeighted(value: MsgVoteWeighted): {
21
+ typeUrl: string;
22
+ value: Uint8Array<ArrayBufferLike>;
23
+ };
24
+ deposit(value: MsgDeposit): {
25
+ typeUrl: string;
26
+ value: Uint8Array<ArrayBufferLike>;
27
+ };
28
+ updateParams(value: MsgUpdateParams): {
29
+ typeUrl: string;
30
+ value: Uint8Array<ArrayBufferLike>;
31
+ };
32
+ cancelProposal(value: MsgCancelProposal): {
33
+ typeUrl: string;
34
+ value: Uint8Array<ArrayBufferLike>;
35
+ };
36
+ };
37
+ withTypeUrl: {
38
+ submitProposal(value: MsgSubmitProposal): {
39
+ typeUrl: string;
40
+ value: MsgSubmitProposal;
41
+ };
42
+ execLegacyContent(value: MsgExecLegacyContent): {
43
+ typeUrl: string;
44
+ value: MsgExecLegacyContent;
45
+ };
46
+ vote(value: MsgVote): {
47
+ typeUrl: string;
48
+ value: MsgVote;
49
+ };
50
+ voteWeighted(value: MsgVoteWeighted): {
51
+ typeUrl: string;
52
+ value: MsgVoteWeighted;
53
+ };
54
+ deposit(value: MsgDeposit): {
55
+ typeUrl: string;
56
+ value: MsgDeposit;
57
+ };
58
+ updateParams(value: MsgUpdateParams): {
59
+ typeUrl: string;
60
+ value: MsgUpdateParams;
61
+ };
62
+ cancelProposal(value: MsgCancelProposal): {
63
+ typeUrl: string;
64
+ value: MsgCancelProposal;
65
+ };
66
+ };
67
+ fromPartial: {
68
+ submitProposal(value: MsgSubmitProposal): {
69
+ typeUrl: string;
70
+ value: MsgSubmitProposal;
71
+ };
72
+ execLegacyContent(value: MsgExecLegacyContent): {
73
+ typeUrl: string;
74
+ value: MsgExecLegacyContent;
75
+ };
76
+ vote(value: MsgVote): {
77
+ typeUrl: string;
78
+ value: MsgVote;
79
+ };
80
+ voteWeighted(value: MsgVoteWeighted): {
81
+ typeUrl: string;
82
+ value: MsgVoteWeighted;
83
+ };
84
+ deposit(value: MsgDeposit): {
85
+ typeUrl: string;
86
+ value: MsgDeposit;
87
+ };
88
+ updateParams(value: MsgUpdateParams): {
89
+ typeUrl: string;
90
+ value: MsgUpdateParams;
91
+ };
92
+ cancelProposal(value: MsgCancelProposal): {
93
+ typeUrl: string;
94
+ value: MsgCancelProposal;
95
+ };
96
+ };
97
+ };