coreum-js 2.14.0 → 2.16.0

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 (45) hide show
  1. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +119 -17
  2. package/dist/main/coreum/asset/ft/v1/params.d.ts +37 -7
  3. package/dist/main/coreum/asset/ft/v1/params.js +68 -7
  4. package/dist/main/coreum/asset/ft/v1/query.d.ts +161 -17
  5. package/dist/main/coreum/asset/ft/v1/token.d.ts +80 -5
  6. package/dist/main/coreum/asset/ft/v1/token.js +185 -3
  7. package/dist/main/coreum/asset/ft/v1/tx.d.ts +517 -30
  8. package/dist/main/coreum/asset/ft/v1/tx.js +877 -114
  9. package/dist/main/coreum/index.d.ts +21 -1
  10. package/dist/main/coreum/index.js +25 -1
  11. package/dist/main/coreum/nft/v1beta1/event.d.ts +1 -1
  12. package/dist/main/coreum/nft/v1beta1/event.js +1 -1
  13. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +1 -1
  14. package/dist/main/coreum/nft/v1beta1/genesis.js +1 -1
  15. package/dist/main/coreum/nft/v1beta1/nft.d.ts +1 -1
  16. package/dist/main/coreum/nft/v1beta1/nft.js +1 -1
  17. package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
  18. package/dist/main/coreum/nft/v1beta1/query.js +2 -2
  19. package/dist/main/coreum/nft/v1beta1/tx.d.ts +1 -1
  20. package/dist/main/coreum/nft/v1beta1/tx.js +2 -2
  21. package/dist/main/types/core.d.ts +1 -1
  22. package/dist/main/types/core.js +1 -1
  23. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +119 -17
  24. package/dist/module/coreum/asset/ft/v1/params.d.ts +37 -7
  25. package/dist/module/coreum/asset/ft/v1/params.js +67 -7
  26. package/dist/module/coreum/asset/ft/v1/query.d.ts +161 -17
  27. package/dist/module/coreum/asset/ft/v1/token.d.ts +80 -5
  28. package/dist/module/coreum/asset/ft/v1/token.js +185 -4
  29. package/dist/module/coreum/asset/ft/v1/tx.d.ts +517 -30
  30. package/dist/module/coreum/asset/ft/v1/tx.js +870 -115
  31. package/dist/module/coreum/index.d.ts +21 -1
  32. package/dist/module/coreum/index.js +26 -2
  33. package/dist/module/coreum/nft/v1beta1/event.d.ts +1 -1
  34. package/dist/module/coreum/nft/v1beta1/event.js +1 -1
  35. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +1 -1
  36. package/dist/module/coreum/nft/v1beta1/genesis.js +1 -1
  37. package/dist/module/coreum/nft/v1beta1/nft.d.ts +1 -1
  38. package/dist/module/coreum/nft/v1beta1/nft.js +1 -1
  39. package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
  40. package/dist/module/coreum/nft/v1beta1/query.js +2 -2
  41. package/dist/module/coreum/nft/v1beta1/tx.d.ts +1 -1
  42. package/dist/module/coreum/nft/v1beta1/tx.js +2 -2
  43. package/dist/module/types/core.d.ts +1 -1
  44. package/dist/module/types/core.js +1 -1
  45. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import Long from "long";
2
1
  import _m0 from "protobufjs/minimal";
3
2
  import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
4
- import { Feature } from "./token";
3
+ import { Params } from "./params";
4
+ import { DEXSettings, Feature } from "./token";
5
5
  export declare const protobufPackage = "coreum.asset.ft.v1";
6
6
  /** MsgIssue defines message to issue new fungible token. */
7
7
  export interface MsgIssue {
@@ -19,29 +19,53 @@ export interface MsgIssue {
19
19
  burnRate: string;
20
20
  /**
21
21
  * send_commission_rate is a number between 0 and 1 which will be multiplied by send amount to determine
22
- * amount sent to the token issuer account.
22
+ * amount sent to the token admin account.
23
23
  */
24
24
  sendCommissionRate: string;
25
25
  uri: string;
26
26
  uriHash: string;
27
+ /** extension_settings must be provided in case wasm extensions are enabled. */
28
+ extensionSettings: ExtensionIssueSettings | undefined;
29
+ /** dex_settings allowed to be customized by issuer */
30
+ dexSettings: DEXSettings | undefined;
31
+ }
32
+ /**
33
+ * ExtensionIssueSettings are settings that will be used to Instantiate the smart contract which contains
34
+ * the source code for the extension.
35
+ */
36
+ export interface ExtensionIssueSettings {
37
+ /** code_id is the reference to the stored WASM code */
38
+ codeId: number;
39
+ /** label is optional metadata to be stored with a contract instance. */
40
+ label: string;
41
+ /** funds coins that are transferred to the contract on instantiation */
42
+ funds: Coin[];
43
+ /** optional json encoded data to pass to WASM on instantiation by the ft issuer */
44
+ issuanceMsg: Uint8Array;
27
45
  }
28
46
  export interface MsgMint {
29
47
  sender: string;
30
- coin?: Coin;
48
+ coin: Coin | undefined;
49
+ recipient: string;
31
50
  }
32
51
  export interface MsgBurn {
33
52
  sender: string;
34
- coin?: Coin;
53
+ coin: Coin | undefined;
35
54
  }
36
55
  export interface MsgFreeze {
37
56
  sender: string;
38
57
  account: string;
39
- coin?: Coin;
58
+ coin: Coin | undefined;
40
59
  }
41
60
  export interface MsgUnfreeze {
42
61
  sender: string;
43
62
  account: string;
44
- coin?: Coin;
63
+ coin: Coin | undefined;
64
+ }
65
+ export interface MsgSetFrozen {
66
+ sender: string;
67
+ account: string;
68
+ coin: Coin | undefined;
45
69
  }
46
70
  export interface MsgGloballyFreeze {
47
71
  sender: string;
@@ -51,15 +75,46 @@ export interface MsgGloballyUnfreeze {
51
75
  sender: string;
52
76
  denom: string;
53
77
  }
78
+ export interface MsgClawback {
79
+ sender: string;
80
+ account: string;
81
+ coin: Coin | undefined;
82
+ }
54
83
  export interface MsgSetWhitelistedLimit {
55
84
  sender: string;
56
85
  account: string;
57
- coin?: Coin;
86
+ coin: Coin | undefined;
58
87
  }
59
- export interface MsgClawback {
88
+ export interface MsgTransferAdmin {
60
89
  sender: string;
61
90
  account: string;
62
- coin?: Coin;
91
+ denom: string;
92
+ }
93
+ export interface MsgClearAdmin {
94
+ sender: string;
95
+ denom: string;
96
+ }
97
+ /** MsgUpgradeTokenV1 is the message upgrading token to V1. */
98
+ export interface MsgUpgradeTokenV1 {
99
+ sender: string;
100
+ denom: string;
101
+ ibcEnabled: boolean;
102
+ }
103
+ export interface MsgUpdateParams {
104
+ authority: string;
105
+ params: Params | undefined;
106
+ }
107
+ export interface MsgUpdateDEXUnifiedRefAmount {
108
+ sender: string;
109
+ denom: string;
110
+ /** unified_ref_amount is the approximate amount you need to by 1USD, used to define the price tick size */
111
+ unifiedRefAmount: string;
112
+ }
113
+ export interface MsgUpdateDEXWhitelistedDenoms {
114
+ sender: string;
115
+ denom: string;
116
+ /** whitelisted_denoms is the list of denoms to trade with. */
117
+ whitelistedDenoms: string[];
63
118
  }
64
119
  export interface EmptyResponse {
65
120
  }
@@ -80,6 +135,19 @@ export declare const MsgIssue: {
80
135
  sendCommissionRate?: string;
81
136
  uri?: string;
82
137
  uriHash?: string;
138
+ extensionSettings?: {
139
+ codeId?: number;
140
+ label?: string;
141
+ funds?: {
142
+ denom?: string;
143
+ amount?: string;
144
+ }[];
145
+ issuanceMsg?: Uint8Array;
146
+ };
147
+ dexSettings?: {
148
+ unifiedRefAmount?: string;
149
+ whitelistedDenoms?: string[];
150
+ };
83
151
  } & {
84
152
  issuer?: string;
85
153
  symbol?: string;
@@ -92,7 +160,40 @@ export declare const MsgIssue: {
92
160
  sendCommissionRate?: string;
93
161
  uri?: string;
94
162
  uriHash?: string;
95
- } & { [K_1 in Exclude<keyof I, keyof MsgIssue>]: never; }>(base?: I): MsgIssue;
163
+ extensionSettings?: {
164
+ codeId?: number;
165
+ label?: string;
166
+ funds?: {
167
+ denom?: string;
168
+ amount?: string;
169
+ }[];
170
+ issuanceMsg?: Uint8Array;
171
+ } & {
172
+ codeId?: number;
173
+ label?: string;
174
+ funds?: {
175
+ denom?: string;
176
+ amount?: string;
177
+ }[] & ({
178
+ denom?: string;
179
+ amount?: string;
180
+ } & {
181
+ denom?: string;
182
+ amount?: string;
183
+ } & { [K_1 in Exclude<keyof I["extensionSettings"]["funds"][number], keyof Coin>]: never; })[] & { [K_2 in Exclude<keyof I["extensionSettings"]["funds"], keyof {
184
+ denom?: string;
185
+ amount?: string;
186
+ }[]>]: never; };
187
+ issuanceMsg?: Uint8Array;
188
+ } & { [K_3 in Exclude<keyof I["extensionSettings"], keyof ExtensionIssueSettings>]: never; };
189
+ dexSettings?: {
190
+ unifiedRefAmount?: string;
191
+ whitelistedDenoms?: string[];
192
+ } & {
193
+ unifiedRefAmount?: string;
194
+ whitelistedDenoms?: string[] & string[] & { [K_4 in Exclude<keyof I["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
195
+ } & { [K_5 in Exclude<keyof I["dexSettings"], keyof DEXSettings>]: never; };
196
+ } & { [K_6 in Exclude<keyof I, keyof MsgIssue>]: never; }>(base?: I): MsgIssue;
96
197
  fromPartial<I_1 extends {
97
198
  issuer?: string;
98
199
  symbol?: string;
@@ -105,6 +206,19 @@ export declare const MsgIssue: {
105
206
  sendCommissionRate?: string;
106
207
  uri?: string;
107
208
  uriHash?: string;
209
+ extensionSettings?: {
210
+ codeId?: number;
211
+ label?: string;
212
+ funds?: {
213
+ denom?: string;
214
+ amount?: string;
215
+ }[];
216
+ issuanceMsg?: Uint8Array;
217
+ };
218
+ dexSettings?: {
219
+ unifiedRefAmount?: string;
220
+ whitelistedDenoms?: string[];
221
+ };
108
222
  } & {
109
223
  issuer?: string;
110
224
  symbol?: string;
@@ -112,12 +226,103 @@ export declare const MsgIssue: {
112
226
  precision?: number;
113
227
  initialAmount?: string;
114
228
  description?: string;
115
- features?: Feature[] & Feature[] & { [K_2 in Exclude<keyof I_1["features"], keyof Feature[]>]: never; };
229
+ features?: Feature[] & Feature[] & { [K_7 in Exclude<keyof I_1["features"], keyof Feature[]>]: never; };
116
230
  burnRate?: string;
117
231
  sendCommissionRate?: string;
118
232
  uri?: string;
119
233
  uriHash?: string;
120
- } & { [K_3 in Exclude<keyof I_1, keyof MsgIssue>]: never; }>(object: I_1): MsgIssue;
234
+ extensionSettings?: {
235
+ codeId?: number;
236
+ label?: string;
237
+ funds?: {
238
+ denom?: string;
239
+ amount?: string;
240
+ }[];
241
+ issuanceMsg?: Uint8Array;
242
+ } & {
243
+ codeId?: number;
244
+ label?: string;
245
+ funds?: {
246
+ denom?: string;
247
+ amount?: string;
248
+ }[] & ({
249
+ denom?: string;
250
+ amount?: string;
251
+ } & {
252
+ denom?: string;
253
+ amount?: string;
254
+ } & { [K_8 in Exclude<keyof I_1["extensionSettings"]["funds"][number], keyof Coin>]: never; })[] & { [K_9 in Exclude<keyof I_1["extensionSettings"]["funds"], keyof {
255
+ denom?: string;
256
+ amount?: string;
257
+ }[]>]: never; };
258
+ issuanceMsg?: Uint8Array;
259
+ } & { [K_10 in Exclude<keyof I_1["extensionSettings"], keyof ExtensionIssueSettings>]: never; };
260
+ dexSettings?: {
261
+ unifiedRefAmount?: string;
262
+ whitelistedDenoms?: string[];
263
+ } & {
264
+ unifiedRefAmount?: string;
265
+ whitelistedDenoms?: string[] & string[] & { [K_11 in Exclude<keyof I_1["dexSettings"]["whitelistedDenoms"], keyof string[]>]: never; };
266
+ } & { [K_12 in Exclude<keyof I_1["dexSettings"], keyof DEXSettings>]: never; };
267
+ } & { [K_13 in Exclude<keyof I_1, keyof MsgIssue>]: never; }>(object: I_1): MsgIssue;
268
+ };
269
+ export declare const ExtensionIssueSettings: {
270
+ encode(message: ExtensionIssueSettings, writer?: _m0.Writer): _m0.Writer;
271
+ decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionIssueSettings;
272
+ fromJSON(object: any): ExtensionIssueSettings;
273
+ toJSON(message: ExtensionIssueSettings): unknown;
274
+ create<I extends {
275
+ codeId?: number;
276
+ label?: string;
277
+ funds?: {
278
+ denom?: string;
279
+ amount?: string;
280
+ }[];
281
+ issuanceMsg?: Uint8Array;
282
+ } & {
283
+ codeId?: number;
284
+ label?: string;
285
+ funds?: {
286
+ denom?: string;
287
+ amount?: string;
288
+ }[] & ({
289
+ denom?: string;
290
+ amount?: string;
291
+ } & {
292
+ denom?: string;
293
+ amount?: string;
294
+ } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
295
+ denom?: string;
296
+ amount?: string;
297
+ }[]>]: never; };
298
+ issuanceMsg?: Uint8Array;
299
+ } & { [K_2 in Exclude<keyof I, keyof ExtensionIssueSettings>]: never; }>(base?: I): ExtensionIssueSettings;
300
+ fromPartial<I_1 extends {
301
+ codeId?: number;
302
+ label?: string;
303
+ funds?: {
304
+ denom?: string;
305
+ amount?: string;
306
+ }[];
307
+ issuanceMsg?: Uint8Array;
308
+ } & {
309
+ codeId?: number;
310
+ label?: string;
311
+ funds?: {
312
+ denom?: string;
313
+ amount?: string;
314
+ }[] & ({
315
+ denom?: string;
316
+ amount?: string;
317
+ } & {
318
+ denom?: string;
319
+ amount?: string;
320
+ } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
321
+ denom?: string;
322
+ amount?: string;
323
+ }[]>]: never; };
324
+ issuanceMsg?: Uint8Array;
325
+ } & { [K_5 in Exclude<keyof I_1, keyof ExtensionIssueSettings>]: never; }>(object: I_1): ExtensionIssueSettings;
121
326
  };
122
327
  export declare const MsgMint: {
123
328
  encode(message: MsgMint, writer?: _m0.Writer): _m0.Writer;
@@ -130,6 +335,7 @@ export declare const MsgMint: {
130
335
  denom?: string;
131
336
  amount?: string;
132
337
  };
338
+ recipient?: string;
133
339
  } & {
134
340
  sender?: string;
135
341
  coin?: {
@@ -139,6 +345,7 @@ export declare const MsgMint: {
139
345
  denom?: string;
140
346
  amount?: string;
141
347
  } & { [K in Exclude<keyof I["coin"], keyof Coin>]: never; };
348
+ recipient?: string;
142
349
  } & { [K_1 in Exclude<keyof I, keyof MsgMint>]: never; }>(base?: I): MsgMint;
143
350
  fromPartial<I_1 extends {
144
351
  sender?: string;
@@ -146,6 +353,7 @@ export declare const MsgMint: {
146
353
  denom?: string;
147
354
  amount?: string;
148
355
  };
356
+ recipient?: string;
149
357
  } & {
150
358
  sender?: string;
151
359
  coin?: {
@@ -155,6 +363,7 @@ export declare const MsgMint: {
155
363
  denom?: string;
156
364
  amount?: string;
157
365
  } & { [K_2 in Exclude<keyof I_1["coin"], keyof Coin>]: never; };
366
+ recipient?: string;
158
367
  } & { [K_3 in Exclude<keyof I_1, keyof MsgMint>]: never; }>(object: I_1): MsgMint;
159
368
  };
160
369
  export declare const MsgBurn: {
@@ -279,6 +488,48 @@ export declare const MsgUnfreeze: {
279
488
  } & { [K_2 in Exclude<keyof I_1["coin"], keyof Coin>]: never; };
280
489
  } & { [K_3 in Exclude<keyof I_1, keyof MsgUnfreeze>]: never; }>(object: I_1): MsgUnfreeze;
281
490
  };
491
+ export declare const MsgSetFrozen: {
492
+ encode(message: MsgSetFrozen, writer?: _m0.Writer): _m0.Writer;
493
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetFrozen;
494
+ fromJSON(object: any): MsgSetFrozen;
495
+ toJSON(message: MsgSetFrozen): unknown;
496
+ create<I extends {
497
+ sender?: string;
498
+ account?: string;
499
+ coin?: {
500
+ denom?: string;
501
+ amount?: string;
502
+ };
503
+ } & {
504
+ sender?: string;
505
+ account?: string;
506
+ coin?: {
507
+ denom?: string;
508
+ amount?: string;
509
+ } & {
510
+ denom?: string;
511
+ amount?: string;
512
+ } & { [K in Exclude<keyof I["coin"], keyof Coin>]: never; };
513
+ } & { [K_1 in Exclude<keyof I, keyof MsgSetFrozen>]: never; }>(base?: I): MsgSetFrozen;
514
+ fromPartial<I_1 extends {
515
+ sender?: string;
516
+ account?: string;
517
+ coin?: {
518
+ denom?: string;
519
+ amount?: string;
520
+ };
521
+ } & {
522
+ sender?: string;
523
+ account?: string;
524
+ coin?: {
525
+ denom?: string;
526
+ amount?: string;
527
+ } & {
528
+ denom?: string;
529
+ amount?: string;
530
+ } & { [K_2 in Exclude<keyof I_1["coin"], keyof Coin>]: never; };
531
+ } & { [K_3 in Exclude<keyof I_1, keyof MsgSetFrozen>]: never; }>(object: I_1): MsgSetFrozen;
532
+ };
282
533
  export declare const MsgGloballyFreeze: {
283
534
  encode(message: MsgGloballyFreeze, writer?: _m0.Writer): _m0.Writer;
284
535
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgGloballyFreeze;
@@ -319,11 +570,11 @@ export declare const MsgGloballyUnfreeze: {
319
570
  denom?: string;
320
571
  } & { [K_1 in Exclude<keyof I_1, keyof MsgGloballyUnfreeze>]: never; }>(object: I_1): MsgGloballyUnfreeze;
321
572
  };
322
- export declare const MsgSetWhitelistedLimit: {
323
- encode(message: MsgSetWhitelistedLimit, writer?: _m0.Writer): _m0.Writer;
324
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWhitelistedLimit;
325
- fromJSON(object: any): MsgSetWhitelistedLimit;
326
- toJSON(message: MsgSetWhitelistedLimit): unknown;
573
+ export declare const MsgClawback: {
574
+ encode(message: MsgClawback, writer?: _m0.Writer): _m0.Writer;
575
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgClawback;
576
+ fromJSON(object: any): MsgClawback;
577
+ toJSON(message: MsgClawback): unknown;
327
578
  create<I extends {
328
579
  sender?: string;
329
580
  account?: string;
@@ -341,7 +592,7 @@ export declare const MsgSetWhitelistedLimit: {
341
592
  denom?: string;
342
593
  amount?: string;
343
594
  } & { [K in Exclude<keyof I["coin"], keyof Coin>]: never; };
344
- } & { [K_1 in Exclude<keyof I, keyof MsgSetWhitelistedLimit>]: never; }>(base?: I): MsgSetWhitelistedLimit;
595
+ } & { [K_1 in Exclude<keyof I, keyof MsgClawback>]: never; }>(base?: I): MsgClawback;
345
596
  fromPartial<I_1 extends {
346
597
  sender?: string;
347
598
  account?: string;
@@ -359,13 +610,13 @@ export declare const MsgSetWhitelistedLimit: {
359
610
  denom?: string;
360
611
  amount?: string;
361
612
  } & { [K_2 in Exclude<keyof I_1["coin"], keyof Coin>]: never; };
362
- } & { [K_3 in Exclude<keyof I_1, keyof MsgSetWhitelistedLimit>]: never; }>(object: I_1): MsgSetWhitelistedLimit;
613
+ } & { [K_3 in Exclude<keyof I_1, keyof MsgClawback>]: never; }>(object: I_1): MsgClawback;
363
614
  };
364
- export declare const MsgClawback: {
365
- encode(message: MsgClawback, writer?: _m0.Writer): _m0.Writer;
366
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgClawback;
367
- fromJSON(object: any): MsgClawback;
368
- toJSON(message: MsgClawback): unknown;
615
+ export declare const MsgSetWhitelistedLimit: {
616
+ encode(message: MsgSetWhitelistedLimit, writer?: _m0.Writer): _m0.Writer;
617
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWhitelistedLimit;
618
+ fromJSON(object: any): MsgSetWhitelistedLimit;
619
+ toJSON(message: MsgSetWhitelistedLimit): unknown;
369
620
  create<I extends {
370
621
  sender?: string;
371
622
  account?: string;
@@ -383,7 +634,7 @@ export declare const MsgClawback: {
383
634
  denom?: string;
384
635
  amount?: string;
385
636
  } & { [K in Exclude<keyof I["coin"], keyof Coin>]: never; };
386
- } & { [K_1 in Exclude<keyof I, keyof MsgClawback>]: never; }>(base?: I): MsgClawback;
637
+ } & { [K_1 in Exclude<keyof I, keyof MsgSetWhitelistedLimit>]: never; }>(base?: I): MsgSetWhitelistedLimit;
387
638
  fromPartial<I_1 extends {
388
639
  sender?: string;
389
640
  account?: string;
@@ -401,7 +652,215 @@ export declare const MsgClawback: {
401
652
  denom?: string;
402
653
  amount?: string;
403
654
  } & { [K_2 in Exclude<keyof I_1["coin"], keyof Coin>]: never; };
404
- } & { [K_3 in Exclude<keyof I_1, keyof MsgClawback>]: never; }>(object: I_1): MsgClawback;
655
+ } & { [K_3 in Exclude<keyof I_1, keyof MsgSetWhitelistedLimit>]: never; }>(object: I_1): MsgSetWhitelistedLimit;
656
+ };
657
+ export declare const MsgTransferAdmin: {
658
+ encode(message: MsgTransferAdmin, writer?: _m0.Writer): _m0.Writer;
659
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferAdmin;
660
+ fromJSON(object: any): MsgTransferAdmin;
661
+ toJSON(message: MsgTransferAdmin): unknown;
662
+ create<I extends {
663
+ sender?: string;
664
+ account?: string;
665
+ denom?: string;
666
+ } & {
667
+ sender?: string;
668
+ account?: string;
669
+ denom?: string;
670
+ } & { [K in Exclude<keyof I, keyof MsgTransferAdmin>]: never; }>(base?: I): MsgTransferAdmin;
671
+ fromPartial<I_1 extends {
672
+ sender?: string;
673
+ account?: string;
674
+ denom?: string;
675
+ } & {
676
+ sender?: string;
677
+ account?: string;
678
+ denom?: string;
679
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgTransferAdmin>]: never; }>(object: I_1): MsgTransferAdmin;
680
+ };
681
+ export declare const MsgClearAdmin: {
682
+ encode(message: MsgClearAdmin, writer?: _m0.Writer): _m0.Writer;
683
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin;
684
+ fromJSON(object: any): MsgClearAdmin;
685
+ toJSON(message: MsgClearAdmin): unknown;
686
+ create<I extends {
687
+ sender?: string;
688
+ denom?: string;
689
+ } & {
690
+ sender?: string;
691
+ denom?: string;
692
+ } & { [K in Exclude<keyof I, keyof MsgClearAdmin>]: never; }>(base?: I): MsgClearAdmin;
693
+ fromPartial<I_1 extends {
694
+ sender?: string;
695
+ denom?: string;
696
+ } & {
697
+ sender?: string;
698
+ denom?: string;
699
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgClearAdmin>]: never; }>(object: I_1): MsgClearAdmin;
700
+ };
701
+ export declare const MsgUpgradeTokenV1: {
702
+ encode(message: MsgUpgradeTokenV1, writer?: _m0.Writer): _m0.Writer;
703
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeTokenV1;
704
+ fromJSON(object: any): MsgUpgradeTokenV1;
705
+ toJSON(message: MsgUpgradeTokenV1): unknown;
706
+ create<I extends {
707
+ sender?: string;
708
+ denom?: string;
709
+ ibcEnabled?: boolean;
710
+ } & {
711
+ sender?: string;
712
+ denom?: string;
713
+ ibcEnabled?: boolean;
714
+ } & { [K in Exclude<keyof I, keyof MsgUpgradeTokenV1>]: never; }>(base?: I): MsgUpgradeTokenV1;
715
+ fromPartial<I_1 extends {
716
+ sender?: string;
717
+ denom?: string;
718
+ ibcEnabled?: boolean;
719
+ } & {
720
+ sender?: string;
721
+ denom?: string;
722
+ ibcEnabled?: boolean;
723
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgUpgradeTokenV1>]: never; }>(object: I_1): MsgUpgradeTokenV1;
724
+ };
725
+ export declare const MsgUpdateParams: {
726
+ encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
727
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
728
+ fromJSON(object: any): MsgUpdateParams;
729
+ toJSON(message: MsgUpdateParams): unknown;
730
+ create<I extends {
731
+ authority?: string;
732
+ params?: {
733
+ issueFee?: {
734
+ denom?: string;
735
+ amount?: string;
736
+ };
737
+ tokenUpgradeDecisionTimeout?: Date;
738
+ tokenUpgradeGracePeriod?: {
739
+ seconds?: number;
740
+ nanos?: number;
741
+ };
742
+ };
743
+ } & {
744
+ authority?: string;
745
+ params?: {
746
+ issueFee?: {
747
+ denom?: string;
748
+ amount?: string;
749
+ };
750
+ tokenUpgradeDecisionTimeout?: Date;
751
+ tokenUpgradeGracePeriod?: {
752
+ seconds?: number;
753
+ nanos?: number;
754
+ };
755
+ } & {
756
+ issueFee?: {
757
+ denom?: string;
758
+ amount?: string;
759
+ } & {
760
+ denom?: string;
761
+ amount?: string;
762
+ } & { [K in Exclude<keyof I["params"]["issueFee"], keyof Coin>]: never; };
763
+ tokenUpgradeDecisionTimeout?: Date;
764
+ tokenUpgradeGracePeriod?: {
765
+ seconds?: number;
766
+ nanos?: number;
767
+ } & {
768
+ seconds?: number;
769
+ nanos?: number;
770
+ } & { [K_1 in Exclude<keyof I["params"]["tokenUpgradeGracePeriod"], keyof import("../../../../google/protobuf/duration").Duration>]: never; };
771
+ } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
772
+ } & { [K_3 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(base?: I): MsgUpdateParams;
773
+ fromPartial<I_1 extends {
774
+ authority?: string;
775
+ params?: {
776
+ issueFee?: {
777
+ denom?: string;
778
+ amount?: string;
779
+ };
780
+ tokenUpgradeDecisionTimeout?: Date;
781
+ tokenUpgradeGracePeriod?: {
782
+ seconds?: number;
783
+ nanos?: number;
784
+ };
785
+ };
786
+ } & {
787
+ authority?: string;
788
+ params?: {
789
+ issueFee?: {
790
+ denom?: string;
791
+ amount?: string;
792
+ };
793
+ tokenUpgradeDecisionTimeout?: Date;
794
+ tokenUpgradeGracePeriod?: {
795
+ seconds?: number;
796
+ nanos?: number;
797
+ };
798
+ } & {
799
+ issueFee?: {
800
+ denom?: string;
801
+ amount?: string;
802
+ } & {
803
+ denom?: string;
804
+ amount?: string;
805
+ } & { [K_4 in Exclude<keyof I_1["params"]["issueFee"], keyof Coin>]: never; };
806
+ tokenUpgradeDecisionTimeout?: Date;
807
+ tokenUpgradeGracePeriod?: {
808
+ seconds?: number;
809
+ nanos?: number;
810
+ } & {
811
+ seconds?: number;
812
+ nanos?: number;
813
+ } & { [K_5 in Exclude<keyof I_1["params"]["tokenUpgradeGracePeriod"], keyof import("../../../../google/protobuf/duration").Duration>]: never; };
814
+ } & { [K_6 in Exclude<keyof I_1["params"], keyof Params>]: never; };
815
+ } & { [K_7 in Exclude<keyof I_1, keyof MsgUpdateParams>]: never; }>(object: I_1): MsgUpdateParams;
816
+ };
817
+ export declare const MsgUpdateDEXUnifiedRefAmount: {
818
+ encode(message: MsgUpdateDEXUnifiedRefAmount, writer?: _m0.Writer): _m0.Writer;
819
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateDEXUnifiedRefAmount;
820
+ fromJSON(object: any): MsgUpdateDEXUnifiedRefAmount;
821
+ toJSON(message: MsgUpdateDEXUnifiedRefAmount): unknown;
822
+ create<I extends {
823
+ sender?: string;
824
+ denom?: string;
825
+ unifiedRefAmount?: string;
826
+ } & {
827
+ sender?: string;
828
+ denom?: string;
829
+ unifiedRefAmount?: string;
830
+ } & { [K in Exclude<keyof I, keyof MsgUpdateDEXUnifiedRefAmount>]: never; }>(base?: I): MsgUpdateDEXUnifiedRefAmount;
831
+ fromPartial<I_1 extends {
832
+ sender?: string;
833
+ denom?: string;
834
+ unifiedRefAmount?: string;
835
+ } & {
836
+ sender?: string;
837
+ denom?: string;
838
+ unifiedRefAmount?: string;
839
+ } & { [K_1 in Exclude<keyof I_1, keyof MsgUpdateDEXUnifiedRefAmount>]: never; }>(object: I_1): MsgUpdateDEXUnifiedRefAmount;
840
+ };
841
+ export declare const MsgUpdateDEXWhitelistedDenoms: {
842
+ encode(message: MsgUpdateDEXWhitelistedDenoms, writer?: _m0.Writer): _m0.Writer;
843
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateDEXWhitelistedDenoms;
844
+ fromJSON(object: any): MsgUpdateDEXWhitelistedDenoms;
845
+ toJSON(message: MsgUpdateDEXWhitelistedDenoms): unknown;
846
+ create<I extends {
847
+ sender?: string;
848
+ denom?: string;
849
+ whitelistedDenoms?: string[];
850
+ } & {
851
+ sender?: string;
852
+ denom?: string;
853
+ whitelistedDenoms?: string[] & string[] & { [K in Exclude<keyof I["whitelistedDenoms"], keyof string[]>]: never; };
854
+ } & { [K_1 in Exclude<keyof I, keyof MsgUpdateDEXWhitelistedDenoms>]: never; }>(base?: I): MsgUpdateDEXWhitelistedDenoms;
855
+ fromPartial<I_1 extends {
856
+ sender?: string;
857
+ denom?: string;
858
+ whitelistedDenoms?: string[];
859
+ } & {
860
+ sender?: string;
861
+ denom?: string;
862
+ whitelistedDenoms?: string[] & string[] & { [K_2 in Exclude<keyof I_1["whitelistedDenoms"], keyof string[]>]: never; };
863
+ } & { [K_3 in Exclude<keyof I_1, keyof MsgUpdateDEXWhitelistedDenoms>]: never; }>(object: I_1): MsgUpdateDEXWhitelistedDenoms;
405
864
  };
406
865
  export declare const EmptyResponse: {
407
866
  encode(_: EmptyResponse, writer?: _m0.Writer): _m0.Writer;
@@ -429,6 +888,8 @@ export interface Msg {
429
888
  * account, only if there are such frozen tokens on that account.
430
889
  */
431
890
  Unfreeze(request: MsgUnfreeze): Promise<EmptyResponse>;
891
+ /** SetFrozen sets the absolute value of frozen amount. */
892
+ SetFrozen(request: MsgSetFrozen): Promise<EmptyResponse>;
432
893
  /**
433
894
  * GloballyFreeze freezes fungible token so no operations are allowed with it before unfrozen.
434
895
  * This operation is idempotent so global freeze of already frozen token does nothing.
@@ -439,9 +900,28 @@ export interface Msg {
439
900
  * This operation is idempotent so global unfreezing of non-frozen token does nothing.
440
901
  */
441
902
  GloballyUnfreeze(request: MsgGloballyUnfreeze): Promise<EmptyResponse>;
903
+ /**
904
+ * Clawback confiscates a part of fungible tokens from an account
905
+ * to the admin, only if the clawback feature is enabled on that token.
906
+ */
907
+ Clawback(request: MsgClawback): Promise<EmptyResponse>;
442
908
  /** SetWhitelistedLimit sets the limit of how many tokens a specific account may hold. */
443
909
  SetWhitelistedLimit(request: MsgSetWhitelistedLimit): Promise<EmptyResponse>;
444
- Clawback(request: MsgClawback): Promise<EmptyResponse>;
910
+ /** TransferAdmin changes admin of a fungible token. */
911
+ TransferAdmin(request: MsgTransferAdmin): Promise<EmptyResponse>;
912
+ /** ClearAdmin removes admin of a fungible token. */
913
+ ClearAdmin(request: MsgClearAdmin): Promise<EmptyResponse>;
914
+ /** TokenUpgradeV1 upgrades token to version V1. */
915
+ UpgradeTokenV1(request: MsgUpgradeTokenV1): Promise<EmptyResponse>;
916
+ /**
917
+ * UpdateParams is a governance operation to modify the parameters of the module.
918
+ * NOTE: all parameters must be provided.
919
+ */
920
+ UpdateParams(request: MsgUpdateParams): Promise<EmptyResponse>;
921
+ /** UpdateDEXUnifiedRefAmount updates DEX unified ref amount. */
922
+ UpdateDEXUnifiedRefAmount(request: MsgUpdateDEXUnifiedRefAmount): Promise<EmptyResponse>;
923
+ /** UpdateDEXWhitelistedDenoms updates DEX whitelisted denoms. */
924
+ UpdateDEXWhitelistedDenoms(request: MsgUpdateDEXWhitelistedDenoms): Promise<EmptyResponse>;
445
925
  }
446
926
  export declare class MsgClientImpl implements Msg {
447
927
  private readonly rpc;
@@ -454,16 +934,23 @@ export declare class MsgClientImpl implements Msg {
454
934
  Burn(request: MsgBurn): Promise<EmptyResponse>;
455
935
  Freeze(request: MsgFreeze): Promise<EmptyResponse>;
456
936
  Unfreeze(request: MsgUnfreeze): Promise<EmptyResponse>;
937
+ SetFrozen(request: MsgSetFrozen): Promise<EmptyResponse>;
457
938
  GloballyFreeze(request: MsgGloballyFreeze): Promise<EmptyResponse>;
458
939
  GloballyUnfreeze(request: MsgGloballyUnfreeze): Promise<EmptyResponse>;
459
- SetWhitelistedLimit(request: MsgSetWhitelistedLimit): Promise<EmptyResponse>;
460
940
  Clawback(request: MsgClawback): Promise<EmptyResponse>;
941
+ SetWhitelistedLimit(request: MsgSetWhitelistedLimit): Promise<EmptyResponse>;
942
+ TransferAdmin(request: MsgTransferAdmin): Promise<EmptyResponse>;
943
+ ClearAdmin(request: MsgClearAdmin): Promise<EmptyResponse>;
944
+ UpgradeTokenV1(request: MsgUpgradeTokenV1): Promise<EmptyResponse>;
945
+ UpdateParams(request: MsgUpdateParams): Promise<EmptyResponse>;
946
+ UpdateDEXUnifiedRefAmount(request: MsgUpdateDEXUnifiedRefAmount): Promise<EmptyResponse>;
947
+ UpdateDEXWhitelistedDenoms(request: MsgUpdateDEXWhitelistedDenoms): Promise<EmptyResponse>;
461
948
  }
462
949
  interface Rpc {
463
950
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
464
951
  }
465
952
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
466
- export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
953
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
467
954
  [K in keyof T]?: DeepPartial<T[K]>;
468
955
  } : Partial<T>;
469
956
  type KeysOfUnion<T> = T extends T ? keyof T : never;