@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,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.staking.v1beta1.MsgCreateValidator", tx_1.MsgCreateValidator], ["/cosmos.staking.v1beta1.MsgEditValidator", tx_1.MsgEditValidator], ["/cosmos.staking.v1beta1.MsgDelegate", tx_1.MsgDelegate], ["/cosmos.staking.v1beta1.MsgBeginRedelegate", tx_1.MsgBeginRedelegate], ["/cosmos.staking.v1beta1.MsgUndelegate", tx_1.MsgUndelegate], ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", tx_1.MsgCancelUnbondingDelegation], ["/cosmos.staking.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
+ createValidator(value) {
15
+ return {
16
+ typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
17
+ value: tx_1.MsgCreateValidator.encode(value).finish()
18
+ };
19
+ },
20
+ editValidator(value) {
21
+ return {
22
+ typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
23
+ value: tx_1.MsgEditValidator.encode(value).finish()
24
+ };
25
+ },
26
+ delegate(value) {
27
+ return {
28
+ typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
29
+ value: tx_1.MsgDelegate.encode(value).finish()
30
+ };
31
+ },
32
+ beginRedelegate(value) {
33
+ return {
34
+ typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
35
+ value: tx_1.MsgBeginRedelegate.encode(value).finish()
36
+ };
37
+ },
38
+ undelegate(value) {
39
+ return {
40
+ typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
41
+ value: tx_1.MsgUndelegate.encode(value).finish()
42
+ };
43
+ },
44
+ cancelUnbondingDelegation(value) {
45
+ return {
46
+ typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
47
+ value: tx_1.MsgCancelUnbondingDelegation.encode(value).finish()
48
+ };
49
+ },
50
+ updateParams(value) {
51
+ return {
52
+ typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
53
+ value: tx_1.MsgUpdateParams.encode(value).finish()
54
+ };
55
+ }
56
+ },
57
+ withTypeUrl: {
58
+ createValidator(value) {
59
+ return {
60
+ typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
61
+ value
62
+ };
63
+ },
64
+ editValidator(value) {
65
+ return {
66
+ typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
67
+ value
68
+ };
69
+ },
70
+ delegate(value) {
71
+ return {
72
+ typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
73
+ value
74
+ };
75
+ },
76
+ beginRedelegate(value) {
77
+ return {
78
+ typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
79
+ value
80
+ };
81
+ },
82
+ undelegate(value) {
83
+ return {
84
+ typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
85
+ value
86
+ };
87
+ },
88
+ cancelUnbondingDelegation(value) {
89
+ return {
90
+ typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
91
+ value
92
+ };
93
+ },
94
+ updateParams(value) {
95
+ return {
96
+ typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
97
+ value
98
+ };
99
+ }
100
+ },
101
+ fromPartial: {
102
+ createValidator(value) {
103
+ return {
104
+ typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
105
+ value: tx_1.MsgCreateValidator.fromPartial(value)
106
+ };
107
+ },
108
+ editValidator(value) {
109
+ return {
110
+ typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
111
+ value: tx_1.MsgEditValidator.fromPartial(value)
112
+ };
113
+ },
114
+ delegate(value) {
115
+ return {
116
+ typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
117
+ value: tx_1.MsgDelegate.fromPartial(value)
118
+ };
119
+ },
120
+ beginRedelegate(value) {
121
+ return {
122
+ typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
123
+ value: tx_1.MsgBeginRedelegate.fromPartial(value)
124
+ };
125
+ },
126
+ undelegate(value) {
127
+ return {
128
+ typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
129
+ value: tx_1.MsgUndelegate.fromPartial(value)
130
+ };
131
+ },
132
+ cancelUnbondingDelegation(value) {
133
+ return {
134
+ typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
135
+ value: tx_1.MsgCancelUnbondingDelegation.fromPartial(value)
136
+ };
137
+ },
138
+ updateParams(value) {
139
+ return {
140
+ typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
141
+ value: tx_1.MsgUpdateParams.fromPartial(value)
142
+ };
143
+ }
144
+ }
145
+ };
@@ -1,2 +1,37 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgSoftwareUpgrade, MsgCancelUpgrade } 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
+ softwareUpgrade(value: MsgSoftwareUpgrade): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ cancelUpgrade(value: MsgCancelUpgrade): {
13
+ typeUrl: string;
14
+ value: Uint8Array<ArrayBufferLike>;
15
+ };
16
+ };
17
+ withTypeUrl: {
18
+ softwareUpgrade(value: MsgSoftwareUpgrade): {
19
+ typeUrl: string;
20
+ value: MsgSoftwareUpgrade;
21
+ };
22
+ cancelUpgrade(value: MsgCancelUpgrade): {
23
+ typeUrl: string;
24
+ value: MsgCancelUpgrade;
25
+ };
26
+ };
27
+ fromPartial: {
28
+ softwareUpgrade(value: MsgSoftwareUpgrade): {
29
+ typeUrl: string;
30
+ value: MsgSoftwareUpgrade;
31
+ };
32
+ cancelUpgrade(value: MsgCancelUpgrade): {
33
+ typeUrl: string;
34
+ value: MsgCancelUpgrade;
35
+ };
36
+ };
37
+ };
@@ -1,5 +1,55 @@
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.upgrade.v1beta1.MsgSoftwareUpgrade", tx_1.MsgSoftwareUpgrade], ["/cosmos.upgrade.v1beta1.MsgCancelUpgrade", tx_1.MsgCancelUpgrade]];
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
+ softwareUpgrade(value) {
15
+ return {
16
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
17
+ value: tx_1.MsgSoftwareUpgrade.encode(value).finish()
18
+ };
19
+ },
20
+ cancelUpgrade(value) {
21
+ return {
22
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
23
+ value: tx_1.MsgCancelUpgrade.encode(value).finish()
24
+ };
25
+ }
26
+ },
27
+ withTypeUrl: {
28
+ softwareUpgrade(value) {
29
+ return {
30
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
31
+ value
32
+ };
33
+ },
34
+ cancelUpgrade(value) {
35
+ return {
36
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
37
+ value
38
+ };
39
+ }
40
+ },
41
+ fromPartial: {
42
+ softwareUpgrade(value) {
43
+ return {
44
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
45
+ value: tx_1.MsgSoftwareUpgrade.fromPartial(value)
46
+ };
47
+ },
48
+ cancelUpgrade(value) {
49
+ return {
50
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
51
+ value: tx_1.MsgCancelUpgrade.fromPartial(value)
52
+ };
53
+ }
54
+ }
55
+ };
@@ -1,2 +1,49 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
+ import { Registry } from "@cosmjs/proto-signing";
3
+ import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } 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
+ createVestingAccount(value: MsgCreateVestingAccount): {
9
+ typeUrl: string;
10
+ value: Uint8Array<ArrayBufferLike>;
11
+ };
12
+ createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): {
13
+ typeUrl: string;
14
+ value: Uint8Array<ArrayBufferLike>;
15
+ };
16
+ createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): {
17
+ typeUrl: string;
18
+ value: Uint8Array<ArrayBufferLike>;
19
+ };
20
+ };
21
+ withTypeUrl: {
22
+ createVestingAccount(value: MsgCreateVestingAccount): {
23
+ typeUrl: string;
24
+ value: MsgCreateVestingAccount;
25
+ };
26
+ createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): {
27
+ typeUrl: string;
28
+ value: MsgCreatePermanentLockedAccount;
29
+ };
30
+ createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): {
31
+ typeUrl: string;
32
+ value: MsgCreatePeriodicVestingAccount;
33
+ };
34
+ };
35
+ fromPartial: {
36
+ createVestingAccount(value: MsgCreateVestingAccount): {
37
+ typeUrl: string;
38
+ value: MsgCreateVestingAccount;
39
+ };
40
+ createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): {
41
+ typeUrl: string;
42
+ value: MsgCreatePermanentLockedAccount;
43
+ };
44
+ createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): {
45
+ typeUrl: string;
46
+ value: MsgCreatePeriodicVestingAccount;
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.vesting.v1beta1.MsgCreateVestingAccount", tx_1.MsgCreateVestingAccount], ["/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", tx_1.MsgCreatePermanentLockedAccount], ["/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", tx_1.MsgCreatePeriodicVestingAccount]];
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
+ createVestingAccount(value) {
15
+ return {
16
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
17
+ value: tx_1.MsgCreateVestingAccount.encode(value).finish()
18
+ };
19
+ },
20
+ createPermanentLockedAccount(value) {
21
+ return {
22
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount",
23
+ value: tx_1.MsgCreatePermanentLockedAccount.encode(value).finish()
24
+ };
25
+ },
26
+ createPeriodicVestingAccount(value) {
27
+ return {
28
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount",
29
+ value: tx_1.MsgCreatePeriodicVestingAccount.encode(value).finish()
30
+ };
31
+ }
32
+ },
33
+ withTypeUrl: {
34
+ createVestingAccount(value) {
35
+ return {
36
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
37
+ value
38
+ };
39
+ },
40
+ createPermanentLockedAccount(value) {
41
+ return {
42
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount",
43
+ value
44
+ };
45
+ },
46
+ createPeriodicVestingAccount(value) {
47
+ return {
48
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount",
49
+ value
50
+ };
51
+ }
52
+ },
53
+ fromPartial: {
54
+ createVestingAccount(value) {
55
+ return {
56
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
57
+ value: tx_1.MsgCreateVestingAccount.fromPartial(value)
58
+ };
59
+ },
60
+ createPermanentLockedAccount(value) {
61
+ return {
62
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount",
63
+ value: tx_1.MsgCreatePermanentLockedAccount.fromPartial(value)
64
+ };
65
+ },
66
+ createPeriodicVestingAccount(value) {
67
+ return {
68
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount",
69
+ value: tx_1.MsgCreatePeriodicVestingAccount.fromPartial(value)
70
+ };
71
+ }
72
+ }
73
+ };
@@ -1,2 +1,33 @@
1
1
  import { MsgUpdateParams } from "./tx";
2
2
  export const registry = [["/cosmos.auth.v1beta1.MsgUpdateParams", MsgUpdateParams]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ updateParams(value) {
11
+ return {
12
+ typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
13
+ value: MsgUpdateParams.encode(value).finish()
14
+ };
15
+ }
16
+ },
17
+ withTypeUrl: {
18
+ updateParams(value) {
19
+ return {
20
+ typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
21
+ value
22
+ };
23
+ }
24
+ },
25
+ fromPartial: {
26
+ updateParams(value) {
27
+ return {
28
+ typeUrl: "/cosmos.auth.v1beta1.MsgUpdateParams",
29
+ value: MsgUpdateParams.fromPartial(value)
30
+ };
31
+ }
32
+ }
33
+ };
@@ -1,2 +1,69 @@
1
1
  import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
2
2
  export const registry = [["/cosmos.authz.v1beta1.MsgGrant", MsgGrant], ["/cosmos.authz.v1beta1.MsgExec", MsgExec], ["/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ grant(value) {
11
+ return {
12
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
13
+ value: MsgGrant.encode(value).finish()
14
+ };
15
+ },
16
+ exec(value) {
17
+ return {
18
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
19
+ value: MsgExec.encode(value).finish()
20
+ };
21
+ },
22
+ revoke(value) {
23
+ return {
24
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
25
+ value: MsgRevoke.encode(value).finish()
26
+ };
27
+ }
28
+ },
29
+ withTypeUrl: {
30
+ grant(value) {
31
+ return {
32
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
33
+ value
34
+ };
35
+ },
36
+ exec(value) {
37
+ return {
38
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
39
+ value
40
+ };
41
+ },
42
+ revoke(value) {
43
+ return {
44
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
45
+ value
46
+ };
47
+ }
48
+ },
49
+ fromPartial: {
50
+ grant(value) {
51
+ return {
52
+ typeUrl: "/cosmos.authz.v1beta1.MsgGrant",
53
+ value: MsgGrant.fromPartial(value)
54
+ };
55
+ },
56
+ exec(value) {
57
+ return {
58
+ typeUrl: "/cosmos.authz.v1beta1.MsgExec",
59
+ value: MsgExec.fromPartial(value)
60
+ };
61
+ },
62
+ revoke(value) {
63
+ return {
64
+ typeUrl: "/cosmos.authz.v1beta1.MsgRevoke",
65
+ value: MsgRevoke.fromPartial(value)
66
+ };
67
+ }
68
+ }
69
+ };
@@ -1,2 +1,87 @@
1
1
  import { MsgSend, MsgMultiSend, MsgUpdateParams, MsgSetSendEnabled } from "./tx";
2
2
  export const registry = [["/cosmos.bank.v1beta1.MsgSend", MsgSend], ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend], ["/cosmos.bank.v1beta1.MsgUpdateParams", MsgUpdateParams], ["/cosmos.bank.v1beta1.MsgSetSendEnabled", MsgSetSendEnabled]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ send(value) {
11
+ return {
12
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
13
+ value: MsgSend.encode(value).finish()
14
+ };
15
+ },
16
+ multiSend(value) {
17
+ return {
18
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
19
+ value: MsgMultiSend.encode(value).finish()
20
+ };
21
+ },
22
+ updateParams(value) {
23
+ return {
24
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
25
+ value: MsgUpdateParams.encode(value).finish()
26
+ };
27
+ },
28
+ setSendEnabled(value) {
29
+ return {
30
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
31
+ value: MsgSetSendEnabled.encode(value).finish()
32
+ };
33
+ }
34
+ },
35
+ withTypeUrl: {
36
+ send(value) {
37
+ return {
38
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
39
+ value
40
+ };
41
+ },
42
+ multiSend(value) {
43
+ return {
44
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
45
+ value
46
+ };
47
+ },
48
+ updateParams(value) {
49
+ return {
50
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
51
+ value
52
+ };
53
+ },
54
+ setSendEnabled(value) {
55
+ return {
56
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
57
+ value
58
+ };
59
+ }
60
+ },
61
+ fromPartial: {
62
+ send(value) {
63
+ return {
64
+ typeUrl: "/cosmos.bank.v1beta1.MsgSend",
65
+ value: MsgSend.fromPartial(value)
66
+ };
67
+ },
68
+ multiSend(value) {
69
+ return {
70
+ typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend",
71
+ value: MsgMultiSend.fromPartial(value)
72
+ };
73
+ },
74
+ updateParams(value) {
75
+ return {
76
+ typeUrl: "/cosmos.bank.v1beta1.MsgUpdateParams",
77
+ value: MsgUpdateParams.fromPartial(value)
78
+ };
79
+ },
80
+ setSendEnabled(value) {
81
+ return {
82
+ typeUrl: "/cosmos.bank.v1beta1.MsgSetSendEnabled",
83
+ value: MsgSetSendEnabled.fromPartial(value)
84
+ };
85
+ }
86
+ }
87
+ };
@@ -1,2 +1,33 @@
1
1
  import { MsgLoadTest } from "./tx";
2
2
  export const registry = [["/cosmos.benchmark.v1.MsgLoadTest", MsgLoadTest]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ loadTest(value) {
11
+ return {
12
+ typeUrl: "/cosmos.benchmark.v1.MsgLoadTest",
13
+ value: MsgLoadTest.encode(value).finish()
14
+ };
15
+ }
16
+ },
17
+ withTypeUrl: {
18
+ loadTest(value) {
19
+ return {
20
+ typeUrl: "/cosmos.benchmark.v1.MsgLoadTest",
21
+ value
22
+ };
23
+ }
24
+ },
25
+ fromPartial: {
26
+ loadTest(value) {
27
+ return {
28
+ typeUrl: "/cosmos.benchmark.v1.MsgLoadTest",
29
+ value: MsgLoadTest.fromPartial(value)
30
+ };
31
+ }
32
+ }
33
+ };
@@ -1,2 +1,69 @@
1
1
  import { MsgAuthorizeCircuitBreaker, MsgTripCircuitBreaker, MsgResetCircuitBreaker } from "./tx";
2
2
  export const registry = [["/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker", MsgAuthorizeCircuitBreaker], ["/cosmos.circuit.v1.MsgTripCircuitBreaker", MsgTripCircuitBreaker], ["/cosmos.circuit.v1.MsgResetCircuitBreaker", MsgResetCircuitBreaker]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ authorizeCircuitBreaker(value) {
11
+ return {
12
+ typeUrl: "/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker",
13
+ value: MsgAuthorizeCircuitBreaker.encode(value).finish()
14
+ };
15
+ },
16
+ tripCircuitBreaker(value) {
17
+ return {
18
+ typeUrl: "/cosmos.circuit.v1.MsgTripCircuitBreaker",
19
+ value: MsgTripCircuitBreaker.encode(value).finish()
20
+ };
21
+ },
22
+ resetCircuitBreaker(value) {
23
+ return {
24
+ typeUrl: "/cosmos.circuit.v1.MsgResetCircuitBreaker",
25
+ value: MsgResetCircuitBreaker.encode(value).finish()
26
+ };
27
+ }
28
+ },
29
+ withTypeUrl: {
30
+ authorizeCircuitBreaker(value) {
31
+ return {
32
+ typeUrl: "/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker",
33
+ value
34
+ };
35
+ },
36
+ tripCircuitBreaker(value) {
37
+ return {
38
+ typeUrl: "/cosmos.circuit.v1.MsgTripCircuitBreaker",
39
+ value
40
+ };
41
+ },
42
+ resetCircuitBreaker(value) {
43
+ return {
44
+ typeUrl: "/cosmos.circuit.v1.MsgResetCircuitBreaker",
45
+ value
46
+ };
47
+ }
48
+ },
49
+ fromPartial: {
50
+ authorizeCircuitBreaker(value) {
51
+ return {
52
+ typeUrl: "/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker",
53
+ value: MsgAuthorizeCircuitBreaker.fromPartial(value)
54
+ };
55
+ },
56
+ tripCircuitBreaker(value) {
57
+ return {
58
+ typeUrl: "/cosmos.circuit.v1.MsgTripCircuitBreaker",
59
+ value: MsgTripCircuitBreaker.fromPartial(value)
60
+ };
61
+ },
62
+ resetCircuitBreaker(value) {
63
+ return {
64
+ typeUrl: "/cosmos.circuit.v1.MsgResetCircuitBreaker",
65
+ value: MsgResetCircuitBreaker.fromPartial(value)
66
+ };
67
+ }
68
+ }
69
+ };
@@ -1,2 +1,33 @@
1
1
  import { MsgUpdateParams } from "./tx";
2
2
  export const registry = [["/cosmos.consensus.v1.MsgUpdateParams", MsgUpdateParams]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ updateParams(value) {
11
+ return {
12
+ typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
13
+ value: MsgUpdateParams.encode(value).finish()
14
+ };
15
+ }
16
+ },
17
+ withTypeUrl: {
18
+ updateParams(value) {
19
+ return {
20
+ typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
21
+ value
22
+ };
23
+ }
24
+ },
25
+ fromPartial: {
26
+ updateParams(value) {
27
+ return {
28
+ typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
29
+ value: MsgUpdateParams.fromPartial(value)
30
+ };
31
+ }
32
+ }
33
+ };