@wowok/agent-mcp 2.3.6 → 2.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/index.d.ts +1 -15838
  2. package/dist/index.js +40 -394
  3. package/dist/schema/call/bridge-handler.d.ts +5 -0
  4. package/dist/schema/call/bridge-handler.js +234 -0
  5. package/dist/schema/call/bridge.d.ts +2212 -0
  6. package/dist/schema/call/bridge.js +408 -0
  7. package/dist/schema/call/handler.js +29 -15
  8. package/dist/schema/call/index.d.ts +1 -0
  9. package/dist/schema/call/index.js +1 -0
  10. package/dist/schema/index.d.ts +1 -0
  11. package/dist/schema/index.js +1 -0
  12. package/dist/schema/messenger/index.d.ts +74 -74
  13. package/dist/schema/operations.d.ts +24302 -0
  14. package/dist/schema/operations.js +393 -0
  15. package/dist/schema-query/index.d.ts +3 -1
  16. package/dist/schema-query/index.js +63 -3
  17. package/dist/schemas/account_operation.output.json +1395 -0
  18. package/dist/schemas/bridge_operation.output.json +64 -0
  19. package/dist/schemas/bridge_operation.schema.json +547 -0
  20. package/dist/schemas/guard2file.output.json +84 -0
  21. package/dist/schemas/index.json +33 -14
  22. package/dist/schemas/local_info_operation.output.json +70 -0
  23. package/dist/schemas/local_mark_operation.output.json +114 -0
  24. package/dist/schemas/machineNode2file.output.json +89 -0
  25. package/dist/schemas/messenger_operation.output.json +1068 -0
  26. package/dist/schemas/onchain_events.output.json +513 -0
  27. package/dist/schemas/onchain_operations.output.json +1764 -0
  28. package/dist/schemas/onchain_operations.schema.json +8324 -49
  29. package/dist/schemas/onchain_table_data.output.json +1938 -0
  30. package/dist/schemas/onchain_table_data.schema.json +483 -22
  31. package/dist/schemas/query_toolkit.output.json +18 -0
  32. package/dist/schemas/query_toolkit.schema.json +454 -19
  33. package/dist/schemas/schema_query.output.json +42 -0
  34. package/dist/schemas/schema_query.schema.json +1 -0
  35. package/dist/schemas/wip_file.output.json +116 -0
  36. package/dist/schemas/wip_file.schema.json +163 -15
  37. package/dist/schemas/wowok_buildin_info.output.json +577 -0
  38. package/package.json +2 -3
@@ -0,0 +1,2212 @@
1
+ import { z } from "zod";
2
+ export declare const BridgeTokenSchema: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
3
+ export declare const EvmChainSchema: z.ZodDefault<z.ZodEnum<["mainnet"]>>;
4
+ export declare const EvmAddressSchema: z.ZodString;
5
+ export declare const BridgeAmountSchema: z.ZodString;
6
+ export declare const BridgeOperationTypeSchema: z.ZodEnum<["cross_chain_wow_to_evm", "cross_chain_evm_to_wow", "claim_wow_to_evm", "withdraw", "query_active_evm_account", "query_supported_evm_chains", "query_supported_tokens", "query_transfer_list", "query_transfer_status", "manage_evm_rpc"]>;
7
+ export declare const BridgeWowToEvmDataSchema: z.ZodObject<{
8
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
9
+ amount: z.ZodString;
10
+ withdrawTo: z.ZodOptional<z.ZodString>;
11
+ }, "strict", z.ZodTypeAny, {
12
+ amount: string;
13
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
14
+ withdrawTo?: string | undefined;
15
+ }, {
16
+ amount: string;
17
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
18
+ withdrawTo?: string | undefined;
19
+ }>;
20
+ export declare const BridgeEvmToWowDataSchema: z.ZodObject<{
21
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
22
+ amount: z.ZodString;
23
+ recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
24
+ }, "strict", z.ZodTypeAny, {
25
+ amount: string;
26
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
27
+ recipientWowAddress?: string | undefined;
28
+ }, {
29
+ amount: string;
30
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
31
+ recipientWowAddress?: string | undefined;
32
+ }>;
33
+ export declare const BridgeClaimWowToEvmDataSchema: z.ZodObject<{
34
+ transferId: z.ZodString;
35
+ }, "strict", z.ZodTypeAny, {
36
+ transferId: string;
37
+ }, {
38
+ transferId: string;
39
+ }>;
40
+ export declare const BridgeWithdrawDataSchema: z.ZodObject<{
41
+ to: z.ZodString;
42
+ amount: z.ZodString;
43
+ token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
44
+ tokenAddress: z.ZodOptional<z.ZodString>;
45
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
46
+ }, "strict", z.ZodTypeAny, {
47
+ amount: string;
48
+ to: string;
49
+ network?: "mainnet" | undefined;
50
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
51
+ tokenAddress?: string | undefined;
52
+ }, {
53
+ amount: string;
54
+ to: string;
55
+ network?: "mainnet" | undefined;
56
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
57
+ tokenAddress?: string | undefined;
58
+ }>;
59
+ export declare const BridgeQueryActiveEvmAccountDataSchema: z.ZodObject<{
60
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
61
+ tokens: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62
+ }, "strict", z.ZodTypeAny, {
63
+ network?: "mainnet" | undefined;
64
+ tokens?: string[] | undefined;
65
+ }, {
66
+ network?: "mainnet" | undefined;
67
+ tokens?: string[] | undefined;
68
+ }>;
69
+ export declare const BridgeQuerySupportedTokensDataSchema: z.ZodObject<{
70
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
71
+ }, "strict", z.ZodTypeAny, {
72
+ network?: "mainnet" | undefined;
73
+ }, {
74
+ network?: "mainnet" | undefined;
75
+ }>;
76
+ export declare const BridgeQueryTransferListDataSchema: z.ZodObject<{
77
+ onlyActive: z.ZodOptional<z.ZodBoolean>;
78
+ status: z.ZodOptional<z.ZodEnum<["pending", "in_progress", "success", "failed"]>>;
79
+ direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>>;
80
+ token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
81
+ limit: z.ZodOptional<z.ZodNumber>;
82
+ }, "strict", z.ZodTypeAny, {
83
+ status?: "success" | "pending" | "in_progress" | "failed" | undefined;
84
+ limit?: number | undefined;
85
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
86
+ onlyActive?: boolean | undefined;
87
+ direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
88
+ }, {
89
+ status?: "success" | "pending" | "in_progress" | "failed" | undefined;
90
+ limit?: number | undefined;
91
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
92
+ onlyActive?: boolean | undefined;
93
+ direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
94
+ }>;
95
+ export declare const BridgeQueryTransferStatusDataSchema: z.ZodObject<{
96
+ transferId: z.ZodString;
97
+ refresh: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
98
+ }, "strict", z.ZodTypeAny, {
99
+ transferId: string;
100
+ refresh: boolean;
101
+ }, {
102
+ transferId: string;
103
+ refresh?: boolean | undefined;
104
+ }>;
105
+ export declare const BridgeManageEvmRpcDataSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
106
+ op: z.ZodLiteral<"list">;
107
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ op: "list";
110
+ network?: "mainnet" | undefined;
111
+ }, {
112
+ op: "list";
113
+ network?: "mainnet" | undefined;
114
+ }>, z.ZodObject<{
115
+ op: z.ZodLiteral<"add">;
116
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
117
+ rpcUrls: z.ZodArray<z.ZodString, "many">;
118
+ }, "strip", z.ZodTypeAny, {
119
+ op: "add";
120
+ rpcUrls: string[];
121
+ network?: "mainnet" | undefined;
122
+ }, {
123
+ op: "add";
124
+ rpcUrls: string[];
125
+ network?: "mainnet" | undefined;
126
+ }>, z.ZodObject<{
127
+ op: z.ZodLiteral<"remove">;
128
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
129
+ rpcUrls: z.ZodArray<z.ZodString, "many">;
130
+ }, "strip", z.ZodTypeAny, {
131
+ op: "remove";
132
+ rpcUrls: string[];
133
+ network?: "mainnet" | undefined;
134
+ }, {
135
+ op: "remove";
136
+ rpcUrls: string[];
137
+ network?: "mainnet" | undefined;
138
+ }>, z.ZodObject<{
139
+ op: z.ZodLiteral<"set">;
140
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
141
+ rpcUrls: z.ZodArray<z.ZodString, "many">;
142
+ }, "strip", z.ZodTypeAny, {
143
+ op: "set";
144
+ rpcUrls: string[];
145
+ network?: "mainnet" | undefined;
146
+ }, {
147
+ op: "set";
148
+ rpcUrls: string[];
149
+ network?: "mainnet" | undefined;
150
+ }>, z.ZodObject<{
151
+ op: z.ZodLiteral<"ping">;
152
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
153
+ rpcUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ op: "ping";
156
+ network?: "mainnet" | undefined;
157
+ rpcUrls?: string[] | undefined;
158
+ }, {
159
+ op: "ping";
160
+ network?: "mainnet" | undefined;
161
+ rpcUrls?: string[] | undefined;
162
+ }>]>;
163
+ export declare const BridgeOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"operation_type", [z.ZodObject<{
164
+ operation_type: z.ZodLiteral<"cross_chain_wow_to_evm">;
165
+ data: z.ZodObject<{
166
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
167
+ amount: z.ZodString;
168
+ withdrawTo: z.ZodOptional<z.ZodString>;
169
+ }, "strict", z.ZodTypeAny, {
170
+ amount: string;
171
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
172
+ withdrawTo?: string | undefined;
173
+ }, {
174
+ amount: string;
175
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
176
+ withdrawTo?: string | undefined;
177
+ }>;
178
+ env: z.ZodOptional<z.ZodObject<{
179
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
180
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
181
+ no_cache: z.ZodOptional<z.ZodBoolean>;
182
+ network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
183
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
184
+ }, "strict", z.ZodTypeAny, {
185
+ account: string;
186
+ no_cache?: boolean | undefined;
187
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
188
+ permission_guard?: string[] | undefined;
189
+ referrer?: string | undefined;
190
+ }, {
191
+ no_cache?: boolean | undefined;
192
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
193
+ account?: string | undefined;
194
+ permission_guard?: string[] | undefined;
195
+ referrer?: string | undefined;
196
+ }>>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ data: {
199
+ amount: string;
200
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
201
+ withdrawTo?: string | undefined;
202
+ };
203
+ operation_type: "cross_chain_wow_to_evm";
204
+ env?: {
205
+ account: string;
206
+ no_cache?: boolean | undefined;
207
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
208
+ permission_guard?: string[] | undefined;
209
+ referrer?: string | undefined;
210
+ } | undefined;
211
+ }, {
212
+ data: {
213
+ amount: string;
214
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
215
+ withdrawTo?: string | undefined;
216
+ };
217
+ operation_type: "cross_chain_wow_to_evm";
218
+ env?: {
219
+ no_cache?: boolean | undefined;
220
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
221
+ account?: string | undefined;
222
+ permission_guard?: string[] | undefined;
223
+ referrer?: string | undefined;
224
+ } | undefined;
225
+ }>, z.ZodObject<{
226
+ operation_type: z.ZodLiteral<"cross_chain_evm_to_wow">;
227
+ data: z.ZodObject<{
228
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
229
+ amount: z.ZodString;
230
+ recipientWowAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
231
+ }, "strict", z.ZodTypeAny, {
232
+ amount: string;
233
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
234
+ recipientWowAddress?: string | undefined;
235
+ }, {
236
+ amount: string;
237
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
238
+ recipientWowAddress?: string | undefined;
239
+ }>;
240
+ env: z.ZodOptional<z.ZodObject<{
241
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
242
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
243
+ no_cache: z.ZodOptional<z.ZodBoolean>;
244
+ network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
245
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
246
+ }, "strict", z.ZodTypeAny, {
247
+ account: string;
248
+ no_cache?: boolean | undefined;
249
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
250
+ permission_guard?: string[] | undefined;
251
+ referrer?: string | undefined;
252
+ }, {
253
+ no_cache?: boolean | undefined;
254
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
255
+ account?: string | undefined;
256
+ permission_guard?: string[] | undefined;
257
+ referrer?: string | undefined;
258
+ }>>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ data: {
261
+ amount: string;
262
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
263
+ recipientWowAddress?: string | undefined;
264
+ };
265
+ operation_type: "cross_chain_evm_to_wow";
266
+ env?: {
267
+ account: string;
268
+ no_cache?: boolean | undefined;
269
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
270
+ permission_guard?: string[] | undefined;
271
+ referrer?: string | undefined;
272
+ } | undefined;
273
+ }, {
274
+ data: {
275
+ amount: string;
276
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
277
+ recipientWowAddress?: string | undefined;
278
+ };
279
+ operation_type: "cross_chain_evm_to_wow";
280
+ env?: {
281
+ no_cache?: boolean | undefined;
282
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
283
+ account?: string | undefined;
284
+ permission_guard?: string[] | undefined;
285
+ referrer?: string | undefined;
286
+ } | undefined;
287
+ }>, z.ZodObject<{
288
+ operation_type: z.ZodLiteral<"claim_wow_to_evm">;
289
+ data: z.ZodObject<{
290
+ transferId: z.ZodString;
291
+ }, "strict", z.ZodTypeAny, {
292
+ transferId: string;
293
+ }, {
294
+ transferId: string;
295
+ }>;
296
+ env: z.ZodOptional<z.ZodObject<{
297
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
298
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
299
+ no_cache: z.ZodOptional<z.ZodBoolean>;
300
+ network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
301
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
302
+ }, "strict", z.ZodTypeAny, {
303
+ account: string;
304
+ no_cache?: boolean | undefined;
305
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
306
+ permission_guard?: string[] | undefined;
307
+ referrer?: string | undefined;
308
+ }, {
309
+ no_cache?: boolean | undefined;
310
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
311
+ account?: string | undefined;
312
+ permission_guard?: string[] | undefined;
313
+ referrer?: string | undefined;
314
+ }>>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ data: {
317
+ transferId: string;
318
+ };
319
+ operation_type: "claim_wow_to_evm";
320
+ env?: {
321
+ account: string;
322
+ no_cache?: boolean | undefined;
323
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
324
+ permission_guard?: string[] | undefined;
325
+ referrer?: string | undefined;
326
+ } | undefined;
327
+ }, {
328
+ data: {
329
+ transferId: string;
330
+ };
331
+ operation_type: "claim_wow_to_evm";
332
+ env?: {
333
+ no_cache?: boolean | undefined;
334
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
335
+ account?: string | undefined;
336
+ permission_guard?: string[] | undefined;
337
+ referrer?: string | undefined;
338
+ } | undefined;
339
+ }>, z.ZodObject<{
340
+ operation_type: z.ZodLiteral<"withdraw">;
341
+ data: z.ZodObject<{
342
+ to: z.ZodString;
343
+ amount: z.ZodString;
344
+ token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
345
+ tokenAddress: z.ZodOptional<z.ZodString>;
346
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
347
+ }, "strict", z.ZodTypeAny, {
348
+ amount: string;
349
+ to: string;
350
+ network?: "mainnet" | undefined;
351
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
352
+ tokenAddress?: string | undefined;
353
+ }, {
354
+ amount: string;
355
+ to: string;
356
+ network?: "mainnet" | undefined;
357
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
358
+ tokenAddress?: string | undefined;
359
+ }>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ data: {
362
+ amount: string;
363
+ to: string;
364
+ network?: "mainnet" | undefined;
365
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
366
+ tokenAddress?: string | undefined;
367
+ };
368
+ operation_type: "withdraw";
369
+ }, {
370
+ data: {
371
+ amount: string;
372
+ to: string;
373
+ network?: "mainnet" | undefined;
374
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
375
+ tokenAddress?: string | undefined;
376
+ };
377
+ operation_type: "withdraw";
378
+ }>, z.ZodObject<{
379
+ operation_type: z.ZodLiteral<"query_active_evm_account">;
380
+ data: z.ZodOptional<z.ZodObject<{
381
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
382
+ tokens: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
383
+ }, "strict", z.ZodTypeAny, {
384
+ network?: "mainnet" | undefined;
385
+ tokens?: string[] | undefined;
386
+ }, {
387
+ network?: "mainnet" | undefined;
388
+ tokens?: string[] | undefined;
389
+ }>>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ operation_type: "query_active_evm_account";
392
+ data?: {
393
+ network?: "mainnet" | undefined;
394
+ tokens?: string[] | undefined;
395
+ } | undefined;
396
+ }, {
397
+ operation_type: "query_active_evm_account";
398
+ data?: {
399
+ network?: "mainnet" | undefined;
400
+ tokens?: string[] | undefined;
401
+ } | undefined;
402
+ }>, z.ZodObject<{
403
+ operation_type: z.ZodLiteral<"query_supported_evm_chains">;
404
+ }, "strip", z.ZodTypeAny, {
405
+ operation_type: "query_supported_evm_chains";
406
+ }, {
407
+ operation_type: "query_supported_evm_chains";
408
+ }>, z.ZodObject<{
409
+ operation_type: z.ZodLiteral<"query_supported_tokens">;
410
+ data: z.ZodOptional<z.ZodObject<{
411
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
412
+ }, "strict", z.ZodTypeAny, {
413
+ network?: "mainnet" | undefined;
414
+ }, {
415
+ network?: "mainnet" | undefined;
416
+ }>>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ operation_type: "query_supported_tokens";
419
+ data?: {
420
+ network?: "mainnet" | undefined;
421
+ } | undefined;
422
+ }, {
423
+ operation_type: "query_supported_tokens";
424
+ data?: {
425
+ network?: "mainnet" | undefined;
426
+ } | undefined;
427
+ }>, z.ZodObject<{
428
+ operation_type: z.ZodLiteral<"query_transfer_list">;
429
+ data: z.ZodOptional<z.ZodObject<{
430
+ onlyActive: z.ZodOptional<z.ZodBoolean>;
431
+ status: z.ZodOptional<z.ZodEnum<["pending", "in_progress", "success", "failed"]>>;
432
+ direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>>;
433
+ token: z.ZodOptional<z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>>;
434
+ limit: z.ZodOptional<z.ZodNumber>;
435
+ }, "strict", z.ZodTypeAny, {
436
+ status?: "success" | "pending" | "in_progress" | "failed" | undefined;
437
+ limit?: number | undefined;
438
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
439
+ onlyActive?: boolean | undefined;
440
+ direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
441
+ }, {
442
+ status?: "success" | "pending" | "in_progress" | "failed" | undefined;
443
+ limit?: number | undefined;
444
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
445
+ onlyActive?: boolean | undefined;
446
+ direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
447
+ }>>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ operation_type: "query_transfer_list";
450
+ data?: {
451
+ status?: "success" | "pending" | "in_progress" | "failed" | undefined;
452
+ limit?: number | undefined;
453
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
454
+ onlyActive?: boolean | undefined;
455
+ direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
456
+ } | undefined;
457
+ }, {
458
+ operation_type: "query_transfer_list";
459
+ data?: {
460
+ status?: "success" | "pending" | "in_progress" | "failed" | undefined;
461
+ limit?: number | undefined;
462
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
463
+ onlyActive?: boolean | undefined;
464
+ direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
465
+ } | undefined;
466
+ }>, z.ZodObject<{
467
+ operation_type: z.ZodLiteral<"query_transfer_status">;
468
+ data: z.ZodObject<{
469
+ transferId: z.ZodString;
470
+ refresh: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
471
+ }, "strict", z.ZodTypeAny, {
472
+ transferId: string;
473
+ refresh: boolean;
474
+ }, {
475
+ transferId: string;
476
+ refresh?: boolean | undefined;
477
+ }>;
478
+ }, "strip", z.ZodTypeAny, {
479
+ data: {
480
+ transferId: string;
481
+ refresh: boolean;
482
+ };
483
+ operation_type: "query_transfer_status";
484
+ }, {
485
+ data: {
486
+ transferId: string;
487
+ refresh?: boolean | undefined;
488
+ };
489
+ operation_type: "query_transfer_status";
490
+ }>, z.ZodObject<{
491
+ operation_type: z.ZodLiteral<"manage_evm_rpc">;
492
+ data: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
493
+ op: z.ZodLiteral<"list">;
494
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ op: "list";
497
+ network?: "mainnet" | undefined;
498
+ }, {
499
+ op: "list";
500
+ network?: "mainnet" | undefined;
501
+ }>, z.ZodObject<{
502
+ op: z.ZodLiteral<"add">;
503
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
504
+ rpcUrls: z.ZodArray<z.ZodString, "many">;
505
+ }, "strip", z.ZodTypeAny, {
506
+ op: "add";
507
+ rpcUrls: string[];
508
+ network?: "mainnet" | undefined;
509
+ }, {
510
+ op: "add";
511
+ rpcUrls: string[];
512
+ network?: "mainnet" | undefined;
513
+ }>, z.ZodObject<{
514
+ op: z.ZodLiteral<"remove">;
515
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
516
+ rpcUrls: z.ZodArray<z.ZodString, "many">;
517
+ }, "strip", z.ZodTypeAny, {
518
+ op: "remove";
519
+ rpcUrls: string[];
520
+ network?: "mainnet" | undefined;
521
+ }, {
522
+ op: "remove";
523
+ rpcUrls: string[];
524
+ network?: "mainnet" | undefined;
525
+ }>, z.ZodObject<{
526
+ op: z.ZodLiteral<"set">;
527
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
528
+ rpcUrls: z.ZodArray<z.ZodString, "many">;
529
+ }, "strip", z.ZodTypeAny, {
530
+ op: "set";
531
+ rpcUrls: string[];
532
+ network?: "mainnet" | undefined;
533
+ }, {
534
+ op: "set";
535
+ rpcUrls: string[];
536
+ network?: "mainnet" | undefined;
537
+ }>, z.ZodObject<{
538
+ op: z.ZodLiteral<"ping">;
539
+ network: z.ZodOptional<z.ZodDefault<z.ZodEnum<["mainnet"]>>>;
540
+ rpcUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
541
+ }, "strip", z.ZodTypeAny, {
542
+ op: "ping";
543
+ network?: "mainnet" | undefined;
544
+ rpcUrls?: string[] | undefined;
545
+ }, {
546
+ op: "ping";
547
+ network?: "mainnet" | undefined;
548
+ rpcUrls?: string[] | undefined;
549
+ }>]>;
550
+ }, "strip", z.ZodTypeAny, {
551
+ data: {
552
+ op: "list";
553
+ network?: "mainnet" | undefined;
554
+ } | {
555
+ op: "add";
556
+ rpcUrls: string[];
557
+ network?: "mainnet" | undefined;
558
+ } | {
559
+ op: "remove";
560
+ rpcUrls: string[];
561
+ network?: "mainnet" | undefined;
562
+ } | {
563
+ op: "set";
564
+ rpcUrls: string[];
565
+ network?: "mainnet" | undefined;
566
+ } | {
567
+ op: "ping";
568
+ network?: "mainnet" | undefined;
569
+ rpcUrls?: string[] | undefined;
570
+ };
571
+ operation_type: "manage_evm_rpc";
572
+ }, {
573
+ data: {
574
+ op: "list";
575
+ network?: "mainnet" | undefined;
576
+ } | {
577
+ op: "add";
578
+ rpcUrls: string[];
579
+ network?: "mainnet" | undefined;
580
+ } | {
581
+ op: "remove";
582
+ rpcUrls: string[];
583
+ network?: "mainnet" | undefined;
584
+ } | {
585
+ op: "set";
586
+ rpcUrls: string[];
587
+ network?: "mainnet" | undefined;
588
+ } | {
589
+ op: "ping";
590
+ network?: "mainnet" | undefined;
591
+ rpcUrls?: string[] | undefined;
592
+ };
593
+ operation_type: "manage_evm_rpc";
594
+ }>]>, {
595
+ data: {
596
+ amount: string;
597
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
598
+ withdrawTo?: string | undefined;
599
+ };
600
+ operation_type: "cross_chain_wow_to_evm";
601
+ env?: {
602
+ account: string;
603
+ no_cache?: boolean | undefined;
604
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
605
+ permission_guard?: string[] | undefined;
606
+ referrer?: string | undefined;
607
+ } | undefined;
608
+ } | {
609
+ data: {
610
+ amount: string;
611
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
612
+ recipientWowAddress?: string | undefined;
613
+ };
614
+ operation_type: "cross_chain_evm_to_wow";
615
+ env?: {
616
+ account: string;
617
+ no_cache?: boolean | undefined;
618
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
619
+ permission_guard?: string[] | undefined;
620
+ referrer?: string | undefined;
621
+ } | undefined;
622
+ } | {
623
+ data: {
624
+ transferId: string;
625
+ };
626
+ operation_type: "claim_wow_to_evm";
627
+ env?: {
628
+ account: string;
629
+ no_cache?: boolean | undefined;
630
+ network?: import("@wowok/wowok").ENTRYPOINT | undefined;
631
+ permission_guard?: string[] | undefined;
632
+ referrer?: string | undefined;
633
+ } | undefined;
634
+ } | {
635
+ data: {
636
+ amount: string;
637
+ to: string;
638
+ network?: "mainnet" | undefined;
639
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
640
+ tokenAddress?: string | undefined;
641
+ };
642
+ operation_type: "withdraw";
643
+ } | {
644
+ operation_type: "query_active_evm_account";
645
+ data?: {
646
+ network?: "mainnet" | undefined;
647
+ tokens?: string[] | undefined;
648
+ } | undefined;
649
+ } | {
650
+ operation_type: "query_supported_evm_chains";
651
+ } | {
652
+ operation_type: "query_supported_tokens";
653
+ data?: {
654
+ network?: "mainnet" | undefined;
655
+ } | undefined;
656
+ } | {
657
+ operation_type: "query_transfer_list";
658
+ data?: {
659
+ status?: "success" | "pending" | "in_progress" | "failed" | undefined;
660
+ limit?: number | undefined;
661
+ token?: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT" | undefined;
662
+ onlyActive?: boolean | undefined;
663
+ direction?: "withdraw" | "wow_to_evm" | "evm_to_wow" | undefined;
664
+ } | undefined;
665
+ } | {
666
+ data: {
667
+ transferId: string;
668
+ refresh: boolean;
669
+ };
670
+ operation_type: "query_transfer_status";
671
+ } | {
672
+ data: {
673
+ op: "list";
674
+ network?: "mainnet" | undefined;
675
+ } | {
676
+ op: "add";
677
+ rpcUrls: string[];
678
+ network?: "mainnet" | undefined;
679
+ } | {
680
+ op: "remove";
681
+ rpcUrls: string[];
682
+ network?: "mainnet" | undefined;
683
+ } | {
684
+ op: "set";
685
+ rpcUrls: string[];
686
+ network?: "mainnet" | undefined;
687
+ } | {
688
+ op: "ping";
689
+ network?: "mainnet" | undefined;
690
+ rpcUrls?: string[] | undefined;
691
+ };
692
+ operation_type: "manage_evm_rpc";
693
+ }, unknown>;
694
+ export declare const BridgeLatestStateSchema: z.ZodObject<{
695
+ status: z.ZodEnum<["not_started", "pending", "confirmed", "signatures_ready", "claiming", "completed", "failed"]>;
696
+ step: z.ZodEnum<["not_started", "source_tx_pending", "source_tx_confirmed", "node_signing", "signatures_ready", "claim_tx_pending", "completed", "failed"]>;
697
+ stepDescription: z.ZodOptional<z.ZodString>;
698
+ direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow"]>>;
699
+ sourceTxHash: z.ZodOptional<z.ZodString>;
700
+ bridgeSeq: z.ZodOptional<z.ZodString>;
701
+ confirmations: z.ZodOptional<z.ZodNumber>;
702
+ claimTxDigest: z.ZodOptional<z.ZodString>;
703
+ claimReceipt: z.ZodOptional<z.ZodAny>;
704
+ ethReceipt: z.ZodOptional<z.ZodAny>;
705
+ wowReceipt: z.ZodOptional<z.ZodAny>;
706
+ error: z.ZodOptional<z.ZodString>;
707
+ hint: z.ZodOptional<z.ZodString>;
708
+ updatedAt: z.ZodOptional<z.ZodNumber>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
711
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
712
+ error?: string | undefined;
713
+ updatedAt?: number | undefined;
714
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
715
+ stepDescription?: string | undefined;
716
+ sourceTxHash?: string | undefined;
717
+ bridgeSeq?: string | undefined;
718
+ confirmations?: number | undefined;
719
+ claimTxDigest?: string | undefined;
720
+ claimReceipt?: any;
721
+ ethReceipt?: any;
722
+ wowReceipt?: any;
723
+ hint?: string | undefined;
724
+ }, {
725
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
726
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
727
+ error?: string | undefined;
728
+ updatedAt?: number | undefined;
729
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
730
+ stepDescription?: string | undefined;
731
+ sourceTxHash?: string | undefined;
732
+ bridgeSeq?: string | undefined;
733
+ confirmations?: number | undefined;
734
+ claimTxDigest?: string | undefined;
735
+ claimReceipt?: any;
736
+ ethReceipt?: any;
737
+ wowReceipt?: any;
738
+ hint?: string | undefined;
739
+ }>;
740
+ export declare const BridgeTransferRecordSchema: z.ZodObject<{
741
+ transferId: z.ZodString;
742
+ direction: z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>;
743
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
744
+ amount: z.ZodString;
745
+ recipientEth: z.ZodOptional<z.ZodString>;
746
+ recipientWow: z.ZodOptional<z.ZodString>;
747
+ intermediateEthAccount: z.ZodString;
748
+ step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
749
+ status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
750
+ depositTxHash: z.ZodOptional<z.ZodString>;
751
+ depositTxDigest: z.ZodOptional<z.ZodString>;
752
+ bridgeSeq: z.ZodOptional<z.ZodString>;
753
+ claimTxHash: z.ZodOptional<z.ZodString>;
754
+ claimTxDigest: z.ZodOptional<z.ZodString>;
755
+ withdrawTxHash: z.ZodOptional<z.ZodString>;
756
+ error: z.ZodOptional<z.ZodString>;
757
+ createdAt: z.ZodNumber;
758
+ updatedAt: z.ZodNumber;
759
+ latestState: z.ZodOptional<z.ZodObject<{
760
+ status: z.ZodEnum<["not_started", "pending", "confirmed", "signatures_ready", "claiming", "completed", "failed"]>;
761
+ step: z.ZodEnum<["not_started", "source_tx_pending", "source_tx_confirmed", "node_signing", "signatures_ready", "claim_tx_pending", "completed", "failed"]>;
762
+ stepDescription: z.ZodOptional<z.ZodString>;
763
+ direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow"]>>;
764
+ sourceTxHash: z.ZodOptional<z.ZodString>;
765
+ bridgeSeq: z.ZodOptional<z.ZodString>;
766
+ confirmations: z.ZodOptional<z.ZodNumber>;
767
+ claimTxDigest: z.ZodOptional<z.ZodString>;
768
+ claimReceipt: z.ZodOptional<z.ZodAny>;
769
+ ethReceipt: z.ZodOptional<z.ZodAny>;
770
+ wowReceipt: z.ZodOptional<z.ZodAny>;
771
+ error: z.ZodOptional<z.ZodString>;
772
+ hint: z.ZodOptional<z.ZodString>;
773
+ updatedAt: z.ZodOptional<z.ZodNumber>;
774
+ }, "strip", z.ZodTypeAny, {
775
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
776
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
777
+ error?: string | undefined;
778
+ updatedAt?: number | undefined;
779
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
780
+ stepDescription?: string | undefined;
781
+ sourceTxHash?: string | undefined;
782
+ bridgeSeq?: string | undefined;
783
+ confirmations?: number | undefined;
784
+ claimTxDigest?: string | undefined;
785
+ claimReceipt?: any;
786
+ ethReceipt?: any;
787
+ wowReceipt?: any;
788
+ hint?: string | undefined;
789
+ }, {
790
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
791
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
792
+ error?: string | undefined;
793
+ updatedAt?: number | undefined;
794
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
795
+ stepDescription?: string | undefined;
796
+ sourceTxHash?: string | undefined;
797
+ bridgeSeq?: string | undefined;
798
+ confirmations?: number | undefined;
799
+ claimTxDigest?: string | undefined;
800
+ claimReceipt?: any;
801
+ ethReceipt?: any;
802
+ wowReceipt?: any;
803
+ hint?: string | undefined;
804
+ }>>;
805
+ }, "strict", z.ZodTypeAny, {
806
+ status: "success" | "pending" | "in_progress" | "failed";
807
+ amount: string;
808
+ createdAt: number;
809
+ updatedAt: number;
810
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
811
+ transferId: string;
812
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
813
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
814
+ intermediateEthAccount: string;
815
+ error?: string | undefined;
816
+ bridgeSeq?: string | undefined;
817
+ claimTxDigest?: string | undefined;
818
+ recipientEth?: string | undefined;
819
+ recipientWow?: string | undefined;
820
+ depositTxHash?: string | undefined;
821
+ depositTxDigest?: string | undefined;
822
+ claimTxHash?: string | undefined;
823
+ withdrawTxHash?: string | undefined;
824
+ latestState?: {
825
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
826
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
827
+ error?: string | undefined;
828
+ updatedAt?: number | undefined;
829
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
830
+ stepDescription?: string | undefined;
831
+ sourceTxHash?: string | undefined;
832
+ bridgeSeq?: string | undefined;
833
+ confirmations?: number | undefined;
834
+ claimTxDigest?: string | undefined;
835
+ claimReceipt?: any;
836
+ ethReceipt?: any;
837
+ wowReceipt?: any;
838
+ hint?: string | undefined;
839
+ } | undefined;
840
+ }, {
841
+ status: "success" | "pending" | "in_progress" | "failed";
842
+ amount: string;
843
+ createdAt: number;
844
+ updatedAt: number;
845
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
846
+ transferId: string;
847
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
848
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
849
+ intermediateEthAccount: string;
850
+ error?: string | undefined;
851
+ bridgeSeq?: string | undefined;
852
+ claimTxDigest?: string | undefined;
853
+ recipientEth?: string | undefined;
854
+ recipientWow?: string | undefined;
855
+ depositTxHash?: string | undefined;
856
+ depositTxDigest?: string | undefined;
857
+ claimTxHash?: string | undefined;
858
+ withdrawTxHash?: string | undefined;
859
+ latestState?: {
860
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
861
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
862
+ error?: string | undefined;
863
+ updatedAt?: number | undefined;
864
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
865
+ stepDescription?: string | undefined;
866
+ sourceTxHash?: string | undefined;
867
+ bridgeSeq?: string | undefined;
868
+ confirmations?: number | undefined;
869
+ claimTxDigest?: string | undefined;
870
+ claimReceipt?: any;
871
+ ethReceipt?: any;
872
+ wowReceipt?: any;
873
+ hint?: string | undefined;
874
+ } | undefined;
875
+ }>;
876
+ export declare const BridgeWowToEvmResultSchema: z.ZodObject<{
877
+ depositTxDigest: z.ZodString;
878
+ bridgeSeq: z.ZodString;
879
+ activeEvmAccount: z.ZodString;
880
+ transferId: z.ZodString;
881
+ }, "strict", z.ZodTypeAny, {
882
+ transferId: string;
883
+ bridgeSeq: string;
884
+ depositTxDigest: string;
885
+ activeEvmAccount: string;
886
+ }, {
887
+ transferId: string;
888
+ bridgeSeq: string;
889
+ depositTxDigest: string;
890
+ activeEvmAccount: string;
891
+ }>;
892
+ export declare const BridgeEvmToWowResultSchema: z.ZodObject<{
893
+ depositTxHash: z.ZodString;
894
+ activeEvmAccount: z.ZodString;
895
+ transferId: z.ZodString;
896
+ }, "strict", z.ZodTypeAny, {
897
+ transferId: string;
898
+ depositTxHash: string;
899
+ activeEvmAccount: string;
900
+ }, {
901
+ transferId: string;
902
+ depositTxHash: string;
903
+ activeEvmAccount: string;
904
+ }>;
905
+ export declare const BridgeClaimWowToEvmResultSchema: z.ZodObject<{
906
+ claimTxHash: z.ZodString;
907
+ transferId: z.ZodString;
908
+ }, "strict", z.ZodTypeAny, {
909
+ transferId: string;
910
+ claimTxHash: string;
911
+ }, {
912
+ transferId: string;
913
+ claimTxHash: string;
914
+ }>;
915
+ export declare const BridgeWithdrawResultSchema: z.ZodObject<{
916
+ txHash: z.ZodString;
917
+ transferId: z.ZodString;
918
+ }, "strict", z.ZodTypeAny, {
919
+ transferId: string;
920
+ txHash: string;
921
+ }, {
922
+ transferId: string;
923
+ txHash: string;
924
+ }>;
925
+ export declare const BridgeQueryActiveEvmAccountResultSchema: z.ZodObject<{
926
+ address: z.ZodString;
927
+ chains: z.ZodArray<z.ZodObject<{
928
+ chainId: z.ZodNumber;
929
+ name: z.ZodString;
930
+ nativeBalance: z.ZodString;
931
+ tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
932
+ tokenAddress: z.ZodString;
933
+ balance: z.ZodString;
934
+ }, "strip", z.ZodTypeAny, {
935
+ balance: string;
936
+ tokenAddress: string;
937
+ }, {
938
+ balance: string;
939
+ tokenAddress: string;
940
+ }>, "many">>;
941
+ }, "strip", z.ZodTypeAny, {
942
+ name: string;
943
+ chainId: number;
944
+ nativeBalance: string;
945
+ tokens?: {
946
+ balance: string;
947
+ tokenAddress: string;
948
+ }[] | undefined;
949
+ }, {
950
+ name: string;
951
+ chainId: number;
952
+ nativeBalance: string;
953
+ tokens?: {
954
+ balance: string;
955
+ tokenAddress: string;
956
+ }[] | undefined;
957
+ }>, "many">;
958
+ }, "strict", z.ZodTypeAny, {
959
+ address: string;
960
+ chains: {
961
+ name: string;
962
+ chainId: number;
963
+ nativeBalance: string;
964
+ tokens?: {
965
+ balance: string;
966
+ tokenAddress: string;
967
+ }[] | undefined;
968
+ }[];
969
+ }, {
970
+ address: string;
971
+ chains: {
972
+ name: string;
973
+ chainId: number;
974
+ nativeBalance: string;
975
+ tokens?: {
976
+ balance: string;
977
+ tokenAddress: string;
978
+ }[] | undefined;
979
+ }[];
980
+ }>;
981
+ export declare const BridgeQuerySupportedEvmChainsResultSchema: z.ZodArray<z.ZodObject<{
982
+ chainId: z.ZodNumber;
983
+ name: z.ZodString;
984
+ description: z.ZodString;
985
+ bridgeChainId: z.ZodNumber;
986
+ explorerUrl: z.ZodString;
987
+ rpcCount: z.ZodNumber;
988
+ healthyRpcCount: z.ZodNumber;
989
+ }, "strip", z.ZodTypeAny, {
990
+ name: string;
991
+ description: string;
992
+ chainId: number;
993
+ bridgeChainId: number;
994
+ explorerUrl: string;
995
+ rpcCount: number;
996
+ healthyRpcCount: number;
997
+ }, {
998
+ name: string;
999
+ description: string;
1000
+ chainId: number;
1001
+ bridgeChainId: number;
1002
+ explorerUrl: string;
1003
+ rpcCount: number;
1004
+ healthyRpcCount: number;
1005
+ }>, "many">;
1006
+ export declare const BridgeQuerySupportedTokensResultSchema: z.ZodArray<z.ZodObject<{
1007
+ chainId: z.ZodNumber;
1008
+ chainName: z.ZodString;
1009
+ bridgeChainId: z.ZodNumber;
1010
+ tokens: z.ZodArray<z.ZodObject<{
1011
+ tokenId: z.ZodNumber;
1012
+ symbol: z.ZodString;
1013
+ evmAddress: z.ZodString;
1014
+ evmDecimals: z.ZodNumber;
1015
+ wowTypeTag: z.ZodString;
1016
+ wowDecimals: z.ZodNumber;
1017
+ description: z.ZodString;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ symbol: string;
1020
+ description: string;
1021
+ tokenId: number;
1022
+ evmAddress: string;
1023
+ evmDecimals: number;
1024
+ wowTypeTag: string;
1025
+ wowDecimals: number;
1026
+ }, {
1027
+ symbol: string;
1028
+ description: string;
1029
+ tokenId: number;
1030
+ evmAddress: string;
1031
+ evmDecimals: number;
1032
+ wowTypeTag: string;
1033
+ wowDecimals: number;
1034
+ }>, "many">;
1035
+ }, "strip", z.ZodTypeAny, {
1036
+ tokens: {
1037
+ symbol: string;
1038
+ description: string;
1039
+ tokenId: number;
1040
+ evmAddress: string;
1041
+ evmDecimals: number;
1042
+ wowTypeTag: string;
1043
+ wowDecimals: number;
1044
+ }[];
1045
+ chainId: number;
1046
+ bridgeChainId: number;
1047
+ chainName: string;
1048
+ }, {
1049
+ tokens: {
1050
+ symbol: string;
1051
+ description: string;
1052
+ tokenId: number;
1053
+ evmAddress: string;
1054
+ evmDecimals: number;
1055
+ wowTypeTag: string;
1056
+ wowDecimals: number;
1057
+ }[];
1058
+ chainId: number;
1059
+ bridgeChainId: number;
1060
+ chainName: string;
1061
+ }>, "many">;
1062
+ export declare const BridgeQueryTransferListResultSchema: z.ZodArray<z.ZodObject<{
1063
+ transferId: z.ZodString;
1064
+ direction: z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>;
1065
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
1066
+ amount: z.ZodString;
1067
+ recipientEth: z.ZodOptional<z.ZodString>;
1068
+ recipientWow: z.ZodOptional<z.ZodString>;
1069
+ intermediateEthAccount: z.ZodString;
1070
+ step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
1071
+ status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
1072
+ depositTxHash: z.ZodOptional<z.ZodString>;
1073
+ depositTxDigest: z.ZodOptional<z.ZodString>;
1074
+ bridgeSeq: z.ZodOptional<z.ZodString>;
1075
+ claimTxHash: z.ZodOptional<z.ZodString>;
1076
+ claimTxDigest: z.ZodOptional<z.ZodString>;
1077
+ withdrawTxHash: z.ZodOptional<z.ZodString>;
1078
+ error: z.ZodOptional<z.ZodString>;
1079
+ createdAt: z.ZodNumber;
1080
+ updatedAt: z.ZodNumber;
1081
+ latestState: z.ZodOptional<z.ZodObject<{
1082
+ status: z.ZodEnum<["not_started", "pending", "confirmed", "signatures_ready", "claiming", "completed", "failed"]>;
1083
+ step: z.ZodEnum<["not_started", "source_tx_pending", "source_tx_confirmed", "node_signing", "signatures_ready", "claim_tx_pending", "completed", "failed"]>;
1084
+ stepDescription: z.ZodOptional<z.ZodString>;
1085
+ direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow"]>>;
1086
+ sourceTxHash: z.ZodOptional<z.ZodString>;
1087
+ bridgeSeq: z.ZodOptional<z.ZodString>;
1088
+ confirmations: z.ZodOptional<z.ZodNumber>;
1089
+ claimTxDigest: z.ZodOptional<z.ZodString>;
1090
+ claimReceipt: z.ZodOptional<z.ZodAny>;
1091
+ ethReceipt: z.ZodOptional<z.ZodAny>;
1092
+ wowReceipt: z.ZodOptional<z.ZodAny>;
1093
+ error: z.ZodOptional<z.ZodString>;
1094
+ hint: z.ZodOptional<z.ZodString>;
1095
+ updatedAt: z.ZodOptional<z.ZodNumber>;
1096
+ }, "strip", z.ZodTypeAny, {
1097
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1098
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1099
+ error?: string | undefined;
1100
+ updatedAt?: number | undefined;
1101
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1102
+ stepDescription?: string | undefined;
1103
+ sourceTxHash?: string | undefined;
1104
+ bridgeSeq?: string | undefined;
1105
+ confirmations?: number | undefined;
1106
+ claimTxDigest?: string | undefined;
1107
+ claimReceipt?: any;
1108
+ ethReceipt?: any;
1109
+ wowReceipt?: any;
1110
+ hint?: string | undefined;
1111
+ }, {
1112
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1113
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1114
+ error?: string | undefined;
1115
+ updatedAt?: number | undefined;
1116
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1117
+ stepDescription?: string | undefined;
1118
+ sourceTxHash?: string | undefined;
1119
+ bridgeSeq?: string | undefined;
1120
+ confirmations?: number | undefined;
1121
+ claimTxDigest?: string | undefined;
1122
+ claimReceipt?: any;
1123
+ ethReceipt?: any;
1124
+ wowReceipt?: any;
1125
+ hint?: string | undefined;
1126
+ }>>;
1127
+ }, "strict", z.ZodTypeAny, {
1128
+ status: "success" | "pending" | "in_progress" | "failed";
1129
+ amount: string;
1130
+ createdAt: number;
1131
+ updatedAt: number;
1132
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1133
+ transferId: string;
1134
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1135
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1136
+ intermediateEthAccount: string;
1137
+ error?: string | undefined;
1138
+ bridgeSeq?: string | undefined;
1139
+ claimTxDigest?: string | undefined;
1140
+ recipientEth?: string | undefined;
1141
+ recipientWow?: string | undefined;
1142
+ depositTxHash?: string | undefined;
1143
+ depositTxDigest?: string | undefined;
1144
+ claimTxHash?: string | undefined;
1145
+ withdrawTxHash?: string | undefined;
1146
+ latestState?: {
1147
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1148
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1149
+ error?: string | undefined;
1150
+ updatedAt?: number | undefined;
1151
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1152
+ stepDescription?: string | undefined;
1153
+ sourceTxHash?: string | undefined;
1154
+ bridgeSeq?: string | undefined;
1155
+ confirmations?: number | undefined;
1156
+ claimTxDigest?: string | undefined;
1157
+ claimReceipt?: any;
1158
+ ethReceipt?: any;
1159
+ wowReceipt?: any;
1160
+ hint?: string | undefined;
1161
+ } | undefined;
1162
+ }, {
1163
+ status: "success" | "pending" | "in_progress" | "failed";
1164
+ amount: string;
1165
+ createdAt: number;
1166
+ updatedAt: number;
1167
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1168
+ transferId: string;
1169
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1170
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1171
+ intermediateEthAccount: string;
1172
+ error?: string | undefined;
1173
+ bridgeSeq?: string | undefined;
1174
+ claimTxDigest?: string | undefined;
1175
+ recipientEth?: string | undefined;
1176
+ recipientWow?: string | undefined;
1177
+ depositTxHash?: string | undefined;
1178
+ depositTxDigest?: string | undefined;
1179
+ claimTxHash?: string | undefined;
1180
+ withdrawTxHash?: string | undefined;
1181
+ latestState?: {
1182
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1183
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1184
+ error?: string | undefined;
1185
+ updatedAt?: number | undefined;
1186
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1187
+ stepDescription?: string | undefined;
1188
+ sourceTxHash?: string | undefined;
1189
+ bridgeSeq?: string | undefined;
1190
+ confirmations?: number | undefined;
1191
+ claimTxDigest?: string | undefined;
1192
+ claimReceipt?: any;
1193
+ ethReceipt?: any;
1194
+ wowReceipt?: any;
1195
+ hint?: string | undefined;
1196
+ } | undefined;
1197
+ }>, "many">;
1198
+ export declare const BridgeQueryTransferStatusResultSchema: z.ZodNullable<z.ZodObject<{
1199
+ transferId: z.ZodString;
1200
+ direction: z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>;
1201
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
1202
+ amount: z.ZodString;
1203
+ recipientEth: z.ZodOptional<z.ZodString>;
1204
+ recipientWow: z.ZodOptional<z.ZodString>;
1205
+ intermediateEthAccount: z.ZodString;
1206
+ step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
1207
+ status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
1208
+ depositTxHash: z.ZodOptional<z.ZodString>;
1209
+ depositTxDigest: z.ZodOptional<z.ZodString>;
1210
+ bridgeSeq: z.ZodOptional<z.ZodString>;
1211
+ claimTxHash: z.ZodOptional<z.ZodString>;
1212
+ claimTxDigest: z.ZodOptional<z.ZodString>;
1213
+ withdrawTxHash: z.ZodOptional<z.ZodString>;
1214
+ error: z.ZodOptional<z.ZodString>;
1215
+ createdAt: z.ZodNumber;
1216
+ updatedAt: z.ZodNumber;
1217
+ latestState: z.ZodOptional<z.ZodObject<{
1218
+ status: z.ZodEnum<["not_started", "pending", "confirmed", "signatures_ready", "claiming", "completed", "failed"]>;
1219
+ step: z.ZodEnum<["not_started", "source_tx_pending", "source_tx_confirmed", "node_signing", "signatures_ready", "claim_tx_pending", "completed", "failed"]>;
1220
+ stepDescription: z.ZodOptional<z.ZodString>;
1221
+ direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow"]>>;
1222
+ sourceTxHash: z.ZodOptional<z.ZodString>;
1223
+ bridgeSeq: z.ZodOptional<z.ZodString>;
1224
+ confirmations: z.ZodOptional<z.ZodNumber>;
1225
+ claimTxDigest: z.ZodOptional<z.ZodString>;
1226
+ claimReceipt: z.ZodOptional<z.ZodAny>;
1227
+ ethReceipt: z.ZodOptional<z.ZodAny>;
1228
+ wowReceipt: z.ZodOptional<z.ZodAny>;
1229
+ error: z.ZodOptional<z.ZodString>;
1230
+ hint: z.ZodOptional<z.ZodString>;
1231
+ updatedAt: z.ZodOptional<z.ZodNumber>;
1232
+ }, "strip", z.ZodTypeAny, {
1233
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1234
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1235
+ error?: string | undefined;
1236
+ updatedAt?: number | undefined;
1237
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1238
+ stepDescription?: string | undefined;
1239
+ sourceTxHash?: string | undefined;
1240
+ bridgeSeq?: string | undefined;
1241
+ confirmations?: number | undefined;
1242
+ claimTxDigest?: string | undefined;
1243
+ claimReceipt?: any;
1244
+ ethReceipt?: any;
1245
+ wowReceipt?: any;
1246
+ hint?: string | undefined;
1247
+ }, {
1248
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1249
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1250
+ error?: string | undefined;
1251
+ updatedAt?: number | undefined;
1252
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1253
+ stepDescription?: string | undefined;
1254
+ sourceTxHash?: string | undefined;
1255
+ bridgeSeq?: string | undefined;
1256
+ confirmations?: number | undefined;
1257
+ claimTxDigest?: string | undefined;
1258
+ claimReceipt?: any;
1259
+ ethReceipt?: any;
1260
+ wowReceipt?: any;
1261
+ hint?: string | undefined;
1262
+ }>>;
1263
+ }, "strict", z.ZodTypeAny, {
1264
+ status: "success" | "pending" | "in_progress" | "failed";
1265
+ amount: string;
1266
+ createdAt: number;
1267
+ updatedAt: number;
1268
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1269
+ transferId: string;
1270
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1271
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1272
+ intermediateEthAccount: string;
1273
+ error?: string | undefined;
1274
+ bridgeSeq?: string | undefined;
1275
+ claimTxDigest?: string | undefined;
1276
+ recipientEth?: string | undefined;
1277
+ recipientWow?: string | undefined;
1278
+ depositTxHash?: string | undefined;
1279
+ depositTxDigest?: string | undefined;
1280
+ claimTxHash?: string | undefined;
1281
+ withdrawTxHash?: string | undefined;
1282
+ latestState?: {
1283
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1284
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1285
+ error?: string | undefined;
1286
+ updatedAt?: number | undefined;
1287
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1288
+ stepDescription?: string | undefined;
1289
+ sourceTxHash?: string | undefined;
1290
+ bridgeSeq?: string | undefined;
1291
+ confirmations?: number | undefined;
1292
+ claimTxDigest?: string | undefined;
1293
+ claimReceipt?: any;
1294
+ ethReceipt?: any;
1295
+ wowReceipt?: any;
1296
+ hint?: string | undefined;
1297
+ } | undefined;
1298
+ }, {
1299
+ status: "success" | "pending" | "in_progress" | "failed";
1300
+ amount: string;
1301
+ createdAt: number;
1302
+ updatedAt: number;
1303
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1304
+ transferId: string;
1305
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1306
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1307
+ intermediateEthAccount: string;
1308
+ error?: string | undefined;
1309
+ bridgeSeq?: string | undefined;
1310
+ claimTxDigest?: string | undefined;
1311
+ recipientEth?: string | undefined;
1312
+ recipientWow?: string | undefined;
1313
+ depositTxHash?: string | undefined;
1314
+ depositTxDigest?: string | undefined;
1315
+ claimTxHash?: string | undefined;
1316
+ withdrawTxHash?: string | undefined;
1317
+ latestState?: {
1318
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1319
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1320
+ error?: string | undefined;
1321
+ updatedAt?: number | undefined;
1322
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1323
+ stepDescription?: string | undefined;
1324
+ sourceTxHash?: string | undefined;
1325
+ bridgeSeq?: string | undefined;
1326
+ confirmations?: number | undefined;
1327
+ claimTxDigest?: string | undefined;
1328
+ claimReceipt?: any;
1329
+ ethReceipt?: any;
1330
+ wowReceipt?: any;
1331
+ hint?: string | undefined;
1332
+ } | undefined;
1333
+ }>>;
1334
+ export declare const BridgeManageEvmRpcResultSchema: z.ZodObject<{
1335
+ op: z.ZodString;
1336
+ success: z.ZodBoolean;
1337
+ result: z.ZodOptional<z.ZodAny>;
1338
+ }, "strict", z.ZodTypeAny, {
1339
+ success: boolean;
1340
+ op: string;
1341
+ result?: any;
1342
+ }, {
1343
+ success: boolean;
1344
+ op: string;
1345
+ result?: any;
1346
+ }>;
1347
+ export declare const BridgeOutputSchema: z.ZodDiscriminatedUnion<"operation_type", [z.ZodObject<{
1348
+ operation_type: z.ZodLiteral<"cross_chain_wow_to_evm">;
1349
+ result: z.ZodObject<{
1350
+ depositTxDigest: z.ZodString;
1351
+ bridgeSeq: z.ZodString;
1352
+ activeEvmAccount: z.ZodString;
1353
+ transferId: z.ZodString;
1354
+ }, "strict", z.ZodTypeAny, {
1355
+ transferId: string;
1356
+ bridgeSeq: string;
1357
+ depositTxDigest: string;
1358
+ activeEvmAccount: string;
1359
+ }, {
1360
+ transferId: string;
1361
+ bridgeSeq: string;
1362
+ depositTxDigest: string;
1363
+ activeEvmAccount: string;
1364
+ }>;
1365
+ message: z.ZodOptional<z.ZodString>;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ result: {
1368
+ transferId: string;
1369
+ bridgeSeq: string;
1370
+ depositTxDigest: string;
1371
+ activeEvmAccount: string;
1372
+ };
1373
+ operation_type: "cross_chain_wow_to_evm";
1374
+ message?: string | undefined;
1375
+ }, {
1376
+ result: {
1377
+ transferId: string;
1378
+ bridgeSeq: string;
1379
+ depositTxDigest: string;
1380
+ activeEvmAccount: string;
1381
+ };
1382
+ operation_type: "cross_chain_wow_to_evm";
1383
+ message?: string | undefined;
1384
+ }>, z.ZodObject<{
1385
+ operation_type: z.ZodLiteral<"cross_chain_evm_to_wow">;
1386
+ result: z.ZodObject<{
1387
+ depositTxHash: z.ZodString;
1388
+ activeEvmAccount: z.ZodString;
1389
+ transferId: z.ZodString;
1390
+ }, "strict", z.ZodTypeAny, {
1391
+ transferId: string;
1392
+ depositTxHash: string;
1393
+ activeEvmAccount: string;
1394
+ }, {
1395
+ transferId: string;
1396
+ depositTxHash: string;
1397
+ activeEvmAccount: string;
1398
+ }>;
1399
+ message: z.ZodOptional<z.ZodString>;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ result: {
1402
+ transferId: string;
1403
+ depositTxHash: string;
1404
+ activeEvmAccount: string;
1405
+ };
1406
+ operation_type: "cross_chain_evm_to_wow";
1407
+ message?: string | undefined;
1408
+ }, {
1409
+ result: {
1410
+ transferId: string;
1411
+ depositTxHash: string;
1412
+ activeEvmAccount: string;
1413
+ };
1414
+ operation_type: "cross_chain_evm_to_wow";
1415
+ message?: string | undefined;
1416
+ }>, z.ZodObject<{
1417
+ operation_type: z.ZodLiteral<"claim_wow_to_evm">;
1418
+ result: z.ZodObject<{
1419
+ claimTxHash: z.ZodString;
1420
+ transferId: z.ZodString;
1421
+ }, "strict", z.ZodTypeAny, {
1422
+ transferId: string;
1423
+ claimTxHash: string;
1424
+ }, {
1425
+ transferId: string;
1426
+ claimTxHash: string;
1427
+ }>;
1428
+ message: z.ZodOptional<z.ZodString>;
1429
+ }, "strip", z.ZodTypeAny, {
1430
+ result: {
1431
+ transferId: string;
1432
+ claimTxHash: string;
1433
+ };
1434
+ operation_type: "claim_wow_to_evm";
1435
+ message?: string | undefined;
1436
+ }, {
1437
+ result: {
1438
+ transferId: string;
1439
+ claimTxHash: string;
1440
+ };
1441
+ operation_type: "claim_wow_to_evm";
1442
+ message?: string | undefined;
1443
+ }>, z.ZodObject<{
1444
+ operation_type: z.ZodLiteral<"withdraw">;
1445
+ result: z.ZodObject<{
1446
+ txHash: z.ZodString;
1447
+ transferId: z.ZodString;
1448
+ }, "strict", z.ZodTypeAny, {
1449
+ transferId: string;
1450
+ txHash: string;
1451
+ }, {
1452
+ transferId: string;
1453
+ txHash: string;
1454
+ }>;
1455
+ message: z.ZodOptional<z.ZodString>;
1456
+ }, "strip", z.ZodTypeAny, {
1457
+ result: {
1458
+ transferId: string;
1459
+ txHash: string;
1460
+ };
1461
+ operation_type: "withdraw";
1462
+ message?: string | undefined;
1463
+ }, {
1464
+ result: {
1465
+ transferId: string;
1466
+ txHash: string;
1467
+ };
1468
+ operation_type: "withdraw";
1469
+ message?: string | undefined;
1470
+ }>, z.ZodObject<{
1471
+ operation_type: z.ZodLiteral<"query_active_evm_account">;
1472
+ result: z.ZodObject<{
1473
+ address: z.ZodString;
1474
+ chains: z.ZodArray<z.ZodObject<{
1475
+ chainId: z.ZodNumber;
1476
+ name: z.ZodString;
1477
+ nativeBalance: z.ZodString;
1478
+ tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
1479
+ tokenAddress: z.ZodString;
1480
+ balance: z.ZodString;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ balance: string;
1483
+ tokenAddress: string;
1484
+ }, {
1485
+ balance: string;
1486
+ tokenAddress: string;
1487
+ }>, "many">>;
1488
+ }, "strip", z.ZodTypeAny, {
1489
+ name: string;
1490
+ chainId: number;
1491
+ nativeBalance: string;
1492
+ tokens?: {
1493
+ balance: string;
1494
+ tokenAddress: string;
1495
+ }[] | undefined;
1496
+ }, {
1497
+ name: string;
1498
+ chainId: number;
1499
+ nativeBalance: string;
1500
+ tokens?: {
1501
+ balance: string;
1502
+ tokenAddress: string;
1503
+ }[] | undefined;
1504
+ }>, "many">;
1505
+ }, "strict", z.ZodTypeAny, {
1506
+ address: string;
1507
+ chains: {
1508
+ name: string;
1509
+ chainId: number;
1510
+ nativeBalance: string;
1511
+ tokens?: {
1512
+ balance: string;
1513
+ tokenAddress: string;
1514
+ }[] | undefined;
1515
+ }[];
1516
+ }, {
1517
+ address: string;
1518
+ chains: {
1519
+ name: string;
1520
+ chainId: number;
1521
+ nativeBalance: string;
1522
+ tokens?: {
1523
+ balance: string;
1524
+ tokenAddress: string;
1525
+ }[] | undefined;
1526
+ }[];
1527
+ }>;
1528
+ message: z.ZodOptional<z.ZodString>;
1529
+ }, "strip", z.ZodTypeAny, {
1530
+ result: {
1531
+ address: string;
1532
+ chains: {
1533
+ name: string;
1534
+ chainId: number;
1535
+ nativeBalance: string;
1536
+ tokens?: {
1537
+ balance: string;
1538
+ tokenAddress: string;
1539
+ }[] | undefined;
1540
+ }[];
1541
+ };
1542
+ operation_type: "query_active_evm_account";
1543
+ message?: string | undefined;
1544
+ }, {
1545
+ result: {
1546
+ address: string;
1547
+ chains: {
1548
+ name: string;
1549
+ chainId: number;
1550
+ nativeBalance: string;
1551
+ tokens?: {
1552
+ balance: string;
1553
+ tokenAddress: string;
1554
+ }[] | undefined;
1555
+ }[];
1556
+ };
1557
+ operation_type: "query_active_evm_account";
1558
+ message?: string | undefined;
1559
+ }>, z.ZodObject<{
1560
+ operation_type: z.ZodLiteral<"query_supported_evm_chains">;
1561
+ result: z.ZodArray<z.ZodObject<{
1562
+ chainId: z.ZodNumber;
1563
+ name: z.ZodString;
1564
+ description: z.ZodString;
1565
+ bridgeChainId: z.ZodNumber;
1566
+ explorerUrl: z.ZodString;
1567
+ rpcCount: z.ZodNumber;
1568
+ healthyRpcCount: z.ZodNumber;
1569
+ }, "strip", z.ZodTypeAny, {
1570
+ name: string;
1571
+ description: string;
1572
+ chainId: number;
1573
+ bridgeChainId: number;
1574
+ explorerUrl: string;
1575
+ rpcCount: number;
1576
+ healthyRpcCount: number;
1577
+ }, {
1578
+ name: string;
1579
+ description: string;
1580
+ chainId: number;
1581
+ bridgeChainId: number;
1582
+ explorerUrl: string;
1583
+ rpcCount: number;
1584
+ healthyRpcCount: number;
1585
+ }>, "many">;
1586
+ message: z.ZodOptional<z.ZodString>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ result: {
1589
+ name: string;
1590
+ description: string;
1591
+ chainId: number;
1592
+ bridgeChainId: number;
1593
+ explorerUrl: string;
1594
+ rpcCount: number;
1595
+ healthyRpcCount: number;
1596
+ }[];
1597
+ operation_type: "query_supported_evm_chains";
1598
+ message?: string | undefined;
1599
+ }, {
1600
+ result: {
1601
+ name: string;
1602
+ description: string;
1603
+ chainId: number;
1604
+ bridgeChainId: number;
1605
+ explorerUrl: string;
1606
+ rpcCount: number;
1607
+ healthyRpcCount: number;
1608
+ }[];
1609
+ operation_type: "query_supported_evm_chains";
1610
+ message?: string | undefined;
1611
+ }>, z.ZodObject<{
1612
+ operation_type: z.ZodLiteral<"query_supported_tokens">;
1613
+ result: z.ZodArray<z.ZodObject<{
1614
+ chainId: z.ZodNumber;
1615
+ chainName: z.ZodString;
1616
+ bridgeChainId: z.ZodNumber;
1617
+ tokens: z.ZodArray<z.ZodObject<{
1618
+ tokenId: z.ZodNumber;
1619
+ symbol: z.ZodString;
1620
+ evmAddress: z.ZodString;
1621
+ evmDecimals: z.ZodNumber;
1622
+ wowTypeTag: z.ZodString;
1623
+ wowDecimals: z.ZodNumber;
1624
+ description: z.ZodString;
1625
+ }, "strip", z.ZodTypeAny, {
1626
+ symbol: string;
1627
+ description: string;
1628
+ tokenId: number;
1629
+ evmAddress: string;
1630
+ evmDecimals: number;
1631
+ wowTypeTag: string;
1632
+ wowDecimals: number;
1633
+ }, {
1634
+ symbol: string;
1635
+ description: string;
1636
+ tokenId: number;
1637
+ evmAddress: string;
1638
+ evmDecimals: number;
1639
+ wowTypeTag: string;
1640
+ wowDecimals: number;
1641
+ }>, "many">;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ tokens: {
1644
+ symbol: string;
1645
+ description: string;
1646
+ tokenId: number;
1647
+ evmAddress: string;
1648
+ evmDecimals: number;
1649
+ wowTypeTag: string;
1650
+ wowDecimals: number;
1651
+ }[];
1652
+ chainId: number;
1653
+ bridgeChainId: number;
1654
+ chainName: string;
1655
+ }, {
1656
+ tokens: {
1657
+ symbol: string;
1658
+ description: string;
1659
+ tokenId: number;
1660
+ evmAddress: string;
1661
+ evmDecimals: number;
1662
+ wowTypeTag: string;
1663
+ wowDecimals: number;
1664
+ }[];
1665
+ chainId: number;
1666
+ bridgeChainId: number;
1667
+ chainName: string;
1668
+ }>, "many">;
1669
+ message: z.ZodOptional<z.ZodString>;
1670
+ }, "strip", z.ZodTypeAny, {
1671
+ result: {
1672
+ tokens: {
1673
+ symbol: string;
1674
+ description: string;
1675
+ tokenId: number;
1676
+ evmAddress: string;
1677
+ evmDecimals: number;
1678
+ wowTypeTag: string;
1679
+ wowDecimals: number;
1680
+ }[];
1681
+ chainId: number;
1682
+ bridgeChainId: number;
1683
+ chainName: string;
1684
+ }[];
1685
+ operation_type: "query_supported_tokens";
1686
+ message?: string | undefined;
1687
+ }, {
1688
+ result: {
1689
+ tokens: {
1690
+ symbol: string;
1691
+ description: string;
1692
+ tokenId: number;
1693
+ evmAddress: string;
1694
+ evmDecimals: number;
1695
+ wowTypeTag: string;
1696
+ wowDecimals: number;
1697
+ }[];
1698
+ chainId: number;
1699
+ bridgeChainId: number;
1700
+ chainName: string;
1701
+ }[];
1702
+ operation_type: "query_supported_tokens";
1703
+ message?: string | undefined;
1704
+ }>, z.ZodObject<{
1705
+ operation_type: z.ZodLiteral<"query_transfer_list">;
1706
+ result: z.ZodArray<z.ZodObject<{
1707
+ transferId: z.ZodString;
1708
+ direction: z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>;
1709
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
1710
+ amount: z.ZodString;
1711
+ recipientEth: z.ZodOptional<z.ZodString>;
1712
+ recipientWow: z.ZodOptional<z.ZodString>;
1713
+ intermediateEthAccount: z.ZodString;
1714
+ step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
1715
+ status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
1716
+ depositTxHash: z.ZodOptional<z.ZodString>;
1717
+ depositTxDigest: z.ZodOptional<z.ZodString>;
1718
+ bridgeSeq: z.ZodOptional<z.ZodString>;
1719
+ claimTxHash: z.ZodOptional<z.ZodString>;
1720
+ claimTxDigest: z.ZodOptional<z.ZodString>;
1721
+ withdrawTxHash: z.ZodOptional<z.ZodString>;
1722
+ error: z.ZodOptional<z.ZodString>;
1723
+ createdAt: z.ZodNumber;
1724
+ updatedAt: z.ZodNumber;
1725
+ latestState: z.ZodOptional<z.ZodObject<{
1726
+ status: z.ZodEnum<["not_started", "pending", "confirmed", "signatures_ready", "claiming", "completed", "failed"]>;
1727
+ step: z.ZodEnum<["not_started", "source_tx_pending", "source_tx_confirmed", "node_signing", "signatures_ready", "claim_tx_pending", "completed", "failed"]>;
1728
+ stepDescription: z.ZodOptional<z.ZodString>;
1729
+ direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow"]>>;
1730
+ sourceTxHash: z.ZodOptional<z.ZodString>;
1731
+ bridgeSeq: z.ZodOptional<z.ZodString>;
1732
+ confirmations: z.ZodOptional<z.ZodNumber>;
1733
+ claimTxDigest: z.ZodOptional<z.ZodString>;
1734
+ claimReceipt: z.ZodOptional<z.ZodAny>;
1735
+ ethReceipt: z.ZodOptional<z.ZodAny>;
1736
+ wowReceipt: z.ZodOptional<z.ZodAny>;
1737
+ error: z.ZodOptional<z.ZodString>;
1738
+ hint: z.ZodOptional<z.ZodString>;
1739
+ updatedAt: z.ZodOptional<z.ZodNumber>;
1740
+ }, "strip", z.ZodTypeAny, {
1741
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1742
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1743
+ error?: string | undefined;
1744
+ updatedAt?: number | undefined;
1745
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1746
+ stepDescription?: string | undefined;
1747
+ sourceTxHash?: string | undefined;
1748
+ bridgeSeq?: string | undefined;
1749
+ confirmations?: number | undefined;
1750
+ claimTxDigest?: string | undefined;
1751
+ claimReceipt?: any;
1752
+ ethReceipt?: any;
1753
+ wowReceipt?: any;
1754
+ hint?: string | undefined;
1755
+ }, {
1756
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1757
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1758
+ error?: string | undefined;
1759
+ updatedAt?: number | undefined;
1760
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1761
+ stepDescription?: string | undefined;
1762
+ sourceTxHash?: string | undefined;
1763
+ bridgeSeq?: string | undefined;
1764
+ confirmations?: number | undefined;
1765
+ claimTxDigest?: string | undefined;
1766
+ claimReceipt?: any;
1767
+ ethReceipt?: any;
1768
+ wowReceipt?: any;
1769
+ hint?: string | undefined;
1770
+ }>>;
1771
+ }, "strict", z.ZodTypeAny, {
1772
+ status: "success" | "pending" | "in_progress" | "failed";
1773
+ amount: string;
1774
+ createdAt: number;
1775
+ updatedAt: number;
1776
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1777
+ transferId: string;
1778
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1779
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1780
+ intermediateEthAccount: string;
1781
+ error?: string | undefined;
1782
+ bridgeSeq?: string | undefined;
1783
+ claimTxDigest?: string | undefined;
1784
+ recipientEth?: string | undefined;
1785
+ recipientWow?: string | undefined;
1786
+ depositTxHash?: string | undefined;
1787
+ depositTxDigest?: string | undefined;
1788
+ claimTxHash?: string | undefined;
1789
+ withdrawTxHash?: string | undefined;
1790
+ latestState?: {
1791
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1792
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1793
+ error?: string | undefined;
1794
+ updatedAt?: number | undefined;
1795
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1796
+ stepDescription?: string | undefined;
1797
+ sourceTxHash?: string | undefined;
1798
+ bridgeSeq?: string | undefined;
1799
+ confirmations?: number | undefined;
1800
+ claimTxDigest?: string | undefined;
1801
+ claimReceipt?: any;
1802
+ ethReceipt?: any;
1803
+ wowReceipt?: any;
1804
+ hint?: string | undefined;
1805
+ } | undefined;
1806
+ }, {
1807
+ status: "success" | "pending" | "in_progress" | "failed";
1808
+ amount: string;
1809
+ createdAt: number;
1810
+ updatedAt: number;
1811
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1812
+ transferId: string;
1813
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1814
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1815
+ intermediateEthAccount: string;
1816
+ error?: string | undefined;
1817
+ bridgeSeq?: string | undefined;
1818
+ claimTxDigest?: string | undefined;
1819
+ recipientEth?: string | undefined;
1820
+ recipientWow?: string | undefined;
1821
+ depositTxHash?: string | undefined;
1822
+ depositTxDigest?: string | undefined;
1823
+ claimTxHash?: string | undefined;
1824
+ withdrawTxHash?: string | undefined;
1825
+ latestState?: {
1826
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1827
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1828
+ error?: string | undefined;
1829
+ updatedAt?: number | undefined;
1830
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1831
+ stepDescription?: string | undefined;
1832
+ sourceTxHash?: string | undefined;
1833
+ bridgeSeq?: string | undefined;
1834
+ confirmations?: number | undefined;
1835
+ claimTxDigest?: string | undefined;
1836
+ claimReceipt?: any;
1837
+ ethReceipt?: any;
1838
+ wowReceipt?: any;
1839
+ hint?: string | undefined;
1840
+ } | undefined;
1841
+ }>, "many">;
1842
+ message: z.ZodOptional<z.ZodString>;
1843
+ }, "strip", z.ZodTypeAny, {
1844
+ result: {
1845
+ status: "success" | "pending" | "in_progress" | "failed";
1846
+ amount: string;
1847
+ createdAt: number;
1848
+ updatedAt: number;
1849
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1850
+ transferId: string;
1851
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1852
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1853
+ intermediateEthAccount: string;
1854
+ error?: string | undefined;
1855
+ bridgeSeq?: string | undefined;
1856
+ claimTxDigest?: string | undefined;
1857
+ recipientEth?: string | undefined;
1858
+ recipientWow?: string | undefined;
1859
+ depositTxHash?: string | undefined;
1860
+ depositTxDigest?: string | undefined;
1861
+ claimTxHash?: string | undefined;
1862
+ withdrawTxHash?: string | undefined;
1863
+ latestState?: {
1864
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1865
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1866
+ error?: string | undefined;
1867
+ updatedAt?: number | undefined;
1868
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1869
+ stepDescription?: string | undefined;
1870
+ sourceTxHash?: string | undefined;
1871
+ bridgeSeq?: string | undefined;
1872
+ confirmations?: number | undefined;
1873
+ claimTxDigest?: string | undefined;
1874
+ claimReceipt?: any;
1875
+ ethReceipt?: any;
1876
+ wowReceipt?: any;
1877
+ hint?: string | undefined;
1878
+ } | undefined;
1879
+ }[];
1880
+ operation_type: "query_transfer_list";
1881
+ message?: string | undefined;
1882
+ }, {
1883
+ result: {
1884
+ status: "success" | "pending" | "in_progress" | "failed";
1885
+ amount: string;
1886
+ createdAt: number;
1887
+ updatedAt: number;
1888
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1889
+ transferId: string;
1890
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1891
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1892
+ intermediateEthAccount: string;
1893
+ error?: string | undefined;
1894
+ bridgeSeq?: string | undefined;
1895
+ claimTxDigest?: string | undefined;
1896
+ recipientEth?: string | undefined;
1897
+ recipientWow?: string | undefined;
1898
+ depositTxHash?: string | undefined;
1899
+ depositTxDigest?: string | undefined;
1900
+ claimTxHash?: string | undefined;
1901
+ withdrawTxHash?: string | undefined;
1902
+ latestState?: {
1903
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1904
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1905
+ error?: string | undefined;
1906
+ updatedAt?: number | undefined;
1907
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1908
+ stepDescription?: string | undefined;
1909
+ sourceTxHash?: string | undefined;
1910
+ bridgeSeq?: string | undefined;
1911
+ confirmations?: number | undefined;
1912
+ claimTxDigest?: string | undefined;
1913
+ claimReceipt?: any;
1914
+ ethReceipt?: any;
1915
+ wowReceipt?: any;
1916
+ hint?: string | undefined;
1917
+ } | undefined;
1918
+ }[];
1919
+ operation_type: "query_transfer_list";
1920
+ message?: string | undefined;
1921
+ }>, z.ZodObject<{
1922
+ operation_type: z.ZodLiteral<"query_transfer_status">;
1923
+ result: z.ZodNullable<z.ZodObject<{
1924
+ transferId: z.ZodString;
1925
+ direction: z.ZodEnum<["wow_to_evm", "evm_to_wow", "withdraw"]>;
1926
+ token: z.ZodEnum<["ETH", "WETH", "WBTC", "USDC", "USDT"]>;
1927
+ amount: z.ZodString;
1928
+ recipientEth: z.ZodOptional<z.ZodString>;
1929
+ recipientWow: z.ZodOptional<z.ZodString>;
1930
+ intermediateEthAccount: z.ZodString;
1931
+ step: z.ZodEnum<["init", "deposit", "claimed", "withdraw", "withdrawn"]>;
1932
+ status: z.ZodEnum<["pending", "in_progress", "success", "failed"]>;
1933
+ depositTxHash: z.ZodOptional<z.ZodString>;
1934
+ depositTxDigest: z.ZodOptional<z.ZodString>;
1935
+ bridgeSeq: z.ZodOptional<z.ZodString>;
1936
+ claimTxHash: z.ZodOptional<z.ZodString>;
1937
+ claimTxDigest: z.ZodOptional<z.ZodString>;
1938
+ withdrawTxHash: z.ZodOptional<z.ZodString>;
1939
+ error: z.ZodOptional<z.ZodString>;
1940
+ createdAt: z.ZodNumber;
1941
+ updatedAt: z.ZodNumber;
1942
+ latestState: z.ZodOptional<z.ZodObject<{
1943
+ status: z.ZodEnum<["not_started", "pending", "confirmed", "signatures_ready", "claiming", "completed", "failed"]>;
1944
+ step: z.ZodEnum<["not_started", "source_tx_pending", "source_tx_confirmed", "node_signing", "signatures_ready", "claim_tx_pending", "completed", "failed"]>;
1945
+ stepDescription: z.ZodOptional<z.ZodString>;
1946
+ direction: z.ZodOptional<z.ZodEnum<["wow_to_evm", "evm_to_wow"]>>;
1947
+ sourceTxHash: z.ZodOptional<z.ZodString>;
1948
+ bridgeSeq: z.ZodOptional<z.ZodString>;
1949
+ confirmations: z.ZodOptional<z.ZodNumber>;
1950
+ claimTxDigest: z.ZodOptional<z.ZodString>;
1951
+ claimReceipt: z.ZodOptional<z.ZodAny>;
1952
+ ethReceipt: z.ZodOptional<z.ZodAny>;
1953
+ wowReceipt: z.ZodOptional<z.ZodAny>;
1954
+ error: z.ZodOptional<z.ZodString>;
1955
+ hint: z.ZodOptional<z.ZodString>;
1956
+ updatedAt: z.ZodOptional<z.ZodNumber>;
1957
+ }, "strip", z.ZodTypeAny, {
1958
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1959
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1960
+ error?: string | undefined;
1961
+ updatedAt?: number | undefined;
1962
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1963
+ stepDescription?: string | undefined;
1964
+ sourceTxHash?: string | undefined;
1965
+ bridgeSeq?: string | undefined;
1966
+ confirmations?: number | undefined;
1967
+ claimTxDigest?: string | undefined;
1968
+ claimReceipt?: any;
1969
+ ethReceipt?: any;
1970
+ wowReceipt?: any;
1971
+ hint?: string | undefined;
1972
+ }, {
1973
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
1974
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
1975
+ error?: string | undefined;
1976
+ updatedAt?: number | undefined;
1977
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
1978
+ stepDescription?: string | undefined;
1979
+ sourceTxHash?: string | undefined;
1980
+ bridgeSeq?: string | undefined;
1981
+ confirmations?: number | undefined;
1982
+ claimTxDigest?: string | undefined;
1983
+ claimReceipt?: any;
1984
+ ethReceipt?: any;
1985
+ wowReceipt?: any;
1986
+ hint?: string | undefined;
1987
+ }>>;
1988
+ }, "strict", z.ZodTypeAny, {
1989
+ status: "success" | "pending" | "in_progress" | "failed";
1990
+ amount: string;
1991
+ createdAt: number;
1992
+ updatedAt: number;
1993
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
1994
+ transferId: string;
1995
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
1996
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
1997
+ intermediateEthAccount: string;
1998
+ error?: string | undefined;
1999
+ bridgeSeq?: string | undefined;
2000
+ claimTxDigest?: string | undefined;
2001
+ recipientEth?: string | undefined;
2002
+ recipientWow?: string | undefined;
2003
+ depositTxHash?: string | undefined;
2004
+ depositTxDigest?: string | undefined;
2005
+ claimTxHash?: string | undefined;
2006
+ withdrawTxHash?: string | undefined;
2007
+ latestState?: {
2008
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
2009
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2010
+ error?: string | undefined;
2011
+ updatedAt?: number | undefined;
2012
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2013
+ stepDescription?: string | undefined;
2014
+ sourceTxHash?: string | undefined;
2015
+ bridgeSeq?: string | undefined;
2016
+ confirmations?: number | undefined;
2017
+ claimTxDigest?: string | undefined;
2018
+ claimReceipt?: any;
2019
+ ethReceipt?: any;
2020
+ wowReceipt?: any;
2021
+ hint?: string | undefined;
2022
+ } | undefined;
2023
+ }, {
2024
+ status: "success" | "pending" | "in_progress" | "failed";
2025
+ amount: string;
2026
+ createdAt: number;
2027
+ updatedAt: number;
2028
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
2029
+ transferId: string;
2030
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
2031
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
2032
+ intermediateEthAccount: string;
2033
+ error?: string | undefined;
2034
+ bridgeSeq?: string | undefined;
2035
+ claimTxDigest?: string | undefined;
2036
+ recipientEth?: string | undefined;
2037
+ recipientWow?: string | undefined;
2038
+ depositTxHash?: string | undefined;
2039
+ depositTxDigest?: string | undefined;
2040
+ claimTxHash?: string | undefined;
2041
+ withdrawTxHash?: string | undefined;
2042
+ latestState?: {
2043
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
2044
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2045
+ error?: string | undefined;
2046
+ updatedAt?: number | undefined;
2047
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2048
+ stepDescription?: string | undefined;
2049
+ sourceTxHash?: string | undefined;
2050
+ bridgeSeq?: string | undefined;
2051
+ confirmations?: number | undefined;
2052
+ claimTxDigest?: string | undefined;
2053
+ claimReceipt?: any;
2054
+ ethReceipt?: any;
2055
+ wowReceipt?: any;
2056
+ hint?: string | undefined;
2057
+ } | undefined;
2058
+ }>>;
2059
+ message: z.ZodOptional<z.ZodString>;
2060
+ }, "strip", z.ZodTypeAny, {
2061
+ result: {
2062
+ status: "success" | "pending" | "in_progress" | "failed";
2063
+ amount: string;
2064
+ createdAt: number;
2065
+ updatedAt: number;
2066
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
2067
+ transferId: string;
2068
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
2069
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
2070
+ intermediateEthAccount: string;
2071
+ error?: string | undefined;
2072
+ bridgeSeq?: string | undefined;
2073
+ claimTxDigest?: string | undefined;
2074
+ recipientEth?: string | undefined;
2075
+ recipientWow?: string | undefined;
2076
+ depositTxHash?: string | undefined;
2077
+ depositTxDigest?: string | undefined;
2078
+ claimTxHash?: string | undefined;
2079
+ withdrawTxHash?: string | undefined;
2080
+ latestState?: {
2081
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
2082
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2083
+ error?: string | undefined;
2084
+ updatedAt?: number | undefined;
2085
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2086
+ stepDescription?: string | undefined;
2087
+ sourceTxHash?: string | undefined;
2088
+ bridgeSeq?: string | undefined;
2089
+ confirmations?: number | undefined;
2090
+ claimTxDigest?: string | undefined;
2091
+ claimReceipt?: any;
2092
+ ethReceipt?: any;
2093
+ wowReceipt?: any;
2094
+ hint?: string | undefined;
2095
+ } | undefined;
2096
+ } | null;
2097
+ operation_type: "query_transfer_status";
2098
+ message?: string | undefined;
2099
+ }, {
2100
+ result: {
2101
+ status: "success" | "pending" | "in_progress" | "failed";
2102
+ amount: string;
2103
+ createdAt: number;
2104
+ updatedAt: number;
2105
+ token: "ETH" | "WETH" | "WBTC" | "USDC" | "USDT";
2106
+ transferId: string;
2107
+ direction: "withdraw" | "wow_to_evm" | "evm_to_wow";
2108
+ step: "deposit" | "withdraw" | "init" | "claimed" | "withdrawn";
2109
+ intermediateEthAccount: string;
2110
+ error?: string | undefined;
2111
+ bridgeSeq?: string | undefined;
2112
+ claimTxDigest?: string | undefined;
2113
+ recipientEth?: string | undefined;
2114
+ recipientWow?: string | undefined;
2115
+ depositTxHash?: string | undefined;
2116
+ depositTxDigest?: string | undefined;
2117
+ claimTxHash?: string | undefined;
2118
+ withdrawTxHash?: string | undefined;
2119
+ latestState?: {
2120
+ status: "pending" | "failed" | "not_started" | "confirmed" | "signatures_ready" | "claiming" | "completed";
2121
+ step: "failed" | "not_started" | "signatures_ready" | "completed" | "source_tx_pending" | "source_tx_confirmed" | "node_signing" | "claim_tx_pending";
2122
+ error?: string | undefined;
2123
+ updatedAt?: number | undefined;
2124
+ direction?: "wow_to_evm" | "evm_to_wow" | undefined;
2125
+ stepDescription?: string | undefined;
2126
+ sourceTxHash?: string | undefined;
2127
+ bridgeSeq?: string | undefined;
2128
+ confirmations?: number | undefined;
2129
+ claimTxDigest?: string | undefined;
2130
+ claimReceipt?: any;
2131
+ ethReceipt?: any;
2132
+ wowReceipt?: any;
2133
+ hint?: string | undefined;
2134
+ } | undefined;
2135
+ } | null;
2136
+ operation_type: "query_transfer_status";
2137
+ message?: string | undefined;
2138
+ }>, z.ZodObject<{
2139
+ operation_type: z.ZodLiteral<"manage_evm_rpc">;
2140
+ result: z.ZodObject<{
2141
+ op: z.ZodString;
2142
+ success: z.ZodBoolean;
2143
+ result: z.ZodOptional<z.ZodAny>;
2144
+ }, "strict", z.ZodTypeAny, {
2145
+ success: boolean;
2146
+ op: string;
2147
+ result?: any;
2148
+ }, {
2149
+ success: boolean;
2150
+ op: string;
2151
+ result?: any;
2152
+ }>;
2153
+ message: z.ZodOptional<z.ZodString>;
2154
+ }, "strip", z.ZodTypeAny, {
2155
+ result: {
2156
+ success: boolean;
2157
+ op: string;
2158
+ result?: any;
2159
+ };
2160
+ operation_type: "manage_evm_rpc";
2161
+ message?: string | undefined;
2162
+ }, {
2163
+ result: {
2164
+ success: boolean;
2165
+ op: string;
2166
+ result?: any;
2167
+ };
2168
+ operation_type: "manage_evm_rpc";
2169
+ message?: string | undefined;
2170
+ }>]>;
2171
+ export declare const BridgeCallOutputSchema: z.ZodObject<{
2172
+ message: z.ZodOptional<z.ZodString>;
2173
+ result: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2174
+ type: z.ZodLiteral<"data">;
2175
+ data: z.ZodAny;
2176
+ }, "strip", z.ZodTypeAny, {
2177
+ type: "data";
2178
+ data?: any;
2179
+ }, {
2180
+ type: "data";
2181
+ data?: any;
2182
+ }>, z.ZodObject<{
2183
+ type: z.ZodLiteral<"error">;
2184
+ error: z.ZodString;
2185
+ }, "strip", z.ZodTypeAny, {
2186
+ type: "error";
2187
+ error: string;
2188
+ }, {
2189
+ type: "error";
2190
+ error: string;
2191
+ }>]>;
2192
+ }, "strip", z.ZodTypeAny, {
2193
+ result: {
2194
+ type: "data";
2195
+ data?: any;
2196
+ } | {
2197
+ type: "error";
2198
+ error: string;
2199
+ };
2200
+ message?: string | undefined;
2201
+ }, {
2202
+ result: {
2203
+ type: "data";
2204
+ data?: any;
2205
+ } | {
2206
+ type: "error";
2207
+ error: string;
2208
+ };
2209
+ message?: string | undefined;
2210
+ }>;
2211
+ export type BridgeOperations = z.infer<typeof BridgeOperationsSchema>;
2212
+ export type BridgeOutput = z.infer<typeof BridgeOutputSchema>;