@kimafinance/kima-transaction-api 1.0.21-beta.1 → 1.0.23-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,112 +58,12 @@ 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;
211
64
  txHash: string;
65
+ /** request_transaction, request_provision_transaction, request_drain_transaction */
66
+ txType: string;
212
67
  }
213
68
  export interface MsgSetTxHashResponse {
214
69
  code: string;
@@ -217,56 +72,34 @@ export interface MsgSetTxHashResponse {
217
72
  export interface MsgSetTxProcess {
218
73
  creator: string;
219
74
  txId: number;
220
- timestamp: string;
75
+ timestamp: number;
221
76
  msgId: string;
77
+ /** request_transaction, request_provision_transaction, request_drain_transaction */
78
+ txType: string;
222
79
  }
223
80
  export interface MsgSetTxProcessResponse {
224
81
  }
225
- export interface MsgFinalizeTransaction {
82
+ export interface MsgRequestDrainTransaction {
226
83
  creator: string;
227
- txId: number;
228
- txHash: string;
229
- success: string;
230
- signedKey: string;
84
+ toChain: string;
85
+ toAddress: string;
86
+ symbol: string;
87
+ amount: string;
88
+ options: string;
231
89
  }
232
- export interface MsgFinalizeTransactionResponse {
90
+ export interface MsgRequestDrainTransactionResponse {
233
91
  code: string;
234
92
  msg: string;
93
+ txId: number;
235
94
  }
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 {
95
+ export interface MsgFinalizeDrainTransaction {
266
96
  creator: string;
267
- pubkey: string;
97
+ txId: number;
98
+ txHash: string;
99
+ success: string;
100
+ signedKey: string;
268
101
  }
269
- export interface MsgAddPubkeyEddsaResponse {
102
+ export interface MsgFinalizeDrainTransactionResponse {
270
103
  code: string;
271
104
  msg: string;
272
105
  }
@@ -310,235 +143,105 @@ export declare const MsgRequestTransactionResponse: {
310
143
  txId?: number | undefined;
311
144
  } & { [K in Exclude<keyof I, keyof MsgRequestTransactionResponse>]: never; }>(object: I): MsgRequestTransactionResponse;
312
145
  };
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;
146
+ export declare const MsgFinalizeTransaction: {
147
+ encode(message: MsgFinalizeTransaction, writer?: _m0.Writer): _m0.Writer;
148
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeTransaction;
149
+ fromJSON(object: any): MsgFinalizeTransaction;
150
+ toJSON(message: MsgFinalizeTransaction): unknown;
318
151
  fromPartial<I extends {
319
152
  creator?: string | undefined;
320
153
  txId?: number | undefined;
321
- txTHash?: string | undefined;
154
+ txHash?: string | undefined;
322
155
  success?: string | undefined;
323
156
  signedKey?: string | undefined;
324
157
  } & {
325
158
  creator?: string | undefined;
326
159
  txId?: number | undefined;
327
- txTHash?: string | undefined;
160
+ txHash?: string | undefined;
328
161
  success?: string | undefined;
329
162
  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;
163
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeTransaction>]: never; }>(object: I): MsgFinalizeTransaction;
401
164
  };
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;
165
+ export declare const MsgFinalizeTransactionResponse: {
166
+ encode(message: MsgFinalizeTransactionResponse, writer?: _m0.Writer): _m0.Writer;
167
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeTransactionResponse;
168
+ fromJSON(object: any): MsgFinalizeTransactionResponse;
169
+ toJSON(message: MsgFinalizeTransactionResponse): unknown;
407
170
  fromPartial<I extends {
408
171
  code?: string | undefined;
409
172
  msg?: string | undefined;
410
173
  } & {
411
174
  code?: string | undefined;
412
175
  msg?: string | undefined;
413
- } & { [K in Exclude<keyof I, keyof MsgUpdateBalanceResponse>]: never; }>(object: I): MsgUpdateBalanceResponse;
176
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeTransactionResponse>]: never; }>(object: I): MsgFinalizeTransactionResponse;
414
177
  };
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;
178
+ export declare const MsgFinalizeProvisionTransaction: {
179
+ encode(message: MsgFinalizeProvisionTransaction, writer?: _m0.Writer): _m0.Writer;
180
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeProvisionTransaction;
181
+ fromJSON(object: any): MsgFinalizeProvisionTransaction;
182
+ toJSON(message: MsgFinalizeProvisionTransaction): unknown;
420
183
  fromPartial<I extends {
421
184
  creator?: string | undefined;
185
+ txId?: number | undefined;
422
186
  txHash?: string | undefined;
423
- pubKey?: string | undefined;
187
+ success?: string | undefined;
188
+ signedKey?: string | undefined;
424
189
  } & {
425
190
  creator?: string | undefined;
191
+ txId?: number | undefined;
426
192
  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;
193
+ success?: string | undefined;
194
+ signedKey?: string | undefined;
195
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeProvisionTransaction>]: never; }>(object: I): MsgFinalizeProvisionTransaction;
457
196
  };
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;
197
+ export declare const MsgFinalizeProvisionTransactionResponse: {
198
+ encode(message: MsgFinalizeProvisionTransactionResponse, writer?: _m0.Writer): _m0.Writer;
199
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeProvisionTransactionResponse;
200
+ fromJSON(object: any): MsgFinalizeProvisionTransactionResponse;
201
+ toJSON(message: MsgFinalizeProvisionTransactionResponse): unknown;
463
202
  fromPartial<I extends {
464
203
  code?: string | undefined;
465
204
  msg?: string | undefined;
466
205
  } & {
467
206
  code?: string | undefined;
468
207
  msg?: string | undefined;
469
- } & { [K in Exclude<keyof I, keyof MsgUpdateGasFeeResponse>]: never; }>(object: I): MsgUpdateGasFeeResponse;
208
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeProvisionTransactionResponse>]: never; }>(object: I): MsgFinalizeProvisionTransactionResponse;
470
209
  };
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;
210
+ export declare const MsgRequestProvisionTransaction: {
211
+ encode(message: MsgRequestProvisionTransaction, writer?: _m0.Writer): _m0.Writer;
212
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestProvisionTransaction;
213
+ fromJSON(object: any): MsgRequestProvisionTransaction;
214
+ toJSON(message: MsgRequestProvisionTransaction): unknown;
476
215
  fromPartial<I extends {
477
216
  creator?: string | undefined;
478
- fromChain?: string | undefined;
217
+ chain?: string | undefined;
479
218
  fromAddress?: string | undefined;
480
219
  symbol?: string | undefined;
481
- tokenAddr?: string | undefined;
482
220
  amount?: string | undefined;
483
221
  options?: string | undefined;
484
222
  } & {
485
223
  creator?: string | undefined;
486
- fromChain?: string | undefined;
224
+ chain?: string | undefined;
487
225
  fromAddress?: string | undefined;
488
226
  symbol?: string | undefined;
489
- tokenAddr?: string | undefined;
490
227
  amount?: string | undefined;
491
228
  options?: string | undefined;
492
- } & { [K in Exclude<keyof I, keyof MsgProvisionTransaction>]: never; }>(object: I): MsgProvisionTransaction;
229
+ } & { [K in Exclude<keyof I, keyof MsgRequestProvisionTransaction>]: never; }>(object: I): MsgRequestProvisionTransaction;
493
230
  };
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;
231
+ export declare const MsgRequestProvisionTransactionResponse: {
232
+ encode(message: MsgRequestProvisionTransactionResponse, writer?: _m0.Writer): _m0.Writer;
233
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestProvisionTransactionResponse;
234
+ fromJSON(object: any): MsgRequestProvisionTransactionResponse;
235
+ toJSON(message: MsgRequestProvisionTransactionResponse): unknown;
535
236
  fromPartial<I extends {
536
237
  code?: string | undefined;
537
238
  msg?: string | undefined;
239
+ txId?: number | undefined;
538
240
  } & {
539
241
  code?: string | undefined;
540
242
  msg?: string | undefined;
541
- } & { [K in Exclude<keyof I, keyof MsgDrainTransactionResponse>]: never; }>(object: I): MsgDrainTransactionResponse;
243
+ txId?: number | undefined;
244
+ } & { [K in Exclude<keyof I, keyof MsgRequestProvisionTransactionResponse>]: never; }>(object: I): MsgRequestProvisionTransactionResponse;
542
245
  };
543
246
  export declare const MsgCancelTransaction: {
544
247
  encode(message: MsgCancelTransaction, writer?: _m0.Writer): _m0.Writer;
@@ -566,330 +269,6 @@ export declare const MsgCancelTransactionResponse: {
566
269
  msg?: string | undefined;
567
270
  } & { [K in Exclude<keyof I, keyof MsgCancelTransactionResponse>]: never; }>(object: I): MsgCancelTransactionResponse;
568
271
  };
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
272
  export declare const MsgSetTxHash: {
894
273
  encode(message: MsgSetTxHash, writer?: _m0.Writer): _m0.Writer;
895
274
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetTxHash;
@@ -899,10 +278,12 @@ export declare const MsgSetTxHash: {
899
278
  creator?: string | undefined;
900
279
  txId?: number | undefined;
901
280
  txHash?: string | undefined;
281
+ txType?: string | undefined;
902
282
  } & {
903
283
  creator?: string | undefined;
904
284
  txId?: number | undefined;
905
285
  txHash?: string | undefined;
286
+ txType?: string | undefined;
906
287
  } & { [K in Exclude<keyof I, keyof MsgSetTxHash>]: never; }>(object: I): MsgSetTxHash;
907
288
  };
908
289
  export declare const MsgSetTxHashResponse: {
@@ -926,13 +307,15 @@ export declare const MsgSetTxProcess: {
926
307
  fromPartial<I extends {
927
308
  creator?: string | undefined;
928
309
  txId?: number | undefined;
929
- timestamp?: string | undefined;
310
+ timestamp?: number | undefined;
930
311
  msgId?: string | undefined;
312
+ txType?: string | undefined;
931
313
  } & {
932
314
  creator?: string | undefined;
933
315
  txId?: number | undefined;
934
- timestamp?: string | undefined;
316
+ timestamp?: number | undefined;
935
317
  msgId?: string | undefined;
318
+ txType?: string | undefined;
936
319
  } & { [K in Exclude<keyof I, keyof MsgSetTxProcess>]: never; }>(object: I): MsgSetTxProcess;
937
320
  };
938
321
  export declare const MsgSetTxProcessResponse: {
@@ -942,218 +325,98 @@ export declare const MsgSetTxProcessResponse: {
942
325
  toJSON(_: MsgSetTxProcessResponse): unknown;
943
326
  fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgSetTxProcessResponse;
944
327
  };
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;
328
+ export declare const MsgRequestDrainTransaction: {
329
+ encode(message: MsgRequestDrainTransaction, writer?: _m0.Writer): _m0.Writer;
330
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestDrainTransaction;
331
+ fromJSON(object: any): MsgRequestDrainTransaction;
332
+ toJSON(message: MsgRequestDrainTransaction): unknown;
950
333
  fromPartial<I extends {
951
334
  creator?: string | undefined;
952
- txId?: number | undefined;
953
- txHash?: string | undefined;
954
- success?: string | undefined;
955
- signedKey?: string | undefined;
335
+ toChain?: string | undefined;
336
+ toAddress?: string | undefined;
337
+ symbol?: string | undefined;
338
+ amount?: string | undefined;
339
+ options?: string | undefined;
956
340
  } & {
957
341
  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;
342
+ toChain?: string | undefined;
343
+ toAddress?: string | undefined;
344
+ symbol?: string | undefined;
345
+ amount?: string | undefined;
346
+ options?: string | undefined;
347
+ } & { [K in Exclude<keyof I, keyof MsgRequestDrainTransaction>]: never; }>(object: I): MsgRequestDrainTransaction;
963
348
  };
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;
349
+ export declare const MsgRequestDrainTransactionResponse: {
350
+ encode(message: MsgRequestDrainTransactionResponse, writer?: _m0.Writer): _m0.Writer;
351
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestDrainTransactionResponse;
352
+ fromJSON(object: any): MsgRequestDrainTransactionResponse;
353
+ toJSON(message: MsgRequestDrainTransactionResponse): unknown;
969
354
  fromPartial<I extends {
970
355
  code?: string | undefined;
971
356
  msg?: string | undefined;
357
+ txId?: number | undefined;
972
358
  } & {
973
359
  code?: string | undefined;
974
360
  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;
361
+ txId?: number | undefined;
362
+ } & { [K in Exclude<keyof I, keyof MsgRequestDrainTransactionResponse>]: never; }>(object: I): MsgRequestDrainTransactionResponse;
1066
363
  };
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;
364
+ export declare const MsgFinalizeDrainTransaction: {
365
+ encode(message: MsgFinalizeDrainTransaction, writer?: _m0.Writer): _m0.Writer;
366
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeDrainTransaction;
367
+ fromJSON(object: any): MsgFinalizeDrainTransaction;
368
+ toJSON(message: MsgFinalizeDrainTransaction): unknown;
1072
369
  fromPartial<I extends {
1073
370
  creator?: string | undefined;
1074
- pubkey?: string | undefined;
371
+ txId?: number | undefined;
372
+ txHash?: string | undefined;
373
+ success?: string | undefined;
374
+ signedKey?: string | undefined;
1075
375
  } & {
1076
376
  creator?: string | undefined;
1077
- pubkey?: string | undefined;
1078
- } & { [K in Exclude<keyof I, keyof MsgAddPubkeyEddsa>]: never; }>(object: I): MsgAddPubkeyEddsa;
377
+ txId?: number | undefined;
378
+ txHash?: string | undefined;
379
+ success?: string | undefined;
380
+ signedKey?: string | undefined;
381
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeDrainTransaction>]: never; }>(object: I): MsgFinalizeDrainTransaction;
1079
382
  };
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;
383
+ export declare const MsgFinalizeDrainTransactionResponse: {
384
+ encode(message: MsgFinalizeDrainTransactionResponse, writer?: _m0.Writer): _m0.Writer;
385
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeDrainTransactionResponse;
386
+ fromJSON(object: any): MsgFinalizeDrainTransactionResponse;
387
+ toJSON(message: MsgFinalizeDrainTransactionResponse): unknown;
1085
388
  fromPartial<I extends {
1086
389
  code?: string | undefined;
1087
390
  msg?: string | undefined;
1088
391
  } & {
1089
392
  code?: string | undefined;
1090
393
  msg?: string | undefined;
1091
- } & { [K in Exclude<keyof I, keyof MsgAddPubkeyEddsaResponse>]: never; }>(object: I): MsgAddPubkeyEddsaResponse;
394
+ } & { [K in Exclude<keyof I, keyof MsgFinalizeDrainTransactionResponse>]: never; }>(object: I): MsgFinalizeDrainTransactionResponse;
1092
395
  };
1093
396
  /** Msg defines the Msg service. */
1094
397
  export interface Msg {
1095
398
  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>;
399
+ FinalizeTransaction(request: MsgFinalizeTransaction): Promise<MsgFinalizeTransactionResponse>;
400
+ RequestProvisionTransaction(request: MsgRequestProvisionTransaction): Promise<MsgRequestProvisionTransactionResponse>;
1103
401
  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
402
  SetTxHash(request: MsgSetTxHash): Promise<MsgSetTxHashResponse>;
1117
403
  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>;
404
+ FinalizeProvisionTransaction(request: MsgFinalizeProvisionTransaction): Promise<MsgFinalizeProvisionTransactionResponse>;
405
+ RequestDrainTransaction(request: MsgRequestDrainTransaction): Promise<MsgRequestDrainTransactionResponse>;
406
+ FinalizeDrainTransaction(request: MsgFinalizeDrainTransaction): Promise<MsgFinalizeDrainTransactionResponse>;
1124
407
  }
1125
408
  export declare class MsgClientImpl implements Msg {
1126
409
  private readonly rpc;
1127
410
  constructor(rpc: Rpc);
1128
411
  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>;
412
+ FinalizeTransaction(request: MsgFinalizeTransaction): Promise<MsgFinalizeTransactionResponse>;
413
+ RequestProvisionTransaction(request: MsgRequestProvisionTransaction): Promise<MsgRequestProvisionTransactionResponse>;
1136
414
  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
415
  SetTxHash(request: MsgSetTxHash): Promise<MsgSetTxHashResponse>;
1150
416
  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>;
417
+ FinalizeProvisionTransaction(request: MsgFinalizeProvisionTransaction): Promise<MsgFinalizeProvisionTransactionResponse>;
418
+ RequestDrainTransaction(request: MsgRequestDrainTransaction): Promise<MsgRequestDrainTransactionResponse>;
419
+ FinalizeDrainTransaction(request: MsgFinalizeDrainTransaction): Promise<MsgFinalizeDrainTransactionResponse>;
1157
420
  }
1158
421
  interface Rpc {
1159
422
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;