@kimafinance/kima-transaction-api 1.0.7-beta.1 → 1.0.9-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.
- package/LICENSE.md +73 -0
- package/package.json +1 -1
- package/src/kima/tx.ts +492 -185
- package/build/index.d.ts +0 -28
- package/build/index.js +0 -59
- package/build/kima/common.d.ts +0 -14
- package/build/kima/common.js +0 -36
- package/build/kima/tx.d.ts +0 -579
- package/build/kima/tx.js +0 -4015
package/build/kima/tx.d.ts
DELETED
|
@@ -1,579 +0,0 @@
|
|
|
1
|
-
import { Reader, Writer } from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "KimaFinance.kima.kima";
|
|
3
|
-
export interface MsgRequestTransaction {
|
|
4
|
-
creator: string;
|
|
5
|
-
originChain: string;
|
|
6
|
-
originAddress: string;
|
|
7
|
-
targetChain: string;
|
|
8
|
-
targetAddress: string;
|
|
9
|
-
symbol: string;
|
|
10
|
-
amount: string;
|
|
11
|
-
fee: string;
|
|
12
|
-
}
|
|
13
|
-
export interface MsgRequestTransactionResponse {
|
|
14
|
-
code: string;
|
|
15
|
-
msg: string;
|
|
16
|
-
txId: string;
|
|
17
|
-
}
|
|
18
|
-
export interface MsgApproveTransaction {
|
|
19
|
-
creator: string;
|
|
20
|
-
txCHash: string;
|
|
21
|
-
txTHash: string;
|
|
22
|
-
success: string;
|
|
23
|
-
signedKey: string;
|
|
24
|
-
}
|
|
25
|
-
export interface MsgApproveTransactionResponse {
|
|
26
|
-
code: string;
|
|
27
|
-
msg: string;
|
|
28
|
-
}
|
|
29
|
-
export interface MsgFetchBalance {
|
|
30
|
-
creator: string;
|
|
31
|
-
}
|
|
32
|
-
export interface MsgFetchBalanceResponse {
|
|
33
|
-
code: string;
|
|
34
|
-
result: string;
|
|
35
|
-
}
|
|
36
|
-
export interface MsgObservationVote {
|
|
37
|
-
creator: string;
|
|
38
|
-
txHash: string;
|
|
39
|
-
chainId: string;
|
|
40
|
-
from: string;
|
|
41
|
-
to: string;
|
|
42
|
-
amount: string;
|
|
43
|
-
payType: string;
|
|
44
|
-
}
|
|
45
|
-
export interface MsgObservationVoteResponse {
|
|
46
|
-
code: string;
|
|
47
|
-
msg: string;
|
|
48
|
-
}
|
|
49
|
-
export interface MsgUpdateBalance {
|
|
50
|
-
creator: string;
|
|
51
|
-
chainId: string;
|
|
52
|
-
balance: string;
|
|
53
|
-
decimal: string;
|
|
54
|
-
}
|
|
55
|
-
export interface MsgUpdateBalanceResponse {
|
|
56
|
-
code: string;
|
|
57
|
-
msg: string;
|
|
58
|
-
}
|
|
59
|
-
export interface MsgKeysignVote {
|
|
60
|
-
creator: string;
|
|
61
|
-
txHash: string;
|
|
62
|
-
pubKey: string;
|
|
63
|
-
}
|
|
64
|
-
export interface MsgKeysignVoteResponse {
|
|
65
|
-
code: string;
|
|
66
|
-
msg: string;
|
|
67
|
-
}
|
|
68
|
-
export interface MsgUpdateGasFee {
|
|
69
|
-
creator: string;
|
|
70
|
-
chainId: string;
|
|
71
|
-
fee: string;
|
|
72
|
-
}
|
|
73
|
-
export interface MsgUpdateGasFeeResponse {
|
|
74
|
-
code: string;
|
|
75
|
-
msg: string;
|
|
76
|
-
}
|
|
77
|
-
export interface MsgProvisionTransaction {
|
|
78
|
-
creator: string;
|
|
79
|
-
fromChain: string;
|
|
80
|
-
fromAddress: string;
|
|
81
|
-
symbol: string;
|
|
82
|
-
tokenAddr: string;
|
|
83
|
-
amount: string;
|
|
84
|
-
options: string;
|
|
85
|
-
}
|
|
86
|
-
export interface MsgProvisionTransactionResponse {
|
|
87
|
-
code: string;
|
|
88
|
-
msg: string;
|
|
89
|
-
}
|
|
90
|
-
export interface MsgDrainTransaction {
|
|
91
|
-
creator: string;
|
|
92
|
-
fromChain: string;
|
|
93
|
-
toChain: string;
|
|
94
|
-
toAddress: string;
|
|
95
|
-
nftAddr: string;
|
|
96
|
-
amount: string;
|
|
97
|
-
options: string;
|
|
98
|
-
}
|
|
99
|
-
export interface MsgDrainTransactionResponse {
|
|
100
|
-
code: string;
|
|
101
|
-
msg: string;
|
|
102
|
-
}
|
|
103
|
-
export interface MsgCancelTransaction {
|
|
104
|
-
creator: string;
|
|
105
|
-
transactionId: string;
|
|
106
|
-
}
|
|
107
|
-
export interface MsgCancelTransactionResponse {
|
|
108
|
-
code: string;
|
|
109
|
-
msg: string;
|
|
110
|
-
}
|
|
111
|
-
export interface MsgAddWhitelisted {
|
|
112
|
-
creator: string;
|
|
113
|
-
address: string;
|
|
114
|
-
}
|
|
115
|
-
export interface MsgAddWhitelistedResponse {
|
|
116
|
-
code: string;
|
|
117
|
-
msg: string;
|
|
118
|
-
}
|
|
119
|
-
export interface MsgSetAdmin {
|
|
120
|
-
creator: string;
|
|
121
|
-
}
|
|
122
|
-
export interface MsgSetAdminResponse {
|
|
123
|
-
code: string;
|
|
124
|
-
msg: string;
|
|
125
|
-
}
|
|
126
|
-
export interface MsgAddPubkey {
|
|
127
|
-
creator: string;
|
|
128
|
-
pubkey: string;
|
|
129
|
-
}
|
|
130
|
-
export interface MsgAddPubkeyResponse {
|
|
131
|
-
code: string;
|
|
132
|
-
msg: string;
|
|
133
|
-
}
|
|
134
|
-
export interface MsgUpdateTssPubkey {
|
|
135
|
-
creator: string;
|
|
136
|
-
tssPubkey: string;
|
|
137
|
-
ecdsa: string;
|
|
138
|
-
ebdsa: string;
|
|
139
|
-
reserved: string;
|
|
140
|
-
}
|
|
141
|
-
export interface MsgUpdateTssPubkeyResponse {
|
|
142
|
-
code: string;
|
|
143
|
-
msg: string;
|
|
144
|
-
}
|
|
145
|
-
export interface MsgRemoveWhitelisted {
|
|
146
|
-
creator: string;
|
|
147
|
-
address: string;
|
|
148
|
-
}
|
|
149
|
-
export interface MsgRemoveWhitelistedResponse {
|
|
150
|
-
code: string;
|
|
151
|
-
msg: string;
|
|
152
|
-
}
|
|
153
|
-
export interface MsgClearTssInfo {
|
|
154
|
-
creator: string;
|
|
155
|
-
}
|
|
156
|
-
export interface MsgClearTssInfoResponse {
|
|
157
|
-
code: string;
|
|
158
|
-
msg: string;
|
|
159
|
-
}
|
|
160
|
-
export interface MsgAddChain {
|
|
161
|
-
creator: string;
|
|
162
|
-
name: string;
|
|
163
|
-
symbol: string;
|
|
164
|
-
tokens: string[];
|
|
165
|
-
}
|
|
166
|
-
export interface MsgAddChainResponse {
|
|
167
|
-
code: string;
|
|
168
|
-
msg: string;
|
|
169
|
-
}
|
|
170
|
-
export interface MsgUpdateTssHash {
|
|
171
|
-
creator: string;
|
|
172
|
-
txId: string;
|
|
173
|
-
tssPullHash: string;
|
|
174
|
-
}
|
|
175
|
-
export interface MsgUpdateTssHashResponse {
|
|
176
|
-
code: string;
|
|
177
|
-
msg: string;
|
|
178
|
-
}
|
|
179
|
-
export interface MsgUpdateChainStatus {
|
|
180
|
-
creator: string;
|
|
181
|
-
chainSymbol: string;
|
|
182
|
-
disabled: boolean;
|
|
183
|
-
}
|
|
184
|
-
export interface MsgUpdateChainStatusResponse {
|
|
185
|
-
code: string;
|
|
186
|
-
msg: string;
|
|
187
|
-
}
|
|
188
|
-
export interface MsgAddToken {
|
|
189
|
-
creator: string;
|
|
190
|
-
chainSymbol: string;
|
|
191
|
-
tokenSymbol: string;
|
|
192
|
-
}
|
|
193
|
-
export interface MsgAddTokenResponse {
|
|
194
|
-
code: string;
|
|
195
|
-
msg: string;
|
|
196
|
-
}
|
|
197
|
-
export interface MsgUpdateTssStatus {
|
|
198
|
-
creator: string;
|
|
199
|
-
status: string;
|
|
200
|
-
}
|
|
201
|
-
export interface MsgUpdateTssStatusResponse {
|
|
202
|
-
}
|
|
203
|
-
export interface MsgSetTxHash {
|
|
204
|
-
creator: string;
|
|
205
|
-
txId: string;
|
|
206
|
-
txHash: string;
|
|
207
|
-
}
|
|
208
|
-
export interface MsgSetTxHashResponse {
|
|
209
|
-
code: string;
|
|
210
|
-
msg: string;
|
|
211
|
-
}
|
|
212
|
-
export declare const MsgRequestTransaction: {
|
|
213
|
-
encode(message: MsgRequestTransaction, writer?: Writer): Writer;
|
|
214
|
-
decode(input: Reader | Uint8Array, length?: number): MsgRequestTransaction;
|
|
215
|
-
fromJSON(object: any): MsgRequestTransaction;
|
|
216
|
-
toJSON(message: MsgRequestTransaction): unknown;
|
|
217
|
-
fromPartial(object: DeepPartial<MsgRequestTransaction>): MsgRequestTransaction;
|
|
218
|
-
};
|
|
219
|
-
export declare const MsgRequestTransactionResponse: {
|
|
220
|
-
encode(message: MsgRequestTransactionResponse, writer?: Writer): Writer;
|
|
221
|
-
decode(input: Reader | Uint8Array, length?: number): MsgRequestTransactionResponse;
|
|
222
|
-
fromJSON(object: any): MsgRequestTransactionResponse;
|
|
223
|
-
toJSON(message: MsgRequestTransactionResponse): unknown;
|
|
224
|
-
fromPartial(object: DeepPartial<MsgRequestTransactionResponse>): MsgRequestTransactionResponse;
|
|
225
|
-
};
|
|
226
|
-
export declare const MsgApproveTransaction: {
|
|
227
|
-
encode(message: MsgApproveTransaction, writer?: Writer): Writer;
|
|
228
|
-
decode(input: Reader | Uint8Array, length?: number): MsgApproveTransaction;
|
|
229
|
-
fromJSON(object: any): MsgApproveTransaction;
|
|
230
|
-
toJSON(message: MsgApproveTransaction): unknown;
|
|
231
|
-
fromPartial(object: DeepPartial<MsgApproveTransaction>): MsgApproveTransaction;
|
|
232
|
-
};
|
|
233
|
-
export declare const MsgApproveTransactionResponse: {
|
|
234
|
-
encode(message: MsgApproveTransactionResponse, writer?: Writer): Writer;
|
|
235
|
-
decode(input: Reader | Uint8Array, length?: number): MsgApproveTransactionResponse;
|
|
236
|
-
fromJSON(object: any): MsgApproveTransactionResponse;
|
|
237
|
-
toJSON(message: MsgApproveTransactionResponse): unknown;
|
|
238
|
-
fromPartial(object: DeepPartial<MsgApproveTransactionResponse>): MsgApproveTransactionResponse;
|
|
239
|
-
};
|
|
240
|
-
export declare const MsgFetchBalance: {
|
|
241
|
-
encode(message: MsgFetchBalance, writer?: Writer): Writer;
|
|
242
|
-
decode(input: Reader | Uint8Array, length?: number): MsgFetchBalance;
|
|
243
|
-
fromJSON(object: any): MsgFetchBalance;
|
|
244
|
-
toJSON(message: MsgFetchBalance): unknown;
|
|
245
|
-
fromPartial(object: DeepPartial<MsgFetchBalance>): MsgFetchBalance;
|
|
246
|
-
};
|
|
247
|
-
export declare const MsgFetchBalanceResponse: {
|
|
248
|
-
encode(message: MsgFetchBalanceResponse, writer?: Writer): Writer;
|
|
249
|
-
decode(input: Reader | Uint8Array, length?: number): MsgFetchBalanceResponse;
|
|
250
|
-
fromJSON(object: any): MsgFetchBalanceResponse;
|
|
251
|
-
toJSON(message: MsgFetchBalanceResponse): unknown;
|
|
252
|
-
fromPartial(object: DeepPartial<MsgFetchBalanceResponse>): MsgFetchBalanceResponse;
|
|
253
|
-
};
|
|
254
|
-
export declare const MsgObservationVote: {
|
|
255
|
-
encode(message: MsgObservationVote, writer?: Writer): Writer;
|
|
256
|
-
decode(input: Reader | Uint8Array, length?: number): MsgObservationVote;
|
|
257
|
-
fromJSON(object: any): MsgObservationVote;
|
|
258
|
-
toJSON(message: MsgObservationVote): unknown;
|
|
259
|
-
fromPartial(object: DeepPartial<MsgObservationVote>): MsgObservationVote;
|
|
260
|
-
};
|
|
261
|
-
export declare const MsgObservationVoteResponse: {
|
|
262
|
-
encode(message: MsgObservationVoteResponse, writer?: Writer): Writer;
|
|
263
|
-
decode(input: Reader | Uint8Array, length?: number): MsgObservationVoteResponse;
|
|
264
|
-
fromJSON(object: any): MsgObservationVoteResponse;
|
|
265
|
-
toJSON(message: MsgObservationVoteResponse): unknown;
|
|
266
|
-
fromPartial(object: DeepPartial<MsgObservationVoteResponse>): MsgObservationVoteResponse;
|
|
267
|
-
};
|
|
268
|
-
export declare const MsgUpdateBalance: {
|
|
269
|
-
encode(message: MsgUpdateBalance, writer?: Writer): Writer;
|
|
270
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateBalance;
|
|
271
|
-
fromJSON(object: any): MsgUpdateBalance;
|
|
272
|
-
toJSON(message: MsgUpdateBalance): unknown;
|
|
273
|
-
fromPartial(object: DeepPartial<MsgUpdateBalance>): MsgUpdateBalance;
|
|
274
|
-
};
|
|
275
|
-
export declare const MsgUpdateBalanceResponse: {
|
|
276
|
-
encode(message: MsgUpdateBalanceResponse, writer?: Writer): Writer;
|
|
277
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateBalanceResponse;
|
|
278
|
-
fromJSON(object: any): MsgUpdateBalanceResponse;
|
|
279
|
-
toJSON(message: MsgUpdateBalanceResponse): unknown;
|
|
280
|
-
fromPartial(object: DeepPartial<MsgUpdateBalanceResponse>): MsgUpdateBalanceResponse;
|
|
281
|
-
};
|
|
282
|
-
export declare const MsgKeysignVote: {
|
|
283
|
-
encode(message: MsgKeysignVote, writer?: Writer): Writer;
|
|
284
|
-
decode(input: Reader | Uint8Array, length?: number): MsgKeysignVote;
|
|
285
|
-
fromJSON(object: any): MsgKeysignVote;
|
|
286
|
-
toJSON(message: MsgKeysignVote): unknown;
|
|
287
|
-
fromPartial(object: DeepPartial<MsgKeysignVote>): MsgKeysignVote;
|
|
288
|
-
};
|
|
289
|
-
export declare const MsgKeysignVoteResponse: {
|
|
290
|
-
encode(message: MsgKeysignVoteResponse, writer?: Writer): Writer;
|
|
291
|
-
decode(input: Reader | Uint8Array, length?: number): MsgKeysignVoteResponse;
|
|
292
|
-
fromJSON(object: any): MsgKeysignVoteResponse;
|
|
293
|
-
toJSON(message: MsgKeysignVoteResponse): unknown;
|
|
294
|
-
fromPartial(object: DeepPartial<MsgKeysignVoteResponse>): MsgKeysignVoteResponse;
|
|
295
|
-
};
|
|
296
|
-
export declare const MsgUpdateGasFee: {
|
|
297
|
-
encode(message: MsgUpdateGasFee, writer?: Writer): Writer;
|
|
298
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateGasFee;
|
|
299
|
-
fromJSON(object: any): MsgUpdateGasFee;
|
|
300
|
-
toJSON(message: MsgUpdateGasFee): unknown;
|
|
301
|
-
fromPartial(object: DeepPartial<MsgUpdateGasFee>): MsgUpdateGasFee;
|
|
302
|
-
};
|
|
303
|
-
export declare const MsgUpdateGasFeeResponse: {
|
|
304
|
-
encode(message: MsgUpdateGasFeeResponse, writer?: Writer): Writer;
|
|
305
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateGasFeeResponse;
|
|
306
|
-
fromJSON(object: any): MsgUpdateGasFeeResponse;
|
|
307
|
-
toJSON(message: MsgUpdateGasFeeResponse): unknown;
|
|
308
|
-
fromPartial(object: DeepPartial<MsgUpdateGasFeeResponse>): MsgUpdateGasFeeResponse;
|
|
309
|
-
};
|
|
310
|
-
export declare const MsgProvisionTransaction: {
|
|
311
|
-
encode(message: MsgProvisionTransaction, writer?: Writer): Writer;
|
|
312
|
-
decode(input: Reader | Uint8Array, length?: number): MsgProvisionTransaction;
|
|
313
|
-
fromJSON(object: any): MsgProvisionTransaction;
|
|
314
|
-
toJSON(message: MsgProvisionTransaction): unknown;
|
|
315
|
-
fromPartial(object: DeepPartial<MsgProvisionTransaction>): MsgProvisionTransaction;
|
|
316
|
-
};
|
|
317
|
-
export declare const MsgProvisionTransactionResponse: {
|
|
318
|
-
encode(message: MsgProvisionTransactionResponse, writer?: Writer): Writer;
|
|
319
|
-
decode(input: Reader | Uint8Array, length?: number): MsgProvisionTransactionResponse;
|
|
320
|
-
fromJSON(object: any): MsgProvisionTransactionResponse;
|
|
321
|
-
toJSON(message: MsgProvisionTransactionResponse): unknown;
|
|
322
|
-
fromPartial(object: DeepPartial<MsgProvisionTransactionResponse>): MsgProvisionTransactionResponse;
|
|
323
|
-
};
|
|
324
|
-
export declare const MsgDrainTransaction: {
|
|
325
|
-
encode(message: MsgDrainTransaction, writer?: Writer): Writer;
|
|
326
|
-
decode(input: Reader | Uint8Array, length?: number): MsgDrainTransaction;
|
|
327
|
-
fromJSON(object: any): MsgDrainTransaction;
|
|
328
|
-
toJSON(message: MsgDrainTransaction): unknown;
|
|
329
|
-
fromPartial(object: DeepPartial<MsgDrainTransaction>): MsgDrainTransaction;
|
|
330
|
-
};
|
|
331
|
-
export declare const MsgDrainTransactionResponse: {
|
|
332
|
-
encode(message: MsgDrainTransactionResponse, writer?: Writer): Writer;
|
|
333
|
-
decode(input: Reader | Uint8Array, length?: number): MsgDrainTransactionResponse;
|
|
334
|
-
fromJSON(object: any): MsgDrainTransactionResponse;
|
|
335
|
-
toJSON(message: MsgDrainTransactionResponse): unknown;
|
|
336
|
-
fromPartial(object: DeepPartial<MsgDrainTransactionResponse>): MsgDrainTransactionResponse;
|
|
337
|
-
};
|
|
338
|
-
export declare const MsgCancelTransaction: {
|
|
339
|
-
encode(message: MsgCancelTransaction, writer?: Writer): Writer;
|
|
340
|
-
decode(input: Reader | Uint8Array, length?: number): MsgCancelTransaction;
|
|
341
|
-
fromJSON(object: any): MsgCancelTransaction;
|
|
342
|
-
toJSON(message: MsgCancelTransaction): unknown;
|
|
343
|
-
fromPartial(object: DeepPartial<MsgCancelTransaction>): MsgCancelTransaction;
|
|
344
|
-
};
|
|
345
|
-
export declare const MsgCancelTransactionResponse: {
|
|
346
|
-
encode(message: MsgCancelTransactionResponse, writer?: Writer): Writer;
|
|
347
|
-
decode(input: Reader | Uint8Array, length?: number): MsgCancelTransactionResponse;
|
|
348
|
-
fromJSON(object: any): MsgCancelTransactionResponse;
|
|
349
|
-
toJSON(message: MsgCancelTransactionResponse): unknown;
|
|
350
|
-
fromPartial(object: DeepPartial<MsgCancelTransactionResponse>): MsgCancelTransactionResponse;
|
|
351
|
-
};
|
|
352
|
-
export declare const MsgAddWhitelisted: {
|
|
353
|
-
encode(message: MsgAddWhitelisted, writer?: Writer): Writer;
|
|
354
|
-
decode(input: Reader | Uint8Array, length?: number): MsgAddWhitelisted;
|
|
355
|
-
fromJSON(object: any): MsgAddWhitelisted;
|
|
356
|
-
toJSON(message: MsgAddWhitelisted): unknown;
|
|
357
|
-
fromPartial(object: DeepPartial<MsgAddWhitelisted>): MsgAddWhitelisted;
|
|
358
|
-
};
|
|
359
|
-
export declare const MsgAddWhitelistedResponse: {
|
|
360
|
-
encode(message: MsgAddWhitelistedResponse, writer?: Writer): Writer;
|
|
361
|
-
decode(input: Reader | Uint8Array, length?: number): MsgAddWhitelistedResponse;
|
|
362
|
-
fromJSON(object: any): MsgAddWhitelistedResponse;
|
|
363
|
-
toJSON(message: MsgAddWhitelistedResponse): unknown;
|
|
364
|
-
fromPartial(object: DeepPartial<MsgAddWhitelistedResponse>): MsgAddWhitelistedResponse;
|
|
365
|
-
};
|
|
366
|
-
export declare const MsgSetAdmin: {
|
|
367
|
-
encode(message: MsgSetAdmin, writer?: Writer): Writer;
|
|
368
|
-
decode(input: Reader | Uint8Array, length?: number): MsgSetAdmin;
|
|
369
|
-
fromJSON(object: any): MsgSetAdmin;
|
|
370
|
-
toJSON(message: MsgSetAdmin): unknown;
|
|
371
|
-
fromPartial(object: DeepPartial<MsgSetAdmin>): MsgSetAdmin;
|
|
372
|
-
};
|
|
373
|
-
export declare const MsgSetAdminResponse: {
|
|
374
|
-
encode(message: MsgSetAdminResponse, writer?: Writer): Writer;
|
|
375
|
-
decode(input: Reader | Uint8Array, length?: number): MsgSetAdminResponse;
|
|
376
|
-
fromJSON(object: any): MsgSetAdminResponse;
|
|
377
|
-
toJSON(message: MsgSetAdminResponse): unknown;
|
|
378
|
-
fromPartial(object: DeepPartial<MsgSetAdminResponse>): MsgSetAdminResponse;
|
|
379
|
-
};
|
|
380
|
-
export declare const MsgAddPubkey: {
|
|
381
|
-
encode(message: MsgAddPubkey, writer?: Writer): Writer;
|
|
382
|
-
decode(input: Reader | Uint8Array, length?: number): MsgAddPubkey;
|
|
383
|
-
fromJSON(object: any): MsgAddPubkey;
|
|
384
|
-
toJSON(message: MsgAddPubkey): unknown;
|
|
385
|
-
fromPartial(object: DeepPartial<MsgAddPubkey>): MsgAddPubkey;
|
|
386
|
-
};
|
|
387
|
-
export declare const MsgAddPubkeyResponse: {
|
|
388
|
-
encode(message: MsgAddPubkeyResponse, writer?: Writer): Writer;
|
|
389
|
-
decode(input: Reader | Uint8Array, length?: number): MsgAddPubkeyResponse;
|
|
390
|
-
fromJSON(object: any): MsgAddPubkeyResponse;
|
|
391
|
-
toJSON(message: MsgAddPubkeyResponse): unknown;
|
|
392
|
-
fromPartial(object: DeepPartial<MsgAddPubkeyResponse>): MsgAddPubkeyResponse;
|
|
393
|
-
};
|
|
394
|
-
export declare const MsgUpdateTssPubkey: {
|
|
395
|
-
encode(message: MsgUpdateTssPubkey, writer?: Writer): Writer;
|
|
396
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateTssPubkey;
|
|
397
|
-
fromJSON(object: any): MsgUpdateTssPubkey;
|
|
398
|
-
toJSON(message: MsgUpdateTssPubkey): unknown;
|
|
399
|
-
fromPartial(object: DeepPartial<MsgUpdateTssPubkey>): MsgUpdateTssPubkey;
|
|
400
|
-
};
|
|
401
|
-
export declare const MsgUpdateTssPubkeyResponse: {
|
|
402
|
-
encode(message: MsgUpdateTssPubkeyResponse, writer?: Writer): Writer;
|
|
403
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateTssPubkeyResponse;
|
|
404
|
-
fromJSON(object: any): MsgUpdateTssPubkeyResponse;
|
|
405
|
-
toJSON(message: MsgUpdateTssPubkeyResponse): unknown;
|
|
406
|
-
fromPartial(object: DeepPartial<MsgUpdateTssPubkeyResponse>): MsgUpdateTssPubkeyResponse;
|
|
407
|
-
};
|
|
408
|
-
export declare const MsgRemoveWhitelisted: {
|
|
409
|
-
encode(message: MsgRemoveWhitelisted, writer?: Writer): Writer;
|
|
410
|
-
decode(input: Reader | Uint8Array, length?: number): MsgRemoveWhitelisted;
|
|
411
|
-
fromJSON(object: any): MsgRemoveWhitelisted;
|
|
412
|
-
toJSON(message: MsgRemoveWhitelisted): unknown;
|
|
413
|
-
fromPartial(object: DeepPartial<MsgRemoveWhitelisted>): MsgRemoveWhitelisted;
|
|
414
|
-
};
|
|
415
|
-
export declare const MsgRemoveWhitelistedResponse: {
|
|
416
|
-
encode(message: MsgRemoveWhitelistedResponse, writer?: Writer): Writer;
|
|
417
|
-
decode(input: Reader | Uint8Array, length?: number): MsgRemoveWhitelistedResponse;
|
|
418
|
-
fromJSON(object: any): MsgRemoveWhitelistedResponse;
|
|
419
|
-
toJSON(message: MsgRemoveWhitelistedResponse): unknown;
|
|
420
|
-
fromPartial(object: DeepPartial<MsgRemoveWhitelistedResponse>): MsgRemoveWhitelistedResponse;
|
|
421
|
-
};
|
|
422
|
-
export declare const MsgClearTssInfo: {
|
|
423
|
-
encode(message: MsgClearTssInfo, writer?: Writer): Writer;
|
|
424
|
-
decode(input: Reader | Uint8Array, length?: number): MsgClearTssInfo;
|
|
425
|
-
fromJSON(object: any): MsgClearTssInfo;
|
|
426
|
-
toJSON(message: MsgClearTssInfo): unknown;
|
|
427
|
-
fromPartial(object: DeepPartial<MsgClearTssInfo>): MsgClearTssInfo;
|
|
428
|
-
};
|
|
429
|
-
export declare const MsgClearTssInfoResponse: {
|
|
430
|
-
encode(message: MsgClearTssInfoResponse, writer?: Writer): Writer;
|
|
431
|
-
decode(input: Reader | Uint8Array, length?: number): MsgClearTssInfoResponse;
|
|
432
|
-
fromJSON(object: any): MsgClearTssInfoResponse;
|
|
433
|
-
toJSON(message: MsgClearTssInfoResponse): unknown;
|
|
434
|
-
fromPartial(object: DeepPartial<MsgClearTssInfoResponse>): MsgClearTssInfoResponse;
|
|
435
|
-
};
|
|
436
|
-
export declare const MsgAddChain: {
|
|
437
|
-
encode(message: MsgAddChain, writer?: Writer): Writer;
|
|
438
|
-
decode(input: Reader | Uint8Array, length?: number): MsgAddChain;
|
|
439
|
-
fromJSON(object: any): MsgAddChain;
|
|
440
|
-
toJSON(message: MsgAddChain): unknown;
|
|
441
|
-
fromPartial(object: DeepPartial<MsgAddChain>): MsgAddChain;
|
|
442
|
-
};
|
|
443
|
-
export declare const MsgAddChainResponse: {
|
|
444
|
-
encode(message: MsgAddChainResponse, writer?: Writer): Writer;
|
|
445
|
-
decode(input: Reader | Uint8Array, length?: number): MsgAddChainResponse;
|
|
446
|
-
fromJSON(object: any): MsgAddChainResponse;
|
|
447
|
-
toJSON(message: MsgAddChainResponse): unknown;
|
|
448
|
-
fromPartial(object: DeepPartial<MsgAddChainResponse>): MsgAddChainResponse;
|
|
449
|
-
};
|
|
450
|
-
export declare const MsgUpdateTssHash: {
|
|
451
|
-
encode(message: MsgUpdateTssHash, writer?: Writer): Writer;
|
|
452
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateTssHash;
|
|
453
|
-
fromJSON(object: any): MsgUpdateTssHash;
|
|
454
|
-
toJSON(message: MsgUpdateTssHash): unknown;
|
|
455
|
-
fromPartial(object: DeepPartial<MsgUpdateTssHash>): MsgUpdateTssHash;
|
|
456
|
-
};
|
|
457
|
-
export declare const MsgUpdateTssHashResponse: {
|
|
458
|
-
encode(message: MsgUpdateTssHashResponse, writer?: Writer): Writer;
|
|
459
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateTssHashResponse;
|
|
460
|
-
fromJSON(object: any): MsgUpdateTssHashResponse;
|
|
461
|
-
toJSON(message: MsgUpdateTssHashResponse): unknown;
|
|
462
|
-
fromPartial(object: DeepPartial<MsgUpdateTssHashResponse>): MsgUpdateTssHashResponse;
|
|
463
|
-
};
|
|
464
|
-
export declare const MsgUpdateChainStatus: {
|
|
465
|
-
encode(message: MsgUpdateChainStatus, writer?: Writer): Writer;
|
|
466
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateChainStatus;
|
|
467
|
-
fromJSON(object: any): MsgUpdateChainStatus;
|
|
468
|
-
toJSON(message: MsgUpdateChainStatus): unknown;
|
|
469
|
-
fromPartial(object: DeepPartial<MsgUpdateChainStatus>): MsgUpdateChainStatus;
|
|
470
|
-
};
|
|
471
|
-
export declare const MsgUpdateChainStatusResponse: {
|
|
472
|
-
encode(message: MsgUpdateChainStatusResponse, writer?: Writer): Writer;
|
|
473
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateChainStatusResponse;
|
|
474
|
-
fromJSON(object: any): MsgUpdateChainStatusResponse;
|
|
475
|
-
toJSON(message: MsgUpdateChainStatusResponse): unknown;
|
|
476
|
-
fromPartial(object: DeepPartial<MsgUpdateChainStatusResponse>): MsgUpdateChainStatusResponse;
|
|
477
|
-
};
|
|
478
|
-
export declare const MsgAddToken: {
|
|
479
|
-
encode(message: MsgAddToken, writer?: Writer): Writer;
|
|
480
|
-
decode(input: Reader | Uint8Array, length?: number): MsgAddToken;
|
|
481
|
-
fromJSON(object: any): MsgAddToken;
|
|
482
|
-
toJSON(message: MsgAddToken): unknown;
|
|
483
|
-
fromPartial(object: DeepPartial<MsgAddToken>): MsgAddToken;
|
|
484
|
-
};
|
|
485
|
-
export declare const MsgAddTokenResponse: {
|
|
486
|
-
encode(message: MsgAddTokenResponse, writer?: Writer): Writer;
|
|
487
|
-
decode(input: Reader | Uint8Array, length?: number): MsgAddTokenResponse;
|
|
488
|
-
fromJSON(object: any): MsgAddTokenResponse;
|
|
489
|
-
toJSON(message: MsgAddTokenResponse): unknown;
|
|
490
|
-
fromPartial(object: DeepPartial<MsgAddTokenResponse>): MsgAddTokenResponse;
|
|
491
|
-
};
|
|
492
|
-
export declare const MsgUpdateTssStatus: {
|
|
493
|
-
encode(message: MsgUpdateTssStatus, writer?: Writer): Writer;
|
|
494
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateTssStatus;
|
|
495
|
-
fromJSON(object: any): MsgUpdateTssStatus;
|
|
496
|
-
toJSON(message: MsgUpdateTssStatus): unknown;
|
|
497
|
-
fromPartial(object: DeepPartial<MsgUpdateTssStatus>): MsgUpdateTssStatus;
|
|
498
|
-
};
|
|
499
|
-
export declare const MsgUpdateTssStatusResponse: {
|
|
500
|
-
encode(_: MsgUpdateTssStatusResponse, writer?: Writer): Writer;
|
|
501
|
-
decode(input: Reader | Uint8Array, length?: number): MsgUpdateTssStatusResponse;
|
|
502
|
-
fromJSON(_: any): MsgUpdateTssStatusResponse;
|
|
503
|
-
toJSON(_: MsgUpdateTssStatusResponse): unknown;
|
|
504
|
-
fromPartial(_: DeepPartial<MsgUpdateTssStatusResponse>): MsgUpdateTssStatusResponse;
|
|
505
|
-
};
|
|
506
|
-
export declare const MsgSetTxHash: {
|
|
507
|
-
encode(message: MsgSetTxHash, writer?: Writer): Writer;
|
|
508
|
-
decode(input: Reader | Uint8Array, length?: number): MsgSetTxHash;
|
|
509
|
-
fromJSON(object: any): MsgSetTxHash;
|
|
510
|
-
toJSON(message: MsgSetTxHash): unknown;
|
|
511
|
-
fromPartial(object: DeepPartial<MsgSetTxHash>): MsgSetTxHash;
|
|
512
|
-
};
|
|
513
|
-
export declare const MsgSetTxHashResponse: {
|
|
514
|
-
encode(message: MsgSetTxHashResponse, writer?: Writer): Writer;
|
|
515
|
-
decode(input: Reader | Uint8Array, length?: number): MsgSetTxHashResponse;
|
|
516
|
-
fromJSON(object: any): MsgSetTxHashResponse;
|
|
517
|
-
toJSON(message: MsgSetTxHashResponse): unknown;
|
|
518
|
-
fromPartial(object: DeepPartial<MsgSetTxHashResponse>): MsgSetTxHashResponse;
|
|
519
|
-
};
|
|
520
|
-
/** Msg defines the Msg service. */
|
|
521
|
-
export interface Msg {
|
|
522
|
-
RequestTransaction(request: MsgRequestTransaction): Promise<MsgRequestTransactionResponse>;
|
|
523
|
-
ApproveTransaction(request: MsgApproveTransaction): Promise<MsgApproveTransactionResponse>;
|
|
524
|
-
FetchBalance(request: MsgFetchBalance): Promise<MsgFetchBalanceResponse>;
|
|
525
|
-
ObservationVote(request: MsgObservationVote): Promise<MsgObservationVoteResponse>;
|
|
526
|
-
UpdateBalance(request: MsgUpdateBalance): Promise<MsgUpdateBalanceResponse>;
|
|
527
|
-
KeysignVote(request: MsgKeysignVote): Promise<MsgKeysignVoteResponse>;
|
|
528
|
-
UpdateGasFee(request: MsgUpdateGasFee): Promise<MsgUpdateGasFeeResponse>;
|
|
529
|
-
ProvisionTransaction(request: MsgProvisionTransaction): Promise<MsgProvisionTransactionResponse>;
|
|
530
|
-
DrainTransaction(request: MsgDrainTransaction): Promise<MsgDrainTransactionResponse>;
|
|
531
|
-
CancelTransaction(request: MsgCancelTransaction): Promise<MsgCancelTransactionResponse>;
|
|
532
|
-
AddWhitelisted(request: MsgAddWhitelisted): Promise<MsgAddWhitelistedResponse>;
|
|
533
|
-
SetAdmin(request: MsgSetAdmin): Promise<MsgSetAdminResponse>;
|
|
534
|
-
AddPubkey(request: MsgAddPubkey): Promise<MsgAddPubkeyResponse>;
|
|
535
|
-
UpdateTssPubkey(request: MsgUpdateTssPubkey): Promise<MsgUpdateTssPubkeyResponse>;
|
|
536
|
-
RemoveWhitelisted(request: MsgRemoveWhitelisted): Promise<MsgRemoveWhitelistedResponse>;
|
|
537
|
-
ClearTssInfo(request: MsgClearTssInfo): Promise<MsgClearTssInfoResponse>;
|
|
538
|
-
AddChain(request: MsgAddChain): Promise<MsgAddChainResponse>;
|
|
539
|
-
UpdateTssHash(request: MsgUpdateTssHash): Promise<MsgUpdateTssHashResponse>;
|
|
540
|
-
UpdateChainStatus(request: MsgUpdateChainStatus): Promise<MsgUpdateChainStatusResponse>;
|
|
541
|
-
AddToken(request: MsgAddToken): Promise<MsgAddTokenResponse>;
|
|
542
|
-
UpdateTssStatus(request: MsgUpdateTssStatus): Promise<MsgUpdateTssStatusResponse>;
|
|
543
|
-
/** this line is used by starport scaffolding # proto/tx/rpc */
|
|
544
|
-
SetTxHash(request: MsgSetTxHash): Promise<MsgSetTxHashResponse>;
|
|
545
|
-
}
|
|
546
|
-
export declare class MsgClientImpl implements Msg {
|
|
547
|
-
private readonly rpc;
|
|
548
|
-
constructor(rpc: Rpc);
|
|
549
|
-
RequestTransaction(request: MsgRequestTransaction): Promise<MsgRequestTransactionResponse>;
|
|
550
|
-
ApproveTransaction(request: MsgApproveTransaction): Promise<MsgApproveTransactionResponse>;
|
|
551
|
-
FetchBalance(request: MsgFetchBalance): Promise<MsgFetchBalanceResponse>;
|
|
552
|
-
ObservationVote(request: MsgObservationVote): Promise<MsgObservationVoteResponse>;
|
|
553
|
-
UpdateBalance(request: MsgUpdateBalance): Promise<MsgUpdateBalanceResponse>;
|
|
554
|
-
KeysignVote(request: MsgKeysignVote): Promise<MsgKeysignVoteResponse>;
|
|
555
|
-
UpdateGasFee(request: MsgUpdateGasFee): Promise<MsgUpdateGasFeeResponse>;
|
|
556
|
-
ProvisionTransaction(request: MsgProvisionTransaction): Promise<MsgProvisionTransactionResponse>;
|
|
557
|
-
DrainTransaction(request: MsgDrainTransaction): Promise<MsgDrainTransactionResponse>;
|
|
558
|
-
CancelTransaction(request: MsgCancelTransaction): Promise<MsgCancelTransactionResponse>;
|
|
559
|
-
AddWhitelisted(request: MsgAddWhitelisted): Promise<MsgAddWhitelistedResponse>;
|
|
560
|
-
SetAdmin(request: MsgSetAdmin): Promise<MsgSetAdminResponse>;
|
|
561
|
-
AddPubkey(request: MsgAddPubkey): Promise<MsgAddPubkeyResponse>;
|
|
562
|
-
UpdateTssPubkey(request: MsgUpdateTssPubkey): Promise<MsgUpdateTssPubkeyResponse>;
|
|
563
|
-
RemoveWhitelisted(request: MsgRemoveWhitelisted): Promise<MsgRemoveWhitelistedResponse>;
|
|
564
|
-
ClearTssInfo(request: MsgClearTssInfo): Promise<MsgClearTssInfoResponse>;
|
|
565
|
-
AddChain(request: MsgAddChain): Promise<MsgAddChainResponse>;
|
|
566
|
-
UpdateTssHash(request: MsgUpdateTssHash): Promise<MsgUpdateTssHashResponse>;
|
|
567
|
-
UpdateChainStatus(request: MsgUpdateChainStatus): Promise<MsgUpdateChainStatusResponse>;
|
|
568
|
-
AddToken(request: MsgAddToken): Promise<MsgAddTokenResponse>;
|
|
569
|
-
UpdateTssStatus(request: MsgUpdateTssStatus): Promise<MsgUpdateTssStatusResponse>;
|
|
570
|
-
SetTxHash(request: MsgSetTxHash): Promise<MsgSetTxHashResponse>;
|
|
571
|
-
}
|
|
572
|
-
interface Rpc {
|
|
573
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
574
|
-
}
|
|
575
|
-
type Builtin = Date | Function | Uint8Array | string | number | undefined;
|
|
576
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
577
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
578
|
-
} : Partial<T>;
|
|
579
|
-
export {};
|