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