@0xtorch/core 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/_cjs/assets/definitions/index.js +3 -1
  2. package/_cjs/assets/definitions/index.js.map +1 -1
  3. package/_cjs/assets/definitions/solana.js +17 -0
  4. package/_cjs/assets/definitions/solana.js.map +1 -0
  5. package/_cjs/assets/index.js +2 -1
  6. package/_cjs/assets/index.js.map +1 -1
  7. package/_cjs/index.js +4 -1
  8. package/_cjs/index.js.map +1 -1
  9. package/_cjs/setAccountActionPrices.js +73 -0
  10. package/_cjs/setAccountActionPrices.js.map +1 -0
  11. package/_esm/assets/definitions/index.js +1 -0
  12. package/_esm/assets/definitions/index.js.map +1 -1
  13. package/_esm/assets/definitions/solana.js +14 -0
  14. package/_esm/assets/definitions/solana.js.map +1 -0
  15. package/_esm/assets/index.js +1 -1
  16. package/_esm/assets/index.js.map +1 -1
  17. package/_esm/index.js +2 -1
  18. package/_esm/index.js.map +1 -1
  19. package/_esm/setAccountActionPrices.js +72 -0
  20. package/_esm/setAccountActionPrices.js.map +1 -0
  21. package/_types/assets/definitions/index.d.ts +1 -0
  22. package/_types/assets/definitions/index.d.ts.map +1 -1
  23. package/_types/assets/definitions/solana.d.ts +13 -0
  24. package/_types/assets/definitions/solana.d.ts.map +1 -0
  25. package/_types/assets/index.d.ts +1 -1
  26. package/_types/assets/index.d.ts.map +1 -1
  27. package/_types/index.d.ts +2 -1
  28. package/_types/index.d.ts.map +1 -1
  29. package/_types/setAccountActionPrices.d.ts +3631 -0
  30. package/_types/setAccountActionPrices.d.ts.map +1 -0
  31. package/assets/definitions/index.ts +1 -0
  32. package/assets/definitions/solana.ts +14 -0
  33. package/assets/index.ts +1 -0
  34. package/index.ts +2 -0
  35. package/package.json +1 -1
  36. package/setAccountActionPrices.ts +123 -0
  37. package/.DS_Store +0 -0
  38. package/actions/.DS_Store +0 -0
  39. package/assets/.DS_Store +0 -0
@@ -0,0 +1,3631 @@
1
+ import type { AccountAction } from './actions';
2
+ import type { CryptoCurrencyDataSource, FiatCurrency } from './assets';
3
+ type SetAccountActionPricesParameters = {
4
+ readonly actions: readonly AccountAction[];
5
+ readonly fiat: FiatCurrency;
6
+ readonly cryptoCurrencyDataSource: CryptoCurrencyDataSource;
7
+ };
8
+ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDataSource, }: SetAccountActionPricesParameters) => Promise<({
9
+ comment: string | undefined;
10
+ app: {
11
+ description: string | undefined;
12
+ website: string | undefined;
13
+ icon: string | undefined;
14
+ id: string;
15
+ name: string;
16
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
17
+ } | undefined;
18
+ type: "LoanAccountAction";
19
+ timestamp: number;
20
+ order: number;
21
+ action: "borrow";
22
+ source: string;
23
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
24
+ transfers: ({
25
+ from: string | undefined;
26
+ to: string | undefined;
27
+ price: {
28
+ cryptoCurrencyId: string;
29
+ fiatCurrencyId: string;
30
+ price: {
31
+ value: bigint;
32
+ decimals: number;
33
+ };
34
+ timestamp: number;
35
+ } | undefined;
36
+ asset: {
37
+ icon: string | undefined;
38
+ symbol: string;
39
+ type: "CryptoCurrency";
40
+ id: string;
41
+ name: string;
42
+ market: {
43
+ coingeckoId: string | undefined;
44
+ marketCapUsd: {
45
+ value: bigint;
46
+ decimals: number;
47
+ } | undefined;
48
+ };
49
+ updatedAt: number;
50
+ };
51
+ amount: {
52
+ value: bigint;
53
+ decimals: number;
54
+ };
55
+ direction: "in";
56
+ } | {
57
+ from: string | undefined;
58
+ to: string | undefined;
59
+ price: {
60
+ cryptoCurrencyId: string;
61
+ fiatCurrencyId: string;
62
+ price: {
63
+ value: bigint;
64
+ decimals: number;
65
+ };
66
+ timestamp: number;
67
+ } | undefined;
68
+ asset: {
69
+ type: "Nft";
70
+ id: string;
71
+ };
72
+ amount: {
73
+ value: bigint;
74
+ decimals: number;
75
+ };
76
+ direction: "in";
77
+ })[];
78
+ loanId: string;
79
+ } | {
80
+ comment: string | undefined;
81
+ app: {
82
+ description: string | undefined;
83
+ website: string | undefined;
84
+ icon: string | undefined;
85
+ id: string;
86
+ name: string;
87
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
88
+ } | undefined;
89
+ type: "CrossAccountAction";
90
+ timestamp: number;
91
+ order: number;
92
+ action: "bridge-from";
93
+ source: string;
94
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
95
+ transfers: ({
96
+ from: string | undefined;
97
+ to: string | undefined;
98
+ price: {
99
+ cryptoCurrencyId: string;
100
+ fiatCurrencyId: string;
101
+ price: {
102
+ value: bigint;
103
+ decimals: number;
104
+ };
105
+ timestamp: number;
106
+ } | undefined;
107
+ asset: {
108
+ icon: string | undefined;
109
+ symbol: string;
110
+ type: "CryptoCurrency";
111
+ id: string;
112
+ name: string;
113
+ market: {
114
+ coingeckoId: string | undefined;
115
+ marketCapUsd: {
116
+ value: bigint;
117
+ decimals: number;
118
+ } | undefined;
119
+ };
120
+ updatedAt: number;
121
+ };
122
+ amount: {
123
+ value: bigint;
124
+ decimals: number;
125
+ };
126
+ direction: "out";
127
+ } | {
128
+ from: string | undefined;
129
+ to: string | undefined;
130
+ price: {
131
+ cryptoCurrencyId: string;
132
+ fiatCurrencyId: string;
133
+ price: {
134
+ value: bigint;
135
+ decimals: number;
136
+ };
137
+ timestamp: number;
138
+ } | undefined;
139
+ asset: {
140
+ type: "Nft";
141
+ id: string;
142
+ };
143
+ amount: {
144
+ value: bigint;
145
+ decimals: number;
146
+ };
147
+ direction: "out";
148
+ })[];
149
+ crossId: string;
150
+ crossType: "start" | "middle" | "end";
151
+ } | {
152
+ comment: string | undefined;
153
+ app: {
154
+ description: string | undefined;
155
+ website: string | undefined;
156
+ icon: string | undefined;
157
+ id: string;
158
+ name: string;
159
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
160
+ } | undefined;
161
+ type: "CrossAccountAction";
162
+ timestamp: number;
163
+ order: number;
164
+ action: "bridge-to";
165
+ source: string;
166
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
167
+ transfers: ({
168
+ from: string | undefined;
169
+ to: string | undefined;
170
+ price: {
171
+ cryptoCurrencyId: string;
172
+ fiatCurrencyId: string;
173
+ price: {
174
+ value: bigint;
175
+ decimals: number;
176
+ };
177
+ timestamp: number;
178
+ } | undefined;
179
+ asset: {
180
+ icon: string | undefined;
181
+ symbol: string;
182
+ type: "CryptoCurrency";
183
+ id: string;
184
+ name: string;
185
+ market: {
186
+ coingeckoId: string | undefined;
187
+ marketCapUsd: {
188
+ value: bigint;
189
+ decimals: number;
190
+ } | undefined;
191
+ };
192
+ updatedAt: number;
193
+ };
194
+ amount: {
195
+ value: bigint;
196
+ decimals: number;
197
+ };
198
+ direction: "in";
199
+ } | {
200
+ from: string | undefined;
201
+ to: string | undefined;
202
+ price: {
203
+ cryptoCurrencyId: string;
204
+ fiatCurrencyId: string;
205
+ price: {
206
+ value: bigint;
207
+ decimals: number;
208
+ };
209
+ timestamp: number;
210
+ } | undefined;
211
+ asset: {
212
+ type: "Nft";
213
+ id: string;
214
+ };
215
+ amount: {
216
+ value: bigint;
217
+ decimals: number;
218
+ };
219
+ direction: "in";
220
+ })[];
221
+ crossId: string;
222
+ crossType: "start" | "middle" | "end";
223
+ } | {
224
+ comment: string | undefined;
225
+ app: {
226
+ description: string | undefined;
227
+ website: string | undefined;
228
+ icon: string | undefined;
229
+ id: string;
230
+ name: string;
231
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
232
+ } | undefined;
233
+ type: "CrossAccountAction";
234
+ timestamp: number;
235
+ order: number;
236
+ action: "cross-replace";
237
+ source: string;
238
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
239
+ transfers: ({
240
+ from: string | undefined;
241
+ to: string | undefined;
242
+ price: {
243
+ cryptoCurrencyId: string;
244
+ fiatCurrencyId: string;
245
+ price: {
246
+ value: bigint;
247
+ decimals: number;
248
+ };
249
+ timestamp: number;
250
+ } | undefined;
251
+ asset: {
252
+ icon: string | undefined;
253
+ symbol: string;
254
+ type: "CryptoCurrency";
255
+ id: string;
256
+ name: string;
257
+ market: {
258
+ coingeckoId: string | undefined;
259
+ marketCapUsd: {
260
+ value: bigint;
261
+ decimals: number;
262
+ } | undefined;
263
+ };
264
+ updatedAt: number;
265
+ } | {
266
+ icon: string | undefined;
267
+ symbol: string;
268
+ type: "FiatCurrency";
269
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
270
+ name: string;
271
+ } | {
272
+ type: "Nft";
273
+ id: string;
274
+ };
275
+ amount: {
276
+ value: bigint;
277
+ decimals: number;
278
+ };
279
+ direction: "in";
280
+ } | {
281
+ from: string | undefined;
282
+ to: string | undefined;
283
+ price: {
284
+ cryptoCurrencyId: string;
285
+ fiatCurrencyId: string;
286
+ price: {
287
+ value: bigint;
288
+ decimals: number;
289
+ };
290
+ timestamp: number;
291
+ } | undefined;
292
+ asset: {
293
+ icon: string | undefined;
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
+ } | {
307
+ icon: string | undefined;
308
+ symbol: string;
309
+ type: "FiatCurrency";
310
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
311
+ name: string;
312
+ } | {
313
+ type: "Nft";
314
+ id: string;
315
+ };
316
+ amount: {
317
+ value: bigint;
318
+ decimals: number;
319
+ };
320
+ direction: "out";
321
+ })[];
322
+ crossId: string;
323
+ crossType: "start" | "middle" | "end";
324
+ } | {
325
+ comment: string | undefined;
326
+ app: {
327
+ description: string | undefined;
328
+ website: string | undefined;
329
+ icon: string | undefined;
330
+ id: string;
331
+ name: string;
332
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
333
+ } | undefined;
334
+ type: "CrossAccountAction";
335
+ timestamp: number;
336
+ order: number;
337
+ action: "cross-trade";
338
+ source: string;
339
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
340
+ transfers: ({
341
+ from: string | undefined;
342
+ to: string | undefined;
343
+ price: {
344
+ cryptoCurrencyId: string;
345
+ fiatCurrencyId: string;
346
+ price: {
347
+ value: bigint;
348
+ decimals: number;
349
+ };
350
+ timestamp: number;
351
+ } | undefined;
352
+ asset: {
353
+ icon: string | undefined;
354
+ symbol: string;
355
+ type: "CryptoCurrency";
356
+ id: string;
357
+ name: string;
358
+ market: {
359
+ coingeckoId: string | undefined;
360
+ marketCapUsd: {
361
+ value: bigint;
362
+ decimals: number;
363
+ } | undefined;
364
+ };
365
+ updatedAt: number;
366
+ } | {
367
+ icon: string | undefined;
368
+ symbol: string;
369
+ type: "FiatCurrency";
370
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
371
+ name: string;
372
+ } | {
373
+ type: "Nft";
374
+ id: string;
375
+ };
376
+ amount: {
377
+ value: bigint;
378
+ decimals: number;
379
+ };
380
+ direction: "in";
381
+ } | {
382
+ from: string | undefined;
383
+ to: string | undefined;
384
+ price: {
385
+ cryptoCurrencyId: string;
386
+ fiatCurrencyId: string;
387
+ price: {
388
+ value: bigint;
389
+ decimals: number;
390
+ };
391
+ timestamp: number;
392
+ } | undefined;
393
+ asset: {
394
+ icon: string | undefined;
395
+ symbol: string;
396
+ type: "CryptoCurrency";
397
+ id: string;
398
+ name: string;
399
+ market: {
400
+ coingeckoId: string | undefined;
401
+ marketCapUsd: {
402
+ value: bigint;
403
+ decimals: number;
404
+ } | undefined;
405
+ };
406
+ updatedAt: number;
407
+ } | {
408
+ icon: string | undefined;
409
+ symbol: string;
410
+ type: "FiatCurrency";
411
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
412
+ name: string;
413
+ } | {
414
+ type: "Nft";
415
+ id: string;
416
+ };
417
+ amount: {
418
+ value: bigint;
419
+ decimals: number;
420
+ };
421
+ direction: "out";
422
+ })[];
423
+ crossId: string;
424
+ crossType: "start" | "middle" | "end";
425
+ } | {
426
+ comment: string | undefined;
427
+ app: {
428
+ description: string | undefined;
429
+ website: string | undefined;
430
+ icon: string | undefined;
431
+ id: string;
432
+ name: string;
433
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
434
+ } | undefined;
435
+ type: "LoanAccountAction";
436
+ timestamp: number;
437
+ order: number;
438
+ action: "add-liquidity";
439
+ source: string;
440
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
441
+ transfers: ({
442
+ from: string | undefined;
443
+ to: string | undefined;
444
+ price: {
445
+ cryptoCurrencyId: string;
446
+ fiatCurrencyId: string;
447
+ price: {
448
+ value: bigint;
449
+ decimals: number;
450
+ };
451
+ timestamp: number;
452
+ } | undefined;
453
+ asset: {
454
+ icon: string | undefined;
455
+ symbol: string;
456
+ type: "CryptoCurrency";
457
+ id: string;
458
+ name: string;
459
+ market: {
460
+ coingeckoId: string | undefined;
461
+ marketCapUsd: {
462
+ value: bigint;
463
+ decimals: number;
464
+ } | undefined;
465
+ };
466
+ updatedAt: number;
467
+ };
468
+ amount: {
469
+ value: bigint;
470
+ decimals: number;
471
+ };
472
+ direction: "in";
473
+ } | {
474
+ from: string | undefined;
475
+ to: string | undefined;
476
+ price: {
477
+ cryptoCurrencyId: string;
478
+ fiatCurrencyId: string;
479
+ price: {
480
+ value: bigint;
481
+ decimals: number;
482
+ };
483
+ timestamp: number;
484
+ } | undefined;
485
+ asset: {
486
+ type: "Nft";
487
+ id: string;
488
+ };
489
+ amount: {
490
+ value: bigint;
491
+ decimals: number;
492
+ };
493
+ direction: "in";
494
+ } | {
495
+ from: string | undefined;
496
+ to: string | undefined;
497
+ price: {
498
+ cryptoCurrencyId: string;
499
+ fiatCurrencyId: string;
500
+ price: {
501
+ value: bigint;
502
+ decimals: number;
503
+ };
504
+ timestamp: number;
505
+ } | undefined;
506
+ asset: {
507
+ icon: string | undefined;
508
+ symbol: string;
509
+ type: "CryptoCurrency";
510
+ id: string;
511
+ name: string;
512
+ market: {
513
+ coingeckoId: string | undefined;
514
+ marketCapUsd: {
515
+ value: bigint;
516
+ decimals: number;
517
+ } | undefined;
518
+ };
519
+ updatedAt: number;
520
+ };
521
+ amount: {
522
+ value: bigint;
523
+ decimals: number;
524
+ };
525
+ direction: "out";
526
+ } | {
527
+ from: string | undefined;
528
+ to: string | undefined;
529
+ price: {
530
+ cryptoCurrencyId: string;
531
+ fiatCurrencyId: string;
532
+ price: {
533
+ value: bigint;
534
+ decimals: number;
535
+ };
536
+ timestamp: number;
537
+ } | undefined;
538
+ asset: {
539
+ type: "Nft";
540
+ id: string;
541
+ };
542
+ amount: {
543
+ value: bigint;
544
+ decimals: number;
545
+ };
546
+ direction: "out";
547
+ })[];
548
+ loanId: string;
549
+ } | {
550
+ comment: string | undefined;
551
+ app: {
552
+ description: string | undefined;
553
+ website: string | undefined;
554
+ icon: string | undefined;
555
+ id: string;
556
+ name: string;
557
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
558
+ } | undefined;
559
+ type: "LoanAccountAction";
560
+ timestamp: number;
561
+ order: number;
562
+ action: "deposit";
563
+ source: string;
564
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
565
+ transfers: ({
566
+ from: string | undefined;
567
+ to: string | undefined;
568
+ price: {
569
+ cryptoCurrencyId: string;
570
+ fiatCurrencyId: string;
571
+ price: {
572
+ value: bigint;
573
+ decimals: number;
574
+ };
575
+ timestamp: number;
576
+ } | undefined;
577
+ asset: {
578
+ icon: string | undefined;
579
+ symbol: string;
580
+ type: "CryptoCurrency";
581
+ id: string;
582
+ name: string;
583
+ market: {
584
+ coingeckoId: string | undefined;
585
+ marketCapUsd: {
586
+ value: bigint;
587
+ decimals: number;
588
+ } | undefined;
589
+ };
590
+ updatedAt: number;
591
+ };
592
+ amount: {
593
+ value: bigint;
594
+ decimals: number;
595
+ };
596
+ direction: "out";
597
+ } | {
598
+ from: string | undefined;
599
+ to: string | undefined;
600
+ price: {
601
+ cryptoCurrencyId: string;
602
+ fiatCurrencyId: string;
603
+ price: {
604
+ value: bigint;
605
+ decimals: number;
606
+ };
607
+ timestamp: number;
608
+ } | undefined;
609
+ asset: {
610
+ type: "Nft";
611
+ id: string;
612
+ };
613
+ amount: {
614
+ value: bigint;
615
+ decimals: number;
616
+ };
617
+ direction: "out";
618
+ })[];
619
+ loanId: string;
620
+ } | {
621
+ comment: string | undefined;
622
+ app: {
623
+ description: string | undefined;
624
+ website: string | undefined;
625
+ icon: string | undefined;
626
+ id: string;
627
+ name: string;
628
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
629
+ } | undefined;
630
+ type: "LoanAccountAction";
631
+ timestamp: number;
632
+ order: number;
633
+ action: "deposit-with-bond";
634
+ source: string;
635
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
636
+ transfers: ({
637
+ from: string | undefined;
638
+ to: string | undefined;
639
+ price: {
640
+ cryptoCurrencyId: string;
641
+ fiatCurrencyId: string;
642
+ price: {
643
+ value: bigint;
644
+ decimals: number;
645
+ };
646
+ timestamp: number;
647
+ } | undefined;
648
+ asset: {
649
+ icon: string | undefined;
650
+ symbol: string;
651
+ type: "CryptoCurrency";
652
+ id: string;
653
+ name: string;
654
+ market: {
655
+ coingeckoId: string | undefined;
656
+ marketCapUsd: {
657
+ value: bigint;
658
+ decimals: number;
659
+ } | undefined;
660
+ };
661
+ updatedAt: number;
662
+ };
663
+ amount: {
664
+ value: bigint;
665
+ decimals: number;
666
+ };
667
+ direction: "in";
668
+ } | {
669
+ from: string | undefined;
670
+ to: string | undefined;
671
+ price: {
672
+ cryptoCurrencyId: string;
673
+ fiatCurrencyId: string;
674
+ price: {
675
+ value: bigint;
676
+ decimals: number;
677
+ };
678
+ timestamp: number;
679
+ } | undefined;
680
+ asset: {
681
+ type: "Nft";
682
+ id: string;
683
+ };
684
+ amount: {
685
+ value: bigint;
686
+ decimals: number;
687
+ };
688
+ direction: "in";
689
+ } | {
690
+ from: string | undefined;
691
+ to: string | undefined;
692
+ price: {
693
+ cryptoCurrencyId: string;
694
+ fiatCurrencyId: string;
695
+ price: {
696
+ value: bigint;
697
+ decimals: number;
698
+ };
699
+ timestamp: number;
700
+ } | undefined;
701
+ asset: {
702
+ icon: string | undefined;
703
+ symbol: string;
704
+ type: "CryptoCurrency";
705
+ id: string;
706
+ name: string;
707
+ market: {
708
+ coingeckoId: string | undefined;
709
+ marketCapUsd: {
710
+ value: bigint;
711
+ decimals: number;
712
+ } | undefined;
713
+ };
714
+ updatedAt: number;
715
+ };
716
+ amount: {
717
+ value: bigint;
718
+ decimals: number;
719
+ };
720
+ direction: "out";
721
+ } | {
722
+ from: string | undefined;
723
+ to: string | undefined;
724
+ price: {
725
+ cryptoCurrencyId: string;
726
+ fiatCurrencyId: string;
727
+ price: {
728
+ value: bigint;
729
+ decimals: number;
730
+ };
731
+ timestamp: number;
732
+ } | undefined;
733
+ asset: {
734
+ type: "Nft";
735
+ id: string;
736
+ };
737
+ amount: {
738
+ value: bigint;
739
+ decimals: number;
740
+ };
741
+ direction: "out";
742
+ })[];
743
+ loanId: string;
744
+ } | {
745
+ comment: string | undefined;
746
+ app: {
747
+ description: string | undefined;
748
+ website: string | undefined;
749
+ icon: string | undefined;
750
+ id: string;
751
+ name: string;
752
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
753
+ } | undefined;
754
+ type: "LoanAccountAction";
755
+ timestamp: number;
756
+ order: number;
757
+ action: "stake";
758
+ source: string;
759
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
760
+ transfers: ({
761
+ from: string | undefined;
762
+ to: string | undefined;
763
+ price: {
764
+ cryptoCurrencyId: string;
765
+ fiatCurrencyId: string;
766
+ price: {
767
+ value: bigint;
768
+ decimals: number;
769
+ };
770
+ timestamp: number;
771
+ } | undefined;
772
+ asset: {
773
+ icon: string | undefined;
774
+ symbol: string;
775
+ type: "CryptoCurrency";
776
+ id: string;
777
+ name: string;
778
+ market: {
779
+ coingeckoId: string | undefined;
780
+ marketCapUsd: {
781
+ value: bigint;
782
+ decimals: number;
783
+ } | undefined;
784
+ };
785
+ updatedAt: number;
786
+ };
787
+ amount: {
788
+ value: bigint;
789
+ decimals: number;
790
+ };
791
+ direction: "out";
792
+ } | {
793
+ from: string | undefined;
794
+ to: string | undefined;
795
+ price: {
796
+ cryptoCurrencyId: string;
797
+ fiatCurrencyId: string;
798
+ price: {
799
+ value: bigint;
800
+ decimals: number;
801
+ };
802
+ timestamp: number;
803
+ } | undefined;
804
+ asset: {
805
+ type: "Nft";
806
+ id: string;
807
+ };
808
+ amount: {
809
+ value: bigint;
810
+ decimals: number;
811
+ };
812
+ direction: "out";
813
+ })[];
814
+ loanId: string;
815
+ } | {
816
+ comment: string | undefined;
817
+ app: {
818
+ description: string | undefined;
819
+ website: string | undefined;
820
+ icon: string | undefined;
821
+ id: string;
822
+ name: string;
823
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
824
+ } | undefined;
825
+ type: "NormalAccountAction";
826
+ timestamp: number;
827
+ order: number;
828
+ action: "fee";
829
+ source: string;
830
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
831
+ transfers: ({
832
+ from: string | undefined;
833
+ to: string | undefined;
834
+ price: {
835
+ cryptoCurrencyId: string;
836
+ fiatCurrencyId: string;
837
+ price: {
838
+ value: bigint;
839
+ decimals: number;
840
+ };
841
+ timestamp: number;
842
+ } | undefined;
843
+ asset: {
844
+ icon: string | undefined;
845
+ symbol: string;
846
+ type: "CryptoCurrency";
847
+ id: string;
848
+ name: string;
849
+ market: {
850
+ coingeckoId: string | undefined;
851
+ marketCapUsd: {
852
+ value: bigint;
853
+ decimals: number;
854
+ } | undefined;
855
+ };
856
+ updatedAt: number;
857
+ };
858
+ amount: {
859
+ value: bigint;
860
+ decimals: number;
861
+ };
862
+ direction: "out";
863
+ } | {
864
+ from: string | undefined;
865
+ to: string | undefined;
866
+ price: {
867
+ cryptoCurrencyId: string;
868
+ fiatCurrencyId: string;
869
+ price: {
870
+ value: bigint;
871
+ decimals: number;
872
+ };
873
+ timestamp: number;
874
+ } | undefined;
875
+ asset: {
876
+ icon: string | undefined;
877
+ symbol: string;
878
+ type: "FiatCurrency";
879
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
880
+ name: string;
881
+ };
882
+ amount: {
883
+ value: bigint;
884
+ decimals: number;
885
+ };
886
+ direction: "out";
887
+ })[];
888
+ } | {
889
+ comment: string | undefined;
890
+ app: {
891
+ description: string | undefined;
892
+ website: string | undefined;
893
+ icon: string | undefined;
894
+ id: string;
895
+ name: string;
896
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
897
+ } | undefined;
898
+ type: "NormalAccountAction";
899
+ timestamp: number;
900
+ order: number;
901
+ action: "transaction-fee";
902
+ source: string;
903
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
904
+ transfers: {
905
+ from: string | undefined;
906
+ to: string | undefined;
907
+ price: {
908
+ cryptoCurrencyId: string;
909
+ fiatCurrencyId: string;
910
+ price: {
911
+ value: bigint;
912
+ decimals: number;
913
+ };
914
+ timestamp: number;
915
+ } | undefined;
916
+ asset: {
917
+ icon: string | undefined;
918
+ symbol: string;
919
+ type: "CryptoCurrency";
920
+ id: string;
921
+ name: string;
922
+ market: {
923
+ coingeckoId: string | undefined;
924
+ marketCapUsd: {
925
+ value: bigint;
926
+ decimals: number;
927
+ } | undefined;
928
+ };
929
+ updatedAt: number;
930
+ };
931
+ amount: {
932
+ value: bigint;
933
+ decimals: number;
934
+ };
935
+ direction: "out";
936
+ }[];
937
+ } | {
938
+ comment: string | undefined;
939
+ app: {
940
+ description: string | undefined;
941
+ website: string | undefined;
942
+ icon: string | undefined;
943
+ id: string;
944
+ name: string;
945
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
946
+ } | undefined;
947
+ type: "NormalAccountAction";
948
+ timestamp: number;
949
+ order: number;
950
+ action: "approve";
951
+ source: string;
952
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
953
+ transfers: [];
954
+ } | {
955
+ comment: string | undefined;
956
+ app: {
957
+ description: string | undefined;
958
+ website: string | undefined;
959
+ icon: string | undefined;
960
+ id: string;
961
+ name: string;
962
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
963
+ } | undefined;
964
+ type: "NormalAccountAction";
965
+ timestamp: number;
966
+ order: number;
967
+ action: "fail-tx";
968
+ source: string;
969
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
970
+ transfers: [];
971
+ } | {
972
+ comment: string | undefined;
973
+ app: {
974
+ description: string | undefined;
975
+ website: string | undefined;
976
+ icon: string | undefined;
977
+ id: string;
978
+ name: string;
979
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
980
+ } | undefined;
981
+ type: "NormalAccountAction";
982
+ timestamp: number;
983
+ order: number;
984
+ action: "ignore";
985
+ source: string;
986
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
987
+ transfers: ({
988
+ from: string | undefined;
989
+ to: string | undefined;
990
+ price: {
991
+ cryptoCurrencyId: string;
992
+ fiatCurrencyId: string;
993
+ price: {
994
+ value: bigint;
995
+ decimals: number;
996
+ };
997
+ timestamp: number;
998
+ } | undefined;
999
+ asset: {
1000
+ icon: string | undefined;
1001
+ symbol: string;
1002
+ type: "CryptoCurrency";
1003
+ id: string;
1004
+ name: string;
1005
+ market: {
1006
+ coingeckoId: string | undefined;
1007
+ marketCapUsd: {
1008
+ value: bigint;
1009
+ decimals: number;
1010
+ } | undefined;
1011
+ };
1012
+ updatedAt: number;
1013
+ } | {
1014
+ icon: string | undefined;
1015
+ symbol: string;
1016
+ type: "FiatCurrency";
1017
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1018
+ name: string;
1019
+ } | {
1020
+ type: "Nft";
1021
+ id: string;
1022
+ };
1023
+ amount: {
1024
+ value: bigint;
1025
+ decimals: number;
1026
+ };
1027
+ direction: "in";
1028
+ } | {
1029
+ from: string | undefined;
1030
+ to: string | undefined;
1031
+ price: {
1032
+ cryptoCurrencyId: string;
1033
+ fiatCurrencyId: string;
1034
+ price: {
1035
+ value: bigint;
1036
+ decimals: number;
1037
+ };
1038
+ timestamp: number;
1039
+ } | undefined;
1040
+ asset: {
1041
+ icon: string | undefined;
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
+ } | {
1055
+ icon: string | undefined;
1056
+ symbol: string;
1057
+ type: "FiatCurrency";
1058
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1059
+ name: string;
1060
+ } | {
1061
+ type: "Nft";
1062
+ id: string;
1063
+ };
1064
+ amount: {
1065
+ value: bigint;
1066
+ decimals: number;
1067
+ };
1068
+ direction: "out";
1069
+ } | {
1070
+ from: string | undefined;
1071
+ to: string | undefined;
1072
+ price: {
1073
+ cryptoCurrencyId: string;
1074
+ fiatCurrencyId: string;
1075
+ price: {
1076
+ value: bigint;
1077
+ decimals: number;
1078
+ };
1079
+ timestamp: number;
1080
+ } | undefined;
1081
+ asset: {
1082
+ icon: string | undefined;
1083
+ symbol: string;
1084
+ type: "CryptoCurrency";
1085
+ id: string;
1086
+ name: string;
1087
+ market: {
1088
+ coingeckoId: string | undefined;
1089
+ marketCapUsd: {
1090
+ value: bigint;
1091
+ decimals: number;
1092
+ } | undefined;
1093
+ };
1094
+ updatedAt: number;
1095
+ } | {
1096
+ icon: string | undefined;
1097
+ symbol: string;
1098
+ type: "FiatCurrency";
1099
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1100
+ name: string;
1101
+ } | {
1102
+ type: "Nft";
1103
+ id: string;
1104
+ };
1105
+ amount: {
1106
+ value: bigint;
1107
+ decimals: number;
1108
+ };
1109
+ direction: "none";
1110
+ })[];
1111
+ } | {
1112
+ comment: string | undefined;
1113
+ app: {
1114
+ description: string | undefined;
1115
+ website: string | undefined;
1116
+ icon: string | undefined;
1117
+ id: string;
1118
+ name: string;
1119
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1120
+ } | undefined;
1121
+ type: "NormalAccountAction";
1122
+ timestamp: number;
1123
+ order: number;
1124
+ action: "move";
1125
+ source: string;
1126
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1127
+ transfers: ({
1128
+ from: string | undefined;
1129
+ to: string | undefined;
1130
+ price: {
1131
+ cryptoCurrencyId: string;
1132
+ fiatCurrencyId: string;
1133
+ price: {
1134
+ value: bigint;
1135
+ decimals: number;
1136
+ };
1137
+ timestamp: number;
1138
+ } | undefined;
1139
+ asset: {
1140
+ icon: string | undefined;
1141
+ symbol: string;
1142
+ type: "CryptoCurrency";
1143
+ id: string;
1144
+ name: string;
1145
+ market: {
1146
+ coingeckoId: string | undefined;
1147
+ marketCapUsd: {
1148
+ value: bigint;
1149
+ decimals: number;
1150
+ } | undefined;
1151
+ };
1152
+ updatedAt: number;
1153
+ } | {
1154
+ icon: string | undefined;
1155
+ symbol: string;
1156
+ type: "FiatCurrency";
1157
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1158
+ name: string;
1159
+ } | {
1160
+ type: "Nft";
1161
+ id: string;
1162
+ };
1163
+ amount: {
1164
+ value: bigint;
1165
+ decimals: number;
1166
+ };
1167
+ direction: "in";
1168
+ } | {
1169
+ from: string | undefined;
1170
+ to: string | undefined;
1171
+ price: {
1172
+ cryptoCurrencyId: string;
1173
+ fiatCurrencyId: string;
1174
+ price: {
1175
+ value: bigint;
1176
+ decimals: number;
1177
+ };
1178
+ timestamp: number;
1179
+ } | undefined;
1180
+ asset: {
1181
+ icon: string | undefined;
1182
+ symbol: string;
1183
+ type: "CryptoCurrency";
1184
+ id: string;
1185
+ name: string;
1186
+ market: {
1187
+ coingeckoId: string | undefined;
1188
+ marketCapUsd: {
1189
+ value: bigint;
1190
+ decimals: number;
1191
+ } | undefined;
1192
+ };
1193
+ updatedAt: number;
1194
+ } | {
1195
+ icon: string | undefined;
1196
+ symbol: string;
1197
+ type: "FiatCurrency";
1198
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1199
+ name: string;
1200
+ } | {
1201
+ type: "Nft";
1202
+ id: string;
1203
+ };
1204
+ amount: {
1205
+ value: bigint;
1206
+ decimals: number;
1207
+ };
1208
+ direction: "out";
1209
+ } | {
1210
+ from: string | undefined;
1211
+ to: string | undefined;
1212
+ price: {
1213
+ cryptoCurrencyId: string;
1214
+ fiatCurrencyId: string;
1215
+ price: {
1216
+ value: bigint;
1217
+ decimals: number;
1218
+ };
1219
+ timestamp: number;
1220
+ } | undefined;
1221
+ asset: {
1222
+ icon: string | undefined;
1223
+ symbol: string;
1224
+ type: "CryptoCurrency";
1225
+ id: string;
1226
+ name: string;
1227
+ market: {
1228
+ coingeckoId: string | undefined;
1229
+ marketCapUsd: {
1230
+ value: bigint;
1231
+ decimals: number;
1232
+ } | undefined;
1233
+ };
1234
+ updatedAt: number;
1235
+ } | {
1236
+ icon: string | undefined;
1237
+ symbol: string;
1238
+ type: "FiatCurrency";
1239
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1240
+ name: string;
1241
+ } | {
1242
+ type: "Nft";
1243
+ id: string;
1244
+ };
1245
+ amount: {
1246
+ value: bigint;
1247
+ decimals: number;
1248
+ };
1249
+ direction: "none";
1250
+ })[];
1251
+ } | {
1252
+ comment: string | undefined;
1253
+ app: {
1254
+ description: string | undefined;
1255
+ website: string | undefined;
1256
+ icon: string | undefined;
1257
+ id: string;
1258
+ name: string;
1259
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1260
+ } | undefined;
1261
+ type: "NormalAccountAction";
1262
+ timestamp: number;
1263
+ order: number;
1264
+ action: "receive-from-cex";
1265
+ source: string;
1266
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1267
+ transfers: ({
1268
+ from: string | undefined;
1269
+ to: string | undefined;
1270
+ price: {
1271
+ cryptoCurrencyId: string;
1272
+ fiatCurrencyId: string;
1273
+ price: {
1274
+ value: bigint;
1275
+ decimals: number;
1276
+ };
1277
+ timestamp: number;
1278
+ } | undefined;
1279
+ asset: {
1280
+ icon: string | undefined;
1281
+ symbol: string;
1282
+ type: "CryptoCurrency";
1283
+ id: string;
1284
+ name: string;
1285
+ market: {
1286
+ coingeckoId: string | undefined;
1287
+ marketCapUsd: {
1288
+ value: bigint;
1289
+ decimals: number;
1290
+ } | undefined;
1291
+ };
1292
+ updatedAt: number;
1293
+ };
1294
+ amount: {
1295
+ value: bigint;
1296
+ decimals: number;
1297
+ };
1298
+ direction: "in";
1299
+ } | {
1300
+ from: string | undefined;
1301
+ to: string | undefined;
1302
+ price: {
1303
+ cryptoCurrencyId: string;
1304
+ fiatCurrencyId: string;
1305
+ price: {
1306
+ value: bigint;
1307
+ decimals: number;
1308
+ };
1309
+ timestamp: number;
1310
+ } | undefined;
1311
+ asset: {
1312
+ type: "Nft";
1313
+ id: string;
1314
+ };
1315
+ amount: {
1316
+ value: bigint;
1317
+ decimals: number;
1318
+ };
1319
+ direction: "in";
1320
+ })[];
1321
+ } | {
1322
+ comment: string | undefined;
1323
+ app: {
1324
+ description: string | undefined;
1325
+ website: string | undefined;
1326
+ icon: string | undefined;
1327
+ id: string;
1328
+ name: string;
1329
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1330
+ } | undefined;
1331
+ type: "NormalAccountAction";
1332
+ timestamp: number;
1333
+ order: number;
1334
+ action: "revoke";
1335
+ source: string;
1336
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1337
+ transfers: [];
1338
+ } | {
1339
+ comment: string | undefined;
1340
+ app: {
1341
+ description: string | undefined;
1342
+ website: string | undefined;
1343
+ icon: string | undefined;
1344
+ id: string;
1345
+ name: string;
1346
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1347
+ } | undefined;
1348
+ type: "NormalAccountAction";
1349
+ timestamp: number;
1350
+ order: number;
1351
+ action: "send-to-cex";
1352
+ source: string;
1353
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1354
+ transfers: ({
1355
+ from: string | undefined;
1356
+ to: string | undefined;
1357
+ price: {
1358
+ cryptoCurrencyId: string;
1359
+ fiatCurrencyId: string;
1360
+ price: {
1361
+ value: bigint;
1362
+ decimals: number;
1363
+ };
1364
+ timestamp: number;
1365
+ } | undefined;
1366
+ asset: {
1367
+ icon: string | undefined;
1368
+ symbol: string;
1369
+ type: "CryptoCurrency";
1370
+ id: string;
1371
+ name: string;
1372
+ market: {
1373
+ coingeckoId: string | undefined;
1374
+ marketCapUsd: {
1375
+ value: bigint;
1376
+ decimals: number;
1377
+ } | undefined;
1378
+ };
1379
+ updatedAt: number;
1380
+ };
1381
+ amount: {
1382
+ value: bigint;
1383
+ decimals: number;
1384
+ };
1385
+ direction: "out";
1386
+ } | {
1387
+ from: string | undefined;
1388
+ to: string | undefined;
1389
+ price: {
1390
+ cryptoCurrencyId: string;
1391
+ fiatCurrencyId: string;
1392
+ price: {
1393
+ value: bigint;
1394
+ decimals: number;
1395
+ };
1396
+ timestamp: number;
1397
+ } | undefined;
1398
+ asset: {
1399
+ type: "Nft";
1400
+ id: string;
1401
+ };
1402
+ amount: {
1403
+ value: bigint;
1404
+ decimals: number;
1405
+ };
1406
+ direction: "out";
1407
+ })[];
1408
+ } | {
1409
+ comment: string | undefined;
1410
+ app: {
1411
+ description: string | undefined;
1412
+ website: string | undefined;
1413
+ icon: string | undefined;
1414
+ id: string;
1415
+ name: string;
1416
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1417
+ } | undefined;
1418
+ type: "NormalAccountAction";
1419
+ timestamp: number;
1420
+ order: number;
1421
+ action: "spam";
1422
+ source: string;
1423
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1424
+ transfers: ({
1425
+ from: string | undefined;
1426
+ to: string | undefined;
1427
+ price: {
1428
+ cryptoCurrencyId: string;
1429
+ fiatCurrencyId: string;
1430
+ price: {
1431
+ value: bigint;
1432
+ decimals: number;
1433
+ };
1434
+ timestamp: number;
1435
+ } | undefined;
1436
+ asset: {
1437
+ icon: string | undefined;
1438
+ symbol: string;
1439
+ type: "CryptoCurrency";
1440
+ id: string;
1441
+ name: string;
1442
+ market: {
1443
+ coingeckoId: string | undefined;
1444
+ marketCapUsd: {
1445
+ value: bigint;
1446
+ decimals: number;
1447
+ } | undefined;
1448
+ };
1449
+ updatedAt: number;
1450
+ };
1451
+ amount: {
1452
+ value: bigint;
1453
+ decimals: number;
1454
+ };
1455
+ direction: "in";
1456
+ } | {
1457
+ from: string | undefined;
1458
+ to: string | undefined;
1459
+ price: {
1460
+ cryptoCurrencyId: string;
1461
+ fiatCurrencyId: string;
1462
+ price: {
1463
+ value: bigint;
1464
+ decimals: number;
1465
+ };
1466
+ timestamp: number;
1467
+ } | undefined;
1468
+ asset: {
1469
+ type: "Nft";
1470
+ id: string;
1471
+ };
1472
+ amount: {
1473
+ value: bigint;
1474
+ decimals: number;
1475
+ };
1476
+ direction: "in";
1477
+ } | {
1478
+ from: string | undefined;
1479
+ to: string | undefined;
1480
+ price: {
1481
+ cryptoCurrencyId: string;
1482
+ fiatCurrencyId: string;
1483
+ price: {
1484
+ value: bigint;
1485
+ decimals: number;
1486
+ };
1487
+ timestamp: number;
1488
+ } | undefined;
1489
+ asset: {
1490
+ icon: string | undefined;
1491
+ symbol: string;
1492
+ type: "CryptoCurrency";
1493
+ id: string;
1494
+ name: string;
1495
+ market: {
1496
+ coingeckoId: string | undefined;
1497
+ marketCapUsd: {
1498
+ value: bigint;
1499
+ decimals: number;
1500
+ } | undefined;
1501
+ };
1502
+ updatedAt: number;
1503
+ };
1504
+ amount: {
1505
+ value: bigint;
1506
+ decimals: number;
1507
+ };
1508
+ direction: "out";
1509
+ } | {
1510
+ from: string | undefined;
1511
+ to: string | undefined;
1512
+ price: {
1513
+ cryptoCurrencyId: string;
1514
+ fiatCurrencyId: string;
1515
+ price: {
1516
+ value: bigint;
1517
+ decimals: number;
1518
+ };
1519
+ timestamp: number;
1520
+ } | undefined;
1521
+ asset: {
1522
+ type: "Nft";
1523
+ id: string;
1524
+ };
1525
+ amount: {
1526
+ value: bigint;
1527
+ decimals: number;
1528
+ };
1529
+ direction: "out";
1530
+ })[];
1531
+ } | {
1532
+ comment: string | undefined;
1533
+ app: {
1534
+ description: string | undefined;
1535
+ website: string | undefined;
1536
+ icon: string | undefined;
1537
+ id: string;
1538
+ name: string;
1539
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1540
+ } | undefined;
1541
+ type: "NormalAccountAction";
1542
+ timestamp: number;
1543
+ order: number;
1544
+ action: "atomic-arbitrage";
1545
+ source: string;
1546
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1547
+ transfers: ({
1548
+ from: string | undefined;
1549
+ to: string | undefined;
1550
+ price: {
1551
+ cryptoCurrencyId: string;
1552
+ fiatCurrencyId: string;
1553
+ price: {
1554
+ value: bigint;
1555
+ decimals: number;
1556
+ };
1557
+ timestamp: number;
1558
+ } | undefined;
1559
+ asset: {
1560
+ icon: string | undefined;
1561
+ symbol: string;
1562
+ type: "CryptoCurrency";
1563
+ id: string;
1564
+ name: string;
1565
+ market: {
1566
+ coingeckoId: string | undefined;
1567
+ marketCapUsd: {
1568
+ value: bigint;
1569
+ decimals: number;
1570
+ } | undefined;
1571
+ };
1572
+ updatedAt: number;
1573
+ };
1574
+ amount: {
1575
+ value: bigint;
1576
+ decimals: number;
1577
+ };
1578
+ direction: "in";
1579
+ } | {
1580
+ from: string | undefined;
1581
+ to: string | undefined;
1582
+ price: {
1583
+ cryptoCurrencyId: string;
1584
+ fiatCurrencyId: string;
1585
+ price: {
1586
+ value: bigint;
1587
+ decimals: number;
1588
+ };
1589
+ timestamp: number;
1590
+ } | undefined;
1591
+ asset: {
1592
+ icon: string | undefined;
1593
+ symbol: string;
1594
+ type: "CryptoCurrency";
1595
+ id: string;
1596
+ name: string;
1597
+ market: {
1598
+ coingeckoId: string | undefined;
1599
+ marketCapUsd: {
1600
+ value: bigint;
1601
+ decimals: number;
1602
+ } | undefined;
1603
+ };
1604
+ updatedAt: number;
1605
+ };
1606
+ amount: {
1607
+ value: bigint;
1608
+ decimals: number;
1609
+ };
1610
+ direction: "out";
1611
+ })[];
1612
+ } | {
1613
+ comment: string | undefined;
1614
+ app: {
1615
+ description: string | undefined;
1616
+ website: string | undefined;
1617
+ icon: string | undefined;
1618
+ id: string;
1619
+ name: string;
1620
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1621
+ } | undefined;
1622
+ type: "NormalAccountAction";
1623
+ timestamp: number;
1624
+ order: number;
1625
+ action: "free-mint-nft";
1626
+ source: string;
1627
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1628
+ transfers: {
1629
+ from: string | undefined;
1630
+ to: string | undefined;
1631
+ price: {
1632
+ cryptoCurrencyId: string;
1633
+ fiatCurrencyId: string;
1634
+ price: {
1635
+ value: bigint;
1636
+ decimals: number;
1637
+ };
1638
+ timestamp: number;
1639
+ } | undefined;
1640
+ asset: {
1641
+ type: "Nft";
1642
+ id: string;
1643
+ };
1644
+ amount: {
1645
+ value: bigint;
1646
+ decimals: number;
1647
+ };
1648
+ direction: "in";
1649
+ }[];
1650
+ } | {
1651
+ comment: string | undefined;
1652
+ app: {
1653
+ description: string | undefined;
1654
+ website: string | undefined;
1655
+ icon: string | undefined;
1656
+ id: string;
1657
+ name: string;
1658
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1659
+ } | undefined;
1660
+ type: "NormalAccountAction";
1661
+ timestamp: number;
1662
+ order: number;
1663
+ action: "income";
1664
+ source: string;
1665
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1666
+ transfers: {
1667
+ from: string | undefined;
1668
+ to: string | undefined;
1669
+ price: {
1670
+ cryptoCurrencyId: string;
1671
+ fiatCurrencyId: string;
1672
+ price: {
1673
+ value: bigint;
1674
+ decimals: number;
1675
+ };
1676
+ timestamp: number;
1677
+ } | undefined;
1678
+ asset: {
1679
+ icon: string | undefined;
1680
+ symbol: string;
1681
+ type: "CryptoCurrency";
1682
+ id: string;
1683
+ name: string;
1684
+ market: {
1685
+ coingeckoId: string | undefined;
1686
+ marketCapUsd: {
1687
+ value: bigint;
1688
+ decimals: number;
1689
+ } | undefined;
1690
+ };
1691
+ updatedAt: number;
1692
+ } | {
1693
+ icon: string | undefined;
1694
+ symbol: string;
1695
+ type: "FiatCurrency";
1696
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1697
+ name: string;
1698
+ } | {
1699
+ type: "Nft";
1700
+ id: string;
1701
+ };
1702
+ amount: {
1703
+ value: bigint;
1704
+ decimals: number;
1705
+ };
1706
+ direction: "in";
1707
+ }[];
1708
+ } | {
1709
+ comment: string | undefined;
1710
+ app: {
1711
+ description: string | undefined;
1712
+ website: string | undefined;
1713
+ icon: string | undefined;
1714
+ id: string;
1715
+ name: string;
1716
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1717
+ } | undefined;
1718
+ type: "NormalAccountAction";
1719
+ timestamp: number;
1720
+ order: number;
1721
+ action: "nft-royalty";
1722
+ source: string;
1723
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1724
+ transfers: ({
1725
+ from: string | undefined;
1726
+ to: string | undefined;
1727
+ price: {
1728
+ cryptoCurrencyId: string;
1729
+ fiatCurrencyId: string;
1730
+ price: {
1731
+ value: bigint;
1732
+ decimals: number;
1733
+ };
1734
+ timestamp: number;
1735
+ } | undefined;
1736
+ asset: {
1737
+ icon: string | undefined;
1738
+ symbol: string;
1739
+ type: "CryptoCurrency";
1740
+ id: string;
1741
+ name: string;
1742
+ market: {
1743
+ coingeckoId: string | undefined;
1744
+ marketCapUsd: {
1745
+ value: bigint;
1746
+ decimals: number;
1747
+ } | undefined;
1748
+ };
1749
+ updatedAt: number;
1750
+ };
1751
+ amount: {
1752
+ value: bigint;
1753
+ decimals: number;
1754
+ };
1755
+ direction: "in";
1756
+ } | {
1757
+ from: string | undefined;
1758
+ to: string | undefined;
1759
+ price: {
1760
+ cryptoCurrencyId: string;
1761
+ fiatCurrencyId: string;
1762
+ price: {
1763
+ value: bigint;
1764
+ decimals: number;
1765
+ };
1766
+ timestamp: number;
1767
+ } | undefined;
1768
+ asset: {
1769
+ icon: string | undefined;
1770
+ symbol: string;
1771
+ type: "FiatCurrency";
1772
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1773
+ name: string;
1774
+ };
1775
+ amount: {
1776
+ value: bigint;
1777
+ decimals: number;
1778
+ };
1779
+ direction: "in";
1780
+ })[];
1781
+ } | {
1782
+ comment: string | undefined;
1783
+ app: {
1784
+ description: string | undefined;
1785
+ website: string | undefined;
1786
+ icon: string | undefined;
1787
+ id: string;
1788
+ name: string;
1789
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1790
+ } | undefined;
1791
+ type: "NormalAccountAction";
1792
+ timestamp: number;
1793
+ order: number;
1794
+ action: "swap-income";
1795
+ source: string;
1796
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1797
+ transfers: ({
1798
+ from: string | undefined;
1799
+ to: string | undefined;
1800
+ price: {
1801
+ cryptoCurrencyId: string;
1802
+ fiatCurrencyId: string;
1803
+ price: {
1804
+ value: bigint;
1805
+ decimals: number;
1806
+ };
1807
+ timestamp: number;
1808
+ } | undefined;
1809
+ asset: {
1810
+ icon: string | undefined;
1811
+ symbol: string;
1812
+ type: "CryptoCurrency";
1813
+ id: string;
1814
+ name: string;
1815
+ market: {
1816
+ coingeckoId: string | undefined;
1817
+ marketCapUsd: {
1818
+ value: bigint;
1819
+ decimals: number;
1820
+ } | undefined;
1821
+ };
1822
+ updatedAt: number;
1823
+ };
1824
+ amount: {
1825
+ value: bigint;
1826
+ decimals: number;
1827
+ };
1828
+ direction: "in";
1829
+ } | {
1830
+ from: string | undefined;
1831
+ to: string | undefined;
1832
+ price: {
1833
+ cryptoCurrencyId: string;
1834
+ fiatCurrencyId: string;
1835
+ price: {
1836
+ value: bigint;
1837
+ decimals: number;
1838
+ };
1839
+ timestamp: number;
1840
+ } | undefined;
1841
+ asset: {
1842
+ type: "Nft";
1843
+ id: string;
1844
+ };
1845
+ amount: {
1846
+ value: bigint;
1847
+ decimals: number;
1848
+ };
1849
+ direction: "in";
1850
+ })[];
1851
+ } | {
1852
+ comment: string | undefined;
1853
+ app: {
1854
+ description: string | undefined;
1855
+ website: string | undefined;
1856
+ icon: string | undefined;
1857
+ id: string;
1858
+ name: string;
1859
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1860
+ } | undefined;
1861
+ type: "NormalAccountAction";
1862
+ timestamp: number;
1863
+ order: number;
1864
+ action: "reduce";
1865
+ source: string;
1866
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1867
+ transfers: ({
1868
+ from: string | undefined;
1869
+ to: string | undefined;
1870
+ price: {
1871
+ cryptoCurrencyId: string;
1872
+ fiatCurrencyId: string;
1873
+ price: {
1874
+ value: bigint;
1875
+ decimals: number;
1876
+ };
1877
+ timestamp: number;
1878
+ } | undefined;
1879
+ asset: {
1880
+ icon: string | undefined;
1881
+ symbol: string;
1882
+ type: "CryptoCurrency";
1883
+ id: string;
1884
+ name: string;
1885
+ market: {
1886
+ coingeckoId: string | undefined;
1887
+ marketCapUsd: {
1888
+ value: bigint;
1889
+ decimals: number;
1890
+ } | undefined;
1891
+ };
1892
+ updatedAt: number;
1893
+ };
1894
+ amount: {
1895
+ value: bigint;
1896
+ decimals: number;
1897
+ };
1898
+ direction: "out";
1899
+ } | {
1900
+ from: string | undefined;
1901
+ to: string | undefined;
1902
+ price: {
1903
+ cryptoCurrencyId: string;
1904
+ fiatCurrencyId: string;
1905
+ price: {
1906
+ value: bigint;
1907
+ decimals: number;
1908
+ };
1909
+ timestamp: number;
1910
+ } | undefined;
1911
+ asset: {
1912
+ type: "Nft";
1913
+ id: string;
1914
+ };
1915
+ amount: {
1916
+ value: bigint;
1917
+ decimals: number;
1918
+ };
1919
+ direction: "out";
1920
+ })[];
1921
+ } | {
1922
+ comment: string | undefined;
1923
+ app: {
1924
+ description: string | undefined;
1925
+ website: string | undefined;
1926
+ icon: string | undefined;
1927
+ id: string;
1928
+ name: string;
1929
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1930
+ } | undefined;
1931
+ type: "LoanAccountAction";
1932
+ timestamp: number;
1933
+ order: number;
1934
+ action: "repayment";
1935
+ source: string;
1936
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1937
+ transfers: ({
1938
+ from: string | undefined;
1939
+ to: string | undefined;
1940
+ price: {
1941
+ cryptoCurrencyId: string;
1942
+ fiatCurrencyId: string;
1943
+ price: {
1944
+ value: bigint;
1945
+ decimals: number;
1946
+ };
1947
+ timestamp: number;
1948
+ } | undefined;
1949
+ asset: {
1950
+ icon: string | undefined;
1951
+ symbol: string;
1952
+ type: "CryptoCurrency";
1953
+ id: string;
1954
+ name: string;
1955
+ market: {
1956
+ coingeckoId: string | undefined;
1957
+ marketCapUsd: {
1958
+ value: bigint;
1959
+ decimals: number;
1960
+ } | undefined;
1961
+ };
1962
+ updatedAt: number;
1963
+ };
1964
+ amount: {
1965
+ value: bigint;
1966
+ decimals: number;
1967
+ };
1968
+ direction: "out";
1969
+ } | {
1970
+ from: string | undefined;
1971
+ to: string | undefined;
1972
+ price: {
1973
+ cryptoCurrencyId: string;
1974
+ fiatCurrencyId: string;
1975
+ price: {
1976
+ value: bigint;
1977
+ decimals: number;
1978
+ };
1979
+ timestamp: number;
1980
+ } | undefined;
1981
+ asset: {
1982
+ type: "Nft";
1983
+ id: string;
1984
+ };
1985
+ amount: {
1986
+ value: bigint;
1987
+ decimals: number;
1988
+ };
1989
+ direction: "out";
1990
+ })[];
1991
+ loanId: string;
1992
+ } | {
1993
+ comment: string | undefined;
1994
+ app: {
1995
+ description: string | undefined;
1996
+ website: string | undefined;
1997
+ icon: string | undefined;
1998
+ id: string;
1999
+ name: string;
2000
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2001
+ } | undefined;
2002
+ type: "LoanAccountAction";
2003
+ timestamp: number;
2004
+ order: number;
2005
+ action: "repayment-with-debt";
2006
+ source: string;
2007
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2008
+ transfers: ({
2009
+ from: string | undefined;
2010
+ to: string | undefined;
2011
+ price: {
2012
+ cryptoCurrencyId: string;
2013
+ fiatCurrencyId: string;
2014
+ price: {
2015
+ value: bigint;
2016
+ decimals: number;
2017
+ };
2018
+ timestamp: number;
2019
+ } | undefined;
2020
+ asset: {
2021
+ icon: string | undefined;
2022
+ symbol: string;
2023
+ type: "CryptoCurrency";
2024
+ id: string;
2025
+ name: string;
2026
+ market: {
2027
+ coingeckoId: string | undefined;
2028
+ marketCapUsd: {
2029
+ value: bigint;
2030
+ decimals: number;
2031
+ } | undefined;
2032
+ };
2033
+ updatedAt: number;
2034
+ };
2035
+ amount: {
2036
+ value: bigint;
2037
+ decimals: number;
2038
+ };
2039
+ direction: "in";
2040
+ } | {
2041
+ from: string | undefined;
2042
+ to: string | undefined;
2043
+ price: {
2044
+ cryptoCurrencyId: string;
2045
+ fiatCurrencyId: string;
2046
+ price: {
2047
+ value: bigint;
2048
+ decimals: number;
2049
+ };
2050
+ timestamp: number;
2051
+ } | undefined;
2052
+ asset: {
2053
+ type: "Nft";
2054
+ id: string;
2055
+ };
2056
+ amount: {
2057
+ value: bigint;
2058
+ decimals: number;
2059
+ };
2060
+ direction: "in";
2061
+ } | {
2062
+ from: string | undefined;
2063
+ to: string | undefined;
2064
+ price: {
2065
+ cryptoCurrencyId: string;
2066
+ fiatCurrencyId: string;
2067
+ price: {
2068
+ value: bigint;
2069
+ decimals: number;
2070
+ };
2071
+ timestamp: number;
2072
+ } | undefined;
2073
+ asset: {
2074
+ icon: string | undefined;
2075
+ symbol: string;
2076
+ type: "CryptoCurrency";
2077
+ id: string;
2078
+ name: string;
2079
+ market: {
2080
+ coingeckoId: string | undefined;
2081
+ marketCapUsd: {
2082
+ value: bigint;
2083
+ decimals: number;
2084
+ } | undefined;
2085
+ };
2086
+ updatedAt: number;
2087
+ };
2088
+ amount: {
2089
+ value: bigint;
2090
+ decimals: number;
2091
+ };
2092
+ direction: "out";
2093
+ } | {
2094
+ from: string | undefined;
2095
+ to: string | undefined;
2096
+ price: {
2097
+ cryptoCurrencyId: string;
2098
+ fiatCurrencyId: string;
2099
+ price: {
2100
+ value: bigint;
2101
+ decimals: number;
2102
+ };
2103
+ timestamp: number;
2104
+ } | undefined;
2105
+ asset: {
2106
+ type: "Nft";
2107
+ id: string;
2108
+ };
2109
+ amount: {
2110
+ value: bigint;
2111
+ decimals: number;
2112
+ };
2113
+ direction: "out";
2114
+ })[];
2115
+ loanId: string;
2116
+ } | {
2117
+ comment: string | undefined;
2118
+ app: {
2119
+ description: string | undefined;
2120
+ website: string | undefined;
2121
+ icon: string | undefined;
2122
+ id: string;
2123
+ name: string;
2124
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2125
+ } | undefined;
2126
+ type: "NormalAccountAction";
2127
+ timestamp: number;
2128
+ order: number;
2129
+ action: "replace";
2130
+ source: string;
2131
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2132
+ transfers: ({
2133
+ from: string | undefined;
2134
+ to: string | undefined;
2135
+ price: {
2136
+ cryptoCurrencyId: string;
2137
+ fiatCurrencyId: string;
2138
+ price: {
2139
+ value: bigint;
2140
+ decimals: number;
2141
+ };
2142
+ timestamp: number;
2143
+ } | undefined;
2144
+ asset: {
2145
+ icon: string | undefined;
2146
+ symbol: string;
2147
+ type: "CryptoCurrency";
2148
+ id: string;
2149
+ name: string;
2150
+ market: {
2151
+ coingeckoId: string | undefined;
2152
+ marketCapUsd: {
2153
+ value: bigint;
2154
+ decimals: number;
2155
+ } | undefined;
2156
+ };
2157
+ updatedAt: number;
2158
+ };
2159
+ amount: {
2160
+ value: bigint;
2161
+ decimals: number;
2162
+ };
2163
+ direction: "in";
2164
+ } | {
2165
+ from: string | undefined;
2166
+ to: string | undefined;
2167
+ price: {
2168
+ cryptoCurrencyId: string;
2169
+ fiatCurrencyId: string;
2170
+ price: {
2171
+ value: bigint;
2172
+ decimals: number;
2173
+ };
2174
+ timestamp: number;
2175
+ } | undefined;
2176
+ asset: {
2177
+ type: "Nft";
2178
+ id: string;
2179
+ };
2180
+ amount: {
2181
+ value: bigint;
2182
+ decimals: number;
2183
+ };
2184
+ direction: "in";
2185
+ } | {
2186
+ from: string | undefined;
2187
+ to: string | undefined;
2188
+ price: {
2189
+ cryptoCurrencyId: string;
2190
+ fiatCurrencyId: string;
2191
+ price: {
2192
+ value: bigint;
2193
+ decimals: number;
2194
+ };
2195
+ timestamp: number;
2196
+ } | undefined;
2197
+ asset: {
2198
+ icon: string | undefined;
2199
+ symbol: string;
2200
+ type: "CryptoCurrency";
2201
+ id: string;
2202
+ name: string;
2203
+ market: {
2204
+ coingeckoId: string | undefined;
2205
+ marketCapUsd: {
2206
+ value: bigint;
2207
+ decimals: number;
2208
+ } | undefined;
2209
+ };
2210
+ updatedAt: number;
2211
+ };
2212
+ amount: {
2213
+ value: bigint;
2214
+ decimals: number;
2215
+ };
2216
+ direction: "out";
2217
+ } | {
2218
+ from: string | undefined;
2219
+ to: string | undefined;
2220
+ price: {
2221
+ cryptoCurrencyId: string;
2222
+ fiatCurrencyId: string;
2223
+ price: {
2224
+ value: bigint;
2225
+ decimals: number;
2226
+ };
2227
+ timestamp: number;
2228
+ } | undefined;
2229
+ asset: {
2230
+ type: "Nft";
2231
+ id: string;
2232
+ };
2233
+ amount: {
2234
+ value: bigint;
2235
+ decimals: number;
2236
+ };
2237
+ direction: "out";
2238
+ })[];
2239
+ } | {
2240
+ comment: string | undefined;
2241
+ app: {
2242
+ description: string | undefined;
2243
+ website: string | undefined;
2244
+ icon: string | undefined;
2245
+ id: string;
2246
+ name: string;
2247
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2248
+ } | undefined;
2249
+ type: "NormalAccountAction";
2250
+ timestamp: number;
2251
+ order: number;
2252
+ action: "swap-nft";
2253
+ source: string;
2254
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2255
+ transfers: ({
2256
+ from: string | undefined;
2257
+ to: string | undefined;
2258
+ price: {
2259
+ cryptoCurrencyId: string;
2260
+ fiatCurrencyId: string;
2261
+ price: {
2262
+ value: bigint;
2263
+ decimals: number;
2264
+ };
2265
+ timestamp: number;
2266
+ } | undefined;
2267
+ asset: {
2268
+ type: "Nft";
2269
+ id: string;
2270
+ };
2271
+ amount: {
2272
+ value: bigint;
2273
+ decimals: number;
2274
+ };
2275
+ direction: "in";
2276
+ } | {
2277
+ from: string | undefined;
2278
+ to: string | undefined;
2279
+ price: {
2280
+ cryptoCurrencyId: string;
2281
+ fiatCurrencyId: string;
2282
+ price: {
2283
+ value: bigint;
2284
+ decimals: number;
2285
+ };
2286
+ timestamp: number;
2287
+ } | undefined;
2288
+ asset: {
2289
+ type: "Nft";
2290
+ id: string;
2291
+ };
2292
+ amount: {
2293
+ value: bigint;
2294
+ decimals: number;
2295
+ };
2296
+ direction: "out";
2297
+ })[];
2298
+ } | {
2299
+ comment: string | undefined;
2300
+ app: {
2301
+ description: string | undefined;
2302
+ website: string | undefined;
2303
+ icon: string | undefined;
2304
+ id: string;
2305
+ name: string;
2306
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2307
+ } | undefined;
2308
+ type: "NormalAccountAction";
2309
+ timestamp: number;
2310
+ order: number;
2311
+ action: "unwrap";
2312
+ source: string;
2313
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2314
+ transfers: ({
2315
+ from: string | undefined;
2316
+ to: string | undefined;
2317
+ price: {
2318
+ cryptoCurrencyId: string;
2319
+ fiatCurrencyId: string;
2320
+ price: {
2321
+ value: bigint;
2322
+ decimals: number;
2323
+ };
2324
+ timestamp: number;
2325
+ } | undefined;
2326
+ asset: {
2327
+ icon: string | undefined;
2328
+ symbol: string;
2329
+ type: "CryptoCurrency";
2330
+ id: string;
2331
+ name: string;
2332
+ market: {
2333
+ coingeckoId: string | undefined;
2334
+ marketCapUsd: {
2335
+ value: bigint;
2336
+ decimals: number;
2337
+ } | undefined;
2338
+ };
2339
+ updatedAt: number;
2340
+ };
2341
+ amount: {
2342
+ value: bigint;
2343
+ decimals: number;
2344
+ };
2345
+ direction: "in";
2346
+ } | {
2347
+ from: string | undefined;
2348
+ to: string | undefined;
2349
+ price: {
2350
+ cryptoCurrencyId: string;
2351
+ fiatCurrencyId: string;
2352
+ price: {
2353
+ value: bigint;
2354
+ decimals: number;
2355
+ };
2356
+ timestamp: number;
2357
+ } | undefined;
2358
+ asset: {
2359
+ icon: string | undefined;
2360
+ symbol: string;
2361
+ type: "CryptoCurrency";
2362
+ id: string;
2363
+ name: string;
2364
+ market: {
2365
+ coingeckoId: string | undefined;
2366
+ marketCapUsd: {
2367
+ value: bigint;
2368
+ decimals: number;
2369
+ } | undefined;
2370
+ };
2371
+ updatedAt: number;
2372
+ };
2373
+ amount: {
2374
+ value: bigint;
2375
+ decimals: number;
2376
+ };
2377
+ direction: "out";
2378
+ })[];
2379
+ } | {
2380
+ comment: string | undefined;
2381
+ app: {
2382
+ description: string | undefined;
2383
+ website: string | undefined;
2384
+ icon: string | undefined;
2385
+ id: string;
2386
+ name: string;
2387
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2388
+ } | undefined;
2389
+ type: "NormalAccountAction";
2390
+ timestamp: number;
2391
+ order: number;
2392
+ action: "wrap";
2393
+ source: string;
2394
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2395
+ transfers: ({
2396
+ from: string | undefined;
2397
+ to: string | undefined;
2398
+ price: {
2399
+ cryptoCurrencyId: string;
2400
+ fiatCurrencyId: string;
2401
+ price: {
2402
+ value: bigint;
2403
+ decimals: number;
2404
+ };
2405
+ timestamp: number;
2406
+ } | undefined;
2407
+ asset: {
2408
+ icon: string | undefined;
2409
+ symbol: string;
2410
+ type: "CryptoCurrency";
2411
+ id: string;
2412
+ name: string;
2413
+ market: {
2414
+ coingeckoId: string | undefined;
2415
+ marketCapUsd: {
2416
+ value: bigint;
2417
+ decimals: number;
2418
+ } | undefined;
2419
+ };
2420
+ updatedAt: number;
2421
+ };
2422
+ amount: {
2423
+ value: bigint;
2424
+ decimals: number;
2425
+ };
2426
+ direction: "in";
2427
+ } | {
2428
+ from: string | undefined;
2429
+ to: string | undefined;
2430
+ price: {
2431
+ cryptoCurrencyId: string;
2432
+ fiatCurrencyId: string;
2433
+ price: {
2434
+ value: bigint;
2435
+ decimals: number;
2436
+ };
2437
+ timestamp: number;
2438
+ } | undefined;
2439
+ asset: {
2440
+ icon: string | undefined;
2441
+ symbol: string;
2442
+ type: "CryptoCurrency";
2443
+ id: string;
2444
+ name: string;
2445
+ market: {
2446
+ coingeckoId: string | undefined;
2447
+ marketCapUsd: {
2448
+ value: bigint;
2449
+ decimals: number;
2450
+ } | undefined;
2451
+ };
2452
+ updatedAt: number;
2453
+ };
2454
+ amount: {
2455
+ value: bigint;
2456
+ decimals: number;
2457
+ };
2458
+ direction: "out";
2459
+ })[];
2460
+ } | {
2461
+ comment: string | undefined;
2462
+ app: {
2463
+ description: string | undefined;
2464
+ website: string | undefined;
2465
+ icon: string | undefined;
2466
+ id: string;
2467
+ name: string;
2468
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2469
+ } | undefined;
2470
+ type: "NormalAccountAction";
2471
+ timestamp: number;
2472
+ order: number;
2473
+ action: "buy-crypto";
2474
+ source: string;
2475
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2476
+ transfers: ({
2477
+ from: string | undefined;
2478
+ to: string | undefined;
2479
+ price: {
2480
+ cryptoCurrencyId: string;
2481
+ fiatCurrencyId: string;
2482
+ price: {
2483
+ value: bigint;
2484
+ decimals: number;
2485
+ };
2486
+ timestamp: number;
2487
+ } | undefined;
2488
+ asset: {
2489
+ icon: string | undefined;
2490
+ symbol: string;
2491
+ type: "CryptoCurrency";
2492
+ id: string;
2493
+ name: string;
2494
+ market: {
2495
+ coingeckoId: string | undefined;
2496
+ marketCapUsd: {
2497
+ value: bigint;
2498
+ decimals: number;
2499
+ } | undefined;
2500
+ };
2501
+ updatedAt: number;
2502
+ };
2503
+ amount: {
2504
+ value: bigint;
2505
+ decimals: number;
2506
+ };
2507
+ direction: "in";
2508
+ } | {
2509
+ from: string | undefined;
2510
+ to: string | undefined;
2511
+ price: {
2512
+ cryptoCurrencyId: string;
2513
+ fiatCurrencyId: string;
2514
+ price: {
2515
+ value: bigint;
2516
+ decimals: number;
2517
+ };
2518
+ timestamp: number;
2519
+ } | undefined;
2520
+ asset: {
2521
+ icon: string | undefined;
2522
+ symbol: string;
2523
+ type: "FiatCurrency";
2524
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2525
+ name: string;
2526
+ };
2527
+ amount: {
2528
+ value: bigint;
2529
+ decimals: number;
2530
+ };
2531
+ direction: "out";
2532
+ })[];
2533
+ } | {
2534
+ comment: string | undefined;
2535
+ app: {
2536
+ description: string | undefined;
2537
+ website: string | undefined;
2538
+ icon: string | undefined;
2539
+ id: string;
2540
+ name: string;
2541
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2542
+ } | undefined;
2543
+ type: "NormalAccountAction";
2544
+ timestamp: number;
2545
+ order: number;
2546
+ action: "buy-nft";
2547
+ source: string;
2548
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2549
+ transfers: ({
2550
+ from: string | undefined;
2551
+ to: string | undefined;
2552
+ price: {
2553
+ cryptoCurrencyId: string;
2554
+ fiatCurrencyId: string;
2555
+ price: {
2556
+ value: bigint;
2557
+ decimals: number;
2558
+ };
2559
+ timestamp: number;
2560
+ } | undefined;
2561
+ asset: {
2562
+ type: "Nft";
2563
+ id: string;
2564
+ };
2565
+ amount: {
2566
+ value: bigint;
2567
+ decimals: number;
2568
+ };
2569
+ direction: "in";
2570
+ } | {
2571
+ from: string | undefined;
2572
+ to: string | undefined;
2573
+ price: {
2574
+ cryptoCurrencyId: string;
2575
+ fiatCurrencyId: string;
2576
+ price: {
2577
+ value: bigint;
2578
+ decimals: number;
2579
+ };
2580
+ timestamp: number;
2581
+ } | undefined;
2582
+ asset: {
2583
+ icon: string | undefined;
2584
+ symbol: string;
2585
+ type: "CryptoCurrency";
2586
+ id: string;
2587
+ name: string;
2588
+ market: {
2589
+ coingeckoId: string | undefined;
2590
+ marketCapUsd: {
2591
+ value: bigint;
2592
+ decimals: number;
2593
+ } | undefined;
2594
+ };
2595
+ updatedAt: number;
2596
+ };
2597
+ amount: {
2598
+ value: bigint;
2599
+ decimals: number;
2600
+ };
2601
+ direction: "out";
2602
+ } | {
2603
+ from: string | undefined;
2604
+ to: string | undefined;
2605
+ price: {
2606
+ cryptoCurrencyId: string;
2607
+ fiatCurrencyId: string;
2608
+ price: {
2609
+ value: bigint;
2610
+ decimals: number;
2611
+ };
2612
+ timestamp: number;
2613
+ } | undefined;
2614
+ asset: {
2615
+ icon: string | undefined;
2616
+ symbol: string;
2617
+ type: "FiatCurrency";
2618
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2619
+ name: string;
2620
+ };
2621
+ amount: {
2622
+ value: bigint;
2623
+ decimals: number;
2624
+ };
2625
+ direction: "out";
2626
+ })[];
2627
+ } | {
2628
+ comment: string | undefined;
2629
+ app: {
2630
+ description: string | undefined;
2631
+ website: string | undefined;
2632
+ icon: string | undefined;
2633
+ id: string;
2634
+ name: string;
2635
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2636
+ } | undefined;
2637
+ type: "NormalAccountAction";
2638
+ timestamp: number;
2639
+ order: number;
2640
+ action: "mint-nft";
2641
+ source: string;
2642
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2643
+ transfers: ({
2644
+ from: string | undefined;
2645
+ to: string | undefined;
2646
+ price: {
2647
+ cryptoCurrencyId: string;
2648
+ fiatCurrencyId: string;
2649
+ price: {
2650
+ value: bigint;
2651
+ decimals: number;
2652
+ };
2653
+ timestamp: number;
2654
+ } | undefined;
2655
+ asset: {
2656
+ type: "Nft";
2657
+ id: string;
2658
+ };
2659
+ amount: {
2660
+ value: bigint;
2661
+ decimals: number;
2662
+ };
2663
+ direction: "in";
2664
+ } | {
2665
+ from: string | undefined;
2666
+ to: string | undefined;
2667
+ price: {
2668
+ cryptoCurrencyId: string;
2669
+ fiatCurrencyId: string;
2670
+ price: {
2671
+ value: bigint;
2672
+ decimals: number;
2673
+ };
2674
+ timestamp: number;
2675
+ } | undefined;
2676
+ asset: {
2677
+ icon: string | undefined;
2678
+ symbol: string;
2679
+ type: "CryptoCurrency";
2680
+ id: string;
2681
+ name: string;
2682
+ market: {
2683
+ coingeckoId: string | undefined;
2684
+ marketCapUsd: {
2685
+ value: bigint;
2686
+ decimals: number;
2687
+ } | undefined;
2688
+ };
2689
+ updatedAt: number;
2690
+ };
2691
+ amount: {
2692
+ value: bigint;
2693
+ decimals: number;
2694
+ };
2695
+ direction: "out";
2696
+ } | {
2697
+ from: string | undefined;
2698
+ to: string | undefined;
2699
+ price: {
2700
+ cryptoCurrencyId: string;
2701
+ fiatCurrencyId: string;
2702
+ price: {
2703
+ value: bigint;
2704
+ decimals: number;
2705
+ };
2706
+ timestamp: number;
2707
+ } | undefined;
2708
+ asset: {
2709
+ icon: string | undefined;
2710
+ symbol: string;
2711
+ type: "FiatCurrency";
2712
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2713
+ name: string;
2714
+ };
2715
+ amount: {
2716
+ value: bigint;
2717
+ decimals: number;
2718
+ };
2719
+ direction: "out";
2720
+ })[];
2721
+ } | {
2722
+ comment: string | undefined;
2723
+ app: {
2724
+ description: string | undefined;
2725
+ website: string | undefined;
2726
+ icon: string | undefined;
2727
+ id: string;
2728
+ name: string;
2729
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2730
+ } | undefined;
2731
+ type: "NormalAccountAction";
2732
+ timestamp: number;
2733
+ order: number;
2734
+ action: "sell-crypto";
2735
+ source: string;
2736
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2737
+ transfers: ({
2738
+ from: string | undefined;
2739
+ to: string | undefined;
2740
+ price: {
2741
+ cryptoCurrencyId: string;
2742
+ fiatCurrencyId: string;
2743
+ price: {
2744
+ value: bigint;
2745
+ decimals: number;
2746
+ };
2747
+ timestamp: number;
2748
+ } | undefined;
2749
+ asset: {
2750
+ icon: string | undefined;
2751
+ symbol: string;
2752
+ type: "FiatCurrency";
2753
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2754
+ name: string;
2755
+ };
2756
+ amount: {
2757
+ value: bigint;
2758
+ decimals: number;
2759
+ };
2760
+ direction: "in";
2761
+ } | {
2762
+ from: string | undefined;
2763
+ to: string | undefined;
2764
+ price: {
2765
+ cryptoCurrencyId: string;
2766
+ fiatCurrencyId: string;
2767
+ price: {
2768
+ value: bigint;
2769
+ decimals: number;
2770
+ };
2771
+ timestamp: number;
2772
+ } | undefined;
2773
+ asset: {
2774
+ icon: string | undefined;
2775
+ symbol: string;
2776
+ type: "CryptoCurrency";
2777
+ id: string;
2778
+ name: string;
2779
+ market: {
2780
+ coingeckoId: string | undefined;
2781
+ marketCapUsd: {
2782
+ value: bigint;
2783
+ decimals: number;
2784
+ } | undefined;
2785
+ };
2786
+ updatedAt: number;
2787
+ };
2788
+ amount: {
2789
+ value: bigint;
2790
+ decimals: number;
2791
+ };
2792
+ direction: "out";
2793
+ })[];
2794
+ } | {
2795
+ comment: string | undefined;
2796
+ app: {
2797
+ description: string | undefined;
2798
+ website: string | undefined;
2799
+ icon: string | undefined;
2800
+ id: string;
2801
+ name: string;
2802
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2803
+ } | undefined;
2804
+ type: "NormalAccountAction";
2805
+ timestamp: number;
2806
+ order: number;
2807
+ action: "sell-nft";
2808
+ source: string;
2809
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2810
+ transfers: ({
2811
+ from: string | undefined;
2812
+ to: string | undefined;
2813
+ price: {
2814
+ cryptoCurrencyId: string;
2815
+ fiatCurrencyId: string;
2816
+ price: {
2817
+ value: bigint;
2818
+ decimals: number;
2819
+ };
2820
+ timestamp: number;
2821
+ } | undefined;
2822
+ asset: {
2823
+ icon: string | undefined;
2824
+ symbol: string;
2825
+ type: "CryptoCurrency";
2826
+ id: string;
2827
+ name: string;
2828
+ market: {
2829
+ coingeckoId: string | undefined;
2830
+ marketCapUsd: {
2831
+ value: bigint;
2832
+ decimals: number;
2833
+ } | undefined;
2834
+ };
2835
+ updatedAt: number;
2836
+ };
2837
+ amount: {
2838
+ value: bigint;
2839
+ decimals: number;
2840
+ };
2841
+ direction: "in";
2842
+ } | {
2843
+ from: string | undefined;
2844
+ to: string | undefined;
2845
+ price: {
2846
+ cryptoCurrencyId: string;
2847
+ fiatCurrencyId: string;
2848
+ price: {
2849
+ value: bigint;
2850
+ decimals: number;
2851
+ };
2852
+ timestamp: number;
2853
+ } | undefined;
2854
+ asset: {
2855
+ icon: string | undefined;
2856
+ symbol: string;
2857
+ type: "FiatCurrency";
2858
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2859
+ name: string;
2860
+ };
2861
+ amount: {
2862
+ value: bigint;
2863
+ decimals: number;
2864
+ };
2865
+ direction: "in";
2866
+ } | {
2867
+ from: string | undefined;
2868
+ to: string | undefined;
2869
+ price: {
2870
+ cryptoCurrencyId: string;
2871
+ fiatCurrencyId: string;
2872
+ price: {
2873
+ value: bigint;
2874
+ decimals: number;
2875
+ };
2876
+ timestamp: number;
2877
+ } | undefined;
2878
+ asset: {
2879
+ type: "Nft";
2880
+ id: string;
2881
+ };
2882
+ amount: {
2883
+ value: bigint;
2884
+ decimals: number;
2885
+ };
2886
+ direction: "out";
2887
+ })[];
2888
+ } | {
2889
+ comment: string | undefined;
2890
+ app: {
2891
+ description: string | undefined;
2892
+ website: string | undefined;
2893
+ icon: string | undefined;
2894
+ id: string;
2895
+ name: string;
2896
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2897
+ } | undefined;
2898
+ type: "NormalAccountAction";
2899
+ timestamp: number;
2900
+ order: number;
2901
+ action: "trade";
2902
+ source: string;
2903
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2904
+ transfers: ({
2905
+ from: string | undefined;
2906
+ to: string | undefined;
2907
+ price: {
2908
+ cryptoCurrencyId: string;
2909
+ fiatCurrencyId: string;
2910
+ price: {
2911
+ value: bigint;
2912
+ decimals: number;
2913
+ };
2914
+ timestamp: number;
2915
+ } | undefined;
2916
+ asset: {
2917
+ icon: string | undefined;
2918
+ symbol: string;
2919
+ type: "CryptoCurrency";
2920
+ id: string;
2921
+ name: string;
2922
+ market: {
2923
+ coingeckoId: string | undefined;
2924
+ marketCapUsd: {
2925
+ value: bigint;
2926
+ decimals: number;
2927
+ } | undefined;
2928
+ };
2929
+ updatedAt: number;
2930
+ } | {
2931
+ icon: string | undefined;
2932
+ symbol: string;
2933
+ type: "FiatCurrency";
2934
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2935
+ name: string;
2936
+ } | {
2937
+ type: "Nft";
2938
+ id: string;
2939
+ };
2940
+ amount: {
2941
+ value: bigint;
2942
+ decimals: number;
2943
+ };
2944
+ direction: "in";
2945
+ } | {
2946
+ from: string | undefined;
2947
+ to: string | undefined;
2948
+ price: {
2949
+ cryptoCurrencyId: string;
2950
+ fiatCurrencyId: string;
2951
+ price: {
2952
+ value: bigint;
2953
+ decimals: number;
2954
+ };
2955
+ timestamp: number;
2956
+ } | undefined;
2957
+ asset: {
2958
+ icon: string | undefined;
2959
+ symbol: string;
2960
+ type: "CryptoCurrency";
2961
+ id: string;
2962
+ name: string;
2963
+ market: {
2964
+ coingeckoId: string | undefined;
2965
+ marketCapUsd: {
2966
+ value: bigint;
2967
+ decimals: number;
2968
+ } | undefined;
2969
+ };
2970
+ updatedAt: number;
2971
+ } | {
2972
+ icon: string | undefined;
2973
+ symbol: string;
2974
+ type: "FiatCurrency";
2975
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2976
+ name: string;
2977
+ } | {
2978
+ type: "Nft";
2979
+ id: string;
2980
+ };
2981
+ amount: {
2982
+ value: bigint;
2983
+ decimals: number;
2984
+ };
2985
+ direction: "out";
2986
+ })[];
2987
+ } | {
2988
+ comment: string | undefined;
2989
+ app: {
2990
+ description: string | undefined;
2991
+ website: string | undefined;
2992
+ icon: string | undefined;
2993
+ id: string;
2994
+ name: string;
2995
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2996
+ } | undefined;
2997
+ type: "NormalAccountAction";
2998
+ timestamp: number;
2999
+ order: number;
3000
+ action: "swap-transfer";
3001
+ source: string;
3002
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3003
+ transfers: ({
3004
+ from: string | undefined;
3005
+ to: string | undefined;
3006
+ price: {
3007
+ cryptoCurrencyId: string;
3008
+ fiatCurrencyId: string;
3009
+ price: {
3010
+ value: bigint;
3011
+ decimals: number;
3012
+ };
3013
+ timestamp: number;
3014
+ } | undefined;
3015
+ asset: {
3016
+ icon: string | undefined;
3017
+ symbol: string;
3018
+ type: "CryptoCurrency";
3019
+ id: string;
3020
+ name: string;
3021
+ market: {
3022
+ coingeckoId: string | undefined;
3023
+ marketCapUsd: {
3024
+ value: bigint;
3025
+ decimals: number;
3026
+ } | undefined;
3027
+ };
3028
+ updatedAt: number;
3029
+ };
3030
+ amount: {
3031
+ value: bigint;
3032
+ decimals: number;
3033
+ };
3034
+ direction: "out";
3035
+ } | {
3036
+ from: string | undefined;
3037
+ to: string | undefined;
3038
+ price: {
3039
+ cryptoCurrencyId: string;
3040
+ fiatCurrencyId: string;
3041
+ price: {
3042
+ value: bigint;
3043
+ decimals: number;
3044
+ };
3045
+ timestamp: number;
3046
+ } | undefined;
3047
+ asset: {
3048
+ type: "Nft";
3049
+ id: string;
3050
+ };
3051
+ amount: {
3052
+ value: bigint;
3053
+ decimals: number;
3054
+ };
3055
+ direction: "out";
3056
+ })[];
3057
+ } | {
3058
+ comment: string | undefined;
3059
+ app: {
3060
+ description: string | undefined;
3061
+ website: string | undefined;
3062
+ icon: string | undefined;
3063
+ id: string;
3064
+ name: string;
3065
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3066
+ } | undefined;
3067
+ type: "NormalAccountAction";
3068
+ timestamp: number;
3069
+ order: number;
3070
+ action: "transfer";
3071
+ source: string;
3072
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3073
+ transfers: {
3074
+ from: string | undefined;
3075
+ to: string | undefined;
3076
+ price: {
3077
+ cryptoCurrencyId: string;
3078
+ fiatCurrencyId: string;
3079
+ price: {
3080
+ value: bigint;
3081
+ decimals: number;
3082
+ };
3083
+ timestamp: number;
3084
+ } | undefined;
3085
+ asset: {
3086
+ icon: string | undefined;
3087
+ symbol: string;
3088
+ type: "CryptoCurrency";
3089
+ id: string;
3090
+ name: string;
3091
+ market: {
3092
+ coingeckoId: string | undefined;
3093
+ marketCapUsd: {
3094
+ value: bigint;
3095
+ decimals: number;
3096
+ } | undefined;
3097
+ };
3098
+ updatedAt: number;
3099
+ } | {
3100
+ icon: string | undefined;
3101
+ symbol: string;
3102
+ type: "FiatCurrency";
3103
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3104
+ name: string;
3105
+ } | {
3106
+ type: "Nft";
3107
+ id: string;
3108
+ };
3109
+ amount: {
3110
+ value: bigint;
3111
+ decimals: number;
3112
+ };
3113
+ direction: "out";
3114
+ }[];
3115
+ } | {
3116
+ comment: string | undefined;
3117
+ app: {
3118
+ description: string | undefined;
3119
+ website: string | undefined;
3120
+ icon: string | undefined;
3121
+ id: string;
3122
+ name: string;
3123
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3124
+ } | undefined;
3125
+ type: "NormalAccountAction";
3126
+ timestamp: number;
3127
+ order: number;
3128
+ action: "valuedown";
3129
+ source: string;
3130
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3131
+ transfers: {
3132
+ from: string | undefined;
3133
+ to: string | undefined;
3134
+ price: {
3135
+ cryptoCurrencyId: string;
3136
+ fiatCurrencyId: string;
3137
+ price: {
3138
+ value: bigint;
3139
+ decimals: number;
3140
+ };
3141
+ timestamp: number;
3142
+ } | undefined;
3143
+ asset: {
3144
+ icon: string | undefined;
3145
+ symbol: string;
3146
+ type: "CryptoCurrency";
3147
+ id: string;
3148
+ name: string;
3149
+ market: {
3150
+ coingeckoId: string | undefined;
3151
+ marketCapUsd: {
3152
+ value: bigint;
3153
+ decimals: number;
3154
+ } | undefined;
3155
+ };
3156
+ updatedAt: number;
3157
+ } | {
3158
+ icon: string | undefined;
3159
+ symbol: string;
3160
+ type: "FiatCurrency";
3161
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3162
+ name: string;
3163
+ } | {
3164
+ type: "Nft";
3165
+ id: string;
3166
+ };
3167
+ amount: {
3168
+ value: bigint;
3169
+ decimals: number;
3170
+ };
3171
+ direction: "in";
3172
+ }[];
3173
+ target: {
3174
+ type: "Nft";
3175
+ id: string;
3176
+ };
3177
+ } | {
3178
+ comment: string | undefined;
3179
+ app: {
3180
+ description: string | undefined;
3181
+ website: string | undefined;
3182
+ icon: string | undefined;
3183
+ id: string;
3184
+ name: string;
3185
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3186
+ } | undefined;
3187
+ type: "NormalAccountAction";
3188
+ timestamp: number;
3189
+ order: number;
3190
+ action: "valueup";
3191
+ source: string;
3192
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3193
+ transfers: {
3194
+ from: string | undefined;
3195
+ to: string | undefined;
3196
+ price: {
3197
+ cryptoCurrencyId: string;
3198
+ fiatCurrencyId: string;
3199
+ price: {
3200
+ value: bigint;
3201
+ decimals: number;
3202
+ };
3203
+ timestamp: number;
3204
+ } | undefined;
3205
+ asset: {
3206
+ icon: string | undefined;
3207
+ symbol: string;
3208
+ type: "CryptoCurrency";
3209
+ id: string;
3210
+ name: string;
3211
+ market: {
3212
+ coingeckoId: string | undefined;
3213
+ marketCapUsd: {
3214
+ value: bigint;
3215
+ decimals: number;
3216
+ } | undefined;
3217
+ };
3218
+ updatedAt: number;
3219
+ } | {
3220
+ icon: string | undefined;
3221
+ symbol: string;
3222
+ type: "FiatCurrency";
3223
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3224
+ name: string;
3225
+ } | {
3226
+ type: "Nft";
3227
+ id: string;
3228
+ };
3229
+ amount: {
3230
+ value: bigint;
3231
+ decimals: number;
3232
+ };
3233
+ direction: "out";
3234
+ }[];
3235
+ target: {
3236
+ type: "Nft";
3237
+ id: string;
3238
+ };
3239
+ } | {
3240
+ comment: string | undefined;
3241
+ app: {
3242
+ description: string | undefined;
3243
+ website: string | undefined;
3244
+ icon: string | undefined;
3245
+ id: string;
3246
+ name: string;
3247
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3248
+ } | undefined;
3249
+ type: "LoanAccountAction";
3250
+ timestamp: number;
3251
+ order: number;
3252
+ action: "remove-liquidity";
3253
+ source: string;
3254
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3255
+ transfers: ({
3256
+ from: string | undefined;
3257
+ to: string | undefined;
3258
+ price: {
3259
+ cryptoCurrencyId: string;
3260
+ fiatCurrencyId: string;
3261
+ price: {
3262
+ value: bigint;
3263
+ decimals: number;
3264
+ };
3265
+ timestamp: number;
3266
+ } | undefined;
3267
+ asset: {
3268
+ icon: string | undefined;
3269
+ symbol: string;
3270
+ type: "CryptoCurrency";
3271
+ id: string;
3272
+ name: string;
3273
+ market: {
3274
+ coingeckoId: string | undefined;
3275
+ marketCapUsd: {
3276
+ value: bigint;
3277
+ decimals: number;
3278
+ } | undefined;
3279
+ };
3280
+ updatedAt: number;
3281
+ };
3282
+ amount: {
3283
+ value: bigint;
3284
+ decimals: number;
3285
+ };
3286
+ direction: "in";
3287
+ } | {
3288
+ from: string | undefined;
3289
+ to: string | undefined;
3290
+ price: {
3291
+ cryptoCurrencyId: string;
3292
+ fiatCurrencyId: string;
3293
+ price: {
3294
+ value: bigint;
3295
+ decimals: number;
3296
+ };
3297
+ timestamp: number;
3298
+ } | undefined;
3299
+ asset: {
3300
+ type: "Nft";
3301
+ id: string;
3302
+ };
3303
+ amount: {
3304
+ value: bigint;
3305
+ decimals: number;
3306
+ };
3307
+ direction: "in";
3308
+ } | {
3309
+ from: string | undefined;
3310
+ to: string | undefined;
3311
+ price: {
3312
+ cryptoCurrencyId: string;
3313
+ fiatCurrencyId: string;
3314
+ price: {
3315
+ value: bigint;
3316
+ decimals: number;
3317
+ };
3318
+ timestamp: number;
3319
+ } | undefined;
3320
+ asset: {
3321
+ icon: string | undefined;
3322
+ symbol: string;
3323
+ type: "CryptoCurrency";
3324
+ id: string;
3325
+ name: string;
3326
+ market: {
3327
+ coingeckoId: string | undefined;
3328
+ marketCapUsd: {
3329
+ value: bigint;
3330
+ decimals: number;
3331
+ } | undefined;
3332
+ };
3333
+ updatedAt: number;
3334
+ };
3335
+ amount: {
3336
+ value: bigint;
3337
+ decimals: number;
3338
+ };
3339
+ direction: "out";
3340
+ } | {
3341
+ from: string | undefined;
3342
+ to: string | undefined;
3343
+ price: {
3344
+ cryptoCurrencyId: string;
3345
+ fiatCurrencyId: string;
3346
+ price: {
3347
+ value: bigint;
3348
+ decimals: number;
3349
+ };
3350
+ timestamp: number;
3351
+ } | undefined;
3352
+ asset: {
3353
+ type: "Nft";
3354
+ id: string;
3355
+ };
3356
+ amount: {
3357
+ value: bigint;
3358
+ decimals: number;
3359
+ };
3360
+ direction: "out";
3361
+ })[];
3362
+ loanId: string;
3363
+ } | {
3364
+ comment: string | undefined;
3365
+ app: {
3366
+ description: string | undefined;
3367
+ website: string | undefined;
3368
+ icon: string | undefined;
3369
+ id: string;
3370
+ name: string;
3371
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3372
+ } | undefined;
3373
+ type: "LoanAccountAction";
3374
+ timestamp: number;
3375
+ order: number;
3376
+ action: "unstake";
3377
+ source: string;
3378
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3379
+ transfers: ({
3380
+ from: string | undefined;
3381
+ to: string | undefined;
3382
+ price: {
3383
+ cryptoCurrencyId: string;
3384
+ fiatCurrencyId: string;
3385
+ price: {
3386
+ value: bigint;
3387
+ decimals: number;
3388
+ };
3389
+ timestamp: number;
3390
+ } | undefined;
3391
+ asset: {
3392
+ icon: string | undefined;
3393
+ symbol: string;
3394
+ type: "CryptoCurrency";
3395
+ id: string;
3396
+ name: string;
3397
+ market: {
3398
+ coingeckoId: string | undefined;
3399
+ marketCapUsd: {
3400
+ value: bigint;
3401
+ decimals: number;
3402
+ } | undefined;
3403
+ };
3404
+ updatedAt: number;
3405
+ };
3406
+ amount: {
3407
+ value: bigint;
3408
+ decimals: number;
3409
+ };
3410
+ direction: "in";
3411
+ } | {
3412
+ from: string | undefined;
3413
+ to: string | undefined;
3414
+ price: {
3415
+ cryptoCurrencyId: string;
3416
+ fiatCurrencyId: string;
3417
+ price: {
3418
+ value: bigint;
3419
+ decimals: number;
3420
+ };
3421
+ timestamp: number;
3422
+ } | undefined;
3423
+ asset: {
3424
+ type: "Nft";
3425
+ id: string;
3426
+ };
3427
+ amount: {
3428
+ value: bigint;
3429
+ decimals: number;
3430
+ };
3431
+ direction: "in";
3432
+ })[];
3433
+ loanId: string;
3434
+ } | {
3435
+ comment: string | undefined;
3436
+ app: {
3437
+ description: string | undefined;
3438
+ website: string | undefined;
3439
+ icon: string | undefined;
3440
+ id: string;
3441
+ name: string;
3442
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3443
+ } | undefined;
3444
+ type: "LoanAccountAction";
3445
+ timestamp: number;
3446
+ order: number;
3447
+ action: "withdraw";
3448
+ source: string;
3449
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3450
+ transfers: ({
3451
+ from: string | undefined;
3452
+ to: string | undefined;
3453
+ price: {
3454
+ cryptoCurrencyId: string;
3455
+ fiatCurrencyId: string;
3456
+ price: {
3457
+ value: bigint;
3458
+ decimals: number;
3459
+ };
3460
+ timestamp: number;
3461
+ } | undefined;
3462
+ asset: {
3463
+ icon: string | undefined;
3464
+ symbol: string;
3465
+ type: "CryptoCurrency";
3466
+ id: string;
3467
+ name: string;
3468
+ market: {
3469
+ coingeckoId: string | undefined;
3470
+ marketCapUsd: {
3471
+ value: bigint;
3472
+ decimals: number;
3473
+ } | undefined;
3474
+ };
3475
+ updatedAt: number;
3476
+ };
3477
+ amount: {
3478
+ value: bigint;
3479
+ decimals: number;
3480
+ };
3481
+ direction: "in";
3482
+ } | {
3483
+ from: string | undefined;
3484
+ to: string | undefined;
3485
+ price: {
3486
+ cryptoCurrencyId: string;
3487
+ fiatCurrencyId: string;
3488
+ price: {
3489
+ value: bigint;
3490
+ decimals: number;
3491
+ };
3492
+ timestamp: number;
3493
+ } | undefined;
3494
+ asset: {
3495
+ type: "Nft";
3496
+ id: string;
3497
+ };
3498
+ amount: {
3499
+ value: bigint;
3500
+ decimals: number;
3501
+ };
3502
+ direction: "in";
3503
+ })[];
3504
+ loanId: string;
3505
+ } | {
3506
+ comment: string | undefined;
3507
+ app: {
3508
+ description: string | undefined;
3509
+ website: string | undefined;
3510
+ icon: string | undefined;
3511
+ id: string;
3512
+ name: string;
3513
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3514
+ } | undefined;
3515
+ type: "LoanAccountAction";
3516
+ timestamp: number;
3517
+ order: number;
3518
+ action: "withdraw-with-bond";
3519
+ source: string;
3520
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
3521
+ transfers: ({
3522
+ from: string | undefined;
3523
+ to: string | undefined;
3524
+ price: {
3525
+ cryptoCurrencyId: string;
3526
+ fiatCurrencyId: string;
3527
+ price: {
3528
+ value: bigint;
3529
+ decimals: number;
3530
+ };
3531
+ timestamp: number;
3532
+ } | undefined;
3533
+ asset: {
3534
+ icon: string | undefined;
3535
+ symbol: string;
3536
+ type: "CryptoCurrency";
3537
+ id: string;
3538
+ name: string;
3539
+ market: {
3540
+ coingeckoId: string | undefined;
3541
+ marketCapUsd: {
3542
+ value: bigint;
3543
+ decimals: number;
3544
+ } | undefined;
3545
+ };
3546
+ updatedAt: number;
3547
+ };
3548
+ amount: {
3549
+ value: bigint;
3550
+ decimals: number;
3551
+ };
3552
+ direction: "in";
3553
+ } | {
3554
+ from: string | undefined;
3555
+ to: string | undefined;
3556
+ price: {
3557
+ cryptoCurrencyId: string;
3558
+ fiatCurrencyId: string;
3559
+ price: {
3560
+ value: bigint;
3561
+ decimals: number;
3562
+ };
3563
+ timestamp: number;
3564
+ } | undefined;
3565
+ asset: {
3566
+ type: "Nft";
3567
+ id: string;
3568
+ };
3569
+ amount: {
3570
+ value: bigint;
3571
+ decimals: number;
3572
+ };
3573
+ direction: "in";
3574
+ } | {
3575
+ from: string | undefined;
3576
+ to: string | undefined;
3577
+ price: {
3578
+ cryptoCurrencyId: string;
3579
+ fiatCurrencyId: string;
3580
+ price: {
3581
+ value: bigint;
3582
+ decimals: number;
3583
+ };
3584
+ timestamp: number;
3585
+ } | undefined;
3586
+ asset: {
3587
+ icon: string | undefined;
3588
+ symbol: string;
3589
+ type: "CryptoCurrency";
3590
+ id: string;
3591
+ name: string;
3592
+ market: {
3593
+ coingeckoId: string | undefined;
3594
+ marketCapUsd: {
3595
+ value: bigint;
3596
+ decimals: number;
3597
+ } | undefined;
3598
+ };
3599
+ updatedAt: number;
3600
+ };
3601
+ amount: {
3602
+ value: bigint;
3603
+ decimals: number;
3604
+ };
3605
+ direction: "out";
3606
+ } | {
3607
+ from: string | undefined;
3608
+ to: string | undefined;
3609
+ price: {
3610
+ cryptoCurrencyId: string;
3611
+ fiatCurrencyId: string;
3612
+ price: {
3613
+ value: bigint;
3614
+ decimals: number;
3615
+ };
3616
+ timestamp: number;
3617
+ } | undefined;
3618
+ asset: {
3619
+ type: "Nft";
3620
+ id: string;
3621
+ };
3622
+ amount: {
3623
+ value: bigint;
3624
+ decimals: number;
3625
+ };
3626
+ direction: "out";
3627
+ })[];
3628
+ loanId: string;
3629
+ })[]>;
3630
+ export {};
3631
+ //# sourceMappingURL=setAccountActionPrices.d.ts.map