@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,267 @@
1
1
  import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx";
2
2
  export const registry = [["/cosmos.group.v1.MsgCreateGroup", MsgCreateGroup], ["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers], ["/cosmos.group.v1.MsgUpdateGroupAdmin", MsgUpdateGroupAdmin], ["/cosmos.group.v1.MsgUpdateGroupMetadata", MsgUpdateGroupMetadata], ["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy], ["/cosmos.group.v1.MsgCreateGroupWithPolicy", MsgCreateGroupWithPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin], ["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", MsgUpdateGroupPolicyDecisionPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata], ["/cosmos.group.v1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.group.v1.MsgWithdrawProposal", MsgWithdrawProposal], ["/cosmos.group.v1.MsgVote", MsgVote], ["/cosmos.group.v1.MsgExec", MsgExec], ["/cosmos.group.v1.MsgLeaveGroup", MsgLeaveGroup]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ createGroup(value) {
11
+ return {
12
+ typeUrl: "/cosmos.group.v1.MsgCreateGroup",
13
+ value: MsgCreateGroup.encode(value).finish()
14
+ };
15
+ },
16
+ updateGroupMembers(value) {
17
+ return {
18
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
19
+ value: MsgUpdateGroupMembers.encode(value).finish()
20
+ };
21
+ },
22
+ updateGroupAdmin(value) {
23
+ return {
24
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
25
+ value: MsgUpdateGroupAdmin.encode(value).finish()
26
+ };
27
+ },
28
+ updateGroupMetadata(value) {
29
+ return {
30
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
31
+ value: MsgUpdateGroupMetadata.encode(value).finish()
32
+ };
33
+ },
34
+ createGroupPolicy(value) {
35
+ return {
36
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
37
+ value: MsgCreateGroupPolicy.encode(value).finish()
38
+ };
39
+ },
40
+ createGroupWithPolicy(value) {
41
+ return {
42
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
43
+ value: MsgCreateGroupWithPolicy.encode(value).finish()
44
+ };
45
+ },
46
+ updateGroupPolicyAdmin(value) {
47
+ return {
48
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
49
+ value: MsgUpdateGroupPolicyAdmin.encode(value).finish()
50
+ };
51
+ },
52
+ updateGroupPolicyDecisionPolicy(value) {
53
+ return {
54
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
55
+ value: MsgUpdateGroupPolicyDecisionPolicy.encode(value).finish()
56
+ };
57
+ },
58
+ updateGroupPolicyMetadata(value) {
59
+ return {
60
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
61
+ value: MsgUpdateGroupPolicyMetadata.encode(value).finish()
62
+ };
63
+ },
64
+ submitProposal(value) {
65
+ return {
66
+ typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
67
+ value: MsgSubmitProposal.encode(value).finish()
68
+ };
69
+ },
70
+ withdrawProposal(value) {
71
+ return {
72
+ typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
73
+ value: MsgWithdrawProposal.encode(value).finish()
74
+ };
75
+ },
76
+ vote(value) {
77
+ return {
78
+ typeUrl: "/cosmos.group.v1.MsgVote",
79
+ value: MsgVote.encode(value).finish()
80
+ };
81
+ },
82
+ exec(value) {
83
+ return {
84
+ typeUrl: "/cosmos.group.v1.MsgExec",
85
+ value: MsgExec.encode(value).finish()
86
+ };
87
+ },
88
+ leaveGroup(value) {
89
+ return {
90
+ typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
91
+ value: MsgLeaveGroup.encode(value).finish()
92
+ };
93
+ }
94
+ },
95
+ withTypeUrl: {
96
+ createGroup(value) {
97
+ return {
98
+ typeUrl: "/cosmos.group.v1.MsgCreateGroup",
99
+ value
100
+ };
101
+ },
102
+ updateGroupMembers(value) {
103
+ return {
104
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
105
+ value
106
+ };
107
+ },
108
+ updateGroupAdmin(value) {
109
+ return {
110
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
111
+ value
112
+ };
113
+ },
114
+ updateGroupMetadata(value) {
115
+ return {
116
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
117
+ value
118
+ };
119
+ },
120
+ createGroupPolicy(value) {
121
+ return {
122
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
123
+ value
124
+ };
125
+ },
126
+ createGroupWithPolicy(value) {
127
+ return {
128
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
129
+ value
130
+ };
131
+ },
132
+ updateGroupPolicyAdmin(value) {
133
+ return {
134
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
135
+ value
136
+ };
137
+ },
138
+ updateGroupPolicyDecisionPolicy(value) {
139
+ return {
140
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
141
+ value
142
+ };
143
+ },
144
+ updateGroupPolicyMetadata(value) {
145
+ return {
146
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
147
+ value
148
+ };
149
+ },
150
+ submitProposal(value) {
151
+ return {
152
+ typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
153
+ value
154
+ };
155
+ },
156
+ withdrawProposal(value) {
157
+ return {
158
+ typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
159
+ value
160
+ };
161
+ },
162
+ vote(value) {
163
+ return {
164
+ typeUrl: "/cosmos.group.v1.MsgVote",
165
+ value
166
+ };
167
+ },
168
+ exec(value) {
169
+ return {
170
+ typeUrl: "/cosmos.group.v1.MsgExec",
171
+ value
172
+ };
173
+ },
174
+ leaveGroup(value) {
175
+ return {
176
+ typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
177
+ value
178
+ };
179
+ }
180
+ },
181
+ fromPartial: {
182
+ createGroup(value) {
183
+ return {
184
+ typeUrl: "/cosmos.group.v1.MsgCreateGroup",
185
+ value: MsgCreateGroup.fromPartial(value)
186
+ };
187
+ },
188
+ updateGroupMembers(value) {
189
+ return {
190
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
191
+ value: MsgUpdateGroupMembers.fromPartial(value)
192
+ };
193
+ },
194
+ updateGroupAdmin(value) {
195
+ return {
196
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
197
+ value: MsgUpdateGroupAdmin.fromPartial(value)
198
+ };
199
+ },
200
+ updateGroupMetadata(value) {
201
+ return {
202
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
203
+ value: MsgUpdateGroupMetadata.fromPartial(value)
204
+ };
205
+ },
206
+ createGroupPolicy(value) {
207
+ return {
208
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
209
+ value: MsgCreateGroupPolicy.fromPartial(value)
210
+ };
211
+ },
212
+ createGroupWithPolicy(value) {
213
+ return {
214
+ typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
215
+ value: MsgCreateGroupWithPolicy.fromPartial(value)
216
+ };
217
+ },
218
+ updateGroupPolicyAdmin(value) {
219
+ return {
220
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
221
+ value: MsgUpdateGroupPolicyAdmin.fromPartial(value)
222
+ };
223
+ },
224
+ updateGroupPolicyDecisionPolicy(value) {
225
+ return {
226
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
227
+ value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value)
228
+ };
229
+ },
230
+ updateGroupPolicyMetadata(value) {
231
+ return {
232
+ typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
233
+ value: MsgUpdateGroupPolicyMetadata.fromPartial(value)
234
+ };
235
+ },
236
+ submitProposal(value) {
237
+ return {
238
+ typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
239
+ value: MsgSubmitProposal.fromPartial(value)
240
+ };
241
+ },
242
+ withdrawProposal(value) {
243
+ return {
244
+ typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
245
+ value: MsgWithdrawProposal.fromPartial(value)
246
+ };
247
+ },
248
+ vote(value) {
249
+ return {
250
+ typeUrl: "/cosmos.group.v1.MsgVote",
251
+ value: MsgVote.fromPartial(value)
252
+ };
253
+ },
254
+ exec(value) {
255
+ return {
256
+ typeUrl: "/cosmos.group.v1.MsgExec",
257
+ value: MsgExec.fromPartial(value)
258
+ };
259
+ },
260
+ leaveGroup(value) {
261
+ return {
262
+ typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
263
+ value: MsgLeaveGroup.fromPartial(value)
264
+ };
265
+ }
266
+ }
267
+ };
@@ -1,2 +1,33 @@
1
1
  import { MsgUpdateParams } from "./tx";
2
2
  export const registry = [["/cosmos.mint.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.mint.v1beta1.MsgUpdateParams",
13
+ value: MsgUpdateParams.encode(value).finish()
14
+ };
15
+ }
16
+ },
17
+ withTypeUrl: {
18
+ updateParams(value) {
19
+ return {
20
+ typeUrl: "/cosmos.mint.v1beta1.MsgUpdateParams",
21
+ value
22
+ };
23
+ }
24
+ },
25
+ fromPartial: {
26
+ updateParams(value) {
27
+ return {
28
+ typeUrl: "/cosmos.mint.v1beta1.MsgUpdateParams",
29
+ value: MsgUpdateParams.fromPartial(value)
30
+ };
31
+ }
32
+ }
33
+ };
@@ -1,2 +1,105 @@
1
1
  import { MsgFundCommunityPool, MsgCommunityPoolSpend, MsgCreateContinuousFund, MsgCancelContinuousFund, MsgUpdateParams } from "./tx";
2
2
  export const registry = [["/cosmos.protocolpool.v1.MsgFundCommunityPool", MsgFundCommunityPool], ["/cosmos.protocolpool.v1.MsgCommunityPoolSpend", MsgCommunityPoolSpend], ["/cosmos.protocolpool.v1.MsgCreateContinuousFund", MsgCreateContinuousFund], ["/cosmos.protocolpool.v1.MsgCancelContinuousFund", MsgCancelContinuousFund], ["/cosmos.protocolpool.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
+ fundCommunityPool(value) {
11
+ return {
12
+ typeUrl: "/cosmos.protocolpool.v1.MsgFundCommunityPool",
13
+ value: MsgFundCommunityPool.encode(value).finish()
14
+ };
15
+ },
16
+ communityPoolSpend(value) {
17
+ return {
18
+ typeUrl: "/cosmos.protocolpool.v1.MsgCommunityPoolSpend",
19
+ value: MsgCommunityPoolSpend.encode(value).finish()
20
+ };
21
+ },
22
+ createContinuousFund(value) {
23
+ return {
24
+ typeUrl: "/cosmos.protocolpool.v1.MsgCreateContinuousFund",
25
+ value: MsgCreateContinuousFund.encode(value).finish()
26
+ };
27
+ },
28
+ cancelContinuousFund(value) {
29
+ return {
30
+ typeUrl: "/cosmos.protocolpool.v1.MsgCancelContinuousFund",
31
+ value: MsgCancelContinuousFund.encode(value).finish()
32
+ };
33
+ },
34
+ updateParams(value) {
35
+ return {
36
+ typeUrl: "/cosmos.protocolpool.v1.MsgUpdateParams",
37
+ value: MsgUpdateParams.encode(value).finish()
38
+ };
39
+ }
40
+ },
41
+ withTypeUrl: {
42
+ fundCommunityPool(value) {
43
+ return {
44
+ typeUrl: "/cosmos.protocolpool.v1.MsgFundCommunityPool",
45
+ value
46
+ };
47
+ },
48
+ communityPoolSpend(value) {
49
+ return {
50
+ typeUrl: "/cosmos.protocolpool.v1.MsgCommunityPoolSpend",
51
+ value
52
+ };
53
+ },
54
+ createContinuousFund(value) {
55
+ return {
56
+ typeUrl: "/cosmos.protocolpool.v1.MsgCreateContinuousFund",
57
+ value
58
+ };
59
+ },
60
+ cancelContinuousFund(value) {
61
+ return {
62
+ typeUrl: "/cosmos.protocolpool.v1.MsgCancelContinuousFund",
63
+ value
64
+ };
65
+ },
66
+ updateParams(value) {
67
+ return {
68
+ typeUrl: "/cosmos.protocolpool.v1.MsgUpdateParams",
69
+ value
70
+ };
71
+ }
72
+ },
73
+ fromPartial: {
74
+ fundCommunityPool(value) {
75
+ return {
76
+ typeUrl: "/cosmos.protocolpool.v1.MsgFundCommunityPool",
77
+ value: MsgFundCommunityPool.fromPartial(value)
78
+ };
79
+ },
80
+ communityPoolSpend(value) {
81
+ return {
82
+ typeUrl: "/cosmos.protocolpool.v1.MsgCommunityPoolSpend",
83
+ value: MsgCommunityPoolSpend.fromPartial(value)
84
+ };
85
+ },
86
+ createContinuousFund(value) {
87
+ return {
88
+ typeUrl: "/cosmos.protocolpool.v1.MsgCreateContinuousFund",
89
+ value: MsgCreateContinuousFund.fromPartial(value)
90
+ };
91
+ },
92
+ cancelContinuousFund(value) {
93
+ return {
94
+ typeUrl: "/cosmos.protocolpool.v1.MsgCancelContinuousFund",
95
+ value: MsgCancelContinuousFund.fromPartial(value)
96
+ };
97
+ },
98
+ updateParams(value) {
99
+ return {
100
+ typeUrl: "/cosmos.protocolpool.v1.MsgUpdateParams",
101
+ value: MsgUpdateParams.fromPartial(value)
102
+ };
103
+ }
104
+ }
105
+ };
@@ -1,2 +1,141 @@
1
1
  import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation, MsgUpdateParams } from "./tx";
2
2
  export const registry = [["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator], ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator], ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate], ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate], ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate], ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation], ["/cosmos.staking.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
+ createValidator(value) {
11
+ return {
12
+ typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
13
+ value: MsgCreateValidator.encode(value).finish()
14
+ };
15
+ },
16
+ editValidator(value) {
17
+ return {
18
+ typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
19
+ value: MsgEditValidator.encode(value).finish()
20
+ };
21
+ },
22
+ delegate(value) {
23
+ return {
24
+ typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
25
+ value: MsgDelegate.encode(value).finish()
26
+ };
27
+ },
28
+ beginRedelegate(value) {
29
+ return {
30
+ typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
31
+ value: MsgBeginRedelegate.encode(value).finish()
32
+ };
33
+ },
34
+ undelegate(value) {
35
+ return {
36
+ typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
37
+ value: MsgUndelegate.encode(value).finish()
38
+ };
39
+ },
40
+ cancelUnbondingDelegation(value) {
41
+ return {
42
+ typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
43
+ value: MsgCancelUnbondingDelegation.encode(value).finish()
44
+ };
45
+ },
46
+ updateParams(value) {
47
+ return {
48
+ typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
49
+ value: MsgUpdateParams.encode(value).finish()
50
+ };
51
+ }
52
+ },
53
+ withTypeUrl: {
54
+ createValidator(value) {
55
+ return {
56
+ typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
57
+ value
58
+ };
59
+ },
60
+ editValidator(value) {
61
+ return {
62
+ typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
63
+ value
64
+ };
65
+ },
66
+ delegate(value) {
67
+ return {
68
+ typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
69
+ value
70
+ };
71
+ },
72
+ beginRedelegate(value) {
73
+ return {
74
+ typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
75
+ value
76
+ };
77
+ },
78
+ undelegate(value) {
79
+ return {
80
+ typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
81
+ value
82
+ };
83
+ },
84
+ cancelUnbondingDelegation(value) {
85
+ return {
86
+ typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
87
+ value
88
+ };
89
+ },
90
+ updateParams(value) {
91
+ return {
92
+ typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
93
+ value
94
+ };
95
+ }
96
+ },
97
+ fromPartial: {
98
+ createValidator(value) {
99
+ return {
100
+ typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
101
+ value: MsgCreateValidator.fromPartial(value)
102
+ };
103
+ },
104
+ editValidator(value) {
105
+ return {
106
+ typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
107
+ value: MsgEditValidator.fromPartial(value)
108
+ };
109
+ },
110
+ delegate(value) {
111
+ return {
112
+ typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
113
+ value: MsgDelegate.fromPartial(value)
114
+ };
115
+ },
116
+ beginRedelegate(value) {
117
+ return {
118
+ typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
119
+ value: MsgBeginRedelegate.fromPartial(value)
120
+ };
121
+ },
122
+ undelegate(value) {
123
+ return {
124
+ typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
125
+ value: MsgUndelegate.fromPartial(value)
126
+ };
127
+ },
128
+ cancelUnbondingDelegation(value) {
129
+ return {
130
+ typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation",
131
+ value: MsgCancelUnbondingDelegation.fromPartial(value)
132
+ };
133
+ },
134
+ updateParams(value) {
135
+ return {
136
+ typeUrl: "/cosmos.staking.v1beta1.MsgUpdateParams",
137
+ value: MsgUpdateParams.fromPartial(value)
138
+ };
139
+ }
140
+ }
141
+ };
@@ -1,2 +1,51 @@
1
1
  import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx";
2
2
  export const registry = [["/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", MsgSoftwareUpgrade], ["/cosmos.upgrade.v1beta1.MsgCancelUpgrade", MsgCancelUpgrade]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ softwareUpgrade(value) {
11
+ return {
12
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
13
+ value: MsgSoftwareUpgrade.encode(value).finish()
14
+ };
15
+ },
16
+ cancelUpgrade(value) {
17
+ return {
18
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
19
+ value: MsgCancelUpgrade.encode(value).finish()
20
+ };
21
+ }
22
+ },
23
+ withTypeUrl: {
24
+ softwareUpgrade(value) {
25
+ return {
26
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
27
+ value
28
+ };
29
+ },
30
+ cancelUpgrade(value) {
31
+ return {
32
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
33
+ value
34
+ };
35
+ }
36
+ },
37
+ fromPartial: {
38
+ softwareUpgrade(value) {
39
+ return {
40
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
41
+ value: MsgSoftwareUpgrade.fromPartial(value)
42
+ };
43
+ },
44
+ cancelUpgrade(value) {
45
+ return {
46
+ typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade",
47
+ value: MsgCancelUpgrade.fromPartial(value)
48
+ };
49
+ }
50
+ }
51
+ };
@@ -1,2 +1,69 @@
1
1
  import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx";
2
2
  export const registry = [["/cosmos.vesting.v1beta1.MsgCreateVestingAccount", MsgCreateVestingAccount], ["/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", MsgCreatePermanentLockedAccount], ["/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", MsgCreatePeriodicVestingAccount]];
3
+ export const load = (protoRegistry) => {
4
+ registry.forEach(([typeUrl, mod]) => {
5
+ protoRegistry.register(typeUrl, mod);
6
+ });
7
+ };
8
+ export const MessageComposer = {
9
+ encoded: {
10
+ createVestingAccount(value) {
11
+ return {
12
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
13
+ value: MsgCreateVestingAccount.encode(value).finish()
14
+ };
15
+ },
16
+ createPermanentLockedAccount(value) {
17
+ return {
18
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount",
19
+ value: MsgCreatePermanentLockedAccount.encode(value).finish()
20
+ };
21
+ },
22
+ createPeriodicVestingAccount(value) {
23
+ return {
24
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount",
25
+ value: MsgCreatePeriodicVestingAccount.encode(value).finish()
26
+ };
27
+ }
28
+ },
29
+ withTypeUrl: {
30
+ createVestingAccount(value) {
31
+ return {
32
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
33
+ value
34
+ };
35
+ },
36
+ createPermanentLockedAccount(value) {
37
+ return {
38
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount",
39
+ value
40
+ };
41
+ },
42
+ createPeriodicVestingAccount(value) {
43
+ return {
44
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount",
45
+ value
46
+ };
47
+ }
48
+ },
49
+ fromPartial: {
50
+ createVestingAccount(value) {
51
+ return {
52
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
53
+ value: MsgCreateVestingAccount.fromPartial(value)
54
+ };
55
+ },
56
+ createPermanentLockedAccount(value) {
57
+ return {
58
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount",
59
+ value: MsgCreatePermanentLockedAccount.fromPartial(value)
60
+ };
61
+ },
62
+ createPeriodicVestingAccount(value) {
63
+ return {
64
+ typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount",
65
+ value: MsgCreatePeriodicVestingAccount.fromPartial(value)
66
+ };
67
+ }
68
+ }
69
+ };