@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.auth.v1beta1.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.auth.v1beta1.MsgUpdateParams",
17
+ value: tx_1.MsgUpdateParams.encode(value).finish()
18
+ };
19
+ }
20
+ },
21
+ withTypeUrl: {
22
+ updateParams(value) {
23
+ return {
24
+ typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
25
+ value
26
+ };
27
+ }
28
+ },
29
+ fromPartial: {
30
+ updateParams(value) {
31
+ return {
32
+ typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
33
+ value: tx_1.MsgUpdateParams.fromPartial(value)
34
+ };
35
+ }
36
+ }
37
+ };
@@ -1,2 +1,49 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgGrant, MsgExec, MsgRevoke } 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
+ grant(value: MsgGrant): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ exec(value: MsgExec): {
13
+ typeUrl: string;
14
+ value: Uint8Array<ArrayBufferLike>;
15
+ };
16
+ revoke(value: MsgRevoke): {
17
+ typeUrl: string;
18
+ value: Uint8Array<ArrayBufferLike>;
19
+ };
20
+ };
21
+ withTypeUrl: {
22
+ grant(value: MsgGrant): {
23
+ typeUrl: string;
24
+ value: MsgGrant;
25
+ };
26
+ exec(value: MsgExec): {
27
+ typeUrl: string;
28
+ value: MsgExec;
29
+ };
30
+ revoke(value: MsgRevoke): {
31
+ typeUrl: string;
32
+ value: MsgRevoke;
33
+ };
34
+ };
35
+ fromPartial: {
36
+ grant(value: MsgGrant): {
37
+ typeUrl: string;
38
+ value: MsgGrant;
39
+ };
40
+ exec(value: MsgExec): {
41
+ typeUrl: string;
42
+ value: MsgExec;
43
+ };
44
+ revoke(value: MsgRevoke): {
45
+ typeUrl: string;
46
+ value: MsgRevoke;
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.authz.v1beta1.MsgGrant", tx_1.MsgGrant], ["/cosmos.authz.v1beta1.MsgExec", tx_1.MsgExec], ["/cosmos.authz.v1beta1.MsgRevoke", tx_1.MsgRevoke]];
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
+ grant(value) {
15
+ return {
16
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
17
+ value: tx_1.MsgGrant.encode(value).finish()
18
+ };
19
+ },
20
+ exec(value) {
21
+ return {
22
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
23
+ value: tx_1.MsgExec.encode(value).finish()
24
+ };
25
+ },
26
+ revoke(value) {
27
+ return {
28
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
29
+ value: tx_1.MsgRevoke.encode(value).finish()
30
+ };
31
+ }
32
+ },
33
+ withTypeUrl: {
34
+ grant(value) {
35
+ return {
36
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
37
+ value
38
+ };
39
+ },
40
+ exec(value) {
41
+ return {
42
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
43
+ value
44
+ };
45
+ },
46
+ revoke(value) {
47
+ return {
48
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
49
+ value
50
+ };
51
+ }
52
+ },
53
+ fromPartial: {
54
+ grant(value) {
55
+ return {
56
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
57
+ value: tx_1.MsgGrant.fromPartial(value)
58
+ };
59
+ },
60
+ exec(value) {
61
+ return {
62
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
63
+ value: tx_1.MsgExec.fromPartial(value)
64
+ };
65
+ },
66
+ revoke(value) {
67
+ return {
68
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
69
+ value: tx_1.MsgRevoke.fromPartial(value)
70
+ };
71
+ }
72
+ }
73
+ };
@@ -1,2 +1,61 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } 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
+ send(value: MsgSend): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ multiSend(value: MsgMultiSend): {
13
+ typeUrl: string;
14
+ value: Uint8Array<ArrayBufferLike>;
15
+ };
16
+ updateParams(value: MsgUpdateParams): {
17
+ typeUrl: string;
18
+ value: Uint8Array<ArrayBufferLike>;
19
+ };
20
+ setSendEnabled(value: MsgSetSendEnabled): {
21
+ typeUrl: string;
22
+ value: Uint8Array<ArrayBufferLike>;
23
+ };
24
+ };
25
+ withTypeUrl: {
26
+ send(value: MsgSend): {
27
+ typeUrl: string;
28
+ value: MsgSend;
29
+ };
30
+ multiSend(value: MsgMultiSend): {
31
+ typeUrl: string;
32
+ value: MsgMultiSend;
33
+ };
34
+ updateParams(value: MsgUpdateParams): {
35
+ typeUrl: string;
36
+ value: MsgUpdateParams;
37
+ };
38
+ setSendEnabled(value: MsgSetSendEnabled): {
39
+ typeUrl: string;
40
+ value: MsgSetSendEnabled;
41
+ };
42
+ };
43
+ fromPartial: {
44
+ send(value: MsgSend): {
45
+ typeUrl: string;
46
+ value: MsgSend;
47
+ };
48
+ multiSend(value: MsgMultiSend): {
49
+ typeUrl: string;
50
+ value: MsgMultiSend;
51
+ };
52
+ updateParams(value: MsgUpdateParams): {
53
+ typeUrl: string;
54
+ value: MsgUpdateParams;
55
+ };
56
+ setSendEnabled(value: MsgSetSendEnabled): {
57
+ typeUrl: string;
58
+ value: MsgSetSendEnabled;
59
+ };
60
+ };
61
+ };
@@ -1,5 +1,91 @@
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.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
+ 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
+ send(value) {
15
+ return {
16
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
17
+ value: tx_1.MsgSend.encode(value).finish()
18
+ };
19
+ },
20
+ multiSend(value) {
21
+ return {
22
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
23
+ value: tx_1.MsgMultiSend.encode(value).finish()
24
+ };
25
+ },
26
+ updateParams(value) {
27
+ return {
28
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
29
+ value: tx_1.MsgUpdateParams.encode(value).finish()
30
+ };
31
+ },
32
+ setSendEnabled(value) {
33
+ return {
34
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
35
+ value: tx_1.MsgSetSendEnabled.encode(value).finish()
36
+ };
37
+ }
38
+ },
39
+ withTypeUrl: {
40
+ send(value) {
41
+ return {
42
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
43
+ value
44
+ };
45
+ },
46
+ multiSend(value) {
47
+ return {
48
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
49
+ value
50
+ };
51
+ },
52
+ updateParams(value) {
53
+ return {
54
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
55
+ value
56
+ };
57
+ },
58
+ setSendEnabled(value) {
59
+ return {
60
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
61
+ value
62
+ };
63
+ }
64
+ },
65
+ fromPartial: {
66
+ send(value) {
67
+ return {
68
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
69
+ value: tx_1.MsgSend.fromPartial(value)
70
+ };
71
+ },
72
+ multiSend(value) {
73
+ return {
74
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
75
+ value: tx_1.MsgMultiSend.fromPartial(value)
76
+ };
77
+ },
78
+ updateParams(value) {
79
+ return {
80
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
81
+ value: tx_1.MsgUpdateParams.fromPartial(value)
82
+ };
83
+ },
84
+ setSendEnabled(value) {
85
+ return {
86
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
87
+ value: tx_1.MsgSetSendEnabled.fromPartial(value)
88
+ };
89
+ }
90
+ }
91
+ };
@@ -1,2 +1,25 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgLoadTest } 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
+ loadTest(value: MsgLoadTest): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ };
13
+ withTypeUrl: {
14
+ loadTest(value: MsgLoadTest): {
15
+ typeUrl: string;
16
+ value: MsgLoadTest;
17
+ };
18
+ };
19
+ fromPartial: {
20
+ loadTest(value: MsgLoadTest): {
21
+ typeUrl: string;
22
+ value: MsgLoadTest;
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.benchmark.v1.MsgLoadTest", tx_1.MsgLoadTest]];
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
+ loadTest(value) {
15
+ return {
16
+ typeUrl: "/cosmos.benchmark.v1.MsgLoadTest",
17
+ value: tx_1.MsgLoadTest.encode(value).finish()
18
+ };
19
+ }
20
+ },
21
+ withTypeUrl: {
22
+ loadTest(value) {
23
+ return {
24
+ typeUrl: "/cosmos.benchmark.v1.MsgLoadTest",
25
+ value
26
+ };
27
+ }
28
+ },
29
+ fromPartial: {
30
+ loadTest(value) {
31
+ return {
32
+ typeUrl: "/cosmos.benchmark.v1.MsgLoadTest",
33
+ value: tx_1.MsgLoadTest.fromPartial(value)
34
+ };
35
+ }
36
+ }
37
+ };