@sparkdreamnft/sparkdreamjs 0.0.4 → 0.0.5

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 (88) 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 +957 -0
  10. package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
  11. package/cosmos/circuit/v1/tx.registry.js +69 -1
  12. package/cosmos/consensus/v1/tx.registry.d.ts +23 -0
  13. package/cosmos/consensus/v1/tx.registry.js +33 -1
  14. package/cosmos/counter/v1/tx.registry.d.ts +23 -0
  15. package/cosmos/counter/v1/tx.registry.js +33 -1
  16. package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
  17. package/cosmos/distribution/v1beta1/tx.registry.js +141 -1
  18. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
  19. package/cosmos/feegrant/v1beta1/tx.registry.js +69 -1
  20. package/cosmos/gov/v1/tx.registry.d.ts +95 -0
  21. package/cosmos/gov/v1/tx.registry.js +141 -1
  22. package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
  23. package/cosmos/gov/v1beta1/tx.registry.js +87 -1
  24. package/cosmos/group/v1/tx.registry.d.ts +179 -0
  25. package/cosmos/group/v1/tx.registry.js +267 -1
  26. package/cosmos/mint/v1beta1/tx.registry.d.ts +23 -0
  27. package/cosmos/mint/v1beta1/tx.registry.js +33 -1
  28. package/cosmos/protocolpool/v1/tx.registry.d.ts +71 -0
  29. package/cosmos/protocolpool/v1/tx.registry.js +105 -1
  30. package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
  31. package/cosmos/staking/v1beta1/tx.registry.js +141 -1
  32. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +35 -0
  33. package/cosmos/upgrade/v1beta1/tx.registry.js +51 -1
  34. package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
  35. package/cosmos/vesting/v1beta1/tx.registry.js +69 -1
  36. package/esm/cosmos/auth/v1beta1/tx.registry.js +31 -0
  37. package/esm/cosmos/authz/v1beta1/tx.registry.js +67 -0
  38. package/esm/cosmos/bank/v1beta1/tx.registry.js +85 -0
  39. package/esm/cosmos/benchmark/v1/tx.registry.js +31 -0
  40. package/esm/cosmos/circuit/v1/tx.registry.js +67 -0
  41. package/esm/cosmos/consensus/v1/tx.registry.js +31 -0
  42. package/esm/cosmos/counter/v1/tx.registry.js +31 -0
  43. package/esm/cosmos/distribution/v1beta1/tx.registry.js +139 -0
  44. package/esm/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
  45. package/esm/cosmos/gov/v1/tx.registry.js +139 -0
  46. package/esm/cosmos/gov/v1beta1/tx.registry.js +85 -0
  47. package/esm/cosmos/group/v1/tx.registry.js +265 -0
  48. package/esm/cosmos/mint/v1beta1/tx.registry.js +31 -0
  49. package/esm/cosmos/protocolpool/v1/tx.registry.js +103 -0
  50. package/esm/cosmos/staking/v1beta1/tx.registry.js +139 -0
  51. package/esm/cosmos/upgrade/v1beta1/tx.registry.js +49 -0
  52. package/esm/cosmos/vesting/v1beta1/tx.registry.js +67 -0
  53. package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +67 -0
  54. package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +49 -0
  55. package/esm/ibc/applications/transfer/v1/tx.registry.js +49 -0
  56. package/esm/ibc/core/channel/v1/tx.registry.js +193 -0
  57. package/esm/ibc/core/channel/v2/tx.registry.js +85 -0
  58. package/esm/ibc/core/client/v1/tx.registry.js +157 -0
  59. package/esm/ibc/core/client/v2/tx.registry.js +49 -0
  60. package/esm/ibc/core/connection/v1/tx.registry.js +103 -0
  61. package/esm/ibc/lightclients/wasm/v1/tx.registry.js +67 -0
  62. package/esm/sparkdream/blog/tx.registry.js +85 -0
  63. package/esm/sparkdream/sparkdream/tx.registry.js +31 -0
  64. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +47 -0
  65. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +69 -1
  66. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +35 -0
  67. package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +51 -1
  68. package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
  69. package/ibc/applications/transfer/v1/tx.registry.js +51 -1
  70. package/ibc/bundle.d.ts +549 -0
  71. package/ibc/core/channel/v1/tx.registry.d.ts +131 -0
  72. package/ibc/core/channel/v1/tx.registry.js +195 -1
  73. package/ibc/core/channel/v2/tx.registry.d.ts +59 -0
  74. package/ibc/core/channel/v2/tx.registry.js +87 -1
  75. package/ibc/core/client/v1/tx.registry.d.ts +107 -0
  76. package/ibc/core/client/v1/tx.registry.js +159 -1
  77. package/ibc/core/client/v2/tx.registry.d.ts +35 -0
  78. package/ibc/core/client/v2/tx.registry.js +51 -1
  79. package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
  80. package/ibc/core/connection/v1/tx.registry.js +105 -1
  81. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +47 -0
  82. package/ibc/lightclients/wasm/v1/tx.registry.js +69 -1
  83. package/package.json +1 -1
  84. package/sparkdream/blog/tx.registry.d.ts +59 -0
  85. package/sparkdream/blog/tx.registry.js +87 -1
  86. package/sparkdream/bundle.d.ts +78 -0
  87. package/sparkdream/sparkdream/tx.registry.d.ts +23 -0
  88. package/sparkdream/sparkdream/tx.registry.js +33 -1
@@ -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
+ };