@kimafinance/kima-transaction-api 1.0.21-beta.1 → 1.0.22-beta.1

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.
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "kimablockchain.kima";
2
+ export declare const protobufPackage = "kimablockchain.transaction";
3
3
  export interface MsgRequestTransaction {
4
4
  creator: string;
5
5
  originChain: string;
@@ -15,85 +15,40 @@ export interface MsgRequestTransactionResponse {
15
15
  msg: string;
16
16
  txId: number;
17
17
  }
18
- export interface MsgApproveTransaction {
18
+ export interface MsgFinalizeTransaction {
19
19
  creator: string;
20
20
  txId: number;
21
- txTHash: string;
21
+ txHash: string;
22
22
  success: string;
23
23
  signedKey: string;
24
24
  }
25
- export interface MsgApproveTransactionResponse {
26
- code: string;
27
- msg: string;
28
- }
29
- export interface MsgObservationVote {
30
- creator: string;
31
- txHash: string;
32
- chainId: string;
33
- from: string;
34
- to: string;
35
- amount: string;
36
- payType: string;
37
- kimaTxID: number;
38
- succeed: string;
39
- }
40
- export interface MsgObservationVoteResponse {
41
- code: string;
42
- msg: string;
43
- }
44
- export interface MsgUpdateBalance {
45
- creator: string;
46
- chainId: string;
47
- balance: string;
48
- decimal: string;
49
- }
50
- export interface MsgUpdateBalanceResponse {
25
+ export interface MsgFinalizeTransactionResponse {
51
26
  code: string;
52
27
  msg: string;
53
28
  }
54
- export interface MsgKeysignVote {
29
+ export interface MsgFinalizeProvisionTransaction {
55
30
  creator: string;
31
+ txId: number;
56
32
  txHash: string;
57
- pubKey: string;
58
- }
59
- export interface MsgKeysignVoteResponse {
60
- code: string;
61
- msg: string;
62
- }
63
- export interface MsgUpdateGasFee {
64
- creator: string;
65
- chainId: string;
66
- fee: string;
33
+ success: string;
34
+ signedKey: string;
67
35
  }
68
- export interface MsgUpdateGasFeeResponse {
36
+ export interface MsgFinalizeProvisionTransactionResponse {
69
37
  code: string;
70
38
  msg: string;
71
39
  }
72
- export interface MsgProvisionTransaction {
40
+ export interface MsgRequestProvisionTransaction {
73
41
  creator: string;
74
- fromChain: string;
42
+ chain: string;
75
43
  fromAddress: string;
76
44
  symbol: string;
77
- tokenAddr: string;
78
- amount: string;
79
- options: string;
80
- }
81
- export interface MsgProvisionTransactionResponse {
82
- code: string;
83
- msg: string;
84
- }
85
- export interface MsgDrainTransaction {
86
- creator: string;
87
- fromChain: string;
88
- toChain: string;
89
- toAddress: string;
90
- nftAddr: string;
91
45
  amount: string;
92
46
  options: string;
93
47
  }
94
- export interface MsgDrainTransactionResponse {
48
+ export interface MsgRequestProvisionTransactionResponse {
95
49
  code: string;
96
50
  msg: string;
51
+ txId: number;
97
52
  }
98
53
  export interface MsgCancelTransaction {
99
54
  creator: string;
@@ -103,108 +58,6 @@ export interface MsgCancelTransactionResponse {
103
58
  code: string;
104
59
  msg: string;
105
60
  }
106
- export interface MsgAddWhitelisted {
107
- creator: string;
108
- address: string;
109
- }
110
- export interface MsgAddWhitelistedResponse {
111
- code: string;
112
- msg: string;
113
- }
114
- export interface MsgSetAdmin {
115
- creator: string;
116
- }
117
- export interface MsgSetAdminResponse {
118
- code: string;
119
- msg: string;
120
- }
121
- export interface MsgAddPubkey {
122
- creator: string;
123
- pubkey: string;
124
- }
125
- export interface MsgAddPubkeyResponse {
126
- code: string;
127
- msg: string;
128
- }
129
- export interface MsgUpdatePubkeys {
130
- creator: string;
131
- pubkeys: string[];
132
- }
133
- export interface MsgUpdatePubkeysResponse {
134
- code: string;
135
- msg: string;
136
- }
137
- export interface MsgUpdateTssPubkey {
138
- creator: string;
139
- tssPubkey: string;
140
- ecdsa: string;
141
- eddsa: string;
142
- reserved: string;
143
- }
144
- export interface MsgUpdateTssPubkeyResponse {
145
- code: string;
146
- msg: string;
147
- }
148
- export interface MsgRemoveWhitelisted {
149
- creator: string;
150
- address: string;
151
- }
152
- export interface MsgRemoveWhitelistedResponse {
153
- code: string;
154
- msg: string;
155
- }
156
- export interface MsgClearTssInfo {
157
- creator: string;
158
- }
159
- export interface MsgClearTssInfoResponse {
160
- code: string;
161
- msg: string;
162
- }
163
- export interface MsgAddChain {
164
- creator: string;
165
- name: string;
166
- symbol: string;
167
- tokens: string[];
168
- }
169
- export interface MsgAddChainResponse {
170
- code: string;
171
- msg: string;
172
- }
173
- export interface MsgUpdateTssHash {
174
- creator: string;
175
- txId: number;
176
- tssPullHash: string;
177
- }
178
- export interface MsgUpdateTssHashResponse {
179
- code: string;
180
- msg: string;
181
- }
182
- export interface MsgUpdateChainStatus {
183
- creator: string;
184
- chainSymbol: string;
185
- disabled: boolean;
186
- }
187
- export interface MsgUpdateChainStatusResponse {
188
- code: string;
189
- msg: string;
190
- }
191
- export interface MsgAddToken {
192
- creator: string;
193
- chainSymbol: string;
194
- tokenSymbol: string;
195
- }
196
- export interface MsgAddTokenResponse {
197
- code: string;
198
- msg: string;
199
- }
200
- export interface MsgUpdateTssStatus {
201
- creator: string;
202
- status: string;
203
- }
204
- export interface MsgUpdateTssStatusResponse {
205
- code: string;
206
- msg: string;
207
- }
208
61
  export interface MsgSetTxHash {
209
62
  creator: string;
210
63
  txId: number;
@@ -217,56 +70,32 @@ export interface MsgSetTxHashResponse {
217
70
  export interface MsgSetTxProcess {
218
71
  creator: string;
219
72
  txId: number;
220
- timestamp: string;
73
+ timestamp: number;
221
74
  msgId: string;
222
75
  }
223
76
  export interface MsgSetTxProcessResponse {
224
77
  }
225
- export interface MsgFinalizeTransaction {
78
+ export interface MsgRequestDrainTransaction {
226
79
  creator: string;
227
- txId: number;
228
- txHash: string;
229
- success: string;
230
- signedKey: string;
80
+ toChain: string;
81
+ toAddress: string;
82
+ symbol: string;
83
+ amount: string;
84
+ options: string;
231
85
  }
232
- export interface MsgFinalizeTransactionResponse {
86
+ export interface MsgRequestDrainTransactionResponse {
233
87
  code: string;
234
88
  msg: string;
89
+ txId: number;
235
90
  }
236
- export interface MsgWithdrawPool {
237
- creator: string;
238
- chain: string;
239
- targetAddress: string;
240
- amount: string;
241
- }
242
- export interface MsgWithdrawPoolResponse {
243
- }
244
- export interface MsgUpdateToken {
245
- creator: string;
246
- chain: string;
247
- address: string;
248
- }
249
- export interface MsgUpdateTokenResponse {
250
- }
251
- export interface MsgUpdatePoolRequest {
252
- creator: string;
253
- reqId: number;
254
- processed: string;
255
- }
256
- export interface MsgUpdatePoolRequestResponse {
257
- }
258
- export interface MsgLeaderIsReady {
259
- creator: string;
260
- msgId: string;
261
- peerId: string;
262
- }
263
- export interface MsgLeaderIsReadyResponse {
264
- }
265
- export interface MsgAddPubkeyEddsa {
91
+ export interface MsgFinalizeDrainTransaction {
266
92
  creator: string;
267
- pubkey: string;
93
+ txId: number;
94
+ txHash: string;
95
+ success: string;
96
+ signedKey: string;
268
97
  }
269
- export interface MsgAddPubkeyEddsaResponse {
98
+ export interface MsgFinalizeDrainTransactionResponse {
270
99
  code: string;
271
100
  msg: string;
272
101
  }
@@ -310,235 +139,105 @@ export declare const MsgRequestTransactionResponse: {
310
139
  txId?: number | undefined;
311
140
  } & { [K in Exclude<keyof I, keyof MsgRequestTransactionResponse>]: never; }>(object: I): MsgRequestTransactionResponse;
312
141
  };
313
- export declare const MsgApproveTransaction: {
314
- encode(message: MsgApproveTransaction, writer?: _m0.Writer): _m0.Writer;
315
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgApproveTransaction;
316
- fromJSON(object: any): MsgApproveTransaction;
317
- toJSON(message: MsgApproveTransaction): unknown;
142
+ export declare const MsgFinalizeTransaction: {
143
+ encode(message: MsgFinalizeTransaction, writer?: _m0.Writer): _m0.Writer;
144
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeTransaction;
145
+ fromJSON(object: any): MsgFinalizeTransaction;
146
+ toJSON(message: MsgFinalizeTransaction): unknown;
318
147
  fromPartial<I extends {
319
148
  creator?: string | undefined;
320
149
  txId?: number | undefined;
321
- txTHash?: string | undefined;
150
+ txHash?: string | undefined;
322
151
  success?: string | undefined;
323
152
  signedKey?: string | undefined;
324
153
  } & {
325
154
  creator?: string | undefined;
326
155
  txId?: number | undefined;
327
- txTHash?: string | undefined;
156
+ txHash?: string | undefined;
328
157
  success?: string | undefined;
329
158
  signedKey?: string | undefined;
330
- } & { [K in Exclude<keyof I, keyof MsgApproveTransaction>]: never; }>(object: I): MsgApproveTransaction;
331
- };
332
- export declare const MsgApproveTransactionResponse: {
333
- encode(message: MsgApproveTransactionResponse, writer?: _m0.Writer): _m0.Writer;
334
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgApproveTransactionResponse;
335
- fromJSON(object: any): MsgApproveTransactionResponse;
336
- toJSON(message: MsgApproveTransactionResponse): unknown;
337
- fromPartial<I extends {
338
- code?: string | undefined;
339
- msg?: string | undefined;
340
- } & {
341
- code?: string | undefined;
342
- msg?: string | undefined;
343
- } & { [K in Exclude<keyof I, keyof MsgApproveTransactionResponse>]: never; }>(object: I): MsgApproveTransactionResponse;
344
- };
345
- export declare const MsgObservationVote: {
346
- encode(message: MsgObservationVote, writer?: _m0.Writer): _m0.Writer;
347
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgObservationVote;
348
- fromJSON(object: any): MsgObservationVote;
349
- toJSON(message: MsgObservationVote): unknown;
350
- fromPartial<I extends {
351
- creator?: string | undefined;
352
- txHash?: string | undefined;
353
- chainId?: string | undefined;
354
- from?: string | undefined;
355
- to?: string | undefined;
356
- amount?: string | undefined;
357
- payType?: string | undefined;
358
- kimaTxID?: number | undefined;
359
- succeed?: string | undefined;
360
- } & {
361
- creator?: string | undefined;
362
- txHash?: string | undefined;
363
- chainId?: string | undefined;
364
- from?: string | undefined;
365
- to?: string | undefined;
366
- amount?: string | undefined;
367
- payType?: string | undefined;
368
- kimaTxID?: number | undefined;
369
- succeed?: string | undefined;
370
- } & { [K in Exclude<keyof I, keyof MsgObservationVote>]: never; }>(object: I): MsgObservationVote;
371
- };
372
- export declare const MsgObservationVoteResponse: {
373
- encode(message: MsgObservationVoteResponse, writer?: _m0.Writer): _m0.Writer;
374
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgObservationVoteResponse;
375
- fromJSON(object: any): MsgObservationVoteResponse;
376
- toJSON(message: MsgObservationVoteResponse): unknown;
377
- fromPartial<I extends {
378
- code?: string | undefined;
379
- msg?: string | undefined;
380
- } & {
381
- code?: string | undefined;
382
- msg?: string | undefined;
383
- } & { [K in Exclude<keyof I, keyof MsgObservationVoteResponse>]: never; }>(object: I): MsgObservationVoteResponse;
384
- };
385
- export declare const MsgUpdateBalance: {
386
- encode(message: MsgUpdateBalance, writer?: _m0.Writer): _m0.Writer;
387
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateBalance;
388
- fromJSON(object: any): MsgUpdateBalance;
389
- toJSON(message: MsgUpdateBalance): unknown;
390
- fromPartial<I extends {
391
- creator?: string | undefined;
392
- chainId?: string | undefined;
393
- balance?: string | undefined;
394
- decimal?: string | undefined;
395
- } & {
396
- creator?: string | undefined;
397
- chainId?: string | undefined;
398
- balance?: string | undefined;
399
- decimal?: string | undefined;
400
- } & { [K in Exclude<keyof I, keyof MsgUpdateBalance>]: never; }>(object: I): MsgUpdateBalance;
159
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeTransaction>]: never; }>(object: I): MsgFinalizeTransaction;
401
160
  };
402
- export declare const MsgUpdateBalanceResponse: {
403
- encode(message: MsgUpdateBalanceResponse, writer?: _m0.Writer): _m0.Writer;
404
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateBalanceResponse;
405
- fromJSON(object: any): MsgUpdateBalanceResponse;
406
- toJSON(message: MsgUpdateBalanceResponse): unknown;
161
+ export declare const MsgFinalizeTransactionResponse: {
162
+ encode(message: MsgFinalizeTransactionResponse, writer?: _m0.Writer): _m0.Writer;
163
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeTransactionResponse;
164
+ fromJSON(object: any): MsgFinalizeTransactionResponse;
165
+ toJSON(message: MsgFinalizeTransactionResponse): unknown;
407
166
  fromPartial<I extends {
408
167
  code?: string | undefined;
409
168
  msg?: string | undefined;
410
169
  } & {
411
170
  code?: string | undefined;
412
171
  msg?: string | undefined;
413
- } & { [K in Exclude<keyof I, keyof MsgUpdateBalanceResponse>]: never; }>(object: I): MsgUpdateBalanceResponse;
172
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeTransactionResponse>]: never; }>(object: I): MsgFinalizeTransactionResponse;
414
173
  };
415
- export declare const MsgKeysignVote: {
416
- encode(message: MsgKeysignVote, writer?: _m0.Writer): _m0.Writer;
417
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgKeysignVote;
418
- fromJSON(object: any): MsgKeysignVote;
419
- toJSON(message: MsgKeysignVote): unknown;
174
+ export declare const MsgFinalizeProvisionTransaction: {
175
+ encode(message: MsgFinalizeProvisionTransaction, writer?: _m0.Writer): _m0.Writer;
176
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeProvisionTransaction;
177
+ fromJSON(object: any): MsgFinalizeProvisionTransaction;
178
+ toJSON(message: MsgFinalizeProvisionTransaction): unknown;
420
179
  fromPartial<I extends {
421
180
  creator?: string | undefined;
181
+ txId?: number | undefined;
422
182
  txHash?: string | undefined;
423
- pubKey?: string | undefined;
183
+ success?: string | undefined;
184
+ signedKey?: string | undefined;
424
185
  } & {
425
186
  creator?: string | undefined;
187
+ txId?: number | undefined;
426
188
  txHash?: string | undefined;
427
- pubKey?: string | undefined;
428
- } & { [K in Exclude<keyof I, keyof MsgKeysignVote>]: never; }>(object: I): MsgKeysignVote;
429
- };
430
- export declare const MsgKeysignVoteResponse: {
431
- encode(message: MsgKeysignVoteResponse, writer?: _m0.Writer): _m0.Writer;
432
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgKeysignVoteResponse;
433
- fromJSON(object: any): MsgKeysignVoteResponse;
434
- toJSON(message: MsgKeysignVoteResponse): unknown;
435
- fromPartial<I extends {
436
- code?: string | undefined;
437
- msg?: string | undefined;
438
- } & {
439
- code?: string | undefined;
440
- msg?: string | undefined;
441
- } & { [K in Exclude<keyof I, keyof MsgKeysignVoteResponse>]: never; }>(object: I): MsgKeysignVoteResponse;
442
- };
443
- export declare const MsgUpdateGasFee: {
444
- encode(message: MsgUpdateGasFee, writer?: _m0.Writer): _m0.Writer;
445
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGasFee;
446
- fromJSON(object: any): MsgUpdateGasFee;
447
- toJSON(message: MsgUpdateGasFee): unknown;
448
- fromPartial<I extends {
449
- creator?: string | undefined;
450
- chainId?: string | undefined;
451
- fee?: string | undefined;
452
- } & {
453
- creator?: string | undefined;
454
- chainId?: string | undefined;
455
- fee?: string | undefined;
456
- } & { [K in Exclude<keyof I, keyof MsgUpdateGasFee>]: never; }>(object: I): MsgUpdateGasFee;
189
+ success?: string | undefined;
190
+ signedKey?: string | undefined;
191
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeProvisionTransaction>]: never; }>(object: I): MsgFinalizeProvisionTransaction;
457
192
  };
458
- export declare const MsgUpdateGasFeeResponse: {
459
- encode(message: MsgUpdateGasFeeResponse, writer?: _m0.Writer): _m0.Writer;
460
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGasFeeResponse;
461
- fromJSON(object: any): MsgUpdateGasFeeResponse;
462
- toJSON(message: MsgUpdateGasFeeResponse): unknown;
193
+ export declare const MsgFinalizeProvisionTransactionResponse: {
194
+ encode(message: MsgFinalizeProvisionTransactionResponse, writer?: _m0.Writer): _m0.Writer;
195
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeProvisionTransactionResponse;
196
+ fromJSON(object: any): MsgFinalizeProvisionTransactionResponse;
197
+ toJSON(message: MsgFinalizeProvisionTransactionResponse): unknown;
463
198
  fromPartial<I extends {
464
199
  code?: string | undefined;
465
200
  msg?: string | undefined;
466
201
  } & {
467
202
  code?: string | undefined;
468
203
  msg?: string | undefined;
469
- } & { [K in Exclude<keyof I, keyof MsgUpdateGasFeeResponse>]: never; }>(object: I): MsgUpdateGasFeeResponse;
204
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeProvisionTransactionResponse>]: never; }>(object: I): MsgFinalizeProvisionTransactionResponse;
470
205
  };
471
- export declare const MsgProvisionTransaction: {
472
- encode(message: MsgProvisionTransaction, writer?: _m0.Writer): _m0.Writer;
473
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgProvisionTransaction;
474
- fromJSON(object: any): MsgProvisionTransaction;
475
- toJSON(message: MsgProvisionTransaction): unknown;
206
+ export declare const MsgRequestProvisionTransaction: {
207
+ encode(message: MsgRequestProvisionTransaction, writer?: _m0.Writer): _m0.Writer;
208
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestProvisionTransaction;
209
+ fromJSON(object: any): MsgRequestProvisionTransaction;
210
+ toJSON(message: MsgRequestProvisionTransaction): unknown;
476
211
  fromPartial<I extends {
477
212
  creator?: string | undefined;
478
- fromChain?: string | undefined;
213
+ chain?: string | undefined;
479
214
  fromAddress?: string | undefined;
480
215
  symbol?: string | undefined;
481
- tokenAddr?: string | undefined;
482
216
  amount?: string | undefined;
483
217
  options?: string | undefined;
484
218
  } & {
485
219
  creator?: string | undefined;
486
- fromChain?: string | undefined;
220
+ chain?: string | undefined;
487
221
  fromAddress?: string | undefined;
488
222
  symbol?: string | undefined;
489
- tokenAddr?: string | undefined;
490
223
  amount?: string | undefined;
491
224
  options?: string | undefined;
492
- } & { [K in Exclude<keyof I, keyof MsgProvisionTransaction>]: never; }>(object: I): MsgProvisionTransaction;
225
+ } & { [K in Exclude<keyof I, keyof MsgRequestProvisionTransaction>]: never; }>(object: I): MsgRequestProvisionTransaction;
493
226
  };
494
- export declare const MsgProvisionTransactionResponse: {
495
- encode(message: MsgProvisionTransactionResponse, writer?: _m0.Writer): _m0.Writer;
496
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgProvisionTransactionResponse;
497
- fromJSON(object: any): MsgProvisionTransactionResponse;
498
- toJSON(message: MsgProvisionTransactionResponse): unknown;
499
- fromPartial<I extends {
500
- code?: string | undefined;
501
- msg?: string | undefined;
502
- } & {
503
- code?: string | undefined;
504
- msg?: string | undefined;
505
- } & { [K in Exclude<keyof I, keyof MsgProvisionTransactionResponse>]: never; }>(object: I): MsgProvisionTransactionResponse;
506
- };
507
- export declare const MsgDrainTransaction: {
508
- encode(message: MsgDrainTransaction, writer?: _m0.Writer): _m0.Writer;
509
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgDrainTransaction;
510
- fromJSON(object: any): MsgDrainTransaction;
511
- toJSON(message: MsgDrainTransaction): unknown;
512
- fromPartial<I extends {
513
- creator?: string | undefined;
514
- fromChain?: string | undefined;
515
- toChain?: string | undefined;
516
- toAddress?: string | undefined;
517
- nftAddr?: string | undefined;
518
- amount?: string | undefined;
519
- options?: string | undefined;
520
- } & {
521
- creator?: string | undefined;
522
- fromChain?: string | undefined;
523
- toChain?: string | undefined;
524
- toAddress?: string | undefined;
525
- nftAddr?: string | undefined;
526
- amount?: string | undefined;
527
- options?: string | undefined;
528
- } & { [K in Exclude<keyof I, keyof MsgDrainTransaction>]: never; }>(object: I): MsgDrainTransaction;
529
- };
530
- export declare const MsgDrainTransactionResponse: {
531
- encode(message: MsgDrainTransactionResponse, writer?: _m0.Writer): _m0.Writer;
532
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgDrainTransactionResponse;
533
- fromJSON(object: any): MsgDrainTransactionResponse;
534
- toJSON(message: MsgDrainTransactionResponse): unknown;
227
+ export declare const MsgRequestProvisionTransactionResponse: {
228
+ encode(message: MsgRequestProvisionTransactionResponse, writer?: _m0.Writer): _m0.Writer;
229
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestProvisionTransactionResponse;
230
+ fromJSON(object: any): MsgRequestProvisionTransactionResponse;
231
+ toJSON(message: MsgRequestProvisionTransactionResponse): unknown;
535
232
  fromPartial<I extends {
536
233
  code?: string | undefined;
537
234
  msg?: string | undefined;
235
+ txId?: number | undefined;
538
236
  } & {
539
237
  code?: string | undefined;
540
238
  msg?: string | undefined;
541
- } & { [K in Exclude<keyof I, keyof MsgDrainTransactionResponse>]: never; }>(object: I): MsgDrainTransactionResponse;
239
+ txId?: number | undefined;
240
+ } & { [K in Exclude<keyof I, keyof MsgRequestProvisionTransactionResponse>]: never; }>(object: I): MsgRequestProvisionTransactionResponse;
542
241
  };
543
242
  export declare const MsgCancelTransaction: {
544
243
  encode(message: MsgCancelTransaction, writer?: _m0.Writer): _m0.Writer;
@@ -566,330 +265,6 @@ export declare const MsgCancelTransactionResponse: {
566
265
  msg?: string | undefined;
567
266
  } & { [K in Exclude<keyof I, keyof MsgCancelTransactionResponse>]: never; }>(object: I): MsgCancelTransactionResponse;
568
267
  };
569
- export declare const MsgAddWhitelisted: {
570
- encode(message: MsgAddWhitelisted, writer?: _m0.Writer): _m0.Writer;
571
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddWhitelisted;
572
- fromJSON(object: any): MsgAddWhitelisted;
573
- toJSON(message: MsgAddWhitelisted): unknown;
574
- fromPartial<I extends {
575
- creator?: string | undefined;
576
- address?: string | undefined;
577
- } & {
578
- creator?: string | undefined;
579
- address?: string | undefined;
580
- } & { [K in Exclude<keyof I, keyof MsgAddWhitelisted>]: never; }>(object: I): MsgAddWhitelisted;
581
- };
582
- export declare const MsgAddWhitelistedResponse: {
583
- encode(message: MsgAddWhitelistedResponse, writer?: _m0.Writer): _m0.Writer;
584
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddWhitelistedResponse;
585
- fromJSON(object: any): MsgAddWhitelistedResponse;
586
- toJSON(message: MsgAddWhitelistedResponse): unknown;
587
- fromPartial<I extends {
588
- code?: string | undefined;
589
- msg?: string | undefined;
590
- } & {
591
- code?: string | undefined;
592
- msg?: string | undefined;
593
- } & { [K in Exclude<keyof I, keyof MsgAddWhitelistedResponse>]: never; }>(object: I): MsgAddWhitelistedResponse;
594
- };
595
- export declare const MsgSetAdmin: {
596
- encode(message: MsgSetAdmin, writer?: _m0.Writer): _m0.Writer;
597
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetAdmin;
598
- fromJSON(object: any): MsgSetAdmin;
599
- toJSON(message: MsgSetAdmin): unknown;
600
- fromPartial<I extends {
601
- creator?: string | undefined;
602
- } & {
603
- creator?: string | undefined;
604
- } & { [K in Exclude<keyof I, "creator">]: never; }>(object: I): MsgSetAdmin;
605
- };
606
- export declare const MsgSetAdminResponse: {
607
- encode(message: MsgSetAdminResponse, writer?: _m0.Writer): _m0.Writer;
608
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetAdminResponse;
609
- fromJSON(object: any): MsgSetAdminResponse;
610
- toJSON(message: MsgSetAdminResponse): unknown;
611
- fromPartial<I extends {
612
- code?: string | undefined;
613
- msg?: string | undefined;
614
- } & {
615
- code?: string | undefined;
616
- msg?: string | undefined;
617
- } & { [K in Exclude<keyof I, keyof MsgSetAdminResponse>]: never; }>(object: I): MsgSetAdminResponse;
618
- };
619
- export declare const MsgAddPubkey: {
620
- encode(message: MsgAddPubkey, writer?: _m0.Writer): _m0.Writer;
621
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddPubkey;
622
- fromJSON(object: any): MsgAddPubkey;
623
- toJSON(message: MsgAddPubkey): unknown;
624
- fromPartial<I extends {
625
- creator?: string | undefined;
626
- pubkey?: string | undefined;
627
- } & {
628
- creator?: string | undefined;
629
- pubkey?: string | undefined;
630
- } & { [K in Exclude<keyof I, keyof MsgAddPubkey>]: never; }>(object: I): MsgAddPubkey;
631
- };
632
- export declare const MsgAddPubkeyResponse: {
633
- encode(message: MsgAddPubkeyResponse, writer?: _m0.Writer): _m0.Writer;
634
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddPubkeyResponse;
635
- fromJSON(object: any): MsgAddPubkeyResponse;
636
- toJSON(message: MsgAddPubkeyResponse): unknown;
637
- fromPartial<I extends {
638
- code?: string | undefined;
639
- msg?: string | undefined;
640
- } & {
641
- code?: string | undefined;
642
- msg?: string | undefined;
643
- } & { [K in Exclude<keyof I, keyof MsgAddPubkeyResponse>]: never; }>(object: I): MsgAddPubkeyResponse;
644
- };
645
- export declare const MsgUpdatePubkeys: {
646
- encode(message: MsgUpdatePubkeys, writer?: _m0.Writer): _m0.Writer;
647
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdatePubkeys;
648
- fromJSON(object: any): MsgUpdatePubkeys;
649
- toJSON(message: MsgUpdatePubkeys): unknown;
650
- fromPartial<I extends {
651
- creator?: string | undefined;
652
- pubkeys?: string[] | undefined;
653
- } & {
654
- creator?: string | undefined;
655
- pubkeys?: (string[] & string[] & { [K in Exclude<keyof I["pubkeys"], keyof string[]>]: never; }) | undefined;
656
- } & { [K_1 in Exclude<keyof I, keyof MsgUpdatePubkeys>]: never; }>(object: I): MsgUpdatePubkeys;
657
- };
658
- export declare const MsgUpdatePubkeysResponse: {
659
- encode(message: MsgUpdatePubkeysResponse, writer?: _m0.Writer): _m0.Writer;
660
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdatePubkeysResponse;
661
- fromJSON(object: any): MsgUpdatePubkeysResponse;
662
- toJSON(message: MsgUpdatePubkeysResponse): unknown;
663
- fromPartial<I extends {
664
- code?: string | undefined;
665
- msg?: string | undefined;
666
- } & {
667
- code?: string | undefined;
668
- msg?: string | undefined;
669
- } & { [K in Exclude<keyof I, keyof MsgUpdatePubkeysResponse>]: never; }>(object: I): MsgUpdatePubkeysResponse;
670
- };
671
- export declare const MsgUpdateTssPubkey: {
672
- encode(message: MsgUpdateTssPubkey, writer?: _m0.Writer): _m0.Writer;
673
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTssPubkey;
674
- fromJSON(object: any): MsgUpdateTssPubkey;
675
- toJSON(message: MsgUpdateTssPubkey): unknown;
676
- fromPartial<I extends {
677
- creator?: string | undefined;
678
- tssPubkey?: string | undefined;
679
- ecdsa?: string | undefined;
680
- eddsa?: string | undefined;
681
- reserved?: string | undefined;
682
- } & {
683
- creator?: string | undefined;
684
- tssPubkey?: string | undefined;
685
- ecdsa?: string | undefined;
686
- eddsa?: string | undefined;
687
- reserved?: string | undefined;
688
- } & { [K in Exclude<keyof I, keyof MsgUpdateTssPubkey>]: never; }>(object: I): MsgUpdateTssPubkey;
689
- };
690
- export declare const MsgUpdateTssPubkeyResponse: {
691
- encode(message: MsgUpdateTssPubkeyResponse, writer?: _m0.Writer): _m0.Writer;
692
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTssPubkeyResponse;
693
- fromJSON(object: any): MsgUpdateTssPubkeyResponse;
694
- toJSON(message: MsgUpdateTssPubkeyResponse): unknown;
695
- fromPartial<I extends {
696
- code?: string | undefined;
697
- msg?: string | undefined;
698
- } & {
699
- code?: string | undefined;
700
- msg?: string | undefined;
701
- } & { [K in Exclude<keyof I, keyof MsgUpdateTssPubkeyResponse>]: never; }>(object: I): MsgUpdateTssPubkeyResponse;
702
- };
703
- export declare const MsgRemoveWhitelisted: {
704
- encode(message: MsgRemoveWhitelisted, writer?: _m0.Writer): _m0.Writer;
705
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveWhitelisted;
706
- fromJSON(object: any): MsgRemoveWhitelisted;
707
- toJSON(message: MsgRemoveWhitelisted): unknown;
708
- fromPartial<I extends {
709
- creator?: string | undefined;
710
- address?: string | undefined;
711
- } & {
712
- creator?: string | undefined;
713
- address?: string | undefined;
714
- } & { [K in Exclude<keyof I, keyof MsgRemoveWhitelisted>]: never; }>(object: I): MsgRemoveWhitelisted;
715
- };
716
- export declare const MsgRemoveWhitelistedResponse: {
717
- encode(message: MsgRemoveWhitelistedResponse, writer?: _m0.Writer): _m0.Writer;
718
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveWhitelistedResponse;
719
- fromJSON(object: any): MsgRemoveWhitelistedResponse;
720
- toJSON(message: MsgRemoveWhitelistedResponse): unknown;
721
- fromPartial<I extends {
722
- code?: string | undefined;
723
- msg?: string | undefined;
724
- } & {
725
- code?: string | undefined;
726
- msg?: string | undefined;
727
- } & { [K in Exclude<keyof I, keyof MsgRemoveWhitelistedResponse>]: never; }>(object: I): MsgRemoveWhitelistedResponse;
728
- };
729
- export declare const MsgClearTssInfo: {
730
- encode(message: MsgClearTssInfo, writer?: _m0.Writer): _m0.Writer;
731
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearTssInfo;
732
- fromJSON(object: any): MsgClearTssInfo;
733
- toJSON(message: MsgClearTssInfo): unknown;
734
- fromPartial<I extends {
735
- creator?: string | undefined;
736
- } & {
737
- creator?: string | undefined;
738
- } & { [K in Exclude<keyof I, "creator">]: never; }>(object: I): MsgClearTssInfo;
739
- };
740
- export declare const MsgClearTssInfoResponse: {
741
- encode(message: MsgClearTssInfoResponse, writer?: _m0.Writer): _m0.Writer;
742
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearTssInfoResponse;
743
- fromJSON(object: any): MsgClearTssInfoResponse;
744
- toJSON(message: MsgClearTssInfoResponse): unknown;
745
- fromPartial<I extends {
746
- code?: string | undefined;
747
- msg?: string | undefined;
748
- } & {
749
- code?: string | undefined;
750
- msg?: string | undefined;
751
- } & { [K in Exclude<keyof I, keyof MsgClearTssInfoResponse>]: never; }>(object: I): MsgClearTssInfoResponse;
752
- };
753
- export declare const MsgAddChain: {
754
- encode(message: MsgAddChain, writer?: _m0.Writer): _m0.Writer;
755
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddChain;
756
- fromJSON(object: any): MsgAddChain;
757
- toJSON(message: MsgAddChain): unknown;
758
- fromPartial<I extends {
759
- creator?: string | undefined;
760
- name?: string | undefined;
761
- symbol?: string | undefined;
762
- tokens?: string[] | undefined;
763
- } & {
764
- creator?: string | undefined;
765
- name?: string | undefined;
766
- symbol?: string | undefined;
767
- tokens?: (string[] & string[] & { [K in Exclude<keyof I["tokens"], keyof string[]>]: never; }) | undefined;
768
- } & { [K_1 in Exclude<keyof I, keyof MsgAddChain>]: never; }>(object: I): MsgAddChain;
769
- };
770
- export declare const MsgAddChainResponse: {
771
- encode(message: MsgAddChainResponse, writer?: _m0.Writer): _m0.Writer;
772
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddChainResponse;
773
- fromJSON(object: any): MsgAddChainResponse;
774
- toJSON(message: MsgAddChainResponse): unknown;
775
- fromPartial<I extends {
776
- code?: string | undefined;
777
- msg?: string | undefined;
778
- } & {
779
- code?: string | undefined;
780
- msg?: string | undefined;
781
- } & { [K in Exclude<keyof I, keyof MsgAddChainResponse>]: never; }>(object: I): MsgAddChainResponse;
782
- };
783
- export declare const MsgUpdateTssHash: {
784
- encode(message: MsgUpdateTssHash, writer?: _m0.Writer): _m0.Writer;
785
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTssHash;
786
- fromJSON(object: any): MsgUpdateTssHash;
787
- toJSON(message: MsgUpdateTssHash): unknown;
788
- fromPartial<I extends {
789
- creator?: string | undefined;
790
- txId?: number | undefined;
791
- tssPullHash?: string | undefined;
792
- } & {
793
- creator?: string | undefined;
794
- txId?: number | undefined;
795
- tssPullHash?: string | undefined;
796
- } & { [K in Exclude<keyof I, keyof MsgUpdateTssHash>]: never; }>(object: I): MsgUpdateTssHash;
797
- };
798
- export declare const MsgUpdateTssHashResponse: {
799
- encode(message: MsgUpdateTssHashResponse, writer?: _m0.Writer): _m0.Writer;
800
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTssHashResponse;
801
- fromJSON(object: any): MsgUpdateTssHashResponse;
802
- toJSON(message: MsgUpdateTssHashResponse): unknown;
803
- fromPartial<I extends {
804
- code?: string | undefined;
805
- msg?: string | undefined;
806
- } & {
807
- code?: string | undefined;
808
- msg?: string | undefined;
809
- } & { [K in Exclude<keyof I, keyof MsgUpdateTssHashResponse>]: never; }>(object: I): MsgUpdateTssHashResponse;
810
- };
811
- export declare const MsgUpdateChainStatus: {
812
- encode(message: MsgUpdateChainStatus, writer?: _m0.Writer): _m0.Writer;
813
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateChainStatus;
814
- fromJSON(object: any): MsgUpdateChainStatus;
815
- toJSON(message: MsgUpdateChainStatus): unknown;
816
- fromPartial<I extends {
817
- creator?: string | undefined;
818
- chainSymbol?: string | undefined;
819
- disabled?: boolean | undefined;
820
- } & {
821
- creator?: string | undefined;
822
- chainSymbol?: string | undefined;
823
- disabled?: boolean | undefined;
824
- } & { [K in Exclude<keyof I, keyof MsgUpdateChainStatus>]: never; }>(object: I): MsgUpdateChainStatus;
825
- };
826
- export declare const MsgUpdateChainStatusResponse: {
827
- encode(message: MsgUpdateChainStatusResponse, writer?: _m0.Writer): _m0.Writer;
828
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateChainStatusResponse;
829
- fromJSON(object: any): MsgUpdateChainStatusResponse;
830
- toJSON(message: MsgUpdateChainStatusResponse): unknown;
831
- fromPartial<I extends {
832
- code?: string | undefined;
833
- msg?: string | undefined;
834
- } & {
835
- code?: string | undefined;
836
- msg?: string | undefined;
837
- } & { [K in Exclude<keyof I, keyof MsgUpdateChainStatusResponse>]: never; }>(object: I): MsgUpdateChainStatusResponse;
838
- };
839
- export declare const MsgAddToken: {
840
- encode(message: MsgAddToken, writer?: _m0.Writer): _m0.Writer;
841
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddToken;
842
- fromJSON(object: any): MsgAddToken;
843
- toJSON(message: MsgAddToken): unknown;
844
- fromPartial<I extends {
845
- creator?: string | undefined;
846
- chainSymbol?: string | undefined;
847
- tokenSymbol?: string | undefined;
848
- } & {
849
- creator?: string | undefined;
850
- chainSymbol?: string | undefined;
851
- tokenSymbol?: string | undefined;
852
- } & { [K in Exclude<keyof I, keyof MsgAddToken>]: never; }>(object: I): MsgAddToken;
853
- };
854
- export declare const MsgAddTokenResponse: {
855
- encode(message: MsgAddTokenResponse, writer?: _m0.Writer): _m0.Writer;
856
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddTokenResponse;
857
- fromJSON(object: any): MsgAddTokenResponse;
858
- toJSON(message: MsgAddTokenResponse): unknown;
859
- fromPartial<I extends {
860
- code?: string | undefined;
861
- msg?: string | undefined;
862
- } & {
863
- code?: string | undefined;
864
- msg?: string | undefined;
865
- } & { [K in Exclude<keyof I, keyof MsgAddTokenResponse>]: never; }>(object: I): MsgAddTokenResponse;
866
- };
867
- export declare const MsgUpdateTssStatus: {
868
- encode(message: MsgUpdateTssStatus, writer?: _m0.Writer): _m0.Writer;
869
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTssStatus;
870
- fromJSON(object: any): MsgUpdateTssStatus;
871
- toJSON(message: MsgUpdateTssStatus): unknown;
872
- fromPartial<I extends {
873
- creator?: string | undefined;
874
- status?: string | undefined;
875
- } & {
876
- creator?: string | undefined;
877
- status?: string | undefined;
878
- } & { [K in Exclude<keyof I, keyof MsgUpdateTssStatus>]: never; }>(object: I): MsgUpdateTssStatus;
879
- };
880
- export declare const MsgUpdateTssStatusResponse: {
881
- encode(message: MsgUpdateTssStatusResponse, writer?: _m0.Writer): _m0.Writer;
882
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTssStatusResponse;
883
- fromJSON(object: any): MsgUpdateTssStatusResponse;
884
- toJSON(message: MsgUpdateTssStatusResponse): unknown;
885
- fromPartial<I extends {
886
- code?: string | undefined;
887
- msg?: string | undefined;
888
- } & {
889
- code?: string | undefined;
890
- msg?: string | undefined;
891
- } & { [K in Exclude<keyof I, keyof MsgUpdateTssStatusResponse>]: never; }>(object: I): MsgUpdateTssStatusResponse;
892
- };
893
268
  export declare const MsgSetTxHash: {
894
269
  encode(message: MsgSetTxHash, writer?: _m0.Writer): _m0.Writer;
895
270
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetTxHash;
@@ -926,12 +301,12 @@ export declare const MsgSetTxProcess: {
926
301
  fromPartial<I extends {
927
302
  creator?: string | undefined;
928
303
  txId?: number | undefined;
929
- timestamp?: string | undefined;
304
+ timestamp?: number | undefined;
930
305
  msgId?: string | undefined;
931
306
  } & {
932
307
  creator?: string | undefined;
933
308
  txId?: number | undefined;
934
- timestamp?: string | undefined;
309
+ timestamp?: number | undefined;
935
310
  msgId?: string | undefined;
936
311
  } & { [K in Exclude<keyof I, keyof MsgSetTxProcess>]: never; }>(object: I): MsgSetTxProcess;
937
312
  };
@@ -942,218 +317,98 @@ export declare const MsgSetTxProcessResponse: {
942
317
  toJSON(_: MsgSetTxProcessResponse): unknown;
943
318
  fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgSetTxProcessResponse;
944
319
  };
945
- export declare const MsgFinalizeTransaction: {
946
- encode(message: MsgFinalizeTransaction, writer?: _m0.Writer): _m0.Writer;
947
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeTransaction;
948
- fromJSON(object: any): MsgFinalizeTransaction;
949
- toJSON(message: MsgFinalizeTransaction): unknown;
320
+ export declare const MsgRequestDrainTransaction: {
321
+ encode(message: MsgRequestDrainTransaction, writer?: _m0.Writer): _m0.Writer;
322
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestDrainTransaction;
323
+ fromJSON(object: any): MsgRequestDrainTransaction;
324
+ toJSON(message: MsgRequestDrainTransaction): unknown;
950
325
  fromPartial<I extends {
951
326
  creator?: string | undefined;
952
- txId?: number | undefined;
953
- txHash?: string | undefined;
954
- success?: string | undefined;
955
- signedKey?: string | undefined;
327
+ toChain?: string | undefined;
328
+ toAddress?: string | undefined;
329
+ symbol?: string | undefined;
330
+ amount?: string | undefined;
331
+ options?: string | undefined;
956
332
  } & {
957
333
  creator?: string | undefined;
958
- txId?: number | undefined;
959
- txHash?: string | undefined;
960
- success?: string | undefined;
961
- signedKey?: string | undefined;
962
- } & { [K in Exclude<keyof I, keyof MsgFinalizeTransaction>]: never; }>(object: I): MsgFinalizeTransaction;
334
+ toChain?: string | undefined;
335
+ toAddress?: string | undefined;
336
+ symbol?: string | undefined;
337
+ amount?: string | undefined;
338
+ options?: string | undefined;
339
+ } & { [K in Exclude<keyof I, keyof MsgRequestDrainTransaction>]: never; }>(object: I): MsgRequestDrainTransaction;
963
340
  };
964
- export declare const MsgFinalizeTransactionResponse: {
965
- encode(message: MsgFinalizeTransactionResponse, writer?: _m0.Writer): _m0.Writer;
966
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeTransactionResponse;
967
- fromJSON(object: any): MsgFinalizeTransactionResponse;
968
- toJSON(message: MsgFinalizeTransactionResponse): unknown;
341
+ export declare const MsgRequestDrainTransactionResponse: {
342
+ encode(message: MsgRequestDrainTransactionResponse, writer?: _m0.Writer): _m0.Writer;
343
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestDrainTransactionResponse;
344
+ fromJSON(object: any): MsgRequestDrainTransactionResponse;
345
+ toJSON(message: MsgRequestDrainTransactionResponse): unknown;
969
346
  fromPartial<I extends {
970
347
  code?: string | undefined;
971
348
  msg?: string | undefined;
349
+ txId?: number | undefined;
972
350
  } & {
973
351
  code?: string | undefined;
974
352
  msg?: string | undefined;
975
- } & { [K in Exclude<keyof I, keyof MsgFinalizeTransactionResponse>]: never; }>(object: I): MsgFinalizeTransactionResponse;
976
- };
977
- export declare const MsgWithdrawPool: {
978
- encode(message: MsgWithdrawPool, writer?: _m0.Writer): _m0.Writer;
979
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawPool;
980
- fromJSON(object: any): MsgWithdrawPool;
981
- toJSON(message: MsgWithdrawPool): unknown;
982
- fromPartial<I extends {
983
- creator?: string | undefined;
984
- chain?: string | undefined;
985
- targetAddress?: string | undefined;
986
- amount?: string | undefined;
987
- } & {
988
- creator?: string | undefined;
989
- chain?: string | undefined;
990
- targetAddress?: string | undefined;
991
- amount?: string | undefined;
992
- } & { [K in Exclude<keyof I, keyof MsgWithdrawPool>]: never; }>(object: I): MsgWithdrawPool;
993
- };
994
- export declare const MsgWithdrawPoolResponse: {
995
- encode(_: MsgWithdrawPoolResponse, writer?: _m0.Writer): _m0.Writer;
996
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawPoolResponse;
997
- fromJSON(_: any): MsgWithdrawPoolResponse;
998
- toJSON(_: MsgWithdrawPoolResponse): unknown;
999
- fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgWithdrawPoolResponse;
1000
- };
1001
- export declare const MsgUpdateToken: {
1002
- encode(message: MsgUpdateToken, writer?: _m0.Writer): _m0.Writer;
1003
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateToken;
1004
- fromJSON(object: any): MsgUpdateToken;
1005
- toJSON(message: MsgUpdateToken): unknown;
1006
- fromPartial<I extends {
1007
- creator?: string | undefined;
1008
- chain?: string | undefined;
1009
- address?: string | undefined;
1010
- } & {
1011
- creator?: string | undefined;
1012
- chain?: string | undefined;
1013
- address?: string | undefined;
1014
- } & { [K in Exclude<keyof I, keyof MsgUpdateToken>]: never; }>(object: I): MsgUpdateToken;
1015
- };
1016
- export declare const MsgUpdateTokenResponse: {
1017
- encode(_: MsgUpdateTokenResponse, writer?: _m0.Writer): _m0.Writer;
1018
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTokenResponse;
1019
- fromJSON(_: any): MsgUpdateTokenResponse;
1020
- toJSON(_: MsgUpdateTokenResponse): unknown;
1021
- fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgUpdateTokenResponse;
1022
- };
1023
- export declare const MsgUpdatePoolRequest: {
1024
- encode(message: MsgUpdatePoolRequest, writer?: _m0.Writer): _m0.Writer;
1025
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdatePoolRequest;
1026
- fromJSON(object: any): MsgUpdatePoolRequest;
1027
- toJSON(message: MsgUpdatePoolRequest): unknown;
1028
- fromPartial<I extends {
1029
- creator?: string | undefined;
1030
- reqId?: number | undefined;
1031
- processed?: string | undefined;
1032
- } & {
1033
- creator?: string | undefined;
1034
- reqId?: number | undefined;
1035
- processed?: string | undefined;
1036
- } & { [K in Exclude<keyof I, keyof MsgUpdatePoolRequest>]: never; }>(object: I): MsgUpdatePoolRequest;
1037
- };
1038
- export declare const MsgUpdatePoolRequestResponse: {
1039
- encode(_: MsgUpdatePoolRequestResponse, writer?: _m0.Writer): _m0.Writer;
1040
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdatePoolRequestResponse;
1041
- fromJSON(_: any): MsgUpdatePoolRequestResponse;
1042
- toJSON(_: MsgUpdatePoolRequestResponse): unknown;
1043
- fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgUpdatePoolRequestResponse;
1044
- };
1045
- export declare const MsgLeaderIsReady: {
1046
- encode(message: MsgLeaderIsReady, writer?: _m0.Writer): _m0.Writer;
1047
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaderIsReady;
1048
- fromJSON(object: any): MsgLeaderIsReady;
1049
- toJSON(message: MsgLeaderIsReady): unknown;
1050
- fromPartial<I extends {
1051
- creator?: string | undefined;
1052
- msgId?: string | undefined;
1053
- peerId?: string | undefined;
1054
- } & {
1055
- creator?: string | undefined;
1056
- msgId?: string | undefined;
1057
- peerId?: string | undefined;
1058
- } & { [K in Exclude<keyof I, keyof MsgLeaderIsReady>]: never; }>(object: I): MsgLeaderIsReady;
1059
- };
1060
- export declare const MsgLeaderIsReadyResponse: {
1061
- encode(_: MsgLeaderIsReadyResponse, writer?: _m0.Writer): _m0.Writer;
1062
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaderIsReadyResponse;
1063
- fromJSON(_: any): MsgLeaderIsReadyResponse;
1064
- toJSON(_: MsgLeaderIsReadyResponse): unknown;
1065
- fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgLeaderIsReadyResponse;
353
+ txId?: number | undefined;
354
+ } & { [K in Exclude<keyof I, keyof MsgRequestDrainTransactionResponse>]: never; }>(object: I): MsgRequestDrainTransactionResponse;
1066
355
  };
1067
- export declare const MsgAddPubkeyEddsa: {
1068
- encode(message: MsgAddPubkeyEddsa, writer?: _m0.Writer): _m0.Writer;
1069
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddPubkeyEddsa;
1070
- fromJSON(object: any): MsgAddPubkeyEddsa;
1071
- toJSON(message: MsgAddPubkeyEddsa): unknown;
356
+ export declare const MsgFinalizeDrainTransaction: {
357
+ encode(message: MsgFinalizeDrainTransaction, writer?: _m0.Writer): _m0.Writer;
358
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeDrainTransaction;
359
+ fromJSON(object: any): MsgFinalizeDrainTransaction;
360
+ toJSON(message: MsgFinalizeDrainTransaction): unknown;
1072
361
  fromPartial<I extends {
1073
362
  creator?: string | undefined;
1074
- pubkey?: string | undefined;
363
+ txId?: number | undefined;
364
+ txHash?: string | undefined;
365
+ success?: string | undefined;
366
+ signedKey?: string | undefined;
1075
367
  } & {
1076
368
  creator?: string | undefined;
1077
- pubkey?: string | undefined;
1078
- } & { [K in Exclude<keyof I, keyof MsgAddPubkeyEddsa>]: never; }>(object: I): MsgAddPubkeyEddsa;
369
+ txId?: number | undefined;
370
+ txHash?: string | undefined;
371
+ success?: string | undefined;
372
+ signedKey?: string | undefined;
373
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeDrainTransaction>]: never; }>(object: I): MsgFinalizeDrainTransaction;
1079
374
  };
1080
- export declare const MsgAddPubkeyEddsaResponse: {
1081
- encode(message: MsgAddPubkeyEddsaResponse, writer?: _m0.Writer): _m0.Writer;
1082
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddPubkeyEddsaResponse;
1083
- fromJSON(object: any): MsgAddPubkeyEddsaResponse;
1084
- toJSON(message: MsgAddPubkeyEddsaResponse): unknown;
375
+ export declare const MsgFinalizeDrainTransactionResponse: {
376
+ encode(message: MsgFinalizeDrainTransactionResponse, writer?: _m0.Writer): _m0.Writer;
377
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeDrainTransactionResponse;
378
+ fromJSON(object: any): MsgFinalizeDrainTransactionResponse;
379
+ toJSON(message: MsgFinalizeDrainTransactionResponse): unknown;
1085
380
  fromPartial<I extends {
1086
381
  code?: string | undefined;
1087
382
  msg?: string | undefined;
1088
383
  } & {
1089
384
  code?: string | undefined;
1090
385
  msg?: string | undefined;
1091
- } & { [K in Exclude<keyof I, keyof MsgAddPubkeyEddsaResponse>]: never; }>(object: I): MsgAddPubkeyEddsaResponse;
386
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeDrainTransactionResponse>]: never; }>(object: I): MsgFinalizeDrainTransactionResponse;
1092
387
  };
1093
388
  /** Msg defines the Msg service. */
1094
389
  export interface Msg {
1095
390
  RequestTransaction(request: MsgRequestTransaction): Promise<MsgRequestTransactionResponse>;
1096
- ApproveTransaction(request: MsgApproveTransaction): Promise<MsgApproveTransactionResponse>;
1097
- ObservationVote(request: MsgObservationVote): Promise<MsgObservationVoteResponse>;
1098
- UpdateBalance(request: MsgUpdateBalance): Promise<MsgUpdateBalanceResponse>;
1099
- KeysignVote(request: MsgKeysignVote): Promise<MsgKeysignVoteResponse>;
1100
- UpdateGasFee(request: MsgUpdateGasFee): Promise<MsgUpdateGasFeeResponse>;
1101
- ProvisionTransaction(request: MsgProvisionTransaction): Promise<MsgProvisionTransactionResponse>;
1102
- DrainTransaction(request: MsgDrainTransaction): Promise<MsgDrainTransactionResponse>;
391
+ FinalizeTransaction(request: MsgFinalizeTransaction): Promise<MsgFinalizeTransactionResponse>;
392
+ RequestProvisionTransaction(request: MsgRequestProvisionTransaction): Promise<MsgRequestProvisionTransactionResponse>;
1103
393
  CancelTransaction(request: MsgCancelTransaction): Promise<MsgCancelTransactionResponse>;
1104
- AddWhitelisted(request: MsgAddWhitelisted): Promise<MsgAddWhitelistedResponse>;
1105
- SetAdmin(request: MsgSetAdmin): Promise<MsgSetAdminResponse>;
1106
- AddPubkey(request: MsgAddPubkey): Promise<MsgAddPubkeyResponse>;
1107
- UpdatePubkeys(request: MsgUpdatePubkeys): Promise<MsgUpdatePubkeysResponse>;
1108
- UpdateTssPubkey(request: MsgUpdateTssPubkey): Promise<MsgUpdateTssPubkeyResponse>;
1109
- RemoveWhitelisted(request: MsgRemoveWhitelisted): Promise<MsgRemoveWhitelistedResponse>;
1110
- ClearTssInfo(request: MsgClearTssInfo): Promise<MsgClearTssInfoResponse>;
1111
- AddChain(request: MsgAddChain): Promise<MsgAddChainResponse>;
1112
- UpdateTssHash(request: MsgUpdateTssHash): Promise<MsgUpdateTssHashResponse>;
1113
- UpdateChainStatus(request: MsgUpdateChainStatus): Promise<MsgUpdateChainStatusResponse>;
1114
- AddToken(request: MsgAddToken): Promise<MsgAddTokenResponse>;
1115
- UpdateTssStatus(request: MsgUpdateTssStatus): Promise<MsgUpdateTssStatusResponse>;
1116
394
  SetTxHash(request: MsgSetTxHash): Promise<MsgSetTxHashResponse>;
1117
395
  SetTxProcess(request: MsgSetTxProcess): Promise<MsgSetTxProcessResponse>;
1118
- FinalizeTransaction(request: MsgFinalizeTransaction): Promise<MsgFinalizeTransactionResponse>;
1119
- WithdrawPool(request: MsgWithdrawPool): Promise<MsgWithdrawPoolResponse>;
1120
- UpdateToken(request: MsgUpdateToken): Promise<MsgUpdateTokenResponse>;
1121
- UpdatePoolRequest(request: MsgUpdatePoolRequest): Promise<MsgUpdatePoolRequestResponse>;
1122
- LeaderIsReady(request: MsgLeaderIsReady): Promise<MsgLeaderIsReadyResponse>;
1123
- AddPubkeyEddsa(request: MsgAddPubkeyEddsa): Promise<MsgAddPubkeyEddsaResponse>;
396
+ FinalizeProvisionTransaction(request: MsgFinalizeProvisionTransaction): Promise<MsgFinalizeProvisionTransactionResponse>;
397
+ RequestDrainTransaction(request: MsgRequestDrainTransaction): Promise<MsgRequestDrainTransactionResponse>;
398
+ FinalizeDrainTransaction(request: MsgFinalizeDrainTransaction): Promise<MsgFinalizeDrainTransactionResponse>;
1124
399
  }
1125
400
  export declare class MsgClientImpl implements Msg {
1126
401
  private readonly rpc;
1127
402
  constructor(rpc: Rpc);
1128
403
  RequestTransaction(request: MsgRequestTransaction): Promise<MsgRequestTransactionResponse>;
1129
- ApproveTransaction(request: MsgApproveTransaction): Promise<MsgApproveTransactionResponse>;
1130
- ObservationVote(request: MsgObservationVote): Promise<MsgObservationVoteResponse>;
1131
- UpdateBalance(request: MsgUpdateBalance): Promise<MsgUpdateBalanceResponse>;
1132
- KeysignVote(request: MsgKeysignVote): Promise<MsgKeysignVoteResponse>;
1133
- UpdateGasFee(request: MsgUpdateGasFee): Promise<MsgUpdateGasFeeResponse>;
1134
- ProvisionTransaction(request: MsgProvisionTransaction): Promise<MsgProvisionTransactionResponse>;
1135
- DrainTransaction(request: MsgDrainTransaction): Promise<MsgDrainTransactionResponse>;
404
+ FinalizeTransaction(request: MsgFinalizeTransaction): Promise<MsgFinalizeTransactionResponse>;
405
+ RequestProvisionTransaction(request: MsgRequestProvisionTransaction): Promise<MsgRequestProvisionTransactionResponse>;
1136
406
  CancelTransaction(request: MsgCancelTransaction): Promise<MsgCancelTransactionResponse>;
1137
- AddWhitelisted(request: MsgAddWhitelisted): Promise<MsgAddWhitelistedResponse>;
1138
- SetAdmin(request: MsgSetAdmin): Promise<MsgSetAdminResponse>;
1139
- AddPubkey(request: MsgAddPubkey): Promise<MsgAddPubkeyResponse>;
1140
- UpdatePubkeys(request: MsgUpdatePubkeys): Promise<MsgUpdatePubkeysResponse>;
1141
- UpdateTssPubkey(request: MsgUpdateTssPubkey): Promise<MsgUpdateTssPubkeyResponse>;
1142
- RemoveWhitelisted(request: MsgRemoveWhitelisted): Promise<MsgRemoveWhitelistedResponse>;
1143
- ClearTssInfo(request: MsgClearTssInfo): Promise<MsgClearTssInfoResponse>;
1144
- AddChain(request: MsgAddChain): Promise<MsgAddChainResponse>;
1145
- UpdateTssHash(request: MsgUpdateTssHash): Promise<MsgUpdateTssHashResponse>;
1146
- UpdateChainStatus(request: MsgUpdateChainStatus): Promise<MsgUpdateChainStatusResponse>;
1147
- AddToken(request: MsgAddToken): Promise<MsgAddTokenResponse>;
1148
- UpdateTssStatus(request: MsgUpdateTssStatus): Promise<MsgUpdateTssStatusResponse>;
1149
407
  SetTxHash(request: MsgSetTxHash): Promise<MsgSetTxHashResponse>;
1150
408
  SetTxProcess(request: MsgSetTxProcess): Promise<MsgSetTxProcessResponse>;
1151
- FinalizeTransaction(request: MsgFinalizeTransaction): Promise<MsgFinalizeTransactionResponse>;
1152
- WithdrawPool(request: MsgWithdrawPool): Promise<MsgWithdrawPoolResponse>;
1153
- UpdateToken(request: MsgUpdateToken): Promise<MsgUpdateTokenResponse>;
1154
- UpdatePoolRequest(request: MsgUpdatePoolRequest): Promise<MsgUpdatePoolRequestResponse>;
1155
- LeaderIsReady(request: MsgLeaderIsReady): Promise<MsgLeaderIsReadyResponse>;
1156
- AddPubkeyEddsa(request: MsgAddPubkeyEddsa): Promise<MsgAddPubkeyEddsaResponse>;
409
+ FinalizeProvisionTransaction(request: MsgFinalizeProvisionTransaction): Promise<MsgFinalizeProvisionTransactionResponse>;
410
+ RequestDrainTransaction(request: MsgRequestDrainTransaction): Promise<MsgRequestDrainTransactionResponse>;
411
+ FinalizeDrainTransaction(request: MsgFinalizeDrainTransaction): Promise<MsgFinalizeDrainTransactionResponse>;
1157
412
  }
1158
413
  interface Rpc {
1159
414
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;