coreum-js 2.5.8 → 2.5.9
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/dist/main/cosmos/bank/v1beta1/authz.d.ts +80 -0
- package/dist/main/cosmos/bank/v1beta1/authz.js +84 -0
- package/dist/main/cosmos/bank/v1beta1/bank.d.ts +440 -0
- package/dist/main/cosmos/bank/v1beta1/bank.js +557 -0
- package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +473 -0
- package/dist/main/cosmos/bank/v1beta1/genesis.js +208 -0
- package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +128 -0
- package/dist/main/cosmos/bank/v1beta1/pagination.js +228 -0
- package/dist/main/cosmos/bank/v1beta1/query.d.ts +1633 -0
- package/dist/main/cosmos/bank/v1beta1/query.js +1596 -0
- package/dist/main/cosmos/bank/v1beta1/tx.d.ts +514 -0
- package/dist/main/cosmos/bank/v1beta1/tx.js +499 -0
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +367 -0
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +413 -0
- package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +111 -0
- package/dist/main/cosmos/feegrant/v1beta1/genesis.js +67 -0
- package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +128 -0
- package/dist/main/cosmos/feegrant/v1beta1/pagination.js +228 -0
- package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +512 -0
- package/dist/main/cosmos/feegrant/v1beta1/query.js +461 -0
- package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +143 -0
- package/dist/main/cosmos/feegrant/v1beta1/tx.js +253 -0
- package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +639 -0
- package/dist/main/cosmos/gov/v1beta1/genesis.js +195 -0
- package/dist/main/cosmos/gov/v1beta1/gov.d.ts +620 -0
- package/dist/main/cosmos/gov/v1beta1/gov.js +1038 -0
- package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +128 -0
- package/dist/main/cosmos/gov/v1beta1/pagination.js +228 -0
- package/dist/main/cosmos/gov/v1beta1/query.d.ts +1511 -0
- package/dist/main/cosmos/gov/v1beta1/query.js +1187 -0
- package/dist/main/cosmos/gov/v1beta1/tx.d.ts +350 -0
- package/dist/main/cosmos/gov/v1beta1/tx.js +567 -0
- package/dist/main/cosmos/index.d.ts +321 -0
- package/dist/main/cosmos/index.js +79 -0
- package/dist/main/google/protobuf/descriptor.d.ts +101937 -0
- package/dist/main/google/protobuf/descriptor.js +3375 -0
- package/dist/main/google/protobuf/duration.d.ts +110 -0
- package/dist/main/google/protobuf/duration.js +102 -0
- package/dist/main/google/protobuf/timestamp.d.ts +139 -0
- package/dist/main/google/protobuf/timestamp.js +102 -0
- package/dist/module/cosmos/bank/v1beta1/authz.d.ts +80 -0
- package/dist/module/cosmos/bank/v1beta1/authz.js +77 -0
- package/dist/module/cosmos/bank/v1beta1/bank.d.ts +440 -0
- package/dist/module/cosmos/bank/v1beta1/bank.js +544 -0
- package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +473 -0
- package/dist/module/cosmos/bank/v1beta1/genesis.js +200 -0
- package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +128 -0
- package/dist/module/cosmos/bank/v1beta1/pagination.js +220 -0
- package/dist/module/cosmos/bank/v1beta1/query.d.ts +1633 -0
- package/dist/module/cosmos/bank/v1beta1/query.js +1576 -0
- package/dist/module/cosmos/bank/v1beta1/tx.d.ts +514 -0
- package/dist/module/cosmos/bank/v1beta1/tx.js +490 -0
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +367 -0
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +403 -0
- package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +111 -0
- package/dist/module/cosmos/feegrant/v1beta1/genesis.js +60 -0
- package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +128 -0
- package/dist/module/cosmos/feegrant/v1beta1/pagination.js +220 -0
- package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +512 -0
- package/dist/module/cosmos/feegrant/v1beta1/query.js +451 -0
- package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +143 -0
- package/dist/module/cosmos/feegrant/v1beta1/tx.js +246 -0
- package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +639 -0
- package/dist/module/cosmos/gov/v1beta1/genesis.js +188 -0
- package/dist/module/cosmos/gov/v1beta1/gov.d.ts +620 -0
- package/dist/module/cosmos/gov/v1beta1/gov.js +1020 -0
- package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +128 -0
- package/dist/module/cosmos/gov/v1beta1/pagination.js +220 -0
- package/dist/module/cosmos/gov/v1beta1/query.d.ts +1511 -0
- package/dist/module/cosmos/gov/v1beta1/query.js +1171 -0
- package/dist/module/cosmos/gov/v1beta1/tx.d.ts +350 -0
- package/dist/module/cosmos/gov/v1beta1/tx.js +557 -0
- package/dist/module/cosmos/index.d.ts +321 -0
- package/dist/module/cosmos/index.js +76 -0
- package/dist/module/google/protobuf/descriptor.d.ts +101937 -0
- package/dist/module/google/protobuf/descriptor.js +3330 -0
- package/dist/module/google/protobuf/duration.d.ts +110 -0
- package/dist/module/google/protobuf/duration.js +95 -0
- package/dist/module/google/protobuf/timestamp.d.ts +139 -0
- package/dist/module/google/protobuf/timestamp.js +95 -0
- package/package.json +1 -1
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "./gov/v1beta1/tx";
|
|
2
|
+
import { MsgGrantAllowance, MsgRevokeAllowance } from "./feegrant/v1beta1/tx";
|
|
3
|
+
import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "./bank/v1beta1/tx";
|
|
4
|
+
export declare namespace Governance {
|
|
5
|
+
const Deposit: <I extends {
|
|
6
|
+
proposalId?: number;
|
|
7
|
+
depositor?: string;
|
|
8
|
+
amount?: {
|
|
9
|
+
denom?: string;
|
|
10
|
+
amount?: string;
|
|
11
|
+
}[];
|
|
12
|
+
} & {
|
|
13
|
+
proposalId?: number;
|
|
14
|
+
depositor?: string;
|
|
15
|
+
amount?: {
|
|
16
|
+
denom?: string;
|
|
17
|
+
amount?: string;
|
|
18
|
+
}[] & ({
|
|
19
|
+
denom?: string;
|
|
20
|
+
amount?: string;
|
|
21
|
+
} & {
|
|
22
|
+
denom?: string;
|
|
23
|
+
amount?: string;
|
|
24
|
+
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
25
|
+
denom?: string;
|
|
26
|
+
amount?: string;
|
|
27
|
+
}[]>]: never; };
|
|
28
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgDeposit>]: never; }>(object: I) => {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: MsgDeposit;
|
|
31
|
+
};
|
|
32
|
+
const SubmitProposal: <I extends {
|
|
33
|
+
content?: {
|
|
34
|
+
typeUrl?: string;
|
|
35
|
+
value?: Uint8Array;
|
|
36
|
+
};
|
|
37
|
+
initialDeposit?: {
|
|
38
|
+
denom?: string;
|
|
39
|
+
amount?: string;
|
|
40
|
+
}[];
|
|
41
|
+
proposer?: string;
|
|
42
|
+
} & {
|
|
43
|
+
content?: {
|
|
44
|
+
typeUrl?: string;
|
|
45
|
+
value?: Uint8Array;
|
|
46
|
+
} & {
|
|
47
|
+
typeUrl?: string;
|
|
48
|
+
value?: Uint8Array;
|
|
49
|
+
} & { [K in Exclude<keyof I["content"], keyof import("../google/protobuf/any").Any>]: never; };
|
|
50
|
+
initialDeposit?: {
|
|
51
|
+
denom?: string;
|
|
52
|
+
amount?: string;
|
|
53
|
+
}[] & ({
|
|
54
|
+
denom?: string;
|
|
55
|
+
amount?: string;
|
|
56
|
+
} & {
|
|
57
|
+
denom?: string;
|
|
58
|
+
amount?: string;
|
|
59
|
+
} & { [K_1 in Exclude<keyof I["initialDeposit"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_2 in Exclude<keyof I["initialDeposit"], keyof {
|
|
60
|
+
denom?: string;
|
|
61
|
+
amount?: string;
|
|
62
|
+
}[]>]: never; };
|
|
63
|
+
proposer?: string;
|
|
64
|
+
} & { [K_3 in Exclude<keyof I, keyof MsgSubmitProposal>]: never; }>(object: I) => {
|
|
65
|
+
typeUrl: string;
|
|
66
|
+
value: MsgSubmitProposal;
|
|
67
|
+
};
|
|
68
|
+
const Vote: <I extends {
|
|
69
|
+
proposalId?: number;
|
|
70
|
+
voter?: string;
|
|
71
|
+
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
72
|
+
} & {
|
|
73
|
+
proposalId?: number;
|
|
74
|
+
voter?: string;
|
|
75
|
+
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
76
|
+
} & { [K in Exclude<keyof I, keyof MsgVote>]: never; }>(object: I) => {
|
|
77
|
+
typeUrl: string;
|
|
78
|
+
value: MsgVote;
|
|
79
|
+
};
|
|
80
|
+
const VoteWeighted: <I extends {
|
|
81
|
+
proposalId?: number;
|
|
82
|
+
voter?: string;
|
|
83
|
+
options?: {
|
|
84
|
+
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
85
|
+
weight?: string;
|
|
86
|
+
}[];
|
|
87
|
+
} & {
|
|
88
|
+
proposalId?: number;
|
|
89
|
+
voter?: string;
|
|
90
|
+
options?: {
|
|
91
|
+
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
92
|
+
weight?: string;
|
|
93
|
+
}[] & ({
|
|
94
|
+
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
95
|
+
weight?: string;
|
|
96
|
+
} & {
|
|
97
|
+
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
98
|
+
weight?: string;
|
|
99
|
+
} & { [K in Exclude<keyof I["options"][number], keyof import("./gov/v1beta1/gov").WeightedVoteOption>]: never; })[] & { [K_1 in Exclude<keyof I["options"], keyof {
|
|
100
|
+
option?: import("./gov/v1beta1/gov").VoteOption;
|
|
101
|
+
weight?: string;
|
|
102
|
+
}[]>]: never; };
|
|
103
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgVoteWeighted>]: never; }>(object: I) => {
|
|
104
|
+
typeUrl: string;
|
|
105
|
+
value: MsgVoteWeighted;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export declare namespace Feegrant {
|
|
109
|
+
const GrantAllowance: <I extends {
|
|
110
|
+
granter?: string;
|
|
111
|
+
grantee?: string;
|
|
112
|
+
allowance?: {
|
|
113
|
+
typeUrl?: string;
|
|
114
|
+
value?: Uint8Array;
|
|
115
|
+
};
|
|
116
|
+
} & {
|
|
117
|
+
granter?: string;
|
|
118
|
+
grantee?: string;
|
|
119
|
+
allowance?: {
|
|
120
|
+
typeUrl?: string;
|
|
121
|
+
value?: Uint8Array;
|
|
122
|
+
} & {
|
|
123
|
+
typeUrl?: string;
|
|
124
|
+
value?: Uint8Array;
|
|
125
|
+
} & { [K in Exclude<keyof I["allowance"], keyof import("../google/protobuf/any").Any>]: never; };
|
|
126
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgGrantAllowance>]: never; }>(object: I) => {
|
|
127
|
+
typeUrl: string;
|
|
128
|
+
value: MsgGrantAllowance;
|
|
129
|
+
};
|
|
130
|
+
const RevokeAllowance: <I extends {
|
|
131
|
+
granter?: string;
|
|
132
|
+
grantee?: string;
|
|
133
|
+
} & {
|
|
134
|
+
granter?: string;
|
|
135
|
+
grantee?: string;
|
|
136
|
+
} & { [K in Exclude<keyof I, keyof MsgRevokeAllowance>]: never; }>(object: I) => {
|
|
137
|
+
typeUrl: string;
|
|
138
|
+
value: MsgRevokeAllowance;
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
export declare namespace Bank {
|
|
142
|
+
const MultiSend: <I extends {
|
|
143
|
+
inputs?: {
|
|
144
|
+
address?: string;
|
|
145
|
+
coins?: {
|
|
146
|
+
denom?: string;
|
|
147
|
+
amount?: string;
|
|
148
|
+
}[];
|
|
149
|
+
}[];
|
|
150
|
+
outputs?: {
|
|
151
|
+
address?: string;
|
|
152
|
+
coins?: {
|
|
153
|
+
denom?: string;
|
|
154
|
+
amount?: string;
|
|
155
|
+
}[];
|
|
156
|
+
}[];
|
|
157
|
+
} & {
|
|
158
|
+
inputs?: {
|
|
159
|
+
address?: string;
|
|
160
|
+
coins?: {
|
|
161
|
+
denom?: string;
|
|
162
|
+
amount?: string;
|
|
163
|
+
}[];
|
|
164
|
+
}[] & ({
|
|
165
|
+
address?: string;
|
|
166
|
+
coins?: {
|
|
167
|
+
denom?: string;
|
|
168
|
+
amount?: string;
|
|
169
|
+
}[];
|
|
170
|
+
} & {
|
|
171
|
+
address?: string;
|
|
172
|
+
coins?: {
|
|
173
|
+
denom?: string;
|
|
174
|
+
amount?: string;
|
|
175
|
+
}[] & ({
|
|
176
|
+
denom?: string;
|
|
177
|
+
amount?: string;
|
|
178
|
+
} & {
|
|
179
|
+
denom?: string;
|
|
180
|
+
amount?: string;
|
|
181
|
+
} & { [K in Exclude<keyof I["inputs"][number]["coins"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["inputs"][number]["coins"], keyof {
|
|
182
|
+
denom?: string;
|
|
183
|
+
amount?: string;
|
|
184
|
+
}[]>]: never; };
|
|
185
|
+
} & { [K_2 in Exclude<keyof I["inputs"][number], keyof import("./bank/v1beta1/bank").Input>]: never; })[] & { [K_3 in Exclude<keyof I["inputs"], keyof {
|
|
186
|
+
address?: string;
|
|
187
|
+
coins?: {
|
|
188
|
+
denom?: string;
|
|
189
|
+
amount?: string;
|
|
190
|
+
}[];
|
|
191
|
+
}[]>]: never; };
|
|
192
|
+
outputs?: {
|
|
193
|
+
address?: string;
|
|
194
|
+
coins?: {
|
|
195
|
+
denom?: string;
|
|
196
|
+
amount?: string;
|
|
197
|
+
}[];
|
|
198
|
+
}[] & ({
|
|
199
|
+
address?: string;
|
|
200
|
+
coins?: {
|
|
201
|
+
denom?: string;
|
|
202
|
+
amount?: string;
|
|
203
|
+
}[];
|
|
204
|
+
} & {
|
|
205
|
+
address?: string;
|
|
206
|
+
coins?: {
|
|
207
|
+
denom?: string;
|
|
208
|
+
amount?: string;
|
|
209
|
+
}[] & ({
|
|
210
|
+
denom?: string;
|
|
211
|
+
amount?: string;
|
|
212
|
+
} & {
|
|
213
|
+
denom?: string;
|
|
214
|
+
amount?: string;
|
|
215
|
+
} & { [K_4 in Exclude<keyof I["outputs"][number]["coins"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_5 in Exclude<keyof I["outputs"][number]["coins"], keyof {
|
|
216
|
+
denom?: string;
|
|
217
|
+
amount?: string;
|
|
218
|
+
}[]>]: never; };
|
|
219
|
+
} & { [K_6 in Exclude<keyof I["outputs"][number], keyof import("./bank/v1beta1/bank").Output>]: never; })[] & { [K_7 in Exclude<keyof I["outputs"], keyof {
|
|
220
|
+
address?: string;
|
|
221
|
+
coins?: {
|
|
222
|
+
denom?: string;
|
|
223
|
+
amount?: string;
|
|
224
|
+
}[];
|
|
225
|
+
}[]>]: never; };
|
|
226
|
+
} & { [K_8 in Exclude<keyof I, keyof MsgMultiSend>]: never; }>(object: I) => {
|
|
227
|
+
typeUrl: string;
|
|
228
|
+
value: MsgMultiSend;
|
|
229
|
+
};
|
|
230
|
+
const Send: <I extends {
|
|
231
|
+
fromAddress?: string;
|
|
232
|
+
toAddress?: string;
|
|
233
|
+
amount?: {
|
|
234
|
+
denom?: string;
|
|
235
|
+
amount?: string;
|
|
236
|
+
}[];
|
|
237
|
+
} & {
|
|
238
|
+
fromAddress?: string;
|
|
239
|
+
toAddress?: string;
|
|
240
|
+
amount?: {
|
|
241
|
+
denom?: string;
|
|
242
|
+
amount?: string;
|
|
243
|
+
}[] & ({
|
|
244
|
+
denom?: string;
|
|
245
|
+
amount?: string;
|
|
246
|
+
} & {
|
|
247
|
+
denom?: string;
|
|
248
|
+
amount?: string;
|
|
249
|
+
} & { [K in Exclude<keyof I["amount"][number], keyof import("./base/v1beta1/coin").Coin>]: never; })[] & { [K_1 in Exclude<keyof I["amount"], keyof {
|
|
250
|
+
denom?: string;
|
|
251
|
+
amount?: string;
|
|
252
|
+
}[]>]: never; };
|
|
253
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgSend>]: never; }>(object: I) => {
|
|
254
|
+
typeUrl: string;
|
|
255
|
+
value: MsgSend;
|
|
256
|
+
};
|
|
257
|
+
const SetSendEnabled: <I extends {
|
|
258
|
+
authority?: string;
|
|
259
|
+
sendEnabled?: {
|
|
260
|
+
denom?: string;
|
|
261
|
+
enabled?: boolean;
|
|
262
|
+
}[];
|
|
263
|
+
useDefaultFor?: string[];
|
|
264
|
+
} & {
|
|
265
|
+
authority?: string;
|
|
266
|
+
sendEnabled?: {
|
|
267
|
+
denom?: string;
|
|
268
|
+
enabled?: boolean;
|
|
269
|
+
}[] & ({
|
|
270
|
+
denom?: string;
|
|
271
|
+
enabled?: boolean;
|
|
272
|
+
} & {
|
|
273
|
+
denom?: string;
|
|
274
|
+
enabled?: boolean;
|
|
275
|
+
} & { [K in Exclude<keyof I["sendEnabled"][number], keyof import("./bank/v1beta1/bank").SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["sendEnabled"], keyof {
|
|
276
|
+
denom?: string;
|
|
277
|
+
enabled?: boolean;
|
|
278
|
+
}[]>]: never; };
|
|
279
|
+
useDefaultFor?: string[] & string[] & { [K_2 in Exclude<keyof I["useDefaultFor"], keyof string[]>]: never; };
|
|
280
|
+
} & { [K_3 in Exclude<keyof I, keyof MsgSetSendEnabled>]: never; }>(object: I) => {
|
|
281
|
+
typeUrl: string;
|
|
282
|
+
value: MsgSetSendEnabled;
|
|
283
|
+
};
|
|
284
|
+
const UpdateParams: <I extends {
|
|
285
|
+
authority?: string;
|
|
286
|
+
params?: {
|
|
287
|
+
sendEnabled?: {
|
|
288
|
+
denom?: string;
|
|
289
|
+
enabled?: boolean;
|
|
290
|
+
}[];
|
|
291
|
+
defaultSendEnabled?: boolean;
|
|
292
|
+
};
|
|
293
|
+
} & {
|
|
294
|
+
authority?: string;
|
|
295
|
+
params?: {
|
|
296
|
+
sendEnabled?: {
|
|
297
|
+
denom?: string;
|
|
298
|
+
enabled?: boolean;
|
|
299
|
+
}[];
|
|
300
|
+
defaultSendEnabled?: boolean;
|
|
301
|
+
} & {
|
|
302
|
+
sendEnabled?: {
|
|
303
|
+
denom?: string;
|
|
304
|
+
enabled?: boolean;
|
|
305
|
+
}[] & ({
|
|
306
|
+
denom?: string;
|
|
307
|
+
enabled?: boolean;
|
|
308
|
+
} & {
|
|
309
|
+
denom?: string;
|
|
310
|
+
enabled?: boolean;
|
|
311
|
+
} & { [K in Exclude<keyof I["params"]["sendEnabled"][number], keyof import("./bank/v1beta1/bank").SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["params"]["sendEnabled"], keyof {
|
|
312
|
+
denom?: string;
|
|
313
|
+
enabled?: boolean;
|
|
314
|
+
}[]>]: never; };
|
|
315
|
+
defaultSendEnabled?: boolean;
|
|
316
|
+
} & { [K_2 in Exclude<keyof I["params"], keyof import("./bank/v1beta1/bank").Params>]: never; };
|
|
317
|
+
} & { [K_3 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(object: I) => {
|
|
318
|
+
typeUrl: string;
|
|
319
|
+
value: MsgUpdateParams;
|
|
320
|
+
};
|
|
321
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted, } from "./gov/v1beta1/tx";
|
|
2
|
+
import { MsgGrantAllowance, MsgRevokeAllowance } from "./feegrant/v1beta1/tx";
|
|
3
|
+
import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams, } from "./bank/v1beta1/tx";
|
|
4
|
+
const govBaseUrl = "/cosmos.gov.v1beta1.";
|
|
5
|
+
const fgBaseUrl = "/cosmos.feegrant.v1beta1.";
|
|
6
|
+
const bankBaseUrl = "/cosmos.bank.v1beta1.";
|
|
7
|
+
export var Governance;
|
|
8
|
+
(function (Governance) {
|
|
9
|
+
Governance.Deposit = function (object) {
|
|
10
|
+
return {
|
|
11
|
+
typeUrl: govBaseUrl + "MsgDeposit",
|
|
12
|
+
value: MsgDeposit.fromPartial(object),
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
Governance.SubmitProposal = function (object) {
|
|
16
|
+
return {
|
|
17
|
+
typeUrl: govBaseUrl + "MsgSubmitProposal",
|
|
18
|
+
value: MsgSubmitProposal.fromPartial(object),
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
Governance.Vote = function (object) {
|
|
22
|
+
return {
|
|
23
|
+
typeUrl: govBaseUrl + "MsgVote",
|
|
24
|
+
value: MsgVote.fromPartial(object),
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
Governance.VoteWeighted = function (object) {
|
|
28
|
+
return {
|
|
29
|
+
typeUrl: govBaseUrl + "MsgVoteWeighted",
|
|
30
|
+
value: MsgVoteWeighted.fromPartial(object),
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
})(Governance || (Governance = {}));
|
|
34
|
+
export var Feegrant;
|
|
35
|
+
(function (Feegrant) {
|
|
36
|
+
Feegrant.GrantAllowance = function (object) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: fgBaseUrl + "MsgGrantAllowance",
|
|
39
|
+
value: MsgGrantAllowance.fromPartial(object),
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
Feegrant.RevokeAllowance = function (object) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: fgBaseUrl + "MsgRevokeAllowance",
|
|
45
|
+
value: MsgRevokeAllowance.fromPartial(object),
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
})(Feegrant || (Feegrant = {}));
|
|
49
|
+
export var Bank;
|
|
50
|
+
(function (Bank) {
|
|
51
|
+
Bank.MultiSend = function (object) {
|
|
52
|
+
return {
|
|
53
|
+
typeUrl: bankBaseUrl + "MsgMultiSend",
|
|
54
|
+
value: MsgMultiSend.fromPartial(object),
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
Bank.Send = function (object) {
|
|
58
|
+
return {
|
|
59
|
+
typeUrl: bankBaseUrl + "MsgSend",
|
|
60
|
+
value: MsgSend.fromPartial(object),
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
Bank.SetSendEnabled = function (object) {
|
|
64
|
+
return {
|
|
65
|
+
typeUrl: bankBaseUrl + "MsgSetSendEnabled",
|
|
66
|
+
value: MsgSetSendEnabled.fromPartial(object),
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
Bank.UpdateParams = function (object) {
|
|
70
|
+
return {
|
|
71
|
+
typeUrl: bankBaseUrl + "MsgUpdateParams",
|
|
72
|
+
value: MsgUpdateParams.fromPartial(object),
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
})(Bank || (Bank = {}));
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29zbW9zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxVQUFVLEVBQ1YsaUJBQWlCLEVBQ2pCLE9BQU8sRUFDUCxlQUFlLEdBR2hCLE1BQU0sa0JBQWtCLENBQUM7QUFFMUIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFOUUsT0FBTyxFQUNMLFlBQVksRUFDWixPQUFPLEVBQ1AsaUJBQWlCLEVBQ2pCLGVBQWUsR0FDaEIsTUFBTSxtQkFBbUIsQ0FBQztBQUUzQixNQUFNLFVBQVUsR0FBRyxzQkFBc0IsQ0FBQztBQUMxQyxNQUFNLFNBQVMsR0FBRywyQkFBMkIsQ0FBQztBQ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