@0xtorch/core 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,4498 @@
1
1
  import { z } from 'zod';
2
2
  export declare const crossActionBundleSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- count: z.ZodOptional<z.ZodNumber>;
4
+ actions: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5
+ type: z.ZodLiteral<"CrossAccountAction">;
6
+ timestamp: z.ZodNumber;
7
+ order: z.ZodNumber;
8
+ source: z.ZodString;
9
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
10
+ comment: z.ZodOptional<z.ZodString>;
11
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
12
+ id: z.ZodString;
13
+ categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
14
+ name: z.ZodString;
15
+ description: z.ZodOptional<z.ZodString>;
16
+ website: z.ZodOptional<z.ZodString>;
17
+ icon: z.ZodOptional<z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ id: string;
20
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
21
+ name: string;
22
+ description?: string | undefined;
23
+ website?: string | undefined;
24
+ icon?: string | undefined;
25
+ }, {
26
+ id: string;
27
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
28
+ name: string;
29
+ description?: string | undefined;
30
+ website?: string | undefined;
31
+ icon?: string | undefined;
32
+ }>, {
33
+ description: string | undefined;
34
+ website: string | undefined;
35
+ icon: string | undefined;
36
+ id: string;
37
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
38
+ name: string;
39
+ }, {
40
+ id: string;
41
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
42
+ name: string;
43
+ description?: string | undefined;
44
+ website?: string | undefined;
45
+ icon?: string | undefined;
46
+ }>>;
47
+ crossId: z.ZodString;
48
+ crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
49
+ action: z.ZodLiteral<"bridge-from">;
50
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51
+ price: z.ZodOptional<z.ZodObject<{
52
+ cryptoCurrencyId: z.ZodString;
53
+ fiatCurrencyId: z.ZodString;
54
+ price: z.ZodObject<{
55
+ value: z.ZodBigInt;
56
+ decimals: z.ZodNumber;
57
+ }, "strip", z.ZodTypeAny, {
58
+ value: bigint;
59
+ decimals: number;
60
+ }, {
61
+ value: bigint;
62
+ decimals: number;
63
+ }>;
64
+ timestamp: z.ZodNumber;
65
+ }, "strip", z.ZodTypeAny, {
66
+ cryptoCurrencyId: string;
67
+ fiatCurrencyId: string;
68
+ price: {
69
+ value: bigint;
70
+ decimals: number;
71
+ };
72
+ timestamp: number;
73
+ }, {
74
+ cryptoCurrencyId: string;
75
+ fiatCurrencyId: string;
76
+ price: {
77
+ value: bigint;
78
+ decimals: number;
79
+ };
80
+ timestamp: number;
81
+ }>>;
82
+ from: z.ZodOptional<z.ZodString>;
83
+ to: z.ZodOptional<z.ZodString>;
84
+ amount: z.ZodObject<{
85
+ value: z.ZodBigInt;
86
+ decimals: z.ZodNumber;
87
+ }, "strip", z.ZodTypeAny, {
88
+ value: bigint;
89
+ decimals: number;
90
+ }, {
91
+ value: bigint;
92
+ decimals: number;
93
+ }>;
94
+ direction: z.ZodLiteral<"out">;
95
+ asset: z.ZodEffects<z.ZodObject<{
96
+ type: z.ZodLiteral<"CryptoCurrency">;
97
+ id: z.ZodString;
98
+ name: z.ZodString;
99
+ symbol: z.ZodString;
100
+ icon: z.ZodOptional<z.ZodString>;
101
+ market: z.ZodEffects<z.ZodObject<{
102
+ coingeckoId: z.ZodOptional<z.ZodString>;
103
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
104
+ value: z.ZodBigInt;
105
+ decimals: z.ZodNumber;
106
+ }, "strip", z.ZodTypeAny, {
107
+ value: bigint;
108
+ decimals: number;
109
+ }, {
110
+ value: bigint;
111
+ decimals: number;
112
+ }>>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ coingeckoId?: string | undefined;
115
+ marketCapUsd?: {
116
+ value: bigint;
117
+ decimals: number;
118
+ } | undefined;
119
+ }, {
120
+ coingeckoId?: string | undefined;
121
+ marketCapUsd?: {
122
+ value: bigint;
123
+ decimals: number;
124
+ } | undefined;
125
+ }>, {
126
+ coingeckoId: string | undefined;
127
+ marketCapUsd: {
128
+ value: bigint;
129
+ decimals: number;
130
+ } | undefined;
131
+ }, {
132
+ coingeckoId?: string | undefined;
133
+ marketCapUsd?: {
134
+ value: bigint;
135
+ decimals: number;
136
+ } | undefined;
137
+ }>;
138
+ updatedAt: z.ZodNumber;
139
+ }, "strip", z.ZodTypeAny, {
140
+ symbol: string;
141
+ type: "CryptoCurrency";
142
+ id: string;
143
+ name: string;
144
+ market: {
145
+ coingeckoId: string | undefined;
146
+ marketCapUsd: {
147
+ value: bigint;
148
+ decimals: number;
149
+ } | undefined;
150
+ };
151
+ updatedAt: number;
152
+ icon?: string | undefined;
153
+ }, {
154
+ symbol: string;
155
+ type: "CryptoCurrency";
156
+ id: string;
157
+ name: string;
158
+ market: {
159
+ coingeckoId?: string | undefined;
160
+ marketCapUsd?: {
161
+ value: bigint;
162
+ decimals: number;
163
+ } | undefined;
164
+ };
165
+ updatedAt: number;
166
+ icon?: string | undefined;
167
+ }>, {
168
+ icon: string | undefined;
169
+ symbol: string;
170
+ type: "CryptoCurrency";
171
+ id: string;
172
+ name: string;
173
+ market: {
174
+ coingeckoId: string | undefined;
175
+ marketCapUsd: {
176
+ value: bigint;
177
+ decimals: number;
178
+ } | undefined;
179
+ };
180
+ updatedAt: number;
181
+ }, {
182
+ symbol: string;
183
+ type: "CryptoCurrency";
184
+ id: string;
185
+ name: string;
186
+ market: {
187
+ coingeckoId?: string | undefined;
188
+ marketCapUsd?: {
189
+ value: bigint;
190
+ decimals: number;
191
+ } | undefined;
192
+ };
193
+ updatedAt: number;
194
+ icon?: string | undefined;
195
+ }>;
196
+ }, "strip", z.ZodTypeAny, {
197
+ asset: {
198
+ icon: string | undefined;
199
+ symbol: string;
200
+ type: "CryptoCurrency";
201
+ id: string;
202
+ name: string;
203
+ market: {
204
+ coingeckoId: string | undefined;
205
+ marketCapUsd: {
206
+ value: bigint;
207
+ decimals: number;
208
+ } | undefined;
209
+ };
210
+ updatedAt: number;
211
+ };
212
+ amount: {
213
+ value: bigint;
214
+ decimals: number;
215
+ };
216
+ direction: "out";
217
+ price?: {
218
+ cryptoCurrencyId: string;
219
+ fiatCurrencyId: string;
220
+ price: {
221
+ value: bigint;
222
+ decimals: number;
223
+ };
224
+ timestamp: number;
225
+ } | undefined;
226
+ from?: string | undefined;
227
+ to?: string | undefined;
228
+ }, {
229
+ asset: {
230
+ symbol: string;
231
+ type: "CryptoCurrency";
232
+ id: string;
233
+ name: string;
234
+ market: {
235
+ coingeckoId?: string | undefined;
236
+ marketCapUsd?: {
237
+ value: bigint;
238
+ decimals: number;
239
+ } | undefined;
240
+ };
241
+ updatedAt: number;
242
+ icon?: string | undefined;
243
+ };
244
+ amount: {
245
+ value: bigint;
246
+ decimals: number;
247
+ };
248
+ direction: "out";
249
+ price?: {
250
+ cryptoCurrencyId: string;
251
+ fiatCurrencyId: string;
252
+ price: {
253
+ value: bigint;
254
+ decimals: number;
255
+ };
256
+ timestamp: number;
257
+ } | undefined;
258
+ from?: string | undefined;
259
+ to?: string | undefined;
260
+ }>, {
261
+ from: string | undefined;
262
+ to: string | undefined;
263
+ price: {
264
+ cryptoCurrencyId: string;
265
+ fiatCurrencyId: string;
266
+ price: {
267
+ value: bigint;
268
+ decimals: number;
269
+ };
270
+ timestamp: number;
271
+ } | undefined;
272
+ asset: {
273
+ icon: string | undefined;
274
+ symbol: string;
275
+ type: "CryptoCurrency";
276
+ id: string;
277
+ name: string;
278
+ market: {
279
+ coingeckoId: string | undefined;
280
+ marketCapUsd: {
281
+ value: bigint;
282
+ decimals: number;
283
+ } | undefined;
284
+ };
285
+ updatedAt: number;
286
+ };
287
+ amount: {
288
+ value: bigint;
289
+ decimals: number;
290
+ };
291
+ direction: "out";
292
+ }, {
293
+ asset: {
294
+ symbol: string;
295
+ type: "CryptoCurrency";
296
+ id: string;
297
+ name: string;
298
+ market: {
299
+ coingeckoId?: string | undefined;
300
+ marketCapUsd?: {
301
+ value: bigint;
302
+ decimals: number;
303
+ } | undefined;
304
+ };
305
+ updatedAt: number;
306
+ icon?: string | undefined;
307
+ };
308
+ amount: {
309
+ value: bigint;
310
+ decimals: number;
311
+ };
312
+ direction: "out";
313
+ price?: {
314
+ cryptoCurrencyId: string;
315
+ fiatCurrencyId: string;
316
+ price: {
317
+ value: bigint;
318
+ decimals: number;
319
+ };
320
+ timestamp: number;
321
+ } | undefined;
322
+ from?: string | undefined;
323
+ to?: string | undefined;
324
+ }>, z.ZodEffects<z.ZodObject<{
325
+ price: z.ZodOptional<z.ZodObject<{
326
+ cryptoCurrencyId: z.ZodString;
327
+ fiatCurrencyId: z.ZodString;
328
+ price: z.ZodObject<{
329
+ value: z.ZodBigInt;
330
+ decimals: z.ZodNumber;
331
+ }, "strip", z.ZodTypeAny, {
332
+ value: bigint;
333
+ decimals: number;
334
+ }, {
335
+ value: bigint;
336
+ decimals: number;
337
+ }>;
338
+ timestamp: z.ZodNumber;
339
+ }, "strip", z.ZodTypeAny, {
340
+ cryptoCurrencyId: string;
341
+ fiatCurrencyId: string;
342
+ price: {
343
+ value: bigint;
344
+ decimals: number;
345
+ };
346
+ timestamp: number;
347
+ }, {
348
+ cryptoCurrencyId: string;
349
+ fiatCurrencyId: string;
350
+ price: {
351
+ value: bigint;
352
+ decimals: number;
353
+ };
354
+ timestamp: number;
355
+ }>>;
356
+ from: z.ZodOptional<z.ZodString>;
357
+ to: z.ZodOptional<z.ZodString>;
358
+ amount: z.ZodObject<{
359
+ value: z.ZodBigInt;
360
+ decimals: z.ZodNumber;
361
+ }, "strip", z.ZodTypeAny, {
362
+ value: bigint;
363
+ decimals: number;
364
+ }, {
365
+ value: bigint;
366
+ decimals: number;
367
+ }>;
368
+ direction: z.ZodLiteral<"out">;
369
+ asset: z.ZodObject<{
370
+ type: z.ZodLiteral<"Nft">;
371
+ id: z.ZodString;
372
+ }, "strip", z.ZodTypeAny, {
373
+ type: "Nft";
374
+ id: string;
375
+ }, {
376
+ type: "Nft";
377
+ id: string;
378
+ }>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ asset: {
381
+ type: "Nft";
382
+ id: string;
383
+ };
384
+ amount: {
385
+ value: bigint;
386
+ decimals: number;
387
+ };
388
+ direction: "out";
389
+ price?: {
390
+ cryptoCurrencyId: string;
391
+ fiatCurrencyId: string;
392
+ price: {
393
+ value: bigint;
394
+ decimals: number;
395
+ };
396
+ timestamp: number;
397
+ } | undefined;
398
+ from?: string | undefined;
399
+ to?: string | undefined;
400
+ }, {
401
+ asset: {
402
+ type: "Nft";
403
+ id: string;
404
+ };
405
+ amount: {
406
+ value: bigint;
407
+ decimals: number;
408
+ };
409
+ direction: "out";
410
+ price?: {
411
+ cryptoCurrencyId: string;
412
+ fiatCurrencyId: string;
413
+ price: {
414
+ value: bigint;
415
+ decimals: number;
416
+ };
417
+ timestamp: number;
418
+ } | undefined;
419
+ from?: string | undefined;
420
+ to?: string | undefined;
421
+ }>, {
422
+ from: string | undefined;
423
+ to: string | undefined;
424
+ price: {
425
+ cryptoCurrencyId: string;
426
+ fiatCurrencyId: string;
427
+ price: {
428
+ value: bigint;
429
+ decimals: number;
430
+ };
431
+ timestamp: number;
432
+ } | undefined;
433
+ asset: {
434
+ type: "Nft";
435
+ id: string;
436
+ };
437
+ amount: {
438
+ value: bigint;
439
+ decimals: number;
440
+ };
441
+ direction: "out";
442
+ }, {
443
+ asset: {
444
+ type: "Nft";
445
+ id: string;
446
+ };
447
+ amount: {
448
+ value: bigint;
449
+ decimals: number;
450
+ };
451
+ direction: "out";
452
+ price?: {
453
+ cryptoCurrencyId: string;
454
+ fiatCurrencyId: string;
455
+ price: {
456
+ value: bigint;
457
+ decimals: number;
458
+ };
459
+ timestamp: number;
460
+ } | undefined;
461
+ from?: string | undefined;
462
+ to?: string | undefined;
463
+ }>]>, "many">;
464
+ }, "strip", z.ZodTypeAny, {
465
+ type: "CrossAccountAction";
466
+ timestamp: number;
467
+ order: number;
468
+ action: "bridge-from";
469
+ source: string;
470
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
471
+ transfers: ({
472
+ from: string | undefined;
473
+ to: string | undefined;
474
+ price: {
475
+ cryptoCurrencyId: string;
476
+ fiatCurrencyId: string;
477
+ price: {
478
+ value: bigint;
479
+ decimals: number;
480
+ };
481
+ timestamp: number;
482
+ } | undefined;
483
+ asset: {
484
+ icon: string | undefined;
485
+ symbol: string;
486
+ type: "CryptoCurrency";
487
+ id: string;
488
+ name: string;
489
+ market: {
490
+ coingeckoId: string | undefined;
491
+ marketCapUsd: {
492
+ value: bigint;
493
+ decimals: number;
494
+ } | undefined;
495
+ };
496
+ updatedAt: number;
497
+ };
498
+ amount: {
499
+ value: bigint;
500
+ decimals: number;
501
+ };
502
+ direction: "out";
503
+ } | {
504
+ from: string | undefined;
505
+ to: string | undefined;
506
+ price: {
507
+ cryptoCurrencyId: string;
508
+ fiatCurrencyId: string;
509
+ price: {
510
+ value: bigint;
511
+ decimals: number;
512
+ };
513
+ timestamp: number;
514
+ } | undefined;
515
+ asset: {
516
+ type: "Nft";
517
+ id: string;
518
+ };
519
+ amount: {
520
+ value: bigint;
521
+ decimals: number;
522
+ };
523
+ direction: "out";
524
+ })[];
525
+ crossId: string;
526
+ crossType: "start" | "middle" | "end";
527
+ comment?: string | undefined;
528
+ app?: {
529
+ description: string | undefined;
530
+ website: string | undefined;
531
+ icon: string | undefined;
532
+ id: string;
533
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
534
+ name: string;
535
+ } | undefined;
536
+ }, {
537
+ type: "CrossAccountAction";
538
+ timestamp: number;
539
+ order: number;
540
+ action: "bridge-from";
541
+ source: string;
542
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
543
+ transfers: ({
544
+ asset: {
545
+ symbol: string;
546
+ type: "CryptoCurrency";
547
+ id: string;
548
+ name: string;
549
+ market: {
550
+ coingeckoId?: string | undefined;
551
+ marketCapUsd?: {
552
+ value: bigint;
553
+ decimals: number;
554
+ } | undefined;
555
+ };
556
+ updatedAt: number;
557
+ icon?: string | undefined;
558
+ };
559
+ amount: {
560
+ value: bigint;
561
+ decimals: number;
562
+ };
563
+ direction: "out";
564
+ price?: {
565
+ cryptoCurrencyId: string;
566
+ fiatCurrencyId: string;
567
+ price: {
568
+ value: bigint;
569
+ decimals: number;
570
+ };
571
+ timestamp: number;
572
+ } | undefined;
573
+ from?: string | undefined;
574
+ to?: string | undefined;
575
+ } | {
576
+ asset: {
577
+ type: "Nft";
578
+ id: string;
579
+ };
580
+ amount: {
581
+ value: bigint;
582
+ decimals: number;
583
+ };
584
+ direction: "out";
585
+ price?: {
586
+ cryptoCurrencyId: string;
587
+ fiatCurrencyId: string;
588
+ price: {
589
+ value: bigint;
590
+ decimals: number;
591
+ };
592
+ timestamp: number;
593
+ } | undefined;
594
+ from?: string | undefined;
595
+ to?: string | undefined;
596
+ })[];
597
+ crossId: string;
598
+ crossType: "start" | "middle" | "end";
599
+ comment?: string | undefined;
600
+ app?: {
601
+ id: string;
602
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
603
+ name: string;
604
+ description?: string | undefined;
605
+ website?: string | undefined;
606
+ icon?: string | undefined;
607
+ } | undefined;
608
+ }>, {
609
+ comment: string | undefined;
610
+ app: {
611
+ description: string | undefined;
612
+ website: string | undefined;
613
+ icon: string | undefined;
614
+ id: string;
615
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
616
+ name: string;
617
+ } | undefined;
618
+ type: "CrossAccountAction";
619
+ timestamp: number;
620
+ order: number;
621
+ action: "bridge-from";
622
+ source: string;
623
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
624
+ transfers: ({
625
+ from: string | undefined;
626
+ to: string | undefined;
627
+ price: {
628
+ cryptoCurrencyId: string;
629
+ fiatCurrencyId: string;
630
+ price: {
631
+ value: bigint;
632
+ decimals: number;
633
+ };
634
+ timestamp: number;
635
+ } | undefined;
636
+ asset: {
637
+ icon: string | undefined;
638
+ symbol: string;
639
+ type: "CryptoCurrency";
640
+ id: string;
641
+ name: string;
642
+ market: {
643
+ coingeckoId: string | undefined;
644
+ marketCapUsd: {
645
+ value: bigint;
646
+ decimals: number;
647
+ } | undefined;
648
+ };
649
+ updatedAt: number;
650
+ };
651
+ amount: {
652
+ value: bigint;
653
+ decimals: number;
654
+ };
655
+ direction: "out";
656
+ } | {
657
+ from: string | undefined;
658
+ to: string | undefined;
659
+ price: {
660
+ cryptoCurrencyId: string;
661
+ fiatCurrencyId: string;
662
+ price: {
663
+ value: bigint;
664
+ decimals: number;
665
+ };
666
+ timestamp: number;
667
+ } | undefined;
668
+ asset: {
669
+ type: "Nft";
670
+ id: string;
671
+ };
672
+ amount: {
673
+ value: bigint;
674
+ decimals: number;
675
+ };
676
+ direction: "out";
677
+ })[];
678
+ crossId: string;
679
+ crossType: "start" | "middle" | "end";
680
+ }, {
681
+ type: "CrossAccountAction";
682
+ timestamp: number;
683
+ order: number;
684
+ action: "bridge-from";
685
+ source: string;
686
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
687
+ transfers: ({
688
+ asset: {
689
+ symbol: string;
690
+ type: "CryptoCurrency";
691
+ id: string;
692
+ name: string;
693
+ market: {
694
+ coingeckoId?: string | undefined;
695
+ marketCapUsd?: {
696
+ value: bigint;
697
+ decimals: number;
698
+ } | undefined;
699
+ };
700
+ updatedAt: number;
701
+ icon?: string | undefined;
702
+ };
703
+ amount: {
704
+ value: bigint;
705
+ decimals: number;
706
+ };
707
+ direction: "out";
708
+ price?: {
709
+ cryptoCurrencyId: string;
710
+ fiatCurrencyId: string;
711
+ price: {
712
+ value: bigint;
713
+ decimals: number;
714
+ };
715
+ timestamp: number;
716
+ } | undefined;
717
+ from?: string | undefined;
718
+ to?: string | undefined;
719
+ } | {
720
+ asset: {
721
+ type: "Nft";
722
+ id: string;
723
+ };
724
+ amount: {
725
+ value: bigint;
726
+ decimals: number;
727
+ };
728
+ direction: "out";
729
+ price?: {
730
+ cryptoCurrencyId: string;
731
+ fiatCurrencyId: string;
732
+ price: {
733
+ value: bigint;
734
+ decimals: number;
735
+ };
736
+ timestamp: number;
737
+ } | undefined;
738
+ from?: string | undefined;
739
+ to?: string | undefined;
740
+ })[];
741
+ crossId: string;
742
+ crossType: "start" | "middle" | "end";
743
+ comment?: string | undefined;
744
+ app?: {
745
+ id: string;
746
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
747
+ name: string;
748
+ description?: string | undefined;
749
+ website?: string | undefined;
750
+ icon?: string | undefined;
751
+ } | undefined;
752
+ }>, z.ZodEffects<z.ZodObject<{
753
+ type: z.ZodLiteral<"CrossAccountAction">;
754
+ timestamp: z.ZodNumber;
755
+ order: z.ZodNumber;
756
+ source: z.ZodString;
757
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
758
+ comment: z.ZodOptional<z.ZodString>;
759
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
760
+ id: z.ZodString;
761
+ categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
762
+ name: z.ZodString;
763
+ description: z.ZodOptional<z.ZodString>;
764
+ website: z.ZodOptional<z.ZodString>;
765
+ icon: z.ZodOptional<z.ZodString>;
766
+ }, "strip", z.ZodTypeAny, {
767
+ id: string;
768
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
769
+ name: string;
770
+ description?: string | undefined;
771
+ website?: string | undefined;
772
+ icon?: string | undefined;
773
+ }, {
774
+ id: string;
775
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
776
+ name: string;
777
+ description?: string | undefined;
778
+ website?: string | undefined;
779
+ icon?: string | undefined;
780
+ }>, {
781
+ description: string | undefined;
782
+ website: string | undefined;
783
+ icon: string | undefined;
784
+ id: string;
785
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
786
+ name: string;
787
+ }, {
788
+ id: string;
789
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
790
+ name: string;
791
+ description?: string | undefined;
792
+ website?: string | undefined;
793
+ icon?: string | undefined;
794
+ }>>;
795
+ crossId: z.ZodString;
796
+ crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
797
+ action: z.ZodLiteral<"bridge-to">;
798
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
799
+ price: z.ZodOptional<z.ZodObject<{
800
+ cryptoCurrencyId: z.ZodString;
801
+ fiatCurrencyId: z.ZodString;
802
+ price: z.ZodObject<{
803
+ value: z.ZodBigInt;
804
+ decimals: z.ZodNumber;
805
+ }, "strip", z.ZodTypeAny, {
806
+ value: bigint;
807
+ decimals: number;
808
+ }, {
809
+ value: bigint;
810
+ decimals: number;
811
+ }>;
812
+ timestamp: z.ZodNumber;
813
+ }, "strip", z.ZodTypeAny, {
814
+ cryptoCurrencyId: string;
815
+ fiatCurrencyId: string;
816
+ price: {
817
+ value: bigint;
818
+ decimals: number;
819
+ };
820
+ timestamp: number;
821
+ }, {
822
+ cryptoCurrencyId: string;
823
+ fiatCurrencyId: string;
824
+ price: {
825
+ value: bigint;
826
+ decimals: number;
827
+ };
828
+ timestamp: number;
829
+ }>>;
830
+ from: z.ZodOptional<z.ZodString>;
831
+ to: z.ZodOptional<z.ZodString>;
832
+ amount: z.ZodObject<{
833
+ value: z.ZodBigInt;
834
+ decimals: z.ZodNumber;
835
+ }, "strip", z.ZodTypeAny, {
836
+ value: bigint;
837
+ decimals: number;
838
+ }, {
839
+ value: bigint;
840
+ decimals: number;
841
+ }>;
842
+ direction: z.ZodLiteral<"in">;
843
+ asset: z.ZodEffects<z.ZodObject<{
844
+ type: z.ZodLiteral<"CryptoCurrency">;
845
+ id: z.ZodString;
846
+ name: z.ZodString;
847
+ symbol: z.ZodString;
848
+ icon: z.ZodOptional<z.ZodString>;
849
+ market: z.ZodEffects<z.ZodObject<{
850
+ coingeckoId: z.ZodOptional<z.ZodString>;
851
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
852
+ value: z.ZodBigInt;
853
+ decimals: z.ZodNumber;
854
+ }, "strip", z.ZodTypeAny, {
855
+ value: bigint;
856
+ decimals: number;
857
+ }, {
858
+ value: bigint;
859
+ decimals: number;
860
+ }>>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ coingeckoId?: string | undefined;
863
+ marketCapUsd?: {
864
+ value: bigint;
865
+ decimals: number;
866
+ } | undefined;
867
+ }, {
868
+ coingeckoId?: string | undefined;
869
+ marketCapUsd?: {
870
+ value: bigint;
871
+ decimals: number;
872
+ } | undefined;
873
+ }>, {
874
+ coingeckoId: string | undefined;
875
+ marketCapUsd: {
876
+ value: bigint;
877
+ decimals: number;
878
+ } | undefined;
879
+ }, {
880
+ coingeckoId?: string | undefined;
881
+ marketCapUsd?: {
882
+ value: bigint;
883
+ decimals: number;
884
+ } | undefined;
885
+ }>;
886
+ updatedAt: z.ZodNumber;
887
+ }, "strip", z.ZodTypeAny, {
888
+ symbol: string;
889
+ type: "CryptoCurrency";
890
+ id: string;
891
+ name: string;
892
+ market: {
893
+ coingeckoId: string | undefined;
894
+ marketCapUsd: {
895
+ value: bigint;
896
+ decimals: number;
897
+ } | undefined;
898
+ };
899
+ updatedAt: number;
900
+ icon?: string | undefined;
901
+ }, {
902
+ symbol: string;
903
+ type: "CryptoCurrency";
904
+ id: string;
905
+ name: string;
906
+ market: {
907
+ coingeckoId?: string | undefined;
908
+ marketCapUsd?: {
909
+ value: bigint;
910
+ decimals: number;
911
+ } | undefined;
912
+ };
913
+ updatedAt: number;
914
+ icon?: string | undefined;
915
+ }>, {
916
+ icon: string | undefined;
917
+ symbol: string;
918
+ type: "CryptoCurrency";
919
+ id: string;
920
+ name: string;
921
+ market: {
922
+ coingeckoId: string | undefined;
923
+ marketCapUsd: {
924
+ value: bigint;
925
+ decimals: number;
926
+ } | undefined;
927
+ };
928
+ updatedAt: number;
929
+ }, {
930
+ symbol: string;
931
+ type: "CryptoCurrency";
932
+ id: string;
933
+ name: string;
934
+ market: {
935
+ coingeckoId?: string | undefined;
936
+ marketCapUsd?: {
937
+ value: bigint;
938
+ decimals: number;
939
+ } | undefined;
940
+ };
941
+ updatedAt: number;
942
+ icon?: string | undefined;
943
+ }>;
944
+ }, "strip", z.ZodTypeAny, {
945
+ asset: {
946
+ icon: string | undefined;
947
+ symbol: string;
948
+ type: "CryptoCurrency";
949
+ id: string;
950
+ name: string;
951
+ market: {
952
+ coingeckoId: string | undefined;
953
+ marketCapUsd: {
954
+ value: bigint;
955
+ decimals: number;
956
+ } | undefined;
957
+ };
958
+ updatedAt: number;
959
+ };
960
+ amount: {
961
+ value: bigint;
962
+ decimals: number;
963
+ };
964
+ direction: "in";
965
+ price?: {
966
+ cryptoCurrencyId: string;
967
+ fiatCurrencyId: string;
968
+ price: {
969
+ value: bigint;
970
+ decimals: number;
971
+ };
972
+ timestamp: number;
973
+ } | undefined;
974
+ from?: string | undefined;
975
+ to?: string | undefined;
976
+ }, {
977
+ asset: {
978
+ symbol: string;
979
+ type: "CryptoCurrency";
980
+ id: string;
981
+ name: string;
982
+ market: {
983
+ coingeckoId?: string | undefined;
984
+ marketCapUsd?: {
985
+ value: bigint;
986
+ decimals: number;
987
+ } | undefined;
988
+ };
989
+ updatedAt: number;
990
+ icon?: string | undefined;
991
+ };
992
+ amount: {
993
+ value: bigint;
994
+ decimals: number;
995
+ };
996
+ direction: "in";
997
+ price?: {
998
+ cryptoCurrencyId: string;
999
+ fiatCurrencyId: string;
1000
+ price: {
1001
+ value: bigint;
1002
+ decimals: number;
1003
+ };
1004
+ timestamp: number;
1005
+ } | undefined;
1006
+ from?: string | undefined;
1007
+ to?: string | undefined;
1008
+ }>, {
1009
+ from: string | undefined;
1010
+ to: string | undefined;
1011
+ price: {
1012
+ cryptoCurrencyId: string;
1013
+ fiatCurrencyId: string;
1014
+ price: {
1015
+ value: bigint;
1016
+ decimals: number;
1017
+ };
1018
+ timestamp: number;
1019
+ } | undefined;
1020
+ asset: {
1021
+ icon: string | undefined;
1022
+ symbol: string;
1023
+ type: "CryptoCurrency";
1024
+ id: string;
1025
+ name: string;
1026
+ market: {
1027
+ coingeckoId: string | undefined;
1028
+ marketCapUsd: {
1029
+ value: bigint;
1030
+ decimals: number;
1031
+ } | undefined;
1032
+ };
1033
+ updatedAt: number;
1034
+ };
1035
+ amount: {
1036
+ value: bigint;
1037
+ decimals: number;
1038
+ };
1039
+ direction: "in";
1040
+ }, {
1041
+ asset: {
1042
+ symbol: string;
1043
+ type: "CryptoCurrency";
1044
+ id: string;
1045
+ name: string;
1046
+ market: {
1047
+ coingeckoId?: string | undefined;
1048
+ marketCapUsd?: {
1049
+ value: bigint;
1050
+ decimals: number;
1051
+ } | undefined;
1052
+ };
1053
+ updatedAt: number;
1054
+ icon?: string | undefined;
1055
+ };
1056
+ amount: {
1057
+ value: bigint;
1058
+ decimals: number;
1059
+ };
1060
+ direction: "in";
1061
+ price?: {
1062
+ cryptoCurrencyId: string;
1063
+ fiatCurrencyId: string;
1064
+ price: {
1065
+ value: bigint;
1066
+ decimals: number;
1067
+ };
1068
+ timestamp: number;
1069
+ } | undefined;
1070
+ from?: string | undefined;
1071
+ to?: string | undefined;
1072
+ }>, z.ZodEffects<z.ZodObject<{
1073
+ price: z.ZodOptional<z.ZodObject<{
1074
+ cryptoCurrencyId: z.ZodString;
1075
+ fiatCurrencyId: z.ZodString;
1076
+ price: z.ZodObject<{
1077
+ value: z.ZodBigInt;
1078
+ decimals: z.ZodNumber;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ value: bigint;
1081
+ decimals: number;
1082
+ }, {
1083
+ value: bigint;
1084
+ decimals: number;
1085
+ }>;
1086
+ timestamp: z.ZodNumber;
1087
+ }, "strip", z.ZodTypeAny, {
1088
+ cryptoCurrencyId: string;
1089
+ fiatCurrencyId: string;
1090
+ price: {
1091
+ value: bigint;
1092
+ decimals: number;
1093
+ };
1094
+ timestamp: number;
1095
+ }, {
1096
+ cryptoCurrencyId: string;
1097
+ fiatCurrencyId: string;
1098
+ price: {
1099
+ value: bigint;
1100
+ decimals: number;
1101
+ };
1102
+ timestamp: number;
1103
+ }>>;
1104
+ from: z.ZodOptional<z.ZodString>;
1105
+ to: z.ZodOptional<z.ZodString>;
1106
+ amount: z.ZodObject<{
1107
+ value: z.ZodBigInt;
1108
+ decimals: z.ZodNumber;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ value: bigint;
1111
+ decimals: number;
1112
+ }, {
1113
+ value: bigint;
1114
+ decimals: number;
1115
+ }>;
1116
+ direction: z.ZodLiteral<"in">;
1117
+ asset: z.ZodObject<{
1118
+ type: z.ZodLiteral<"Nft">;
1119
+ id: z.ZodString;
1120
+ }, "strip", z.ZodTypeAny, {
1121
+ type: "Nft";
1122
+ id: string;
1123
+ }, {
1124
+ type: "Nft";
1125
+ id: string;
1126
+ }>;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ asset: {
1129
+ type: "Nft";
1130
+ id: string;
1131
+ };
1132
+ amount: {
1133
+ value: bigint;
1134
+ decimals: number;
1135
+ };
1136
+ direction: "in";
1137
+ price?: {
1138
+ cryptoCurrencyId: string;
1139
+ fiatCurrencyId: string;
1140
+ price: {
1141
+ value: bigint;
1142
+ decimals: number;
1143
+ };
1144
+ timestamp: number;
1145
+ } | undefined;
1146
+ from?: string | undefined;
1147
+ to?: string | undefined;
1148
+ }, {
1149
+ asset: {
1150
+ type: "Nft";
1151
+ id: string;
1152
+ };
1153
+ amount: {
1154
+ value: bigint;
1155
+ decimals: number;
1156
+ };
1157
+ direction: "in";
1158
+ price?: {
1159
+ cryptoCurrencyId: string;
1160
+ fiatCurrencyId: string;
1161
+ price: {
1162
+ value: bigint;
1163
+ decimals: number;
1164
+ };
1165
+ timestamp: number;
1166
+ } | undefined;
1167
+ from?: string | undefined;
1168
+ to?: string | undefined;
1169
+ }>, {
1170
+ from: string | undefined;
1171
+ to: string | undefined;
1172
+ price: {
1173
+ cryptoCurrencyId: string;
1174
+ fiatCurrencyId: string;
1175
+ price: {
1176
+ value: bigint;
1177
+ decimals: number;
1178
+ };
1179
+ timestamp: number;
1180
+ } | undefined;
1181
+ asset: {
1182
+ type: "Nft";
1183
+ id: string;
1184
+ };
1185
+ amount: {
1186
+ value: bigint;
1187
+ decimals: number;
1188
+ };
1189
+ direction: "in";
1190
+ }, {
1191
+ asset: {
1192
+ type: "Nft";
1193
+ id: string;
1194
+ };
1195
+ amount: {
1196
+ value: bigint;
1197
+ decimals: number;
1198
+ };
1199
+ direction: "in";
1200
+ price?: {
1201
+ cryptoCurrencyId: string;
1202
+ fiatCurrencyId: string;
1203
+ price: {
1204
+ value: bigint;
1205
+ decimals: number;
1206
+ };
1207
+ timestamp: number;
1208
+ } | undefined;
1209
+ from?: string | undefined;
1210
+ to?: string | undefined;
1211
+ }>]>, "many">;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ type: "CrossAccountAction";
1214
+ timestamp: number;
1215
+ order: number;
1216
+ action: "bridge-to";
1217
+ source: string;
1218
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1219
+ transfers: ({
1220
+ from: string | undefined;
1221
+ to: string | undefined;
1222
+ price: {
1223
+ cryptoCurrencyId: string;
1224
+ fiatCurrencyId: string;
1225
+ price: {
1226
+ value: bigint;
1227
+ decimals: number;
1228
+ };
1229
+ timestamp: number;
1230
+ } | undefined;
1231
+ asset: {
1232
+ icon: string | undefined;
1233
+ symbol: string;
1234
+ type: "CryptoCurrency";
1235
+ id: string;
1236
+ name: string;
1237
+ market: {
1238
+ coingeckoId: string | undefined;
1239
+ marketCapUsd: {
1240
+ value: bigint;
1241
+ decimals: number;
1242
+ } | undefined;
1243
+ };
1244
+ updatedAt: number;
1245
+ };
1246
+ amount: {
1247
+ value: bigint;
1248
+ decimals: number;
1249
+ };
1250
+ direction: "in";
1251
+ } | {
1252
+ from: string | undefined;
1253
+ to: string | undefined;
1254
+ price: {
1255
+ cryptoCurrencyId: string;
1256
+ fiatCurrencyId: string;
1257
+ price: {
1258
+ value: bigint;
1259
+ decimals: number;
1260
+ };
1261
+ timestamp: number;
1262
+ } | undefined;
1263
+ asset: {
1264
+ type: "Nft";
1265
+ id: string;
1266
+ };
1267
+ amount: {
1268
+ value: bigint;
1269
+ decimals: number;
1270
+ };
1271
+ direction: "in";
1272
+ })[];
1273
+ crossId: string;
1274
+ crossType: "start" | "middle" | "end";
1275
+ comment?: string | undefined;
1276
+ app?: {
1277
+ description: string | undefined;
1278
+ website: string | undefined;
1279
+ icon: string | undefined;
1280
+ id: string;
1281
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1282
+ name: string;
1283
+ } | undefined;
1284
+ }, {
1285
+ type: "CrossAccountAction";
1286
+ timestamp: number;
1287
+ order: number;
1288
+ action: "bridge-to";
1289
+ source: string;
1290
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1291
+ transfers: ({
1292
+ asset: {
1293
+ symbol: string;
1294
+ type: "CryptoCurrency";
1295
+ id: string;
1296
+ name: string;
1297
+ market: {
1298
+ coingeckoId?: string | undefined;
1299
+ marketCapUsd?: {
1300
+ value: bigint;
1301
+ decimals: number;
1302
+ } | undefined;
1303
+ };
1304
+ updatedAt: number;
1305
+ icon?: string | undefined;
1306
+ };
1307
+ amount: {
1308
+ value: bigint;
1309
+ decimals: number;
1310
+ };
1311
+ direction: "in";
1312
+ price?: {
1313
+ cryptoCurrencyId: string;
1314
+ fiatCurrencyId: string;
1315
+ price: {
1316
+ value: bigint;
1317
+ decimals: number;
1318
+ };
1319
+ timestamp: number;
1320
+ } | undefined;
1321
+ from?: string | undefined;
1322
+ to?: string | undefined;
1323
+ } | {
1324
+ asset: {
1325
+ type: "Nft";
1326
+ id: string;
1327
+ };
1328
+ amount: {
1329
+ value: bigint;
1330
+ decimals: number;
1331
+ };
1332
+ direction: "in";
1333
+ price?: {
1334
+ cryptoCurrencyId: string;
1335
+ fiatCurrencyId: string;
1336
+ price: {
1337
+ value: bigint;
1338
+ decimals: number;
1339
+ };
1340
+ timestamp: number;
1341
+ } | undefined;
1342
+ from?: string | undefined;
1343
+ to?: string | undefined;
1344
+ })[];
1345
+ crossId: string;
1346
+ crossType: "start" | "middle" | "end";
1347
+ comment?: string | undefined;
1348
+ app?: {
1349
+ id: string;
1350
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1351
+ name: string;
1352
+ description?: string | undefined;
1353
+ website?: string | undefined;
1354
+ icon?: string | undefined;
1355
+ } | undefined;
1356
+ }>, {
1357
+ comment: string | undefined;
1358
+ app: {
1359
+ description: string | undefined;
1360
+ website: string | undefined;
1361
+ icon: string | undefined;
1362
+ id: string;
1363
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1364
+ name: string;
1365
+ } | undefined;
1366
+ type: "CrossAccountAction";
1367
+ timestamp: number;
1368
+ order: number;
1369
+ action: "bridge-to";
1370
+ source: string;
1371
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1372
+ transfers: ({
1373
+ from: string | undefined;
1374
+ to: string | undefined;
1375
+ price: {
1376
+ cryptoCurrencyId: string;
1377
+ fiatCurrencyId: string;
1378
+ price: {
1379
+ value: bigint;
1380
+ decimals: number;
1381
+ };
1382
+ timestamp: number;
1383
+ } | undefined;
1384
+ asset: {
1385
+ icon: string | undefined;
1386
+ symbol: string;
1387
+ type: "CryptoCurrency";
1388
+ id: string;
1389
+ name: string;
1390
+ market: {
1391
+ coingeckoId: string | undefined;
1392
+ marketCapUsd: {
1393
+ value: bigint;
1394
+ decimals: number;
1395
+ } | undefined;
1396
+ };
1397
+ updatedAt: number;
1398
+ };
1399
+ amount: {
1400
+ value: bigint;
1401
+ decimals: number;
1402
+ };
1403
+ direction: "in";
1404
+ } | {
1405
+ from: string | undefined;
1406
+ to: string | undefined;
1407
+ price: {
1408
+ cryptoCurrencyId: string;
1409
+ fiatCurrencyId: string;
1410
+ price: {
1411
+ value: bigint;
1412
+ decimals: number;
1413
+ };
1414
+ timestamp: number;
1415
+ } | undefined;
1416
+ asset: {
1417
+ type: "Nft";
1418
+ id: string;
1419
+ };
1420
+ amount: {
1421
+ value: bigint;
1422
+ decimals: number;
1423
+ };
1424
+ direction: "in";
1425
+ })[];
1426
+ crossId: string;
1427
+ crossType: "start" | "middle" | "end";
1428
+ }, {
1429
+ type: "CrossAccountAction";
1430
+ timestamp: number;
1431
+ order: number;
1432
+ action: "bridge-to";
1433
+ source: string;
1434
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1435
+ transfers: ({
1436
+ asset: {
1437
+ symbol: string;
1438
+ type: "CryptoCurrency";
1439
+ id: string;
1440
+ name: string;
1441
+ market: {
1442
+ coingeckoId?: string | undefined;
1443
+ marketCapUsd?: {
1444
+ value: bigint;
1445
+ decimals: number;
1446
+ } | undefined;
1447
+ };
1448
+ updatedAt: number;
1449
+ icon?: string | undefined;
1450
+ };
1451
+ amount: {
1452
+ value: bigint;
1453
+ decimals: number;
1454
+ };
1455
+ direction: "in";
1456
+ price?: {
1457
+ cryptoCurrencyId: string;
1458
+ fiatCurrencyId: string;
1459
+ price: {
1460
+ value: bigint;
1461
+ decimals: number;
1462
+ };
1463
+ timestamp: number;
1464
+ } | undefined;
1465
+ from?: string | undefined;
1466
+ to?: string | undefined;
1467
+ } | {
1468
+ asset: {
1469
+ type: "Nft";
1470
+ id: string;
1471
+ };
1472
+ amount: {
1473
+ value: bigint;
1474
+ decimals: number;
1475
+ };
1476
+ direction: "in";
1477
+ price?: {
1478
+ cryptoCurrencyId: string;
1479
+ fiatCurrencyId: string;
1480
+ price: {
1481
+ value: bigint;
1482
+ decimals: number;
1483
+ };
1484
+ timestamp: number;
1485
+ } | undefined;
1486
+ from?: string | undefined;
1487
+ to?: string | undefined;
1488
+ })[];
1489
+ crossId: string;
1490
+ crossType: "start" | "middle" | "end";
1491
+ comment?: string | undefined;
1492
+ app?: {
1493
+ id: string;
1494
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1495
+ name: string;
1496
+ description?: string | undefined;
1497
+ website?: string | undefined;
1498
+ icon?: string | undefined;
1499
+ } | undefined;
1500
+ }>, z.ZodEffects<z.ZodObject<{
1501
+ type: z.ZodLiteral<"CrossAccountAction">;
1502
+ timestamp: z.ZodNumber;
1503
+ order: z.ZodNumber;
1504
+ source: z.ZodString;
1505
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
1506
+ comment: z.ZodOptional<z.ZodString>;
1507
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1508
+ id: z.ZodString;
1509
+ categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
1510
+ name: z.ZodString;
1511
+ description: z.ZodOptional<z.ZodString>;
1512
+ website: z.ZodOptional<z.ZodString>;
1513
+ icon: z.ZodOptional<z.ZodString>;
1514
+ }, "strip", z.ZodTypeAny, {
1515
+ id: string;
1516
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1517
+ name: string;
1518
+ description?: string | undefined;
1519
+ website?: string | undefined;
1520
+ icon?: string | undefined;
1521
+ }, {
1522
+ id: string;
1523
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1524
+ name: string;
1525
+ description?: string | undefined;
1526
+ website?: string | undefined;
1527
+ icon?: string | undefined;
1528
+ }>, {
1529
+ description: string | undefined;
1530
+ website: string | undefined;
1531
+ icon: string | undefined;
1532
+ id: string;
1533
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1534
+ name: string;
1535
+ }, {
1536
+ id: string;
1537
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1538
+ name: string;
1539
+ description?: string | undefined;
1540
+ website?: string | undefined;
1541
+ icon?: string | undefined;
1542
+ }>>;
1543
+ crossId: z.ZodString;
1544
+ crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
1545
+ action: z.ZodLiteral<"cross-replace">;
1546
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1547
+ price: z.ZodOptional<z.ZodObject<{
1548
+ cryptoCurrencyId: z.ZodString;
1549
+ fiatCurrencyId: z.ZodString;
1550
+ price: z.ZodObject<{
1551
+ value: z.ZodBigInt;
1552
+ decimals: z.ZodNumber;
1553
+ }, "strip", z.ZodTypeAny, {
1554
+ value: bigint;
1555
+ decimals: number;
1556
+ }, {
1557
+ value: bigint;
1558
+ decimals: number;
1559
+ }>;
1560
+ timestamp: z.ZodNumber;
1561
+ }, "strip", z.ZodTypeAny, {
1562
+ cryptoCurrencyId: string;
1563
+ fiatCurrencyId: string;
1564
+ price: {
1565
+ value: bigint;
1566
+ decimals: number;
1567
+ };
1568
+ timestamp: number;
1569
+ }, {
1570
+ cryptoCurrencyId: string;
1571
+ fiatCurrencyId: string;
1572
+ price: {
1573
+ value: bigint;
1574
+ decimals: number;
1575
+ };
1576
+ timestamp: number;
1577
+ }>>;
1578
+ from: z.ZodOptional<z.ZodString>;
1579
+ to: z.ZodOptional<z.ZodString>;
1580
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1581
+ type: z.ZodLiteral<"CryptoCurrency">;
1582
+ id: z.ZodString;
1583
+ name: z.ZodString;
1584
+ symbol: z.ZodString;
1585
+ icon: z.ZodOptional<z.ZodString>;
1586
+ market: z.ZodEffects<z.ZodObject<{
1587
+ coingeckoId: z.ZodOptional<z.ZodString>;
1588
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1589
+ value: z.ZodBigInt;
1590
+ decimals: z.ZodNumber;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ value: bigint;
1593
+ decimals: number;
1594
+ }, {
1595
+ value: bigint;
1596
+ decimals: number;
1597
+ }>>;
1598
+ }, "strip", z.ZodTypeAny, {
1599
+ coingeckoId?: string | undefined;
1600
+ marketCapUsd?: {
1601
+ value: bigint;
1602
+ decimals: number;
1603
+ } | undefined;
1604
+ }, {
1605
+ coingeckoId?: string | undefined;
1606
+ marketCapUsd?: {
1607
+ value: bigint;
1608
+ decimals: number;
1609
+ } | undefined;
1610
+ }>, {
1611
+ coingeckoId: string | undefined;
1612
+ marketCapUsd: {
1613
+ value: bigint;
1614
+ decimals: number;
1615
+ } | undefined;
1616
+ }, {
1617
+ coingeckoId?: string | undefined;
1618
+ marketCapUsd?: {
1619
+ value: bigint;
1620
+ decimals: number;
1621
+ } | undefined;
1622
+ }>;
1623
+ updatedAt: z.ZodNumber;
1624
+ }, "strip", z.ZodTypeAny, {
1625
+ symbol: string;
1626
+ type: "CryptoCurrency";
1627
+ id: string;
1628
+ name: string;
1629
+ market: {
1630
+ coingeckoId: string | undefined;
1631
+ marketCapUsd: {
1632
+ value: bigint;
1633
+ decimals: number;
1634
+ } | undefined;
1635
+ };
1636
+ updatedAt: number;
1637
+ icon?: string | undefined;
1638
+ }, {
1639
+ symbol: string;
1640
+ type: "CryptoCurrency";
1641
+ id: string;
1642
+ name: string;
1643
+ market: {
1644
+ coingeckoId?: string | undefined;
1645
+ marketCapUsd?: {
1646
+ value: bigint;
1647
+ decimals: number;
1648
+ } | undefined;
1649
+ };
1650
+ updatedAt: number;
1651
+ icon?: string | undefined;
1652
+ }>, {
1653
+ icon: string | undefined;
1654
+ symbol: string;
1655
+ type: "CryptoCurrency";
1656
+ id: string;
1657
+ name: string;
1658
+ market: {
1659
+ coingeckoId: string | undefined;
1660
+ marketCapUsd: {
1661
+ value: bigint;
1662
+ decimals: number;
1663
+ } | undefined;
1664
+ };
1665
+ updatedAt: number;
1666
+ }, {
1667
+ symbol: string;
1668
+ type: "CryptoCurrency";
1669
+ id: string;
1670
+ name: string;
1671
+ market: {
1672
+ coingeckoId?: string | undefined;
1673
+ marketCapUsd?: {
1674
+ value: bigint;
1675
+ decimals: number;
1676
+ } | undefined;
1677
+ };
1678
+ updatedAt: number;
1679
+ icon?: string | undefined;
1680
+ }>, z.ZodEffects<z.ZodObject<{
1681
+ type: z.ZodLiteral<"FiatCurrency">;
1682
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
1683
+ name: z.ZodString;
1684
+ symbol: z.ZodString;
1685
+ icon: z.ZodOptional<z.ZodString>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ symbol: string;
1688
+ type: "FiatCurrency";
1689
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1690
+ name: string;
1691
+ icon?: string | undefined;
1692
+ }, {
1693
+ symbol: string;
1694
+ type: "FiatCurrency";
1695
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1696
+ name: string;
1697
+ icon?: string | undefined;
1698
+ }>, {
1699
+ icon: string | undefined;
1700
+ symbol: string;
1701
+ type: "FiatCurrency";
1702
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1703
+ name: string;
1704
+ }, {
1705
+ symbol: string;
1706
+ type: "FiatCurrency";
1707
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1708
+ name: string;
1709
+ icon?: string | undefined;
1710
+ }>, z.ZodObject<{
1711
+ type: z.ZodLiteral<"Nft">;
1712
+ id: z.ZodString;
1713
+ }, "strip", z.ZodTypeAny, {
1714
+ type: "Nft";
1715
+ id: string;
1716
+ }, {
1717
+ type: "Nft";
1718
+ id: string;
1719
+ }>]>;
1720
+ amount: z.ZodObject<{
1721
+ value: z.ZodBigInt;
1722
+ decimals: z.ZodNumber;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ value: bigint;
1725
+ decimals: number;
1726
+ }, {
1727
+ value: bigint;
1728
+ decimals: number;
1729
+ }>;
1730
+ direction: z.ZodLiteral<"in">;
1731
+ }, "strip", z.ZodTypeAny, {
1732
+ asset: {
1733
+ icon: string | undefined;
1734
+ symbol: string;
1735
+ type: "CryptoCurrency";
1736
+ id: string;
1737
+ name: string;
1738
+ market: {
1739
+ coingeckoId: string | undefined;
1740
+ marketCapUsd: {
1741
+ value: bigint;
1742
+ decimals: number;
1743
+ } | undefined;
1744
+ };
1745
+ updatedAt: number;
1746
+ } | {
1747
+ icon: string | undefined;
1748
+ symbol: string;
1749
+ type: "FiatCurrency";
1750
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1751
+ name: string;
1752
+ } | {
1753
+ type: "Nft";
1754
+ id: string;
1755
+ };
1756
+ amount: {
1757
+ value: bigint;
1758
+ decimals: number;
1759
+ };
1760
+ direction: "in";
1761
+ price?: {
1762
+ cryptoCurrencyId: string;
1763
+ fiatCurrencyId: string;
1764
+ price: {
1765
+ value: bigint;
1766
+ decimals: number;
1767
+ };
1768
+ timestamp: number;
1769
+ } | undefined;
1770
+ from?: string | undefined;
1771
+ to?: string | undefined;
1772
+ }, {
1773
+ asset: {
1774
+ symbol: string;
1775
+ type: "CryptoCurrency";
1776
+ id: string;
1777
+ name: string;
1778
+ market: {
1779
+ coingeckoId?: string | undefined;
1780
+ marketCapUsd?: {
1781
+ value: bigint;
1782
+ decimals: number;
1783
+ } | undefined;
1784
+ };
1785
+ updatedAt: number;
1786
+ icon?: string | undefined;
1787
+ } | {
1788
+ symbol: string;
1789
+ type: "FiatCurrency";
1790
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1791
+ name: string;
1792
+ icon?: string | undefined;
1793
+ } | {
1794
+ type: "Nft";
1795
+ id: string;
1796
+ };
1797
+ amount: {
1798
+ value: bigint;
1799
+ decimals: number;
1800
+ };
1801
+ direction: "in";
1802
+ price?: {
1803
+ cryptoCurrencyId: string;
1804
+ fiatCurrencyId: string;
1805
+ price: {
1806
+ value: bigint;
1807
+ decimals: number;
1808
+ };
1809
+ timestamp: number;
1810
+ } | undefined;
1811
+ from?: string | undefined;
1812
+ to?: string | undefined;
1813
+ }>, {
1814
+ from: string | undefined;
1815
+ to: string | undefined;
1816
+ price: {
1817
+ cryptoCurrencyId: string;
1818
+ fiatCurrencyId: string;
1819
+ price: {
1820
+ value: bigint;
1821
+ decimals: number;
1822
+ };
1823
+ timestamp: number;
1824
+ } | undefined;
1825
+ asset: {
1826
+ icon: string | undefined;
1827
+ symbol: string;
1828
+ type: "CryptoCurrency";
1829
+ id: string;
1830
+ name: string;
1831
+ market: {
1832
+ coingeckoId: string | undefined;
1833
+ marketCapUsd: {
1834
+ value: bigint;
1835
+ decimals: number;
1836
+ } | undefined;
1837
+ };
1838
+ updatedAt: number;
1839
+ } | {
1840
+ icon: string | undefined;
1841
+ symbol: string;
1842
+ type: "FiatCurrency";
1843
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1844
+ name: string;
1845
+ } | {
1846
+ type: "Nft";
1847
+ id: string;
1848
+ };
1849
+ amount: {
1850
+ value: bigint;
1851
+ decimals: number;
1852
+ };
1853
+ direction: "in";
1854
+ }, {
1855
+ asset: {
1856
+ symbol: string;
1857
+ type: "CryptoCurrency";
1858
+ id: string;
1859
+ name: string;
1860
+ market: {
1861
+ coingeckoId?: string | undefined;
1862
+ marketCapUsd?: {
1863
+ value: bigint;
1864
+ decimals: number;
1865
+ } | undefined;
1866
+ };
1867
+ updatedAt: number;
1868
+ icon?: string | undefined;
1869
+ } | {
1870
+ symbol: string;
1871
+ type: "FiatCurrency";
1872
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1873
+ name: string;
1874
+ icon?: string | undefined;
1875
+ } | {
1876
+ type: "Nft";
1877
+ id: string;
1878
+ };
1879
+ amount: {
1880
+ value: bigint;
1881
+ decimals: number;
1882
+ };
1883
+ direction: "in";
1884
+ price?: {
1885
+ cryptoCurrencyId: string;
1886
+ fiatCurrencyId: string;
1887
+ price: {
1888
+ value: bigint;
1889
+ decimals: number;
1890
+ };
1891
+ timestamp: number;
1892
+ } | undefined;
1893
+ from?: string | undefined;
1894
+ to?: string | undefined;
1895
+ }>, z.ZodEffects<z.ZodObject<{
1896
+ price: z.ZodOptional<z.ZodObject<{
1897
+ cryptoCurrencyId: z.ZodString;
1898
+ fiatCurrencyId: z.ZodString;
1899
+ price: z.ZodObject<{
1900
+ value: z.ZodBigInt;
1901
+ decimals: z.ZodNumber;
1902
+ }, "strip", z.ZodTypeAny, {
1903
+ value: bigint;
1904
+ decimals: number;
1905
+ }, {
1906
+ value: bigint;
1907
+ decimals: number;
1908
+ }>;
1909
+ timestamp: z.ZodNumber;
1910
+ }, "strip", z.ZodTypeAny, {
1911
+ cryptoCurrencyId: string;
1912
+ fiatCurrencyId: string;
1913
+ price: {
1914
+ value: bigint;
1915
+ decimals: number;
1916
+ };
1917
+ timestamp: number;
1918
+ }, {
1919
+ cryptoCurrencyId: string;
1920
+ fiatCurrencyId: string;
1921
+ price: {
1922
+ value: bigint;
1923
+ decimals: number;
1924
+ };
1925
+ timestamp: number;
1926
+ }>>;
1927
+ from: z.ZodOptional<z.ZodString>;
1928
+ to: z.ZodOptional<z.ZodString>;
1929
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1930
+ type: z.ZodLiteral<"CryptoCurrency">;
1931
+ id: z.ZodString;
1932
+ name: z.ZodString;
1933
+ symbol: z.ZodString;
1934
+ icon: z.ZodOptional<z.ZodString>;
1935
+ market: z.ZodEffects<z.ZodObject<{
1936
+ coingeckoId: z.ZodOptional<z.ZodString>;
1937
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1938
+ value: z.ZodBigInt;
1939
+ decimals: z.ZodNumber;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ value: bigint;
1942
+ decimals: number;
1943
+ }, {
1944
+ value: bigint;
1945
+ decimals: number;
1946
+ }>>;
1947
+ }, "strip", z.ZodTypeAny, {
1948
+ coingeckoId?: string | undefined;
1949
+ marketCapUsd?: {
1950
+ value: bigint;
1951
+ decimals: number;
1952
+ } | undefined;
1953
+ }, {
1954
+ coingeckoId?: string | undefined;
1955
+ marketCapUsd?: {
1956
+ value: bigint;
1957
+ decimals: number;
1958
+ } | undefined;
1959
+ }>, {
1960
+ coingeckoId: string | undefined;
1961
+ marketCapUsd: {
1962
+ value: bigint;
1963
+ decimals: number;
1964
+ } | undefined;
1965
+ }, {
1966
+ coingeckoId?: string | undefined;
1967
+ marketCapUsd?: {
1968
+ value: bigint;
1969
+ decimals: number;
1970
+ } | undefined;
1971
+ }>;
1972
+ updatedAt: z.ZodNumber;
1973
+ }, "strip", z.ZodTypeAny, {
1974
+ symbol: string;
1975
+ type: "CryptoCurrency";
1976
+ id: string;
1977
+ name: string;
1978
+ market: {
1979
+ coingeckoId: string | undefined;
1980
+ marketCapUsd: {
1981
+ value: bigint;
1982
+ decimals: number;
1983
+ } | undefined;
1984
+ };
1985
+ updatedAt: number;
1986
+ icon?: string | undefined;
1987
+ }, {
1988
+ symbol: string;
1989
+ type: "CryptoCurrency";
1990
+ id: string;
1991
+ name: string;
1992
+ market: {
1993
+ coingeckoId?: string | undefined;
1994
+ marketCapUsd?: {
1995
+ value: bigint;
1996
+ decimals: number;
1997
+ } | undefined;
1998
+ };
1999
+ updatedAt: number;
2000
+ icon?: string | undefined;
2001
+ }>, {
2002
+ icon: string | undefined;
2003
+ symbol: string;
2004
+ type: "CryptoCurrency";
2005
+ id: string;
2006
+ name: string;
2007
+ market: {
2008
+ coingeckoId: string | undefined;
2009
+ marketCapUsd: {
2010
+ value: bigint;
2011
+ decimals: number;
2012
+ } | undefined;
2013
+ };
2014
+ updatedAt: number;
2015
+ }, {
2016
+ symbol: string;
2017
+ type: "CryptoCurrency";
2018
+ id: string;
2019
+ name: string;
2020
+ market: {
2021
+ coingeckoId?: string | undefined;
2022
+ marketCapUsd?: {
2023
+ value: bigint;
2024
+ decimals: number;
2025
+ } | undefined;
2026
+ };
2027
+ updatedAt: number;
2028
+ icon?: string | undefined;
2029
+ }>, z.ZodEffects<z.ZodObject<{
2030
+ type: z.ZodLiteral<"FiatCurrency">;
2031
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
2032
+ name: z.ZodString;
2033
+ symbol: z.ZodString;
2034
+ icon: z.ZodOptional<z.ZodString>;
2035
+ }, "strip", z.ZodTypeAny, {
2036
+ symbol: string;
2037
+ type: "FiatCurrency";
2038
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2039
+ name: string;
2040
+ icon?: string | undefined;
2041
+ }, {
2042
+ symbol: string;
2043
+ type: "FiatCurrency";
2044
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2045
+ name: string;
2046
+ icon?: string | undefined;
2047
+ }>, {
2048
+ icon: string | undefined;
2049
+ symbol: string;
2050
+ type: "FiatCurrency";
2051
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2052
+ name: string;
2053
+ }, {
2054
+ symbol: string;
2055
+ type: "FiatCurrency";
2056
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2057
+ name: string;
2058
+ icon?: string | undefined;
2059
+ }>, z.ZodObject<{
2060
+ type: z.ZodLiteral<"Nft">;
2061
+ id: z.ZodString;
2062
+ }, "strip", z.ZodTypeAny, {
2063
+ type: "Nft";
2064
+ id: string;
2065
+ }, {
2066
+ type: "Nft";
2067
+ id: string;
2068
+ }>]>;
2069
+ amount: z.ZodObject<{
2070
+ value: z.ZodBigInt;
2071
+ decimals: z.ZodNumber;
2072
+ }, "strip", z.ZodTypeAny, {
2073
+ value: bigint;
2074
+ decimals: number;
2075
+ }, {
2076
+ value: bigint;
2077
+ decimals: number;
2078
+ }>;
2079
+ direction: z.ZodLiteral<"out">;
2080
+ }, "strip", z.ZodTypeAny, {
2081
+ asset: {
2082
+ icon: string | undefined;
2083
+ symbol: string;
2084
+ type: "CryptoCurrency";
2085
+ id: string;
2086
+ name: string;
2087
+ market: {
2088
+ coingeckoId: string | undefined;
2089
+ marketCapUsd: {
2090
+ value: bigint;
2091
+ decimals: number;
2092
+ } | undefined;
2093
+ };
2094
+ updatedAt: number;
2095
+ } | {
2096
+ icon: string | undefined;
2097
+ symbol: string;
2098
+ type: "FiatCurrency";
2099
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2100
+ name: string;
2101
+ } | {
2102
+ type: "Nft";
2103
+ id: string;
2104
+ };
2105
+ amount: {
2106
+ value: bigint;
2107
+ decimals: number;
2108
+ };
2109
+ direction: "out";
2110
+ price?: {
2111
+ cryptoCurrencyId: string;
2112
+ fiatCurrencyId: string;
2113
+ price: {
2114
+ value: bigint;
2115
+ decimals: number;
2116
+ };
2117
+ timestamp: number;
2118
+ } | undefined;
2119
+ from?: string | undefined;
2120
+ to?: string | undefined;
2121
+ }, {
2122
+ asset: {
2123
+ symbol: string;
2124
+ type: "CryptoCurrency";
2125
+ id: string;
2126
+ name: string;
2127
+ market: {
2128
+ coingeckoId?: string | undefined;
2129
+ marketCapUsd?: {
2130
+ value: bigint;
2131
+ decimals: number;
2132
+ } | undefined;
2133
+ };
2134
+ updatedAt: number;
2135
+ icon?: string | undefined;
2136
+ } | {
2137
+ symbol: string;
2138
+ type: "FiatCurrency";
2139
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2140
+ name: string;
2141
+ icon?: string | undefined;
2142
+ } | {
2143
+ type: "Nft";
2144
+ id: string;
2145
+ };
2146
+ amount: {
2147
+ value: bigint;
2148
+ decimals: number;
2149
+ };
2150
+ direction: "out";
2151
+ price?: {
2152
+ cryptoCurrencyId: string;
2153
+ fiatCurrencyId: string;
2154
+ price: {
2155
+ value: bigint;
2156
+ decimals: number;
2157
+ };
2158
+ timestamp: number;
2159
+ } | undefined;
2160
+ from?: string | undefined;
2161
+ to?: string | undefined;
2162
+ }>, {
2163
+ from: string | undefined;
2164
+ to: string | undefined;
2165
+ price: {
2166
+ cryptoCurrencyId: string;
2167
+ fiatCurrencyId: string;
2168
+ price: {
2169
+ value: bigint;
2170
+ decimals: number;
2171
+ };
2172
+ timestamp: number;
2173
+ } | undefined;
2174
+ asset: {
2175
+ icon: string | undefined;
2176
+ symbol: string;
2177
+ type: "CryptoCurrency";
2178
+ id: string;
2179
+ name: string;
2180
+ market: {
2181
+ coingeckoId: string | undefined;
2182
+ marketCapUsd: {
2183
+ value: bigint;
2184
+ decimals: number;
2185
+ } | undefined;
2186
+ };
2187
+ updatedAt: number;
2188
+ } | {
2189
+ icon: string | undefined;
2190
+ symbol: string;
2191
+ type: "FiatCurrency";
2192
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2193
+ name: string;
2194
+ } | {
2195
+ type: "Nft";
2196
+ id: string;
2197
+ };
2198
+ amount: {
2199
+ value: bigint;
2200
+ decimals: number;
2201
+ };
2202
+ direction: "out";
2203
+ }, {
2204
+ asset: {
2205
+ symbol: string;
2206
+ type: "CryptoCurrency";
2207
+ id: string;
2208
+ name: string;
2209
+ market: {
2210
+ coingeckoId?: string | undefined;
2211
+ marketCapUsd?: {
2212
+ value: bigint;
2213
+ decimals: number;
2214
+ } | undefined;
2215
+ };
2216
+ updatedAt: number;
2217
+ icon?: string | undefined;
2218
+ } | {
2219
+ symbol: string;
2220
+ type: "FiatCurrency";
2221
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2222
+ name: string;
2223
+ icon?: string | undefined;
2224
+ } | {
2225
+ type: "Nft";
2226
+ id: string;
2227
+ };
2228
+ amount: {
2229
+ value: bigint;
2230
+ decimals: number;
2231
+ };
2232
+ direction: "out";
2233
+ price?: {
2234
+ cryptoCurrencyId: string;
2235
+ fiatCurrencyId: string;
2236
+ price: {
2237
+ value: bigint;
2238
+ decimals: number;
2239
+ };
2240
+ timestamp: number;
2241
+ } | undefined;
2242
+ from?: string | undefined;
2243
+ to?: string | undefined;
2244
+ }>]>, "many">;
2245
+ }, "strip", z.ZodTypeAny, {
2246
+ type: "CrossAccountAction";
2247
+ timestamp: number;
2248
+ order: number;
2249
+ action: "cross-replace";
2250
+ source: string;
2251
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2252
+ transfers: ({
2253
+ from: string | undefined;
2254
+ to: string | undefined;
2255
+ price: {
2256
+ cryptoCurrencyId: string;
2257
+ fiatCurrencyId: string;
2258
+ price: {
2259
+ value: bigint;
2260
+ decimals: number;
2261
+ };
2262
+ timestamp: number;
2263
+ } | undefined;
2264
+ asset: {
2265
+ icon: string | undefined;
2266
+ symbol: string;
2267
+ type: "CryptoCurrency";
2268
+ id: string;
2269
+ name: string;
2270
+ market: {
2271
+ coingeckoId: string | undefined;
2272
+ marketCapUsd: {
2273
+ value: bigint;
2274
+ decimals: number;
2275
+ } | undefined;
2276
+ };
2277
+ updatedAt: number;
2278
+ } | {
2279
+ icon: string | undefined;
2280
+ symbol: string;
2281
+ type: "FiatCurrency";
2282
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2283
+ name: string;
2284
+ } | {
2285
+ type: "Nft";
2286
+ id: string;
2287
+ };
2288
+ amount: {
2289
+ value: bigint;
2290
+ decimals: number;
2291
+ };
2292
+ direction: "in";
2293
+ } | {
2294
+ from: string | undefined;
2295
+ to: string | undefined;
2296
+ price: {
2297
+ cryptoCurrencyId: string;
2298
+ fiatCurrencyId: string;
2299
+ price: {
2300
+ value: bigint;
2301
+ decimals: number;
2302
+ };
2303
+ timestamp: number;
2304
+ } | undefined;
2305
+ asset: {
2306
+ icon: string | undefined;
2307
+ symbol: string;
2308
+ type: "CryptoCurrency";
2309
+ id: string;
2310
+ name: string;
2311
+ market: {
2312
+ coingeckoId: string | undefined;
2313
+ marketCapUsd: {
2314
+ value: bigint;
2315
+ decimals: number;
2316
+ } | undefined;
2317
+ };
2318
+ updatedAt: number;
2319
+ } | {
2320
+ icon: string | undefined;
2321
+ symbol: string;
2322
+ type: "FiatCurrency";
2323
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2324
+ name: string;
2325
+ } | {
2326
+ type: "Nft";
2327
+ id: string;
2328
+ };
2329
+ amount: {
2330
+ value: bigint;
2331
+ decimals: number;
2332
+ };
2333
+ direction: "out";
2334
+ })[];
2335
+ crossId: string;
2336
+ crossType: "start" | "middle" | "end";
2337
+ comment?: string | undefined;
2338
+ app?: {
2339
+ description: string | undefined;
2340
+ website: string | undefined;
2341
+ icon: string | undefined;
2342
+ id: string;
2343
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2344
+ name: string;
2345
+ } | undefined;
2346
+ }, {
2347
+ type: "CrossAccountAction";
2348
+ timestamp: number;
2349
+ order: number;
2350
+ action: "cross-replace";
2351
+ source: string;
2352
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2353
+ transfers: ({
2354
+ asset: {
2355
+ symbol: string;
2356
+ type: "CryptoCurrency";
2357
+ id: string;
2358
+ name: string;
2359
+ market: {
2360
+ coingeckoId?: string | undefined;
2361
+ marketCapUsd?: {
2362
+ value: bigint;
2363
+ decimals: number;
2364
+ } | undefined;
2365
+ };
2366
+ updatedAt: number;
2367
+ icon?: string | undefined;
2368
+ } | {
2369
+ symbol: string;
2370
+ type: "FiatCurrency";
2371
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2372
+ name: string;
2373
+ icon?: string | undefined;
2374
+ } | {
2375
+ type: "Nft";
2376
+ id: string;
2377
+ };
2378
+ amount: {
2379
+ value: bigint;
2380
+ decimals: number;
2381
+ };
2382
+ direction: "in";
2383
+ price?: {
2384
+ cryptoCurrencyId: string;
2385
+ fiatCurrencyId: string;
2386
+ price: {
2387
+ value: bigint;
2388
+ decimals: number;
2389
+ };
2390
+ timestamp: number;
2391
+ } | undefined;
2392
+ from?: string | undefined;
2393
+ to?: string | undefined;
2394
+ } | {
2395
+ asset: {
2396
+ symbol: string;
2397
+ type: "CryptoCurrency";
2398
+ id: string;
2399
+ name: string;
2400
+ market: {
2401
+ coingeckoId?: string | undefined;
2402
+ marketCapUsd?: {
2403
+ value: bigint;
2404
+ decimals: number;
2405
+ } | undefined;
2406
+ };
2407
+ updatedAt: number;
2408
+ icon?: string | undefined;
2409
+ } | {
2410
+ symbol: string;
2411
+ type: "FiatCurrency";
2412
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2413
+ name: string;
2414
+ icon?: string | undefined;
2415
+ } | {
2416
+ type: "Nft";
2417
+ id: string;
2418
+ };
2419
+ amount: {
2420
+ value: bigint;
2421
+ decimals: number;
2422
+ };
2423
+ direction: "out";
2424
+ price?: {
2425
+ cryptoCurrencyId: string;
2426
+ fiatCurrencyId: string;
2427
+ price: {
2428
+ value: bigint;
2429
+ decimals: number;
2430
+ };
2431
+ timestamp: number;
2432
+ } | undefined;
2433
+ from?: string | undefined;
2434
+ to?: string | undefined;
2435
+ })[];
2436
+ crossId: string;
2437
+ crossType: "start" | "middle" | "end";
2438
+ comment?: string | undefined;
2439
+ app?: {
2440
+ id: string;
2441
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2442
+ name: string;
2443
+ description?: string | undefined;
2444
+ website?: string | undefined;
2445
+ icon?: string | undefined;
2446
+ } | undefined;
2447
+ }>, {
2448
+ comment: string | undefined;
2449
+ app: {
2450
+ description: string | undefined;
2451
+ website: string | undefined;
2452
+ icon: string | undefined;
2453
+ id: string;
2454
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2455
+ name: string;
2456
+ } | undefined;
2457
+ type: "CrossAccountAction";
2458
+ timestamp: number;
2459
+ order: number;
2460
+ action: "cross-replace";
2461
+ source: string;
2462
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2463
+ transfers: ({
2464
+ from: string | undefined;
2465
+ to: string | undefined;
2466
+ price: {
2467
+ cryptoCurrencyId: string;
2468
+ fiatCurrencyId: string;
2469
+ price: {
2470
+ value: bigint;
2471
+ decimals: number;
2472
+ };
2473
+ timestamp: number;
2474
+ } | undefined;
2475
+ asset: {
2476
+ icon: string | undefined;
2477
+ symbol: string;
2478
+ type: "CryptoCurrency";
2479
+ id: string;
2480
+ name: string;
2481
+ market: {
2482
+ coingeckoId: string | undefined;
2483
+ marketCapUsd: {
2484
+ value: bigint;
2485
+ decimals: number;
2486
+ } | undefined;
2487
+ };
2488
+ updatedAt: number;
2489
+ } | {
2490
+ icon: string | undefined;
2491
+ symbol: string;
2492
+ type: "FiatCurrency";
2493
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2494
+ name: string;
2495
+ } | {
2496
+ type: "Nft";
2497
+ id: string;
2498
+ };
2499
+ amount: {
2500
+ value: bigint;
2501
+ decimals: number;
2502
+ };
2503
+ direction: "in";
2504
+ } | {
2505
+ from: string | undefined;
2506
+ to: string | undefined;
2507
+ price: {
2508
+ cryptoCurrencyId: string;
2509
+ fiatCurrencyId: string;
2510
+ price: {
2511
+ value: bigint;
2512
+ decimals: number;
2513
+ };
2514
+ timestamp: number;
2515
+ } | undefined;
2516
+ asset: {
2517
+ icon: string | undefined;
2518
+ symbol: string;
2519
+ type: "CryptoCurrency";
2520
+ id: string;
2521
+ name: string;
2522
+ market: {
2523
+ coingeckoId: string | undefined;
2524
+ marketCapUsd: {
2525
+ value: bigint;
2526
+ decimals: number;
2527
+ } | undefined;
2528
+ };
2529
+ updatedAt: number;
2530
+ } | {
2531
+ icon: string | undefined;
2532
+ symbol: string;
2533
+ type: "FiatCurrency";
2534
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2535
+ name: string;
2536
+ } | {
2537
+ type: "Nft";
2538
+ id: string;
2539
+ };
2540
+ amount: {
2541
+ value: bigint;
2542
+ decimals: number;
2543
+ };
2544
+ direction: "out";
2545
+ })[];
2546
+ crossId: string;
2547
+ crossType: "start" | "middle" | "end";
2548
+ }, {
2549
+ type: "CrossAccountAction";
2550
+ timestamp: number;
2551
+ order: number;
2552
+ action: "cross-replace";
2553
+ source: string;
2554
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2555
+ transfers: ({
2556
+ asset: {
2557
+ symbol: string;
2558
+ type: "CryptoCurrency";
2559
+ id: string;
2560
+ name: string;
2561
+ market: {
2562
+ coingeckoId?: string | undefined;
2563
+ marketCapUsd?: {
2564
+ value: bigint;
2565
+ decimals: number;
2566
+ } | undefined;
2567
+ };
2568
+ updatedAt: number;
2569
+ icon?: string | undefined;
2570
+ } | {
2571
+ symbol: string;
2572
+ type: "FiatCurrency";
2573
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2574
+ name: string;
2575
+ icon?: string | undefined;
2576
+ } | {
2577
+ type: "Nft";
2578
+ id: string;
2579
+ };
2580
+ amount: {
2581
+ value: bigint;
2582
+ decimals: number;
2583
+ };
2584
+ direction: "in";
2585
+ price?: {
2586
+ cryptoCurrencyId: string;
2587
+ fiatCurrencyId: string;
2588
+ price: {
2589
+ value: bigint;
2590
+ decimals: number;
2591
+ };
2592
+ timestamp: number;
2593
+ } | undefined;
2594
+ from?: string | undefined;
2595
+ to?: string | undefined;
2596
+ } | {
2597
+ asset: {
2598
+ symbol: string;
2599
+ type: "CryptoCurrency";
2600
+ id: string;
2601
+ name: string;
2602
+ market: {
2603
+ coingeckoId?: string | undefined;
2604
+ marketCapUsd?: {
2605
+ value: bigint;
2606
+ decimals: number;
2607
+ } | undefined;
2608
+ };
2609
+ updatedAt: number;
2610
+ icon?: string | undefined;
2611
+ } | {
2612
+ symbol: string;
2613
+ type: "FiatCurrency";
2614
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2615
+ name: string;
2616
+ icon?: string | undefined;
2617
+ } | {
2618
+ type: "Nft";
2619
+ id: string;
2620
+ };
2621
+ amount: {
2622
+ value: bigint;
2623
+ decimals: number;
2624
+ };
2625
+ direction: "out";
2626
+ price?: {
2627
+ cryptoCurrencyId: string;
2628
+ fiatCurrencyId: string;
2629
+ price: {
2630
+ value: bigint;
2631
+ decimals: number;
2632
+ };
2633
+ timestamp: number;
2634
+ } | undefined;
2635
+ from?: string | undefined;
2636
+ to?: string | undefined;
2637
+ })[];
2638
+ crossId: string;
2639
+ crossType: "start" | "middle" | "end";
2640
+ comment?: string | undefined;
2641
+ app?: {
2642
+ id: string;
2643
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2644
+ name: string;
2645
+ description?: string | undefined;
2646
+ website?: string | undefined;
2647
+ icon?: string | undefined;
2648
+ } | undefined;
2649
+ }>, z.ZodEffects<z.ZodObject<{
2650
+ type: z.ZodLiteral<"CrossAccountAction">;
2651
+ timestamp: z.ZodNumber;
2652
+ order: z.ZodNumber;
2653
+ source: z.ZodString;
2654
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
2655
+ comment: z.ZodOptional<z.ZodString>;
2656
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2657
+ id: z.ZodString;
2658
+ categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
2659
+ name: z.ZodString;
2660
+ description: z.ZodOptional<z.ZodString>;
2661
+ website: z.ZodOptional<z.ZodString>;
2662
+ icon: z.ZodOptional<z.ZodString>;
2663
+ }, "strip", z.ZodTypeAny, {
2664
+ id: string;
2665
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2666
+ name: string;
2667
+ description?: string | undefined;
2668
+ website?: string | undefined;
2669
+ icon?: string | undefined;
2670
+ }, {
2671
+ id: string;
2672
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2673
+ name: string;
2674
+ description?: string | undefined;
2675
+ website?: string | undefined;
2676
+ icon?: string | undefined;
2677
+ }>, {
2678
+ description: string | undefined;
2679
+ website: string | undefined;
2680
+ icon: string | undefined;
2681
+ id: string;
2682
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2683
+ name: string;
2684
+ }, {
2685
+ id: string;
2686
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2687
+ name: string;
2688
+ description?: string | undefined;
2689
+ website?: string | undefined;
2690
+ icon?: string | undefined;
2691
+ }>>;
2692
+ crossId: z.ZodString;
2693
+ crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
2694
+ action: z.ZodLiteral<"cross-trade">;
2695
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2696
+ price: z.ZodOptional<z.ZodObject<{
2697
+ cryptoCurrencyId: z.ZodString;
2698
+ fiatCurrencyId: z.ZodString;
2699
+ price: z.ZodObject<{
2700
+ value: z.ZodBigInt;
2701
+ decimals: z.ZodNumber;
2702
+ }, "strip", z.ZodTypeAny, {
2703
+ value: bigint;
2704
+ decimals: number;
2705
+ }, {
2706
+ value: bigint;
2707
+ decimals: number;
2708
+ }>;
2709
+ timestamp: z.ZodNumber;
2710
+ }, "strip", z.ZodTypeAny, {
2711
+ cryptoCurrencyId: string;
2712
+ fiatCurrencyId: string;
2713
+ price: {
2714
+ value: bigint;
2715
+ decimals: number;
2716
+ };
2717
+ timestamp: number;
2718
+ }, {
2719
+ cryptoCurrencyId: string;
2720
+ fiatCurrencyId: string;
2721
+ price: {
2722
+ value: bigint;
2723
+ decimals: number;
2724
+ };
2725
+ timestamp: number;
2726
+ }>>;
2727
+ from: z.ZodOptional<z.ZodString>;
2728
+ to: z.ZodOptional<z.ZodString>;
2729
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2730
+ type: z.ZodLiteral<"CryptoCurrency">;
2731
+ id: z.ZodString;
2732
+ name: z.ZodString;
2733
+ symbol: z.ZodString;
2734
+ icon: z.ZodOptional<z.ZodString>;
2735
+ market: z.ZodEffects<z.ZodObject<{
2736
+ coingeckoId: z.ZodOptional<z.ZodString>;
2737
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2738
+ value: z.ZodBigInt;
2739
+ decimals: z.ZodNumber;
2740
+ }, "strip", z.ZodTypeAny, {
2741
+ value: bigint;
2742
+ decimals: number;
2743
+ }, {
2744
+ value: bigint;
2745
+ decimals: number;
2746
+ }>>;
2747
+ }, "strip", z.ZodTypeAny, {
2748
+ coingeckoId?: string | undefined;
2749
+ marketCapUsd?: {
2750
+ value: bigint;
2751
+ decimals: number;
2752
+ } | undefined;
2753
+ }, {
2754
+ coingeckoId?: string | undefined;
2755
+ marketCapUsd?: {
2756
+ value: bigint;
2757
+ decimals: number;
2758
+ } | undefined;
2759
+ }>, {
2760
+ coingeckoId: string | undefined;
2761
+ marketCapUsd: {
2762
+ value: bigint;
2763
+ decimals: number;
2764
+ } | undefined;
2765
+ }, {
2766
+ coingeckoId?: string | undefined;
2767
+ marketCapUsd?: {
2768
+ value: bigint;
2769
+ decimals: number;
2770
+ } | undefined;
2771
+ }>;
2772
+ updatedAt: z.ZodNumber;
2773
+ }, "strip", z.ZodTypeAny, {
2774
+ symbol: string;
2775
+ type: "CryptoCurrency";
2776
+ id: string;
2777
+ name: string;
2778
+ market: {
2779
+ coingeckoId: string | undefined;
2780
+ marketCapUsd: {
2781
+ value: bigint;
2782
+ decimals: number;
2783
+ } | undefined;
2784
+ };
2785
+ updatedAt: number;
2786
+ icon?: string | undefined;
2787
+ }, {
2788
+ symbol: string;
2789
+ type: "CryptoCurrency";
2790
+ id: string;
2791
+ name: string;
2792
+ market: {
2793
+ coingeckoId?: string | undefined;
2794
+ marketCapUsd?: {
2795
+ value: bigint;
2796
+ decimals: number;
2797
+ } | undefined;
2798
+ };
2799
+ updatedAt: number;
2800
+ icon?: string | undefined;
2801
+ }>, {
2802
+ icon: string | undefined;
2803
+ symbol: string;
2804
+ type: "CryptoCurrency";
2805
+ id: string;
2806
+ name: string;
2807
+ market: {
2808
+ coingeckoId: string | undefined;
2809
+ marketCapUsd: {
2810
+ value: bigint;
2811
+ decimals: number;
2812
+ } | undefined;
2813
+ };
2814
+ updatedAt: number;
2815
+ }, {
2816
+ symbol: string;
2817
+ type: "CryptoCurrency";
2818
+ id: string;
2819
+ name: string;
2820
+ market: {
2821
+ coingeckoId?: string | undefined;
2822
+ marketCapUsd?: {
2823
+ value: bigint;
2824
+ decimals: number;
2825
+ } | undefined;
2826
+ };
2827
+ updatedAt: number;
2828
+ icon?: string | undefined;
2829
+ }>, z.ZodEffects<z.ZodObject<{
2830
+ type: z.ZodLiteral<"FiatCurrency">;
2831
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
2832
+ name: z.ZodString;
2833
+ symbol: z.ZodString;
2834
+ icon: z.ZodOptional<z.ZodString>;
2835
+ }, "strip", z.ZodTypeAny, {
2836
+ symbol: string;
2837
+ type: "FiatCurrency";
2838
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2839
+ name: string;
2840
+ icon?: string | undefined;
2841
+ }, {
2842
+ symbol: string;
2843
+ type: "FiatCurrency";
2844
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2845
+ name: string;
2846
+ icon?: string | undefined;
2847
+ }>, {
2848
+ icon: string | undefined;
2849
+ symbol: string;
2850
+ type: "FiatCurrency";
2851
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2852
+ name: string;
2853
+ }, {
2854
+ symbol: string;
2855
+ type: "FiatCurrency";
2856
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2857
+ name: string;
2858
+ icon?: string | undefined;
2859
+ }>, z.ZodObject<{
2860
+ type: z.ZodLiteral<"Nft">;
2861
+ id: z.ZodString;
2862
+ }, "strip", z.ZodTypeAny, {
2863
+ type: "Nft";
2864
+ id: string;
2865
+ }, {
2866
+ type: "Nft";
2867
+ id: string;
2868
+ }>]>;
2869
+ amount: z.ZodObject<{
2870
+ value: z.ZodBigInt;
2871
+ decimals: z.ZodNumber;
2872
+ }, "strip", z.ZodTypeAny, {
2873
+ value: bigint;
2874
+ decimals: number;
2875
+ }, {
2876
+ value: bigint;
2877
+ decimals: number;
2878
+ }>;
2879
+ direction: z.ZodLiteral<"in">;
2880
+ }, "strip", z.ZodTypeAny, {
2881
+ asset: {
2882
+ icon: string | undefined;
2883
+ symbol: string;
2884
+ type: "CryptoCurrency";
2885
+ id: string;
2886
+ name: string;
2887
+ market: {
2888
+ coingeckoId: string | undefined;
2889
+ marketCapUsd: {
2890
+ value: bigint;
2891
+ decimals: number;
2892
+ } | undefined;
2893
+ };
2894
+ updatedAt: number;
2895
+ } | {
2896
+ icon: string | undefined;
2897
+ symbol: string;
2898
+ type: "FiatCurrency";
2899
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2900
+ name: string;
2901
+ } | {
2902
+ type: "Nft";
2903
+ id: string;
2904
+ };
2905
+ amount: {
2906
+ value: bigint;
2907
+ decimals: number;
2908
+ };
2909
+ direction: "in";
2910
+ price?: {
2911
+ cryptoCurrencyId: string;
2912
+ fiatCurrencyId: string;
2913
+ price: {
2914
+ value: bigint;
2915
+ decimals: number;
2916
+ };
2917
+ timestamp: number;
2918
+ } | undefined;
2919
+ from?: string | undefined;
2920
+ to?: string | undefined;
2921
+ }, {
2922
+ asset: {
2923
+ symbol: string;
2924
+ type: "CryptoCurrency";
2925
+ id: string;
2926
+ name: string;
2927
+ market: {
2928
+ coingeckoId?: string | undefined;
2929
+ marketCapUsd?: {
2930
+ value: bigint;
2931
+ decimals: number;
2932
+ } | undefined;
2933
+ };
2934
+ updatedAt: number;
2935
+ icon?: string | undefined;
2936
+ } | {
2937
+ symbol: string;
2938
+ type: "FiatCurrency";
2939
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2940
+ name: string;
2941
+ icon?: string | undefined;
2942
+ } | {
2943
+ type: "Nft";
2944
+ id: string;
2945
+ };
2946
+ amount: {
2947
+ value: bigint;
2948
+ decimals: number;
2949
+ };
2950
+ direction: "in";
2951
+ price?: {
2952
+ cryptoCurrencyId: string;
2953
+ fiatCurrencyId: string;
2954
+ price: {
2955
+ value: bigint;
2956
+ decimals: number;
2957
+ };
2958
+ timestamp: number;
2959
+ } | undefined;
2960
+ from?: string | undefined;
2961
+ to?: string | undefined;
2962
+ }>, {
2963
+ from: string | undefined;
2964
+ to: string | undefined;
2965
+ price: {
2966
+ cryptoCurrencyId: string;
2967
+ fiatCurrencyId: string;
2968
+ price: {
2969
+ value: bigint;
2970
+ decimals: number;
2971
+ };
2972
+ timestamp: number;
2973
+ } | undefined;
2974
+ asset: {
2975
+ icon: string | undefined;
2976
+ symbol: string;
2977
+ type: "CryptoCurrency";
2978
+ id: string;
2979
+ name: string;
2980
+ market: {
2981
+ coingeckoId: string | undefined;
2982
+ marketCapUsd: {
2983
+ value: bigint;
2984
+ decimals: number;
2985
+ } | undefined;
2986
+ };
2987
+ updatedAt: number;
2988
+ } | {
2989
+ icon: string | undefined;
2990
+ symbol: string;
2991
+ type: "FiatCurrency";
2992
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2993
+ name: string;
2994
+ } | {
2995
+ type: "Nft";
2996
+ id: string;
2997
+ };
2998
+ amount: {
2999
+ value: bigint;
3000
+ decimals: number;
3001
+ };
3002
+ direction: "in";
3003
+ }, {
3004
+ asset: {
3005
+ symbol: string;
3006
+ type: "CryptoCurrency";
3007
+ id: string;
3008
+ name: string;
3009
+ market: {
3010
+ coingeckoId?: string | undefined;
3011
+ marketCapUsd?: {
3012
+ value: bigint;
3013
+ decimals: number;
3014
+ } | undefined;
3015
+ };
3016
+ updatedAt: number;
3017
+ icon?: string | undefined;
3018
+ } | {
3019
+ symbol: string;
3020
+ type: "FiatCurrency";
3021
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3022
+ name: string;
3023
+ icon?: string | undefined;
3024
+ } | {
3025
+ type: "Nft";
3026
+ id: string;
3027
+ };
3028
+ amount: {
3029
+ value: bigint;
3030
+ decimals: number;
3031
+ };
3032
+ direction: "in";
3033
+ price?: {
3034
+ cryptoCurrencyId: string;
3035
+ fiatCurrencyId: string;
3036
+ price: {
3037
+ value: bigint;
3038
+ decimals: number;
3039
+ };
3040
+ timestamp: number;
3041
+ } | undefined;
3042
+ from?: string | undefined;
3043
+ to?: string | undefined;
3044
+ }>, z.ZodEffects<z.ZodObject<{
3045
+ price: z.ZodOptional<z.ZodObject<{
3046
+ cryptoCurrencyId: z.ZodString;
3047
+ fiatCurrencyId: z.ZodString;
3048
+ price: z.ZodObject<{
3049
+ value: z.ZodBigInt;
3050
+ decimals: z.ZodNumber;
3051
+ }, "strip", z.ZodTypeAny, {
3052
+ value: bigint;
3053
+ decimals: number;
3054
+ }, {
3055
+ value: bigint;
3056
+ decimals: number;
3057
+ }>;
3058
+ timestamp: z.ZodNumber;
3059
+ }, "strip", z.ZodTypeAny, {
3060
+ cryptoCurrencyId: string;
3061
+ fiatCurrencyId: string;
3062
+ price: {
3063
+ value: bigint;
3064
+ decimals: number;
3065
+ };
3066
+ timestamp: number;
3067
+ }, {
3068
+ cryptoCurrencyId: string;
3069
+ fiatCurrencyId: string;
3070
+ price: {
3071
+ value: bigint;
3072
+ decimals: number;
3073
+ };
3074
+ timestamp: number;
3075
+ }>>;
3076
+ from: z.ZodOptional<z.ZodString>;
3077
+ to: z.ZodOptional<z.ZodString>;
3078
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3079
+ type: z.ZodLiteral<"CryptoCurrency">;
3080
+ id: z.ZodString;
3081
+ name: z.ZodString;
3082
+ symbol: z.ZodString;
3083
+ icon: z.ZodOptional<z.ZodString>;
3084
+ market: z.ZodEffects<z.ZodObject<{
3085
+ coingeckoId: z.ZodOptional<z.ZodString>;
3086
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3087
+ value: z.ZodBigInt;
3088
+ decimals: z.ZodNumber;
3089
+ }, "strip", z.ZodTypeAny, {
3090
+ value: bigint;
3091
+ decimals: number;
3092
+ }, {
3093
+ value: bigint;
3094
+ decimals: number;
3095
+ }>>;
3096
+ }, "strip", z.ZodTypeAny, {
3097
+ coingeckoId?: string | undefined;
3098
+ marketCapUsd?: {
3099
+ value: bigint;
3100
+ decimals: number;
3101
+ } | undefined;
3102
+ }, {
3103
+ coingeckoId?: string | undefined;
3104
+ marketCapUsd?: {
3105
+ value: bigint;
3106
+ decimals: number;
3107
+ } | undefined;
3108
+ }>, {
3109
+ coingeckoId: string | undefined;
3110
+ marketCapUsd: {
3111
+ value: bigint;
3112
+ decimals: number;
3113
+ } | undefined;
3114
+ }, {
3115
+ coingeckoId?: string | undefined;
3116
+ marketCapUsd?: {
3117
+ value: bigint;
3118
+ decimals: number;
3119
+ } | undefined;
3120
+ }>;
3121
+ updatedAt: z.ZodNumber;
3122
+ }, "strip", z.ZodTypeAny, {
3123
+ symbol: string;
3124
+ type: "CryptoCurrency";
3125
+ id: string;
3126
+ name: string;
3127
+ market: {
3128
+ coingeckoId: string | undefined;
3129
+ marketCapUsd: {
3130
+ value: bigint;
3131
+ decimals: number;
3132
+ } | undefined;
3133
+ };
3134
+ updatedAt: number;
3135
+ icon?: string | undefined;
3136
+ }, {
3137
+ symbol: string;
3138
+ type: "CryptoCurrency";
3139
+ id: string;
3140
+ name: string;
3141
+ market: {
3142
+ coingeckoId?: string | undefined;
3143
+ marketCapUsd?: {
3144
+ value: bigint;
3145
+ decimals: number;
3146
+ } | undefined;
3147
+ };
3148
+ updatedAt: number;
3149
+ icon?: string | undefined;
3150
+ }>, {
3151
+ icon: string | undefined;
3152
+ symbol: string;
3153
+ type: "CryptoCurrency";
3154
+ id: string;
3155
+ name: string;
3156
+ market: {
3157
+ coingeckoId: string | undefined;
3158
+ marketCapUsd: {
3159
+ value: bigint;
3160
+ decimals: number;
3161
+ } | undefined;
3162
+ };
3163
+ updatedAt: number;
3164
+ }, {
3165
+ symbol: string;
3166
+ type: "CryptoCurrency";
3167
+ id: string;
3168
+ name: string;
3169
+ market: {
3170
+ coingeckoId?: string | undefined;
3171
+ marketCapUsd?: {
3172
+ value: bigint;
3173
+ decimals: number;
3174
+ } | undefined;
3175
+ };
3176
+ updatedAt: number;
3177
+ icon?: string | undefined;
3178
+ }>, z.ZodEffects<z.ZodObject<{
3179
+ type: z.ZodLiteral<"FiatCurrency">;
3180
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
3181
+ name: z.ZodString;
3182
+ symbol: z.ZodString;
3183
+ icon: z.ZodOptional<z.ZodString>;
3184
+ }, "strip", z.ZodTypeAny, {
3185
+ symbol: string;
3186
+ type: "FiatCurrency";
3187
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3188
+ name: string;
3189
+ icon?: string | undefined;
3190
+ }, {
3191
+ symbol: string;
3192
+ type: "FiatCurrency";
3193
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3194
+ name: string;
3195
+ icon?: string | undefined;
3196
+ }>, {
3197
+ icon: string | undefined;
3198
+ symbol: string;
3199
+ type: "FiatCurrency";
3200
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3201
+ name: string;
3202
+ }, {
3203
+ symbol: string;
3204
+ type: "FiatCurrency";
3205
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3206
+ name: string;
3207
+ icon?: string | undefined;
3208
+ }>, z.ZodObject<{
3209
+ type: z.ZodLiteral<"Nft">;
3210
+ id: z.ZodString;
3211
+ }, "strip", z.ZodTypeAny, {
3212
+ type: "Nft";
3213
+ id: string;
3214
+ }, {
3215
+ type: "Nft";
3216
+ id: string;
3217
+ }>]>;
3218
+ amount: z.ZodObject<{
3219
+ value: z.ZodBigInt;
3220
+ decimals: z.ZodNumber;
3221
+ }, "strip", z.ZodTypeAny, {
3222
+ value: bigint;
3223
+ decimals: number;
3224
+ }, {
3225
+ value: bigint;
3226
+ decimals: number;
3227
+ }>;
3228
+ direction: z.ZodLiteral<"out">;
3229
+ }, "strip", z.ZodTypeAny, {
3230
+ asset: {
3231
+ icon: string | undefined;
3232
+ symbol: string;
3233
+ type: "CryptoCurrency";
3234
+ id: string;
3235
+ name: string;
3236
+ market: {
3237
+ coingeckoId: string | undefined;
3238
+ marketCapUsd: {
3239
+ value: bigint;
3240
+ decimals: number;
3241
+ } | undefined;
3242
+ };
3243
+ updatedAt: number;
3244
+ } | {
3245
+ icon: string | undefined;
3246
+ symbol: string;
3247
+ type: "FiatCurrency";
3248
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3249
+ name: string;
3250
+ } | {
3251
+ type: "Nft";
3252
+ id: string;
3253
+ };
3254
+ amount: {
3255
+ value: bigint;
3256
+ decimals: number;
3257
+ };
3258
+ direction: "out";
3259
+ price?: {
3260
+ cryptoCurrencyId: string;
3261
+ fiatCurrencyId: string;
3262
+ price: {
3263
+ value: bigint;
3264
+ decimals: number;
3265
+ };
3266
+ timestamp: number;
3267
+ } | undefined;
3268
+ from?: string | undefined;
3269
+ to?: string | undefined;
3270
+ }, {
3271
+ asset: {
3272
+ symbol: string;
3273
+ type: "CryptoCurrency";
3274
+ id: string;
3275
+ name: string;
3276
+ market: {
3277
+ coingeckoId?: string | undefined;
3278
+ marketCapUsd?: {
3279
+ value: bigint;
3280
+ decimals: number;
3281
+ } | undefined;
3282
+ };
3283
+ updatedAt: number;
3284
+ icon?: string | undefined;
3285
+ } | {
3286
+ symbol: string;
3287
+ type: "FiatCurrency";
3288
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3289
+ name: string;
3290
+ icon?: string | undefined;
3291
+ } | {
3292
+ type: "Nft";
3293
+ id: string;
3294
+ };
3295
+ amount: {
3296
+ value: bigint;
3297
+ decimals: number;
3298
+ };
3299
+ direction: "out";
3300
+ price?: {
3301
+ cryptoCurrencyId: string;
3302
+ fiatCurrencyId: string;
3303
+ price: {
3304
+ value: bigint;
3305
+ decimals: number;
3306
+ };
3307
+ timestamp: number;
3308
+ } | undefined;
3309
+ from?: string | undefined;
3310
+ to?: string | undefined;
3311
+ }>, {
3312
+ from: string | undefined;
3313
+ to: string | undefined;
3314
+ price: {
3315
+ cryptoCurrencyId: string;
3316
+ fiatCurrencyId: string;
3317
+ price: {
3318
+ value: bigint;
3319
+ decimals: number;
3320
+ };
3321
+ timestamp: number;
3322
+ } | undefined;
3323
+ asset: {
3324
+ icon: string | undefined;
3325
+ symbol: string;
3326
+ type: "CryptoCurrency";
3327
+ id: string;
3328
+ name: string;
3329
+ market: {
3330
+ coingeckoId: string | undefined;
3331
+ marketCapUsd: {
3332
+ value: bigint;
3333
+ decimals: number;
3334
+ } | undefined;
3335
+ };
3336
+ updatedAt: number;
3337
+ } | {
3338
+ icon: string | undefined;
3339
+ symbol: string;
3340
+ type: "FiatCurrency";
3341
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3342
+ name: string;
3343
+ } | {
3344
+ type: "Nft";
3345
+ id: string;
3346
+ };
3347
+ amount: {
3348
+ value: bigint;
3349
+ decimals: number;
3350
+ };
3351
+ direction: "out";
3352
+ }, {
3353
+ asset: {
3354
+ symbol: string;
3355
+ type: "CryptoCurrency";
3356
+ id: string;
3357
+ name: string;
3358
+ market: {
3359
+ coingeckoId?: string | undefined;
3360
+ marketCapUsd?: {
3361
+ value: bigint;
3362
+ decimals: number;
3363
+ } | undefined;
3364
+ };
3365
+ updatedAt: number;
3366
+ icon?: string | undefined;
3367
+ } | {
3368
+ symbol: string;
3369
+ type: "FiatCurrency";
3370
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3371
+ name: string;
3372
+ icon?: string | undefined;
3373
+ } | {
3374
+ type: "Nft";
3375
+ id: string;
3376
+ };
3377
+ amount: {
3378
+ value: bigint;
3379
+ decimals: number;
3380
+ };
3381
+ direction: "out";
3382
+ price?: {
3383
+ cryptoCurrencyId: string;
3384
+ fiatCurrencyId: string;
3385
+ price: {
3386
+ value: bigint;
3387
+ decimals: number;
3388
+ };
3389
+ timestamp: number;
3390
+ } | undefined;
3391
+ from?: string | undefined;
3392
+ to?: string | undefined;
3393
+ }>]>, "many">;
3394
+ }, "strip", z.ZodTypeAny, {
3395
+ type: "CrossAccountAction";
3396
+ timestamp: number;
3397
+ order: number;
3398
+ action: "cross-trade";
3399
+ source: string;
3400
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3401
+ transfers: ({
3402
+ from: string | undefined;
3403
+ to: string | undefined;
3404
+ price: {
3405
+ cryptoCurrencyId: string;
3406
+ fiatCurrencyId: string;
3407
+ price: {
3408
+ value: bigint;
3409
+ decimals: number;
3410
+ };
3411
+ timestamp: number;
3412
+ } | undefined;
3413
+ asset: {
3414
+ icon: string | undefined;
3415
+ symbol: string;
3416
+ type: "CryptoCurrency";
3417
+ id: string;
3418
+ name: string;
3419
+ market: {
3420
+ coingeckoId: string | undefined;
3421
+ marketCapUsd: {
3422
+ value: bigint;
3423
+ decimals: number;
3424
+ } | undefined;
3425
+ };
3426
+ updatedAt: number;
3427
+ } | {
3428
+ icon: string | undefined;
3429
+ symbol: string;
3430
+ type: "FiatCurrency";
3431
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3432
+ name: string;
3433
+ } | {
3434
+ type: "Nft";
3435
+ id: string;
3436
+ };
3437
+ amount: {
3438
+ value: bigint;
3439
+ decimals: number;
3440
+ };
3441
+ direction: "in";
3442
+ } | {
3443
+ from: string | undefined;
3444
+ to: string | undefined;
3445
+ price: {
3446
+ cryptoCurrencyId: string;
3447
+ fiatCurrencyId: string;
3448
+ price: {
3449
+ value: bigint;
3450
+ decimals: number;
3451
+ };
3452
+ timestamp: number;
3453
+ } | undefined;
3454
+ asset: {
3455
+ icon: string | undefined;
3456
+ symbol: string;
3457
+ type: "CryptoCurrency";
3458
+ id: string;
3459
+ name: string;
3460
+ market: {
3461
+ coingeckoId: string | undefined;
3462
+ marketCapUsd: {
3463
+ value: bigint;
3464
+ decimals: number;
3465
+ } | undefined;
3466
+ };
3467
+ updatedAt: number;
3468
+ } | {
3469
+ icon: string | undefined;
3470
+ symbol: string;
3471
+ type: "FiatCurrency";
3472
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3473
+ name: string;
3474
+ } | {
3475
+ type: "Nft";
3476
+ id: string;
3477
+ };
3478
+ amount: {
3479
+ value: bigint;
3480
+ decimals: number;
3481
+ };
3482
+ direction: "out";
3483
+ })[];
3484
+ crossId: string;
3485
+ crossType: "start" | "middle" | "end";
3486
+ comment?: string | undefined;
3487
+ app?: {
3488
+ description: string | undefined;
3489
+ website: string | undefined;
3490
+ icon: string | undefined;
3491
+ id: string;
3492
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3493
+ name: string;
3494
+ } | undefined;
3495
+ }, {
3496
+ type: "CrossAccountAction";
3497
+ timestamp: number;
3498
+ order: number;
3499
+ action: "cross-trade";
3500
+ source: string;
3501
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3502
+ transfers: ({
3503
+ asset: {
3504
+ symbol: string;
3505
+ type: "CryptoCurrency";
3506
+ id: string;
3507
+ name: string;
3508
+ market: {
3509
+ coingeckoId?: string | undefined;
3510
+ marketCapUsd?: {
3511
+ value: bigint;
3512
+ decimals: number;
3513
+ } | undefined;
3514
+ };
3515
+ updatedAt: number;
3516
+ icon?: string | undefined;
3517
+ } | {
3518
+ symbol: string;
3519
+ type: "FiatCurrency";
3520
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3521
+ name: string;
3522
+ icon?: string | undefined;
3523
+ } | {
3524
+ type: "Nft";
3525
+ id: string;
3526
+ };
3527
+ amount: {
3528
+ value: bigint;
3529
+ decimals: number;
3530
+ };
3531
+ direction: "in";
3532
+ price?: {
3533
+ cryptoCurrencyId: string;
3534
+ fiatCurrencyId: string;
3535
+ price: {
3536
+ value: bigint;
3537
+ decimals: number;
3538
+ };
3539
+ timestamp: number;
3540
+ } | undefined;
3541
+ from?: string | undefined;
3542
+ to?: string | undefined;
3543
+ } | {
3544
+ asset: {
3545
+ symbol: string;
3546
+ type: "CryptoCurrency";
3547
+ id: string;
3548
+ name: string;
3549
+ market: {
3550
+ coingeckoId?: string | undefined;
3551
+ marketCapUsd?: {
3552
+ value: bigint;
3553
+ decimals: number;
3554
+ } | undefined;
3555
+ };
3556
+ updatedAt: number;
3557
+ icon?: string | undefined;
3558
+ } | {
3559
+ symbol: string;
3560
+ type: "FiatCurrency";
3561
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3562
+ name: string;
3563
+ icon?: string | undefined;
3564
+ } | {
3565
+ type: "Nft";
3566
+ id: string;
3567
+ };
3568
+ amount: {
3569
+ value: bigint;
3570
+ decimals: number;
3571
+ };
3572
+ direction: "out";
3573
+ price?: {
3574
+ cryptoCurrencyId: string;
3575
+ fiatCurrencyId: string;
3576
+ price: {
3577
+ value: bigint;
3578
+ decimals: number;
3579
+ };
3580
+ timestamp: number;
3581
+ } | undefined;
3582
+ from?: string | undefined;
3583
+ to?: string | undefined;
3584
+ })[];
3585
+ crossId: string;
3586
+ crossType: "start" | "middle" | "end";
3587
+ comment?: string | undefined;
3588
+ app?: {
3589
+ id: string;
3590
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3591
+ name: string;
3592
+ description?: string | undefined;
3593
+ website?: string | undefined;
3594
+ icon?: string | undefined;
3595
+ } | undefined;
3596
+ }>, {
3597
+ comment: string | undefined;
3598
+ app: {
3599
+ description: string | undefined;
3600
+ website: string | undefined;
3601
+ icon: string | undefined;
3602
+ id: string;
3603
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3604
+ name: string;
3605
+ } | undefined;
3606
+ type: "CrossAccountAction";
3607
+ timestamp: number;
3608
+ order: number;
3609
+ action: "cross-trade";
3610
+ source: string;
3611
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3612
+ transfers: ({
3613
+ from: string | undefined;
3614
+ to: string | undefined;
3615
+ price: {
3616
+ cryptoCurrencyId: string;
3617
+ fiatCurrencyId: string;
3618
+ price: {
3619
+ value: bigint;
3620
+ decimals: number;
3621
+ };
3622
+ timestamp: number;
3623
+ } | undefined;
3624
+ asset: {
3625
+ icon: string | undefined;
3626
+ symbol: string;
3627
+ type: "CryptoCurrency";
3628
+ id: string;
3629
+ name: string;
3630
+ market: {
3631
+ coingeckoId: string | undefined;
3632
+ marketCapUsd: {
3633
+ value: bigint;
3634
+ decimals: number;
3635
+ } | undefined;
3636
+ };
3637
+ updatedAt: number;
3638
+ } | {
3639
+ icon: string | undefined;
3640
+ symbol: string;
3641
+ type: "FiatCurrency";
3642
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3643
+ name: string;
3644
+ } | {
3645
+ type: "Nft";
3646
+ id: string;
3647
+ };
3648
+ amount: {
3649
+ value: bigint;
3650
+ decimals: number;
3651
+ };
3652
+ direction: "in";
3653
+ } | {
3654
+ from: string | undefined;
3655
+ to: string | undefined;
3656
+ price: {
3657
+ cryptoCurrencyId: string;
3658
+ fiatCurrencyId: string;
3659
+ price: {
3660
+ value: bigint;
3661
+ decimals: number;
3662
+ };
3663
+ timestamp: number;
3664
+ } | undefined;
3665
+ asset: {
3666
+ icon: string | undefined;
3667
+ symbol: string;
3668
+ type: "CryptoCurrency";
3669
+ id: string;
3670
+ name: string;
3671
+ market: {
3672
+ coingeckoId: string | undefined;
3673
+ marketCapUsd: {
3674
+ value: bigint;
3675
+ decimals: number;
3676
+ } | undefined;
3677
+ };
3678
+ updatedAt: number;
3679
+ } | {
3680
+ icon: string | undefined;
3681
+ symbol: string;
3682
+ type: "FiatCurrency";
3683
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3684
+ name: string;
3685
+ } | {
3686
+ type: "Nft";
3687
+ id: string;
3688
+ };
3689
+ amount: {
3690
+ value: bigint;
3691
+ decimals: number;
3692
+ };
3693
+ direction: "out";
3694
+ })[];
3695
+ crossId: string;
3696
+ crossType: "start" | "middle" | "end";
3697
+ }, {
3698
+ type: "CrossAccountAction";
3699
+ timestamp: number;
3700
+ order: number;
3701
+ action: "cross-trade";
3702
+ source: string;
3703
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3704
+ transfers: ({
3705
+ asset: {
3706
+ symbol: string;
3707
+ type: "CryptoCurrency";
3708
+ id: string;
3709
+ name: string;
3710
+ market: {
3711
+ coingeckoId?: string | undefined;
3712
+ marketCapUsd?: {
3713
+ value: bigint;
3714
+ decimals: number;
3715
+ } | undefined;
3716
+ };
3717
+ updatedAt: number;
3718
+ icon?: string | undefined;
3719
+ } | {
3720
+ symbol: string;
3721
+ type: "FiatCurrency";
3722
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3723
+ name: string;
3724
+ icon?: string | undefined;
3725
+ } | {
3726
+ type: "Nft";
3727
+ id: string;
3728
+ };
3729
+ amount: {
3730
+ value: bigint;
3731
+ decimals: number;
3732
+ };
3733
+ direction: "in";
3734
+ price?: {
3735
+ cryptoCurrencyId: string;
3736
+ fiatCurrencyId: string;
3737
+ price: {
3738
+ value: bigint;
3739
+ decimals: number;
3740
+ };
3741
+ timestamp: number;
3742
+ } | undefined;
3743
+ from?: string | undefined;
3744
+ to?: string | undefined;
3745
+ } | {
3746
+ asset: {
3747
+ symbol: string;
3748
+ type: "CryptoCurrency";
3749
+ id: string;
3750
+ name: string;
3751
+ market: {
3752
+ coingeckoId?: string | undefined;
3753
+ marketCapUsd?: {
3754
+ value: bigint;
3755
+ decimals: number;
3756
+ } | undefined;
3757
+ };
3758
+ updatedAt: number;
3759
+ icon?: string | undefined;
3760
+ } | {
3761
+ symbol: string;
3762
+ type: "FiatCurrency";
3763
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3764
+ name: string;
3765
+ icon?: string | undefined;
3766
+ } | {
3767
+ type: "Nft";
3768
+ id: string;
3769
+ };
3770
+ amount: {
3771
+ value: bigint;
3772
+ decimals: number;
3773
+ };
3774
+ direction: "out";
3775
+ price?: {
3776
+ cryptoCurrencyId: string;
3777
+ fiatCurrencyId: string;
3778
+ price: {
3779
+ value: bigint;
3780
+ decimals: number;
3781
+ };
3782
+ timestamp: number;
3783
+ } | undefined;
3784
+ from?: string | undefined;
3785
+ to?: string | undefined;
3786
+ })[];
3787
+ crossId: string;
3788
+ crossType: "start" | "middle" | "end";
3789
+ comment?: string | undefined;
3790
+ app?: {
3791
+ id: string;
3792
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3793
+ name: string;
3794
+ description?: string | undefined;
3795
+ website?: string | undefined;
3796
+ icon?: string | undefined;
3797
+ } | undefined;
3798
+ }>]>, "many">;
5
3799
  }, "strip", z.ZodTypeAny, {
6
3800
  id: string;
7
- count?: number | undefined;
3801
+ actions: ({
3802
+ comment: string | undefined;
3803
+ app: {
3804
+ description: string | undefined;
3805
+ website: string | undefined;
3806
+ icon: string | undefined;
3807
+ id: string;
3808
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3809
+ name: string;
3810
+ } | undefined;
3811
+ type: "CrossAccountAction";
3812
+ timestamp: number;
3813
+ order: number;
3814
+ action: "bridge-from";
3815
+ source: string;
3816
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3817
+ transfers: ({
3818
+ from: string | undefined;
3819
+ to: string | undefined;
3820
+ price: {
3821
+ cryptoCurrencyId: string;
3822
+ fiatCurrencyId: string;
3823
+ price: {
3824
+ value: bigint;
3825
+ decimals: number;
3826
+ };
3827
+ timestamp: number;
3828
+ } | undefined;
3829
+ asset: {
3830
+ icon: string | undefined;
3831
+ symbol: string;
3832
+ type: "CryptoCurrency";
3833
+ id: string;
3834
+ name: string;
3835
+ market: {
3836
+ coingeckoId: string | undefined;
3837
+ marketCapUsd: {
3838
+ value: bigint;
3839
+ decimals: number;
3840
+ } | undefined;
3841
+ };
3842
+ updatedAt: number;
3843
+ };
3844
+ amount: {
3845
+ value: bigint;
3846
+ decimals: number;
3847
+ };
3848
+ direction: "out";
3849
+ } | {
3850
+ from: string | undefined;
3851
+ to: string | undefined;
3852
+ price: {
3853
+ cryptoCurrencyId: string;
3854
+ fiatCurrencyId: string;
3855
+ price: {
3856
+ value: bigint;
3857
+ decimals: number;
3858
+ };
3859
+ timestamp: number;
3860
+ } | undefined;
3861
+ asset: {
3862
+ type: "Nft";
3863
+ id: string;
3864
+ };
3865
+ amount: {
3866
+ value: bigint;
3867
+ decimals: number;
3868
+ };
3869
+ direction: "out";
3870
+ })[];
3871
+ crossId: string;
3872
+ crossType: "start" | "middle" | "end";
3873
+ } | {
3874
+ comment: string | undefined;
3875
+ app: {
3876
+ description: string | undefined;
3877
+ website: string | undefined;
3878
+ icon: string | undefined;
3879
+ id: string;
3880
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3881
+ name: string;
3882
+ } | undefined;
3883
+ type: "CrossAccountAction";
3884
+ timestamp: number;
3885
+ order: number;
3886
+ action: "bridge-to";
3887
+ source: string;
3888
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3889
+ transfers: ({
3890
+ from: string | undefined;
3891
+ to: string | undefined;
3892
+ price: {
3893
+ cryptoCurrencyId: string;
3894
+ fiatCurrencyId: string;
3895
+ price: {
3896
+ value: bigint;
3897
+ decimals: number;
3898
+ };
3899
+ timestamp: number;
3900
+ } | undefined;
3901
+ asset: {
3902
+ icon: string | undefined;
3903
+ symbol: string;
3904
+ type: "CryptoCurrency";
3905
+ id: string;
3906
+ name: string;
3907
+ market: {
3908
+ coingeckoId: string | undefined;
3909
+ marketCapUsd: {
3910
+ value: bigint;
3911
+ decimals: number;
3912
+ } | undefined;
3913
+ };
3914
+ updatedAt: number;
3915
+ };
3916
+ amount: {
3917
+ value: bigint;
3918
+ decimals: number;
3919
+ };
3920
+ direction: "in";
3921
+ } | {
3922
+ from: string | undefined;
3923
+ to: string | undefined;
3924
+ price: {
3925
+ cryptoCurrencyId: string;
3926
+ fiatCurrencyId: string;
3927
+ price: {
3928
+ value: bigint;
3929
+ decimals: number;
3930
+ };
3931
+ timestamp: number;
3932
+ } | undefined;
3933
+ asset: {
3934
+ type: "Nft";
3935
+ id: string;
3936
+ };
3937
+ amount: {
3938
+ value: bigint;
3939
+ decimals: number;
3940
+ };
3941
+ direction: "in";
3942
+ })[];
3943
+ crossId: string;
3944
+ crossType: "start" | "middle" | "end";
3945
+ } | {
3946
+ comment: string | undefined;
3947
+ app: {
3948
+ description: string | undefined;
3949
+ website: string | undefined;
3950
+ icon: string | undefined;
3951
+ id: string;
3952
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3953
+ name: string;
3954
+ } | undefined;
3955
+ type: "CrossAccountAction";
3956
+ timestamp: number;
3957
+ order: number;
3958
+ action: "cross-replace";
3959
+ source: string;
3960
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3961
+ transfers: ({
3962
+ from: string | undefined;
3963
+ to: string | undefined;
3964
+ price: {
3965
+ cryptoCurrencyId: string;
3966
+ fiatCurrencyId: string;
3967
+ price: {
3968
+ value: bigint;
3969
+ decimals: number;
3970
+ };
3971
+ timestamp: number;
3972
+ } | undefined;
3973
+ asset: {
3974
+ icon: string | undefined;
3975
+ symbol: string;
3976
+ type: "CryptoCurrency";
3977
+ id: string;
3978
+ name: string;
3979
+ market: {
3980
+ coingeckoId: string | undefined;
3981
+ marketCapUsd: {
3982
+ value: bigint;
3983
+ decimals: number;
3984
+ } | undefined;
3985
+ };
3986
+ updatedAt: number;
3987
+ } | {
3988
+ icon: string | undefined;
3989
+ symbol: string;
3990
+ type: "FiatCurrency";
3991
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3992
+ name: string;
3993
+ } | {
3994
+ type: "Nft";
3995
+ id: string;
3996
+ };
3997
+ amount: {
3998
+ value: bigint;
3999
+ decimals: number;
4000
+ };
4001
+ direction: "in";
4002
+ } | {
4003
+ from: string | undefined;
4004
+ to: string | undefined;
4005
+ price: {
4006
+ cryptoCurrencyId: string;
4007
+ fiatCurrencyId: string;
4008
+ price: {
4009
+ value: bigint;
4010
+ decimals: number;
4011
+ };
4012
+ timestamp: number;
4013
+ } | undefined;
4014
+ asset: {
4015
+ icon: string | undefined;
4016
+ symbol: string;
4017
+ type: "CryptoCurrency";
4018
+ id: string;
4019
+ name: string;
4020
+ market: {
4021
+ coingeckoId: string | undefined;
4022
+ marketCapUsd: {
4023
+ value: bigint;
4024
+ decimals: number;
4025
+ } | undefined;
4026
+ };
4027
+ updatedAt: number;
4028
+ } | {
4029
+ icon: string | undefined;
4030
+ symbol: string;
4031
+ type: "FiatCurrency";
4032
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4033
+ name: string;
4034
+ } | {
4035
+ type: "Nft";
4036
+ id: string;
4037
+ };
4038
+ amount: {
4039
+ value: bigint;
4040
+ decimals: number;
4041
+ };
4042
+ direction: "out";
4043
+ })[];
4044
+ crossId: string;
4045
+ crossType: "start" | "middle" | "end";
4046
+ } | {
4047
+ comment: string | undefined;
4048
+ app: {
4049
+ description: string | undefined;
4050
+ website: string | undefined;
4051
+ icon: string | undefined;
4052
+ id: string;
4053
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4054
+ name: string;
4055
+ } | undefined;
4056
+ type: "CrossAccountAction";
4057
+ timestamp: number;
4058
+ order: number;
4059
+ action: "cross-trade";
4060
+ source: string;
4061
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
4062
+ transfers: ({
4063
+ from: string | undefined;
4064
+ to: string | undefined;
4065
+ price: {
4066
+ cryptoCurrencyId: string;
4067
+ fiatCurrencyId: string;
4068
+ price: {
4069
+ value: bigint;
4070
+ decimals: number;
4071
+ };
4072
+ timestamp: number;
4073
+ } | undefined;
4074
+ asset: {
4075
+ icon: string | undefined;
4076
+ symbol: string;
4077
+ type: "CryptoCurrency";
4078
+ id: string;
4079
+ name: string;
4080
+ market: {
4081
+ coingeckoId: string | undefined;
4082
+ marketCapUsd: {
4083
+ value: bigint;
4084
+ decimals: number;
4085
+ } | undefined;
4086
+ };
4087
+ updatedAt: number;
4088
+ } | {
4089
+ icon: string | undefined;
4090
+ symbol: string;
4091
+ type: "FiatCurrency";
4092
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4093
+ name: string;
4094
+ } | {
4095
+ type: "Nft";
4096
+ id: string;
4097
+ };
4098
+ amount: {
4099
+ value: bigint;
4100
+ decimals: number;
4101
+ };
4102
+ direction: "in";
4103
+ } | {
4104
+ from: string | undefined;
4105
+ to: string | undefined;
4106
+ price: {
4107
+ cryptoCurrencyId: string;
4108
+ fiatCurrencyId: string;
4109
+ price: {
4110
+ value: bigint;
4111
+ decimals: number;
4112
+ };
4113
+ timestamp: number;
4114
+ } | undefined;
4115
+ asset: {
4116
+ icon: string | undefined;
4117
+ symbol: string;
4118
+ type: "CryptoCurrency";
4119
+ id: string;
4120
+ name: string;
4121
+ market: {
4122
+ coingeckoId: string | undefined;
4123
+ marketCapUsd: {
4124
+ value: bigint;
4125
+ decimals: number;
4126
+ } | undefined;
4127
+ };
4128
+ updatedAt: number;
4129
+ } | {
4130
+ icon: string | undefined;
4131
+ symbol: string;
4132
+ type: "FiatCurrency";
4133
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4134
+ name: string;
4135
+ } | {
4136
+ type: "Nft";
4137
+ id: string;
4138
+ };
4139
+ amount: {
4140
+ value: bigint;
4141
+ decimals: number;
4142
+ };
4143
+ direction: "out";
4144
+ })[];
4145
+ crossId: string;
4146
+ crossType: "start" | "middle" | "end";
4147
+ })[];
8
4148
  }, {
9
4149
  id: string;
10
- count?: number | undefined;
4150
+ actions: ({
4151
+ type: "CrossAccountAction";
4152
+ timestamp: number;
4153
+ order: number;
4154
+ action: "bridge-from";
4155
+ source: string;
4156
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
4157
+ transfers: ({
4158
+ asset: {
4159
+ symbol: string;
4160
+ type: "CryptoCurrency";
4161
+ id: string;
4162
+ name: string;
4163
+ market: {
4164
+ coingeckoId?: string | undefined;
4165
+ marketCapUsd?: {
4166
+ value: bigint;
4167
+ decimals: number;
4168
+ } | undefined;
4169
+ };
4170
+ updatedAt: number;
4171
+ icon?: string | undefined;
4172
+ };
4173
+ amount: {
4174
+ value: bigint;
4175
+ decimals: number;
4176
+ };
4177
+ direction: "out";
4178
+ price?: {
4179
+ cryptoCurrencyId: string;
4180
+ fiatCurrencyId: string;
4181
+ price: {
4182
+ value: bigint;
4183
+ decimals: number;
4184
+ };
4185
+ timestamp: number;
4186
+ } | undefined;
4187
+ from?: string | undefined;
4188
+ to?: string | undefined;
4189
+ } | {
4190
+ asset: {
4191
+ type: "Nft";
4192
+ id: string;
4193
+ };
4194
+ amount: {
4195
+ value: bigint;
4196
+ decimals: number;
4197
+ };
4198
+ direction: "out";
4199
+ price?: {
4200
+ cryptoCurrencyId: string;
4201
+ fiatCurrencyId: string;
4202
+ price: {
4203
+ value: bigint;
4204
+ decimals: number;
4205
+ };
4206
+ timestamp: number;
4207
+ } | undefined;
4208
+ from?: string | undefined;
4209
+ to?: string | undefined;
4210
+ })[];
4211
+ crossId: string;
4212
+ crossType: "start" | "middle" | "end";
4213
+ comment?: string | undefined;
4214
+ app?: {
4215
+ id: string;
4216
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4217
+ name: string;
4218
+ description?: string | undefined;
4219
+ website?: string | undefined;
4220
+ icon?: string | undefined;
4221
+ } | undefined;
4222
+ } | {
4223
+ type: "CrossAccountAction";
4224
+ timestamp: number;
4225
+ order: number;
4226
+ action: "bridge-to";
4227
+ source: string;
4228
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
4229
+ transfers: ({
4230
+ asset: {
4231
+ symbol: string;
4232
+ type: "CryptoCurrency";
4233
+ id: string;
4234
+ name: string;
4235
+ market: {
4236
+ coingeckoId?: string | undefined;
4237
+ marketCapUsd?: {
4238
+ value: bigint;
4239
+ decimals: number;
4240
+ } | undefined;
4241
+ };
4242
+ updatedAt: number;
4243
+ icon?: string | undefined;
4244
+ };
4245
+ amount: {
4246
+ value: bigint;
4247
+ decimals: number;
4248
+ };
4249
+ direction: "in";
4250
+ price?: {
4251
+ cryptoCurrencyId: string;
4252
+ fiatCurrencyId: string;
4253
+ price: {
4254
+ value: bigint;
4255
+ decimals: number;
4256
+ };
4257
+ timestamp: number;
4258
+ } | undefined;
4259
+ from?: string | undefined;
4260
+ to?: string | undefined;
4261
+ } | {
4262
+ asset: {
4263
+ type: "Nft";
4264
+ id: string;
4265
+ };
4266
+ amount: {
4267
+ value: bigint;
4268
+ decimals: number;
4269
+ };
4270
+ direction: "in";
4271
+ price?: {
4272
+ cryptoCurrencyId: string;
4273
+ fiatCurrencyId: string;
4274
+ price: {
4275
+ value: bigint;
4276
+ decimals: number;
4277
+ };
4278
+ timestamp: number;
4279
+ } | undefined;
4280
+ from?: string | undefined;
4281
+ to?: string | undefined;
4282
+ })[];
4283
+ crossId: string;
4284
+ crossType: "start" | "middle" | "end";
4285
+ comment?: string | undefined;
4286
+ app?: {
4287
+ id: string;
4288
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4289
+ name: string;
4290
+ description?: string | undefined;
4291
+ website?: string | undefined;
4292
+ icon?: string | undefined;
4293
+ } | undefined;
4294
+ } | {
4295
+ type: "CrossAccountAction";
4296
+ timestamp: number;
4297
+ order: number;
4298
+ action: "cross-replace";
4299
+ source: string;
4300
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
4301
+ transfers: ({
4302
+ asset: {
4303
+ symbol: string;
4304
+ type: "CryptoCurrency";
4305
+ id: string;
4306
+ name: string;
4307
+ market: {
4308
+ coingeckoId?: string | undefined;
4309
+ marketCapUsd?: {
4310
+ value: bigint;
4311
+ decimals: number;
4312
+ } | undefined;
4313
+ };
4314
+ updatedAt: number;
4315
+ icon?: string | undefined;
4316
+ } | {
4317
+ symbol: string;
4318
+ type: "FiatCurrency";
4319
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4320
+ name: string;
4321
+ icon?: string | undefined;
4322
+ } | {
4323
+ type: "Nft";
4324
+ id: string;
4325
+ };
4326
+ amount: {
4327
+ value: bigint;
4328
+ decimals: number;
4329
+ };
4330
+ direction: "in";
4331
+ price?: {
4332
+ cryptoCurrencyId: string;
4333
+ fiatCurrencyId: string;
4334
+ price: {
4335
+ value: bigint;
4336
+ decimals: number;
4337
+ };
4338
+ timestamp: number;
4339
+ } | undefined;
4340
+ from?: string | undefined;
4341
+ to?: string | undefined;
4342
+ } | {
4343
+ asset: {
4344
+ symbol: string;
4345
+ type: "CryptoCurrency";
4346
+ id: string;
4347
+ name: string;
4348
+ market: {
4349
+ coingeckoId?: string | undefined;
4350
+ marketCapUsd?: {
4351
+ value: bigint;
4352
+ decimals: number;
4353
+ } | undefined;
4354
+ };
4355
+ updatedAt: number;
4356
+ icon?: string | undefined;
4357
+ } | {
4358
+ symbol: string;
4359
+ type: "FiatCurrency";
4360
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4361
+ name: string;
4362
+ icon?: string | undefined;
4363
+ } | {
4364
+ type: "Nft";
4365
+ id: string;
4366
+ };
4367
+ amount: {
4368
+ value: bigint;
4369
+ decimals: number;
4370
+ };
4371
+ direction: "out";
4372
+ price?: {
4373
+ cryptoCurrencyId: string;
4374
+ fiatCurrencyId: string;
4375
+ price: {
4376
+ value: bigint;
4377
+ decimals: number;
4378
+ };
4379
+ timestamp: number;
4380
+ } | undefined;
4381
+ from?: string | undefined;
4382
+ to?: string | undefined;
4383
+ })[];
4384
+ crossId: string;
4385
+ crossType: "start" | "middle" | "end";
4386
+ comment?: string | undefined;
4387
+ app?: {
4388
+ id: string;
4389
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4390
+ name: string;
4391
+ description?: string | undefined;
4392
+ website?: string | undefined;
4393
+ icon?: string | undefined;
4394
+ } | undefined;
4395
+ } | {
4396
+ type: "CrossAccountAction";
4397
+ timestamp: number;
4398
+ order: number;
4399
+ action: "cross-trade";
4400
+ source: string;
4401
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
4402
+ transfers: ({
4403
+ asset: {
4404
+ symbol: string;
4405
+ type: "CryptoCurrency";
4406
+ id: string;
4407
+ name: string;
4408
+ market: {
4409
+ coingeckoId?: string | undefined;
4410
+ marketCapUsd?: {
4411
+ value: bigint;
4412
+ decimals: number;
4413
+ } | undefined;
4414
+ };
4415
+ updatedAt: number;
4416
+ icon?: string | undefined;
4417
+ } | {
4418
+ symbol: string;
4419
+ type: "FiatCurrency";
4420
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4421
+ name: string;
4422
+ icon?: string | undefined;
4423
+ } | {
4424
+ type: "Nft";
4425
+ id: string;
4426
+ };
4427
+ amount: {
4428
+ value: bigint;
4429
+ decimals: number;
4430
+ };
4431
+ direction: "in";
4432
+ price?: {
4433
+ cryptoCurrencyId: string;
4434
+ fiatCurrencyId: string;
4435
+ price: {
4436
+ value: bigint;
4437
+ decimals: number;
4438
+ };
4439
+ timestamp: number;
4440
+ } | undefined;
4441
+ from?: string | undefined;
4442
+ to?: string | undefined;
4443
+ } | {
4444
+ asset: {
4445
+ symbol: string;
4446
+ type: "CryptoCurrency";
4447
+ id: string;
4448
+ name: string;
4449
+ market: {
4450
+ coingeckoId?: string | undefined;
4451
+ marketCapUsd?: {
4452
+ value: bigint;
4453
+ decimals: number;
4454
+ } | undefined;
4455
+ };
4456
+ updatedAt: number;
4457
+ icon?: string | undefined;
4458
+ } | {
4459
+ symbol: string;
4460
+ type: "FiatCurrency";
4461
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4462
+ name: string;
4463
+ icon?: string | undefined;
4464
+ } | {
4465
+ type: "Nft";
4466
+ id: string;
4467
+ };
4468
+ amount: {
4469
+ value: bigint;
4470
+ decimals: number;
4471
+ };
4472
+ direction: "out";
4473
+ price?: {
4474
+ cryptoCurrencyId: string;
4475
+ fiatCurrencyId: string;
4476
+ price: {
4477
+ value: bigint;
4478
+ decimals: number;
4479
+ };
4480
+ timestamp: number;
4481
+ } | undefined;
4482
+ from?: string | undefined;
4483
+ to?: string | undefined;
4484
+ })[];
4485
+ crossId: string;
4486
+ crossType: "start" | "middle" | "end";
4487
+ comment?: string | undefined;
4488
+ app?: {
4489
+ id: string;
4490
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4491
+ name: string;
4492
+ description?: string | undefined;
4493
+ website?: string | undefined;
4494
+ icon?: string | undefined;
4495
+ } | undefined;
4496
+ })[];
11
4497
  }>;
12
4498
  //# sourceMappingURL=crossActionBundle.d.ts.map