@0xtorch/core 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_cjs/actions/schemas/ignore/spam.js +12 -2
- package/_cjs/actions/schemas/ignore/spam.js.map +1 -1
- package/_cjs/actions/schemas/index.js +16 -2
- package/_cjs/actions/schemas/index.js.map +1 -1
- package/_cjs/actions/types/default.js +3 -0
- package/_cjs/actions/types/default.js.map +1 -0
- package/_cjs/index.js.map +1 -1
- package/_esm/actions/schemas/ignore/spam.js +13 -3
- package/_esm/actions/schemas/ignore/spam.js.map +1 -1
- package/_esm/actions/schemas/index.js +1 -0
- package/_esm/actions/schemas/index.js.map +1 -1
- package/_esm/actions/types/default.js +2 -0
- package/_esm/actions/types/default.js.map +1 -0
- package/_esm/index.js.map +1 -1
- package/_types/actions/index.d.ts +1 -1
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/schemas/action.d.ts +11308 -10058
- package/_types/actions/schemas/action.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/spam.d.ts +1426 -176
- package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
- package/_types/actions/schemas/index.d.ts +1 -0
- package/_types/actions/schemas/index.d.ts.map +1 -1
- package/_types/actions/types/default.d.ts +16 -0
- package/_types/actions/types/default.d.ts.map +1 -0
- package/_types/actions/types/index.d.ts +1 -0
- package/_types/actions/types/index.d.ts.map +1 -1
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/actions/index.ts +13 -0
- package/actions/schemas/ignore/spam.ts +14 -2
- package/actions/schemas/index.ts +15 -0
- package/actions/types/default.ts +54 -0
- package/actions/types/index.ts +15 -0
- package/index.ts +13 -0
- package/package.json +1 -1
|
@@ -454,13 +454,217 @@ export declare const normalActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
454
454
|
} | undefined;
|
|
455
455
|
from?: string | undefined;
|
|
456
456
|
to?: string | undefined;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
457
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
458
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
459
|
+
cryptoCurrencyId: z.ZodString;
|
|
460
|
+
fiatCurrencyId: z.ZodString;
|
|
461
|
+
price: z.ZodObject<{
|
|
462
|
+
value: z.ZodBigInt;
|
|
463
|
+
decimals: z.ZodNumber;
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
|
+
value: bigint;
|
|
466
|
+
decimals: number;
|
|
467
|
+
}, {
|
|
468
|
+
value: bigint;
|
|
469
|
+
decimals: number;
|
|
470
|
+
}>;
|
|
471
|
+
timestamp: z.ZodNumber;
|
|
472
|
+
}, "strip", z.ZodTypeAny, {
|
|
473
|
+
cryptoCurrencyId: string;
|
|
474
|
+
fiatCurrencyId: string;
|
|
475
|
+
price: {
|
|
476
|
+
value: bigint;
|
|
477
|
+
decimals: number;
|
|
478
|
+
};
|
|
479
|
+
timestamp: number;
|
|
480
|
+
}, {
|
|
481
|
+
cryptoCurrencyId: string;
|
|
482
|
+
fiatCurrencyId: string;
|
|
483
|
+
price: {
|
|
484
|
+
value: bigint;
|
|
485
|
+
decimals: number;
|
|
486
|
+
};
|
|
487
|
+
timestamp: number;
|
|
488
|
+
}>>;
|
|
489
|
+
from: z.ZodOptional<z.ZodString>;
|
|
490
|
+
to: z.ZodOptional<z.ZodString>;
|
|
491
|
+
amount: z.ZodObject<{
|
|
492
|
+
value: z.ZodBigInt;
|
|
493
|
+
decimals: z.ZodNumber;
|
|
494
|
+
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
value: bigint;
|
|
496
|
+
decimals: number;
|
|
497
|
+
}, {
|
|
498
|
+
value: bigint;
|
|
499
|
+
decimals: number;
|
|
500
|
+
}>;
|
|
501
|
+
direction: z.ZodLiteral<"out">;
|
|
502
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
503
|
+
type: z.ZodLiteral<"CryptoCurrency">;
|
|
504
|
+
id: z.ZodString;
|
|
505
|
+
name: z.ZodString;
|
|
506
|
+
symbol: z.ZodString;
|
|
507
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
508
|
+
market: z.ZodEffects<z.ZodObject<{
|
|
509
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
510
|
+
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
value: z.ZodBigInt;
|
|
512
|
+
decimals: z.ZodNumber;
|
|
513
|
+
}, "strip", z.ZodTypeAny, {
|
|
514
|
+
value: bigint;
|
|
515
|
+
decimals: number;
|
|
516
|
+
}, {
|
|
517
|
+
value: bigint;
|
|
518
|
+
decimals: number;
|
|
519
|
+
}>>;
|
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
|
521
|
+
coingeckoId?: string | undefined;
|
|
522
|
+
marketCapUsd?: {
|
|
523
|
+
value: bigint;
|
|
524
|
+
decimals: number;
|
|
525
|
+
} | undefined;
|
|
526
|
+
}, {
|
|
527
|
+
coingeckoId?: string | undefined;
|
|
528
|
+
marketCapUsd?: {
|
|
529
|
+
value: bigint;
|
|
530
|
+
decimals: number;
|
|
531
|
+
} | undefined;
|
|
532
|
+
}>, {
|
|
533
|
+
coingeckoId: string | undefined;
|
|
534
|
+
marketCapUsd: {
|
|
535
|
+
value: bigint;
|
|
536
|
+
decimals: number;
|
|
537
|
+
} | undefined;
|
|
538
|
+
}, {
|
|
539
|
+
coingeckoId?: string | undefined;
|
|
540
|
+
marketCapUsd?: {
|
|
541
|
+
value: bigint;
|
|
542
|
+
decimals: number;
|
|
543
|
+
} | undefined;
|
|
544
|
+
}>;
|
|
545
|
+
updatedAt: z.ZodNumber;
|
|
546
|
+
}, "strip", z.ZodTypeAny, {
|
|
547
|
+
symbol: string;
|
|
548
|
+
type: "CryptoCurrency";
|
|
549
|
+
id: string;
|
|
550
|
+
name: string;
|
|
551
|
+
market: {
|
|
552
|
+
coingeckoId: string | undefined;
|
|
553
|
+
marketCapUsd: {
|
|
554
|
+
value: bigint;
|
|
555
|
+
decimals: number;
|
|
556
|
+
} | undefined;
|
|
557
|
+
};
|
|
558
|
+
updatedAt: number;
|
|
559
|
+
icon?: string | undefined;
|
|
560
|
+
}, {
|
|
561
|
+
symbol: string;
|
|
562
|
+
type: "CryptoCurrency";
|
|
563
|
+
id: string;
|
|
564
|
+
name: string;
|
|
565
|
+
market: {
|
|
566
|
+
coingeckoId?: string | undefined;
|
|
567
|
+
marketCapUsd?: {
|
|
568
|
+
value: bigint;
|
|
569
|
+
decimals: number;
|
|
570
|
+
} | undefined;
|
|
571
|
+
};
|
|
572
|
+
updatedAt: number;
|
|
573
|
+
icon?: string | undefined;
|
|
574
|
+
}>, {
|
|
575
|
+
icon: string | undefined;
|
|
576
|
+
symbol: string;
|
|
577
|
+
type: "CryptoCurrency";
|
|
578
|
+
id: string;
|
|
579
|
+
name: string;
|
|
580
|
+
market: {
|
|
581
|
+
coingeckoId: string | undefined;
|
|
582
|
+
marketCapUsd: {
|
|
583
|
+
value: bigint;
|
|
584
|
+
decimals: number;
|
|
585
|
+
} | undefined;
|
|
586
|
+
};
|
|
587
|
+
updatedAt: number;
|
|
588
|
+
}, {
|
|
589
|
+
symbol: string;
|
|
590
|
+
type: "CryptoCurrency";
|
|
591
|
+
id: string;
|
|
592
|
+
name: string;
|
|
593
|
+
market: {
|
|
594
|
+
coingeckoId?: string | undefined;
|
|
595
|
+
marketCapUsd?: {
|
|
596
|
+
value: bigint;
|
|
597
|
+
decimals: number;
|
|
598
|
+
} | undefined;
|
|
599
|
+
};
|
|
600
|
+
updatedAt: number;
|
|
601
|
+
icon?: string | undefined;
|
|
602
|
+
}>;
|
|
603
|
+
}, "strip", z.ZodTypeAny, {
|
|
604
|
+
asset: {
|
|
605
|
+
icon: string | undefined;
|
|
606
|
+
symbol: string;
|
|
607
|
+
type: "CryptoCurrency";
|
|
608
|
+
id: string;
|
|
609
|
+
name: string;
|
|
610
|
+
market: {
|
|
611
|
+
coingeckoId: string | undefined;
|
|
612
|
+
marketCapUsd: {
|
|
613
|
+
value: bigint;
|
|
614
|
+
decimals: number;
|
|
615
|
+
} | undefined;
|
|
616
|
+
};
|
|
617
|
+
updatedAt: number;
|
|
618
|
+
};
|
|
619
|
+
amount: {
|
|
620
|
+
value: bigint;
|
|
621
|
+
decimals: number;
|
|
622
|
+
};
|
|
623
|
+
direction: "out";
|
|
624
|
+
price?: {
|
|
625
|
+
cryptoCurrencyId: string;
|
|
626
|
+
fiatCurrencyId: string;
|
|
627
|
+
price: {
|
|
628
|
+
value: bigint;
|
|
629
|
+
decimals: number;
|
|
630
|
+
};
|
|
631
|
+
timestamp: number;
|
|
632
|
+
} | undefined;
|
|
633
|
+
from?: string | undefined;
|
|
634
|
+
to?: string | undefined;
|
|
635
|
+
}, {
|
|
636
|
+
asset: {
|
|
637
|
+
symbol: string;
|
|
638
|
+
type: "CryptoCurrency";
|
|
639
|
+
id: string;
|
|
640
|
+
name: string;
|
|
641
|
+
market: {
|
|
642
|
+
coingeckoId?: string | undefined;
|
|
643
|
+
marketCapUsd?: {
|
|
644
|
+
value: bigint;
|
|
645
|
+
decimals: number;
|
|
646
|
+
} | undefined;
|
|
647
|
+
};
|
|
648
|
+
updatedAt: number;
|
|
649
|
+
icon?: string | undefined;
|
|
650
|
+
};
|
|
651
|
+
amount: {
|
|
652
|
+
value: bigint;
|
|
653
|
+
decimals: number;
|
|
654
|
+
};
|
|
655
|
+
direction: "out";
|
|
656
|
+
price?: {
|
|
657
|
+
cryptoCurrencyId: string;
|
|
658
|
+
fiatCurrencyId: string;
|
|
659
|
+
price: {
|
|
660
|
+
value: bigint;
|
|
661
|
+
decimals: number;
|
|
662
|
+
};
|
|
663
|
+
timestamp: number;
|
|
664
|
+
} | undefined;
|
|
665
|
+
from?: string | undefined;
|
|
666
|
+
to?: string | undefined;
|
|
667
|
+
}>, {
|
|
464
668
|
from: string | undefined;
|
|
465
669
|
to: string | undefined;
|
|
466
670
|
price: {
|
|
@@ -470,8 +674,876 @@ export declare const normalActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
470
674
|
value: bigint;
|
|
471
675
|
decimals: number;
|
|
472
676
|
};
|
|
473
|
-
timestamp: number;
|
|
474
|
-
} | undefined;
|
|
677
|
+
timestamp: number;
|
|
678
|
+
} | undefined;
|
|
679
|
+
asset: {
|
|
680
|
+
icon: string | undefined;
|
|
681
|
+
symbol: string;
|
|
682
|
+
type: "CryptoCurrency";
|
|
683
|
+
id: string;
|
|
684
|
+
name: string;
|
|
685
|
+
market: {
|
|
686
|
+
coingeckoId: string | undefined;
|
|
687
|
+
marketCapUsd: {
|
|
688
|
+
value: bigint;
|
|
689
|
+
decimals: number;
|
|
690
|
+
} | undefined;
|
|
691
|
+
};
|
|
692
|
+
updatedAt: number;
|
|
693
|
+
};
|
|
694
|
+
amount: {
|
|
695
|
+
value: bigint;
|
|
696
|
+
decimals: number;
|
|
697
|
+
};
|
|
698
|
+
direction: "out";
|
|
699
|
+
}, {
|
|
700
|
+
asset: {
|
|
701
|
+
symbol: string;
|
|
702
|
+
type: "CryptoCurrency";
|
|
703
|
+
id: string;
|
|
704
|
+
name: string;
|
|
705
|
+
market: {
|
|
706
|
+
coingeckoId?: string | undefined;
|
|
707
|
+
marketCapUsd?: {
|
|
708
|
+
value: bigint;
|
|
709
|
+
decimals: number;
|
|
710
|
+
} | undefined;
|
|
711
|
+
};
|
|
712
|
+
updatedAt: number;
|
|
713
|
+
icon?: string | undefined;
|
|
714
|
+
};
|
|
715
|
+
amount: {
|
|
716
|
+
value: bigint;
|
|
717
|
+
decimals: number;
|
|
718
|
+
};
|
|
719
|
+
direction: "out";
|
|
720
|
+
price?: {
|
|
721
|
+
cryptoCurrencyId: string;
|
|
722
|
+
fiatCurrencyId: string;
|
|
723
|
+
price: {
|
|
724
|
+
value: bigint;
|
|
725
|
+
decimals: number;
|
|
726
|
+
};
|
|
727
|
+
timestamp: number;
|
|
728
|
+
} | undefined;
|
|
729
|
+
from?: string | undefined;
|
|
730
|
+
to?: string | undefined;
|
|
731
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
732
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
733
|
+
cryptoCurrencyId: z.ZodString;
|
|
734
|
+
fiatCurrencyId: z.ZodString;
|
|
735
|
+
price: z.ZodObject<{
|
|
736
|
+
value: z.ZodBigInt;
|
|
737
|
+
decimals: z.ZodNumber;
|
|
738
|
+
}, "strip", z.ZodTypeAny, {
|
|
739
|
+
value: bigint;
|
|
740
|
+
decimals: number;
|
|
741
|
+
}, {
|
|
742
|
+
value: bigint;
|
|
743
|
+
decimals: number;
|
|
744
|
+
}>;
|
|
745
|
+
timestamp: z.ZodNumber;
|
|
746
|
+
}, "strip", z.ZodTypeAny, {
|
|
747
|
+
cryptoCurrencyId: string;
|
|
748
|
+
fiatCurrencyId: string;
|
|
749
|
+
price: {
|
|
750
|
+
value: bigint;
|
|
751
|
+
decimals: number;
|
|
752
|
+
};
|
|
753
|
+
timestamp: number;
|
|
754
|
+
}, {
|
|
755
|
+
cryptoCurrencyId: string;
|
|
756
|
+
fiatCurrencyId: string;
|
|
757
|
+
price: {
|
|
758
|
+
value: bigint;
|
|
759
|
+
decimals: number;
|
|
760
|
+
};
|
|
761
|
+
timestamp: number;
|
|
762
|
+
}>>;
|
|
763
|
+
from: z.ZodOptional<z.ZodString>;
|
|
764
|
+
to: z.ZodOptional<z.ZodString>;
|
|
765
|
+
amount: z.ZodObject<{
|
|
766
|
+
value: z.ZodBigInt;
|
|
767
|
+
decimals: z.ZodNumber;
|
|
768
|
+
}, "strip", z.ZodTypeAny, {
|
|
769
|
+
value: bigint;
|
|
770
|
+
decimals: number;
|
|
771
|
+
}, {
|
|
772
|
+
value: bigint;
|
|
773
|
+
decimals: number;
|
|
774
|
+
}>;
|
|
775
|
+
direction: z.ZodLiteral<"out">;
|
|
776
|
+
asset: z.ZodObject<{
|
|
777
|
+
type: z.ZodLiteral<"Nft">;
|
|
778
|
+
id: z.ZodString;
|
|
779
|
+
}, "strip", z.ZodTypeAny, {
|
|
780
|
+
type: "Nft";
|
|
781
|
+
id: string;
|
|
782
|
+
}, {
|
|
783
|
+
type: "Nft";
|
|
784
|
+
id: string;
|
|
785
|
+
}>;
|
|
786
|
+
}, "strip", z.ZodTypeAny, {
|
|
787
|
+
asset: {
|
|
788
|
+
type: "Nft";
|
|
789
|
+
id: string;
|
|
790
|
+
};
|
|
791
|
+
amount: {
|
|
792
|
+
value: bigint;
|
|
793
|
+
decimals: number;
|
|
794
|
+
};
|
|
795
|
+
direction: "out";
|
|
796
|
+
price?: {
|
|
797
|
+
cryptoCurrencyId: string;
|
|
798
|
+
fiatCurrencyId: string;
|
|
799
|
+
price: {
|
|
800
|
+
value: bigint;
|
|
801
|
+
decimals: number;
|
|
802
|
+
};
|
|
803
|
+
timestamp: number;
|
|
804
|
+
} | undefined;
|
|
805
|
+
from?: string | undefined;
|
|
806
|
+
to?: string | undefined;
|
|
807
|
+
}, {
|
|
808
|
+
asset: {
|
|
809
|
+
type: "Nft";
|
|
810
|
+
id: string;
|
|
811
|
+
};
|
|
812
|
+
amount: {
|
|
813
|
+
value: bigint;
|
|
814
|
+
decimals: number;
|
|
815
|
+
};
|
|
816
|
+
direction: "out";
|
|
817
|
+
price?: {
|
|
818
|
+
cryptoCurrencyId: string;
|
|
819
|
+
fiatCurrencyId: string;
|
|
820
|
+
price: {
|
|
821
|
+
value: bigint;
|
|
822
|
+
decimals: number;
|
|
823
|
+
};
|
|
824
|
+
timestamp: number;
|
|
825
|
+
} | undefined;
|
|
826
|
+
from?: string | undefined;
|
|
827
|
+
to?: string | undefined;
|
|
828
|
+
}>, {
|
|
829
|
+
from: string | undefined;
|
|
830
|
+
to: string | undefined;
|
|
831
|
+
price: {
|
|
832
|
+
cryptoCurrencyId: string;
|
|
833
|
+
fiatCurrencyId: string;
|
|
834
|
+
price: {
|
|
835
|
+
value: bigint;
|
|
836
|
+
decimals: number;
|
|
837
|
+
};
|
|
838
|
+
timestamp: number;
|
|
839
|
+
} | undefined;
|
|
840
|
+
asset: {
|
|
841
|
+
type: "Nft";
|
|
842
|
+
id: string;
|
|
843
|
+
};
|
|
844
|
+
amount: {
|
|
845
|
+
value: bigint;
|
|
846
|
+
decimals: number;
|
|
847
|
+
};
|
|
848
|
+
direction: "out";
|
|
849
|
+
}, {
|
|
850
|
+
asset: {
|
|
851
|
+
type: "Nft";
|
|
852
|
+
id: string;
|
|
853
|
+
};
|
|
854
|
+
amount: {
|
|
855
|
+
value: bigint;
|
|
856
|
+
decimals: number;
|
|
857
|
+
};
|
|
858
|
+
direction: "out";
|
|
859
|
+
price?: {
|
|
860
|
+
cryptoCurrencyId: string;
|
|
861
|
+
fiatCurrencyId: string;
|
|
862
|
+
price: {
|
|
863
|
+
value: bigint;
|
|
864
|
+
decimals: number;
|
|
865
|
+
};
|
|
866
|
+
timestamp: number;
|
|
867
|
+
} | undefined;
|
|
868
|
+
from?: string | undefined;
|
|
869
|
+
to?: string | undefined;
|
|
870
|
+
}>]>, "many">;
|
|
871
|
+
}, "strip", z.ZodTypeAny, {
|
|
872
|
+
type: "NormalAction";
|
|
873
|
+
timestamp: number;
|
|
874
|
+
action: "spam";
|
|
875
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
876
|
+
transfers: ({
|
|
877
|
+
from: string | undefined;
|
|
878
|
+
to: string | undefined;
|
|
879
|
+
price: {
|
|
880
|
+
cryptoCurrencyId: string;
|
|
881
|
+
fiatCurrencyId: string;
|
|
882
|
+
price: {
|
|
883
|
+
value: bigint;
|
|
884
|
+
decimals: number;
|
|
885
|
+
};
|
|
886
|
+
timestamp: number;
|
|
887
|
+
} | undefined;
|
|
888
|
+
asset: {
|
|
889
|
+
icon: string | undefined;
|
|
890
|
+
symbol: string;
|
|
891
|
+
type: "CryptoCurrency";
|
|
892
|
+
id: string;
|
|
893
|
+
name: string;
|
|
894
|
+
market: {
|
|
895
|
+
coingeckoId: string | undefined;
|
|
896
|
+
marketCapUsd: {
|
|
897
|
+
value: bigint;
|
|
898
|
+
decimals: number;
|
|
899
|
+
} | undefined;
|
|
900
|
+
};
|
|
901
|
+
updatedAt: number;
|
|
902
|
+
};
|
|
903
|
+
amount: {
|
|
904
|
+
value: bigint;
|
|
905
|
+
decimals: number;
|
|
906
|
+
};
|
|
907
|
+
direction: "in";
|
|
908
|
+
} | {
|
|
909
|
+
from: string | undefined;
|
|
910
|
+
to: string | undefined;
|
|
911
|
+
price: {
|
|
912
|
+
cryptoCurrencyId: string;
|
|
913
|
+
fiatCurrencyId: string;
|
|
914
|
+
price: {
|
|
915
|
+
value: bigint;
|
|
916
|
+
decimals: number;
|
|
917
|
+
};
|
|
918
|
+
timestamp: number;
|
|
919
|
+
} | undefined;
|
|
920
|
+
asset: {
|
|
921
|
+
type: "Nft";
|
|
922
|
+
id: string;
|
|
923
|
+
};
|
|
924
|
+
amount: {
|
|
925
|
+
value: bigint;
|
|
926
|
+
decimals: number;
|
|
927
|
+
};
|
|
928
|
+
direction: "in";
|
|
929
|
+
} | {
|
|
930
|
+
from: string | undefined;
|
|
931
|
+
to: string | undefined;
|
|
932
|
+
price: {
|
|
933
|
+
cryptoCurrencyId: string;
|
|
934
|
+
fiatCurrencyId: string;
|
|
935
|
+
price: {
|
|
936
|
+
value: bigint;
|
|
937
|
+
decimals: number;
|
|
938
|
+
};
|
|
939
|
+
timestamp: number;
|
|
940
|
+
} | undefined;
|
|
941
|
+
asset: {
|
|
942
|
+
icon: string | undefined;
|
|
943
|
+
symbol: string;
|
|
944
|
+
type: "CryptoCurrency";
|
|
945
|
+
id: string;
|
|
946
|
+
name: string;
|
|
947
|
+
market: {
|
|
948
|
+
coingeckoId: string | undefined;
|
|
949
|
+
marketCapUsd: {
|
|
950
|
+
value: bigint;
|
|
951
|
+
decimals: number;
|
|
952
|
+
} | undefined;
|
|
953
|
+
};
|
|
954
|
+
updatedAt: number;
|
|
955
|
+
};
|
|
956
|
+
amount: {
|
|
957
|
+
value: bigint;
|
|
958
|
+
decimals: number;
|
|
959
|
+
};
|
|
960
|
+
direction: "out";
|
|
961
|
+
} | {
|
|
962
|
+
from: string | undefined;
|
|
963
|
+
to: string | undefined;
|
|
964
|
+
price: {
|
|
965
|
+
cryptoCurrencyId: string;
|
|
966
|
+
fiatCurrencyId: string;
|
|
967
|
+
price: {
|
|
968
|
+
value: bigint;
|
|
969
|
+
decimals: number;
|
|
970
|
+
};
|
|
971
|
+
timestamp: number;
|
|
972
|
+
} | undefined;
|
|
973
|
+
asset: {
|
|
974
|
+
type: "Nft";
|
|
975
|
+
id: string;
|
|
976
|
+
};
|
|
977
|
+
amount: {
|
|
978
|
+
value: bigint;
|
|
979
|
+
decimals: number;
|
|
980
|
+
};
|
|
981
|
+
direction: "out";
|
|
982
|
+
})[];
|
|
983
|
+
comment?: string | undefined;
|
|
984
|
+
app?: {
|
|
985
|
+
description: string | undefined;
|
|
986
|
+
website: string | undefined;
|
|
987
|
+
icon: string | undefined;
|
|
988
|
+
id: string;
|
|
989
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
990
|
+
name: string;
|
|
991
|
+
} | undefined;
|
|
992
|
+
}, {
|
|
993
|
+
type: "NormalAction";
|
|
994
|
+
timestamp: number;
|
|
995
|
+
action: "spam";
|
|
996
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
997
|
+
transfers: ({
|
|
998
|
+
asset: {
|
|
999
|
+
symbol: string;
|
|
1000
|
+
type: "CryptoCurrency";
|
|
1001
|
+
id: string;
|
|
1002
|
+
name: string;
|
|
1003
|
+
market: {
|
|
1004
|
+
coingeckoId?: string | undefined;
|
|
1005
|
+
marketCapUsd?: {
|
|
1006
|
+
value: bigint;
|
|
1007
|
+
decimals: number;
|
|
1008
|
+
} | undefined;
|
|
1009
|
+
};
|
|
1010
|
+
updatedAt: number;
|
|
1011
|
+
icon?: string | undefined;
|
|
1012
|
+
};
|
|
1013
|
+
amount: {
|
|
1014
|
+
value: bigint;
|
|
1015
|
+
decimals: number;
|
|
1016
|
+
};
|
|
1017
|
+
direction: "in";
|
|
1018
|
+
price?: {
|
|
1019
|
+
cryptoCurrencyId: string;
|
|
1020
|
+
fiatCurrencyId: string;
|
|
1021
|
+
price: {
|
|
1022
|
+
value: bigint;
|
|
1023
|
+
decimals: number;
|
|
1024
|
+
};
|
|
1025
|
+
timestamp: number;
|
|
1026
|
+
} | undefined;
|
|
1027
|
+
from?: string | undefined;
|
|
1028
|
+
to?: string | undefined;
|
|
1029
|
+
} | {
|
|
1030
|
+
asset: {
|
|
1031
|
+
type: "Nft";
|
|
1032
|
+
id: string;
|
|
1033
|
+
};
|
|
1034
|
+
amount: {
|
|
1035
|
+
value: bigint;
|
|
1036
|
+
decimals: number;
|
|
1037
|
+
};
|
|
1038
|
+
direction: "in";
|
|
1039
|
+
price?: {
|
|
1040
|
+
cryptoCurrencyId: string;
|
|
1041
|
+
fiatCurrencyId: string;
|
|
1042
|
+
price: {
|
|
1043
|
+
value: bigint;
|
|
1044
|
+
decimals: number;
|
|
1045
|
+
};
|
|
1046
|
+
timestamp: number;
|
|
1047
|
+
} | undefined;
|
|
1048
|
+
from?: string | undefined;
|
|
1049
|
+
to?: string | undefined;
|
|
1050
|
+
} | {
|
|
1051
|
+
asset: {
|
|
1052
|
+
symbol: string;
|
|
1053
|
+
type: "CryptoCurrency";
|
|
1054
|
+
id: string;
|
|
1055
|
+
name: string;
|
|
1056
|
+
market: {
|
|
1057
|
+
coingeckoId?: string | undefined;
|
|
1058
|
+
marketCapUsd?: {
|
|
1059
|
+
value: bigint;
|
|
1060
|
+
decimals: number;
|
|
1061
|
+
} | undefined;
|
|
1062
|
+
};
|
|
1063
|
+
updatedAt: number;
|
|
1064
|
+
icon?: string | undefined;
|
|
1065
|
+
};
|
|
1066
|
+
amount: {
|
|
1067
|
+
value: bigint;
|
|
1068
|
+
decimals: number;
|
|
1069
|
+
};
|
|
1070
|
+
direction: "out";
|
|
1071
|
+
price?: {
|
|
1072
|
+
cryptoCurrencyId: string;
|
|
1073
|
+
fiatCurrencyId: string;
|
|
1074
|
+
price: {
|
|
1075
|
+
value: bigint;
|
|
1076
|
+
decimals: number;
|
|
1077
|
+
};
|
|
1078
|
+
timestamp: number;
|
|
1079
|
+
} | undefined;
|
|
1080
|
+
from?: string | undefined;
|
|
1081
|
+
to?: string | undefined;
|
|
1082
|
+
} | {
|
|
1083
|
+
asset: {
|
|
1084
|
+
type: "Nft";
|
|
1085
|
+
id: string;
|
|
1086
|
+
};
|
|
1087
|
+
amount: {
|
|
1088
|
+
value: bigint;
|
|
1089
|
+
decimals: number;
|
|
1090
|
+
};
|
|
1091
|
+
direction: "out";
|
|
1092
|
+
price?: {
|
|
1093
|
+
cryptoCurrencyId: string;
|
|
1094
|
+
fiatCurrencyId: string;
|
|
1095
|
+
price: {
|
|
1096
|
+
value: bigint;
|
|
1097
|
+
decimals: number;
|
|
1098
|
+
};
|
|
1099
|
+
timestamp: number;
|
|
1100
|
+
} | undefined;
|
|
1101
|
+
from?: string | undefined;
|
|
1102
|
+
to?: string | undefined;
|
|
1103
|
+
})[];
|
|
1104
|
+
comment?: string | undefined;
|
|
1105
|
+
app?: {
|
|
1106
|
+
id: string;
|
|
1107
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1108
|
+
name: string;
|
|
1109
|
+
description?: string | undefined;
|
|
1110
|
+
website?: string | undefined;
|
|
1111
|
+
icon?: string | undefined;
|
|
1112
|
+
} | undefined;
|
|
1113
|
+
}>, {
|
|
1114
|
+
comment: string | undefined;
|
|
1115
|
+
app: {
|
|
1116
|
+
description: string | undefined;
|
|
1117
|
+
website: string | undefined;
|
|
1118
|
+
icon: string | undefined;
|
|
1119
|
+
id: string;
|
|
1120
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1121
|
+
name: string;
|
|
1122
|
+
} | undefined;
|
|
1123
|
+
type: "NormalAction";
|
|
1124
|
+
timestamp: number;
|
|
1125
|
+
action: "spam";
|
|
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
|
+
amount: {
|
|
1155
|
+
value: bigint;
|
|
1156
|
+
decimals: number;
|
|
1157
|
+
};
|
|
1158
|
+
direction: "in";
|
|
1159
|
+
} | {
|
|
1160
|
+
from: string | undefined;
|
|
1161
|
+
to: string | undefined;
|
|
1162
|
+
price: {
|
|
1163
|
+
cryptoCurrencyId: string;
|
|
1164
|
+
fiatCurrencyId: string;
|
|
1165
|
+
price: {
|
|
1166
|
+
value: bigint;
|
|
1167
|
+
decimals: number;
|
|
1168
|
+
};
|
|
1169
|
+
timestamp: number;
|
|
1170
|
+
} | undefined;
|
|
1171
|
+
asset: {
|
|
1172
|
+
type: "Nft";
|
|
1173
|
+
id: string;
|
|
1174
|
+
};
|
|
1175
|
+
amount: {
|
|
1176
|
+
value: bigint;
|
|
1177
|
+
decimals: number;
|
|
1178
|
+
};
|
|
1179
|
+
direction: "in";
|
|
1180
|
+
} | {
|
|
1181
|
+
from: string | undefined;
|
|
1182
|
+
to: string | undefined;
|
|
1183
|
+
price: {
|
|
1184
|
+
cryptoCurrencyId: string;
|
|
1185
|
+
fiatCurrencyId: string;
|
|
1186
|
+
price: {
|
|
1187
|
+
value: bigint;
|
|
1188
|
+
decimals: number;
|
|
1189
|
+
};
|
|
1190
|
+
timestamp: number;
|
|
1191
|
+
} | undefined;
|
|
1192
|
+
asset: {
|
|
1193
|
+
icon: string | undefined;
|
|
1194
|
+
symbol: string;
|
|
1195
|
+
type: "CryptoCurrency";
|
|
1196
|
+
id: string;
|
|
1197
|
+
name: string;
|
|
1198
|
+
market: {
|
|
1199
|
+
coingeckoId: string | undefined;
|
|
1200
|
+
marketCapUsd: {
|
|
1201
|
+
value: bigint;
|
|
1202
|
+
decimals: number;
|
|
1203
|
+
} | undefined;
|
|
1204
|
+
};
|
|
1205
|
+
updatedAt: number;
|
|
1206
|
+
};
|
|
1207
|
+
amount: {
|
|
1208
|
+
value: bigint;
|
|
1209
|
+
decimals: number;
|
|
1210
|
+
};
|
|
1211
|
+
direction: "out";
|
|
1212
|
+
} | {
|
|
1213
|
+
from: string | undefined;
|
|
1214
|
+
to: string | undefined;
|
|
1215
|
+
price: {
|
|
1216
|
+
cryptoCurrencyId: string;
|
|
1217
|
+
fiatCurrencyId: string;
|
|
1218
|
+
price: {
|
|
1219
|
+
value: bigint;
|
|
1220
|
+
decimals: number;
|
|
1221
|
+
};
|
|
1222
|
+
timestamp: number;
|
|
1223
|
+
} | undefined;
|
|
1224
|
+
asset: {
|
|
1225
|
+
type: "Nft";
|
|
1226
|
+
id: string;
|
|
1227
|
+
};
|
|
1228
|
+
amount: {
|
|
1229
|
+
value: bigint;
|
|
1230
|
+
decimals: number;
|
|
1231
|
+
};
|
|
1232
|
+
direction: "out";
|
|
1233
|
+
})[];
|
|
1234
|
+
}, {
|
|
1235
|
+
type: "NormalAction";
|
|
1236
|
+
timestamp: number;
|
|
1237
|
+
action: "spam";
|
|
1238
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1239
|
+
transfers: ({
|
|
1240
|
+
asset: {
|
|
1241
|
+
symbol: string;
|
|
1242
|
+
type: "CryptoCurrency";
|
|
1243
|
+
id: string;
|
|
1244
|
+
name: string;
|
|
1245
|
+
market: {
|
|
1246
|
+
coingeckoId?: string | undefined;
|
|
1247
|
+
marketCapUsd?: {
|
|
1248
|
+
value: bigint;
|
|
1249
|
+
decimals: number;
|
|
1250
|
+
} | undefined;
|
|
1251
|
+
};
|
|
1252
|
+
updatedAt: number;
|
|
1253
|
+
icon?: string | undefined;
|
|
1254
|
+
};
|
|
1255
|
+
amount: {
|
|
1256
|
+
value: bigint;
|
|
1257
|
+
decimals: number;
|
|
1258
|
+
};
|
|
1259
|
+
direction: "in";
|
|
1260
|
+
price?: {
|
|
1261
|
+
cryptoCurrencyId: string;
|
|
1262
|
+
fiatCurrencyId: string;
|
|
1263
|
+
price: {
|
|
1264
|
+
value: bigint;
|
|
1265
|
+
decimals: number;
|
|
1266
|
+
};
|
|
1267
|
+
timestamp: number;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
from?: string | undefined;
|
|
1270
|
+
to?: string | undefined;
|
|
1271
|
+
} | {
|
|
1272
|
+
asset: {
|
|
1273
|
+
type: "Nft";
|
|
1274
|
+
id: string;
|
|
1275
|
+
};
|
|
1276
|
+
amount: {
|
|
1277
|
+
value: bigint;
|
|
1278
|
+
decimals: number;
|
|
1279
|
+
};
|
|
1280
|
+
direction: "in";
|
|
1281
|
+
price?: {
|
|
1282
|
+
cryptoCurrencyId: string;
|
|
1283
|
+
fiatCurrencyId: string;
|
|
1284
|
+
price: {
|
|
1285
|
+
value: bigint;
|
|
1286
|
+
decimals: number;
|
|
1287
|
+
};
|
|
1288
|
+
timestamp: number;
|
|
1289
|
+
} | undefined;
|
|
1290
|
+
from?: string | undefined;
|
|
1291
|
+
to?: string | undefined;
|
|
1292
|
+
} | {
|
|
1293
|
+
asset: {
|
|
1294
|
+
symbol: string;
|
|
1295
|
+
type: "CryptoCurrency";
|
|
1296
|
+
id: string;
|
|
1297
|
+
name: string;
|
|
1298
|
+
market: {
|
|
1299
|
+
coingeckoId?: string | undefined;
|
|
1300
|
+
marketCapUsd?: {
|
|
1301
|
+
value: bigint;
|
|
1302
|
+
decimals: number;
|
|
1303
|
+
} | undefined;
|
|
1304
|
+
};
|
|
1305
|
+
updatedAt: number;
|
|
1306
|
+
icon?: string | undefined;
|
|
1307
|
+
};
|
|
1308
|
+
amount: {
|
|
1309
|
+
value: bigint;
|
|
1310
|
+
decimals: number;
|
|
1311
|
+
};
|
|
1312
|
+
direction: "out";
|
|
1313
|
+
price?: {
|
|
1314
|
+
cryptoCurrencyId: string;
|
|
1315
|
+
fiatCurrencyId: string;
|
|
1316
|
+
price: {
|
|
1317
|
+
value: bigint;
|
|
1318
|
+
decimals: number;
|
|
1319
|
+
};
|
|
1320
|
+
timestamp: number;
|
|
1321
|
+
} | undefined;
|
|
1322
|
+
from?: string | undefined;
|
|
1323
|
+
to?: string | undefined;
|
|
1324
|
+
} | {
|
|
1325
|
+
asset: {
|
|
1326
|
+
type: "Nft";
|
|
1327
|
+
id: string;
|
|
1328
|
+
};
|
|
1329
|
+
amount: {
|
|
1330
|
+
value: bigint;
|
|
1331
|
+
decimals: number;
|
|
1332
|
+
};
|
|
1333
|
+
direction: "out";
|
|
1334
|
+
price?: {
|
|
1335
|
+
cryptoCurrencyId: string;
|
|
1336
|
+
fiatCurrencyId: string;
|
|
1337
|
+
price: {
|
|
1338
|
+
value: bigint;
|
|
1339
|
+
decimals: number;
|
|
1340
|
+
};
|
|
1341
|
+
timestamp: number;
|
|
1342
|
+
} | undefined;
|
|
1343
|
+
from?: string | undefined;
|
|
1344
|
+
to?: string | undefined;
|
|
1345
|
+
})[];
|
|
1346
|
+
comment?: string | undefined;
|
|
1347
|
+
app?: {
|
|
1348
|
+
id: string;
|
|
1349
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1350
|
+
name: string;
|
|
1351
|
+
description?: string | undefined;
|
|
1352
|
+
website?: string | undefined;
|
|
1353
|
+
icon?: string | undefined;
|
|
1354
|
+
} | undefined;
|
|
1355
|
+
}>;
|
|
1356
|
+
export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
1357
|
+
type: z.ZodLiteral<"NormalAccountAction">;
|
|
1358
|
+
timestamp: z.ZodNumber;
|
|
1359
|
+
order: z.ZodNumber;
|
|
1360
|
+
source: z.ZodString;
|
|
1361
|
+
evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
|
|
1362
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1364
|
+
id: z.ZodString;
|
|
1365
|
+
categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
|
|
1366
|
+
name: z.ZodString;
|
|
1367
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1368
|
+
website: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
}, "strip", z.ZodTypeAny, {
|
|
1371
|
+
id: string;
|
|
1372
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1373
|
+
name: string;
|
|
1374
|
+
description?: string | undefined;
|
|
1375
|
+
website?: string | undefined;
|
|
1376
|
+
icon?: string | undefined;
|
|
1377
|
+
}, {
|
|
1378
|
+
id: string;
|
|
1379
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1380
|
+
name: string;
|
|
1381
|
+
description?: string | undefined;
|
|
1382
|
+
website?: string | undefined;
|
|
1383
|
+
icon?: string | undefined;
|
|
1384
|
+
}>, {
|
|
1385
|
+
description: string | undefined;
|
|
1386
|
+
website: string | undefined;
|
|
1387
|
+
icon: string | undefined;
|
|
1388
|
+
id: string;
|
|
1389
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1390
|
+
name: string;
|
|
1391
|
+
}, {
|
|
1392
|
+
id: string;
|
|
1393
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1394
|
+
name: string;
|
|
1395
|
+
description?: string | undefined;
|
|
1396
|
+
website?: string | undefined;
|
|
1397
|
+
icon?: string | undefined;
|
|
1398
|
+
}>>;
|
|
1399
|
+
action: z.ZodLiteral<"spam">;
|
|
1400
|
+
transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
1401
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
1402
|
+
cryptoCurrencyId: z.ZodString;
|
|
1403
|
+
fiatCurrencyId: z.ZodString;
|
|
1404
|
+
price: z.ZodObject<{
|
|
1405
|
+
value: z.ZodBigInt;
|
|
1406
|
+
decimals: z.ZodNumber;
|
|
1407
|
+
}, "strip", z.ZodTypeAny, {
|
|
1408
|
+
value: bigint;
|
|
1409
|
+
decimals: number;
|
|
1410
|
+
}, {
|
|
1411
|
+
value: bigint;
|
|
1412
|
+
decimals: number;
|
|
1413
|
+
}>;
|
|
1414
|
+
timestamp: z.ZodNumber;
|
|
1415
|
+
}, "strip", z.ZodTypeAny, {
|
|
1416
|
+
cryptoCurrencyId: string;
|
|
1417
|
+
fiatCurrencyId: string;
|
|
1418
|
+
price: {
|
|
1419
|
+
value: bigint;
|
|
1420
|
+
decimals: number;
|
|
1421
|
+
};
|
|
1422
|
+
timestamp: number;
|
|
1423
|
+
}, {
|
|
1424
|
+
cryptoCurrencyId: string;
|
|
1425
|
+
fiatCurrencyId: string;
|
|
1426
|
+
price: {
|
|
1427
|
+
value: bigint;
|
|
1428
|
+
decimals: number;
|
|
1429
|
+
};
|
|
1430
|
+
timestamp: number;
|
|
1431
|
+
}>>;
|
|
1432
|
+
from: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
to: z.ZodOptional<z.ZodString>;
|
|
1434
|
+
amount: z.ZodObject<{
|
|
1435
|
+
value: z.ZodBigInt;
|
|
1436
|
+
decimals: z.ZodNumber;
|
|
1437
|
+
}, "strip", z.ZodTypeAny, {
|
|
1438
|
+
value: bigint;
|
|
1439
|
+
decimals: number;
|
|
1440
|
+
}, {
|
|
1441
|
+
value: bigint;
|
|
1442
|
+
decimals: number;
|
|
1443
|
+
}>;
|
|
1444
|
+
direction: z.ZodLiteral<"in">;
|
|
1445
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
1446
|
+
type: z.ZodLiteral<"CryptoCurrency">;
|
|
1447
|
+
id: z.ZodString;
|
|
1448
|
+
name: z.ZodString;
|
|
1449
|
+
symbol: z.ZodString;
|
|
1450
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
market: z.ZodEffects<z.ZodObject<{
|
|
1452
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
1453
|
+
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
1454
|
+
value: z.ZodBigInt;
|
|
1455
|
+
decimals: z.ZodNumber;
|
|
1456
|
+
}, "strip", z.ZodTypeAny, {
|
|
1457
|
+
value: bigint;
|
|
1458
|
+
decimals: number;
|
|
1459
|
+
}, {
|
|
1460
|
+
value: bigint;
|
|
1461
|
+
decimals: number;
|
|
1462
|
+
}>>;
|
|
1463
|
+
}, "strip", z.ZodTypeAny, {
|
|
1464
|
+
coingeckoId?: string | undefined;
|
|
1465
|
+
marketCapUsd?: {
|
|
1466
|
+
value: bigint;
|
|
1467
|
+
decimals: number;
|
|
1468
|
+
} | undefined;
|
|
1469
|
+
}, {
|
|
1470
|
+
coingeckoId?: string | undefined;
|
|
1471
|
+
marketCapUsd?: {
|
|
1472
|
+
value: bigint;
|
|
1473
|
+
decimals: number;
|
|
1474
|
+
} | undefined;
|
|
1475
|
+
}>, {
|
|
1476
|
+
coingeckoId: string | undefined;
|
|
1477
|
+
marketCapUsd: {
|
|
1478
|
+
value: bigint;
|
|
1479
|
+
decimals: number;
|
|
1480
|
+
} | undefined;
|
|
1481
|
+
}, {
|
|
1482
|
+
coingeckoId?: string | undefined;
|
|
1483
|
+
marketCapUsd?: {
|
|
1484
|
+
value: bigint;
|
|
1485
|
+
decimals: number;
|
|
1486
|
+
} | undefined;
|
|
1487
|
+
}>;
|
|
1488
|
+
updatedAt: z.ZodNumber;
|
|
1489
|
+
}, "strip", z.ZodTypeAny, {
|
|
1490
|
+
symbol: string;
|
|
1491
|
+
type: "CryptoCurrency";
|
|
1492
|
+
id: string;
|
|
1493
|
+
name: string;
|
|
1494
|
+
market: {
|
|
1495
|
+
coingeckoId: string | undefined;
|
|
1496
|
+
marketCapUsd: {
|
|
1497
|
+
value: bigint;
|
|
1498
|
+
decimals: number;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
};
|
|
1501
|
+
updatedAt: number;
|
|
1502
|
+
icon?: string | undefined;
|
|
1503
|
+
}, {
|
|
1504
|
+
symbol: string;
|
|
1505
|
+
type: "CryptoCurrency";
|
|
1506
|
+
id: string;
|
|
1507
|
+
name: string;
|
|
1508
|
+
market: {
|
|
1509
|
+
coingeckoId?: string | undefined;
|
|
1510
|
+
marketCapUsd?: {
|
|
1511
|
+
value: bigint;
|
|
1512
|
+
decimals: number;
|
|
1513
|
+
} | undefined;
|
|
1514
|
+
};
|
|
1515
|
+
updatedAt: number;
|
|
1516
|
+
icon?: string | undefined;
|
|
1517
|
+
}>, {
|
|
1518
|
+
icon: string | undefined;
|
|
1519
|
+
symbol: string;
|
|
1520
|
+
type: "CryptoCurrency";
|
|
1521
|
+
id: string;
|
|
1522
|
+
name: string;
|
|
1523
|
+
market: {
|
|
1524
|
+
coingeckoId: string | undefined;
|
|
1525
|
+
marketCapUsd: {
|
|
1526
|
+
value: bigint;
|
|
1527
|
+
decimals: number;
|
|
1528
|
+
} | undefined;
|
|
1529
|
+
};
|
|
1530
|
+
updatedAt: number;
|
|
1531
|
+
}, {
|
|
1532
|
+
symbol: string;
|
|
1533
|
+
type: "CryptoCurrency";
|
|
1534
|
+
id: string;
|
|
1535
|
+
name: string;
|
|
1536
|
+
market: {
|
|
1537
|
+
coingeckoId?: string | undefined;
|
|
1538
|
+
marketCapUsd?: {
|
|
1539
|
+
value: bigint;
|
|
1540
|
+
decimals: number;
|
|
1541
|
+
} | undefined;
|
|
1542
|
+
};
|
|
1543
|
+
updatedAt: number;
|
|
1544
|
+
icon?: string | undefined;
|
|
1545
|
+
}>;
|
|
1546
|
+
}, "strip", z.ZodTypeAny, {
|
|
475
1547
|
asset: {
|
|
476
1548
|
icon: string | undefined;
|
|
477
1549
|
symbol: string;
|
|
@@ -492,10 +1564,7 @@ export declare const normalActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
492
1564
|
decimals: number;
|
|
493
1565
|
};
|
|
494
1566
|
direction: "in";
|
|
495
|
-
|
|
496
|
-
from: string | undefined;
|
|
497
|
-
to: string | undefined;
|
|
498
|
-
price: {
|
|
1567
|
+
price?: {
|
|
499
1568
|
cryptoCurrencyId: string;
|
|
500
1569
|
fiatCurrencyId: string;
|
|
501
1570
|
price: {
|
|
@@ -504,31 +1573,9 @@ export declare const normalActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
504
1573
|
};
|
|
505
1574
|
timestamp: number;
|
|
506
1575
|
} | undefined;
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
};
|
|
511
|
-
amount: {
|
|
512
|
-
value: bigint;
|
|
513
|
-
decimals: number;
|
|
514
|
-
};
|
|
515
|
-
direction: "in";
|
|
516
|
-
})[];
|
|
517
|
-
comment?: string | undefined;
|
|
518
|
-
app?: {
|
|
519
|
-
description: string | undefined;
|
|
520
|
-
website: string | undefined;
|
|
521
|
-
icon: string | undefined;
|
|
522
|
-
id: string;
|
|
523
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
524
|
-
name: string;
|
|
525
|
-
} | undefined;
|
|
526
|
-
}, {
|
|
527
|
-
type: "NormalAction";
|
|
528
|
-
timestamp: number;
|
|
529
|
-
action: "spam";
|
|
530
|
-
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
531
|
-
transfers: ({
|
|
1576
|
+
from?: string | undefined;
|
|
1577
|
+
to?: string | undefined;
|
|
1578
|
+
}, {
|
|
532
1579
|
asset: {
|
|
533
1580
|
symbol: string;
|
|
534
1581
|
type: "CryptoCurrency";
|
|
@@ -560,52 +1607,7 @@ export declare const normalActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
560
1607
|
} | undefined;
|
|
561
1608
|
from?: string | undefined;
|
|
562
1609
|
to?: string | undefined;
|
|
563
|
-
}
|
|
564
|
-
asset: {
|
|
565
|
-
type: "Nft";
|
|
566
|
-
id: string;
|
|
567
|
-
};
|
|
568
|
-
amount: {
|
|
569
|
-
value: bigint;
|
|
570
|
-
decimals: number;
|
|
571
|
-
};
|
|
572
|
-
direction: "in";
|
|
573
|
-
price?: {
|
|
574
|
-
cryptoCurrencyId: string;
|
|
575
|
-
fiatCurrencyId: string;
|
|
576
|
-
price: {
|
|
577
|
-
value: bigint;
|
|
578
|
-
decimals: number;
|
|
579
|
-
};
|
|
580
|
-
timestamp: number;
|
|
581
|
-
} | undefined;
|
|
582
|
-
from?: string | undefined;
|
|
583
|
-
to?: string | undefined;
|
|
584
|
-
})[];
|
|
585
|
-
comment?: string | undefined;
|
|
586
|
-
app?: {
|
|
587
|
-
id: string;
|
|
588
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
589
|
-
name: string;
|
|
590
|
-
description?: string | undefined;
|
|
591
|
-
website?: string | undefined;
|
|
592
|
-
icon?: string | undefined;
|
|
593
|
-
} | undefined;
|
|
594
|
-
}>, {
|
|
595
|
-
comment: string | undefined;
|
|
596
|
-
app: {
|
|
597
|
-
description: string | undefined;
|
|
598
|
-
website: string | undefined;
|
|
599
|
-
icon: string | undefined;
|
|
600
|
-
id: string;
|
|
601
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
602
|
-
name: string;
|
|
603
|
-
} | undefined;
|
|
604
|
-
type: "NormalAction";
|
|
605
|
-
timestamp: number;
|
|
606
|
-
action: "spam";
|
|
607
|
-
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
608
|
-
transfers: ({
|
|
1610
|
+
}>, {
|
|
609
1611
|
from: string | undefined;
|
|
610
1612
|
to: string | undefined;
|
|
611
1613
|
price: {
|
|
@@ -637,34 +1639,7 @@ export declare const normalActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
637
1639
|
decimals: number;
|
|
638
1640
|
};
|
|
639
1641
|
direction: "in";
|
|
640
|
-
}
|
|
641
|
-
from: string | undefined;
|
|
642
|
-
to: string | undefined;
|
|
643
|
-
price: {
|
|
644
|
-
cryptoCurrencyId: string;
|
|
645
|
-
fiatCurrencyId: string;
|
|
646
|
-
price: {
|
|
647
|
-
value: bigint;
|
|
648
|
-
decimals: number;
|
|
649
|
-
};
|
|
650
|
-
timestamp: number;
|
|
651
|
-
} | undefined;
|
|
652
|
-
asset: {
|
|
653
|
-
type: "Nft";
|
|
654
|
-
id: string;
|
|
655
|
-
};
|
|
656
|
-
amount: {
|
|
657
|
-
value: bigint;
|
|
658
|
-
decimals: number;
|
|
659
|
-
};
|
|
660
|
-
direction: "in";
|
|
661
|
-
})[];
|
|
662
|
-
}, {
|
|
663
|
-
type: "NormalAction";
|
|
664
|
-
timestamp: number;
|
|
665
|
-
action: "spam";
|
|
666
|
-
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
667
|
-
transfers: ({
|
|
1642
|
+
}, {
|
|
668
1643
|
asset: {
|
|
669
1644
|
symbol: string;
|
|
670
1645
|
type: "CryptoCurrency";
|
|
@@ -696,7 +1671,62 @@ export declare const normalActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
696
1671
|
} | undefined;
|
|
697
1672
|
from?: string | undefined;
|
|
698
1673
|
to?: string | undefined;
|
|
699
|
-
}
|
|
1674
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
1675
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
1676
|
+
cryptoCurrencyId: z.ZodString;
|
|
1677
|
+
fiatCurrencyId: z.ZodString;
|
|
1678
|
+
price: z.ZodObject<{
|
|
1679
|
+
value: z.ZodBigInt;
|
|
1680
|
+
decimals: z.ZodNumber;
|
|
1681
|
+
}, "strip", z.ZodTypeAny, {
|
|
1682
|
+
value: bigint;
|
|
1683
|
+
decimals: number;
|
|
1684
|
+
}, {
|
|
1685
|
+
value: bigint;
|
|
1686
|
+
decimals: number;
|
|
1687
|
+
}>;
|
|
1688
|
+
timestamp: z.ZodNumber;
|
|
1689
|
+
}, "strip", z.ZodTypeAny, {
|
|
1690
|
+
cryptoCurrencyId: string;
|
|
1691
|
+
fiatCurrencyId: string;
|
|
1692
|
+
price: {
|
|
1693
|
+
value: bigint;
|
|
1694
|
+
decimals: number;
|
|
1695
|
+
};
|
|
1696
|
+
timestamp: number;
|
|
1697
|
+
}, {
|
|
1698
|
+
cryptoCurrencyId: string;
|
|
1699
|
+
fiatCurrencyId: string;
|
|
1700
|
+
price: {
|
|
1701
|
+
value: bigint;
|
|
1702
|
+
decimals: number;
|
|
1703
|
+
};
|
|
1704
|
+
timestamp: number;
|
|
1705
|
+
}>>;
|
|
1706
|
+
from: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
to: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
amount: z.ZodObject<{
|
|
1709
|
+
value: z.ZodBigInt;
|
|
1710
|
+
decimals: z.ZodNumber;
|
|
1711
|
+
}, "strip", z.ZodTypeAny, {
|
|
1712
|
+
value: bigint;
|
|
1713
|
+
decimals: number;
|
|
1714
|
+
}, {
|
|
1715
|
+
value: bigint;
|
|
1716
|
+
decimals: number;
|
|
1717
|
+
}>;
|
|
1718
|
+
direction: z.ZodLiteral<"in">;
|
|
1719
|
+
asset: z.ZodObject<{
|
|
1720
|
+
type: z.ZodLiteral<"Nft">;
|
|
1721
|
+
id: z.ZodString;
|
|
1722
|
+
}, "strip", z.ZodTypeAny, {
|
|
1723
|
+
type: "Nft";
|
|
1724
|
+
id: string;
|
|
1725
|
+
}, {
|
|
1726
|
+
type: "Nft";
|
|
1727
|
+
id: string;
|
|
1728
|
+
}>;
|
|
1729
|
+
}, "strip", z.ZodTypeAny, {
|
|
700
1730
|
asset: {
|
|
701
1731
|
type: "Nft";
|
|
702
1732
|
id: string;
|
|
@@ -717,62 +1747,70 @@ export declare const normalActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
717
1747
|
} | undefined;
|
|
718
1748
|
from?: string | undefined;
|
|
719
1749
|
to?: string | undefined;
|
|
720
|
-
})[];
|
|
721
|
-
comment?: string | undefined;
|
|
722
|
-
app?: {
|
|
723
|
-
id: string;
|
|
724
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
725
|
-
name: string;
|
|
726
|
-
description?: string | undefined;
|
|
727
|
-
website?: string | undefined;
|
|
728
|
-
icon?: string | undefined;
|
|
729
|
-
} | undefined;
|
|
730
|
-
}>;
|
|
731
|
-
export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
732
|
-
type: z.ZodLiteral<"NormalAccountAction">;
|
|
733
|
-
timestamp: z.ZodNumber;
|
|
734
|
-
order: z.ZodNumber;
|
|
735
|
-
source: z.ZodString;
|
|
736
|
-
evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
|
|
737
|
-
comment: z.ZodOptional<z.ZodString>;
|
|
738
|
-
app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
739
|
-
id: z.ZodString;
|
|
740
|
-
categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
|
|
741
|
-
name: z.ZodString;
|
|
742
|
-
description: z.ZodOptional<z.ZodString>;
|
|
743
|
-
website: z.ZodOptional<z.ZodString>;
|
|
744
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
745
|
-
}, "strip", z.ZodTypeAny, {
|
|
746
|
-
id: string;
|
|
747
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
748
|
-
name: string;
|
|
749
|
-
description?: string | undefined;
|
|
750
|
-
website?: string | undefined;
|
|
751
|
-
icon?: string | undefined;
|
|
752
1750
|
}, {
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
1751
|
+
asset: {
|
|
1752
|
+
type: "Nft";
|
|
1753
|
+
id: string;
|
|
1754
|
+
};
|
|
1755
|
+
amount: {
|
|
1756
|
+
value: bigint;
|
|
1757
|
+
decimals: number;
|
|
1758
|
+
};
|
|
1759
|
+
direction: "in";
|
|
1760
|
+
price?: {
|
|
1761
|
+
cryptoCurrencyId: string;
|
|
1762
|
+
fiatCurrencyId: string;
|
|
1763
|
+
price: {
|
|
1764
|
+
value: bigint;
|
|
1765
|
+
decimals: number;
|
|
1766
|
+
};
|
|
1767
|
+
timestamp: number;
|
|
1768
|
+
} | undefined;
|
|
1769
|
+
from?: string | undefined;
|
|
1770
|
+
to?: string | undefined;
|
|
759
1771
|
}>, {
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
1772
|
+
from: string | undefined;
|
|
1773
|
+
to: string | undefined;
|
|
1774
|
+
price: {
|
|
1775
|
+
cryptoCurrencyId: string;
|
|
1776
|
+
fiatCurrencyId: string;
|
|
1777
|
+
price: {
|
|
1778
|
+
value: bigint;
|
|
1779
|
+
decimals: number;
|
|
1780
|
+
};
|
|
1781
|
+
timestamp: number;
|
|
1782
|
+
} | undefined;
|
|
1783
|
+
asset: {
|
|
1784
|
+
type: "Nft";
|
|
1785
|
+
id: string;
|
|
1786
|
+
};
|
|
1787
|
+
amount: {
|
|
1788
|
+
value: bigint;
|
|
1789
|
+
decimals: number;
|
|
1790
|
+
};
|
|
1791
|
+
direction: "in";
|
|
766
1792
|
}, {
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
1793
|
+
asset: {
|
|
1794
|
+
type: "Nft";
|
|
1795
|
+
id: string;
|
|
1796
|
+
};
|
|
1797
|
+
amount: {
|
|
1798
|
+
value: bigint;
|
|
1799
|
+
decimals: number;
|
|
1800
|
+
};
|
|
1801
|
+
direction: "in";
|
|
1802
|
+
price?: {
|
|
1803
|
+
cryptoCurrencyId: string;
|
|
1804
|
+
fiatCurrencyId: string;
|
|
1805
|
+
price: {
|
|
1806
|
+
value: bigint;
|
|
1807
|
+
decimals: number;
|
|
1808
|
+
};
|
|
1809
|
+
timestamp: number;
|
|
1810
|
+
} | undefined;
|
|
1811
|
+
from?: string | undefined;
|
|
1812
|
+
to?: string | undefined;
|
|
1813
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
776
1814
|
price: z.ZodOptional<z.ZodObject<{
|
|
777
1815
|
cryptoCurrencyId: z.ZodString;
|
|
778
1816
|
fiatCurrencyId: z.ZodString;
|
|
@@ -816,7 +1854,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
816
1854
|
value: bigint;
|
|
817
1855
|
decimals: number;
|
|
818
1856
|
}>;
|
|
819
|
-
direction: z.ZodLiteral<"
|
|
1857
|
+
direction: z.ZodLiteral<"out">;
|
|
820
1858
|
asset: z.ZodEffects<z.ZodObject<{
|
|
821
1859
|
type: z.ZodLiteral<"CryptoCurrency">;
|
|
822
1860
|
id: z.ZodString;
|
|
@@ -938,7 +1976,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
938
1976
|
value: bigint;
|
|
939
1977
|
decimals: number;
|
|
940
1978
|
};
|
|
941
|
-
direction: "
|
|
1979
|
+
direction: "out";
|
|
942
1980
|
price?: {
|
|
943
1981
|
cryptoCurrencyId: string;
|
|
944
1982
|
fiatCurrencyId: string;
|
|
@@ -970,7 +2008,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
970
2008
|
value: bigint;
|
|
971
2009
|
decimals: number;
|
|
972
2010
|
};
|
|
973
|
-
direction: "
|
|
2011
|
+
direction: "out";
|
|
974
2012
|
price?: {
|
|
975
2013
|
cryptoCurrencyId: string;
|
|
976
2014
|
fiatCurrencyId: string;
|
|
@@ -1013,7 +2051,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1013
2051
|
value: bigint;
|
|
1014
2052
|
decimals: number;
|
|
1015
2053
|
};
|
|
1016
|
-
direction: "
|
|
2054
|
+
direction: "out";
|
|
1017
2055
|
}, {
|
|
1018
2056
|
asset: {
|
|
1019
2057
|
symbol: string;
|
|
@@ -1034,7 +2072,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1034
2072
|
value: bigint;
|
|
1035
2073
|
decimals: number;
|
|
1036
2074
|
};
|
|
1037
|
-
direction: "
|
|
2075
|
+
direction: "out";
|
|
1038
2076
|
price?: {
|
|
1039
2077
|
cryptoCurrencyId: string;
|
|
1040
2078
|
fiatCurrencyId: string;
|
|
@@ -1090,7 +2128,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1090
2128
|
value: bigint;
|
|
1091
2129
|
decimals: number;
|
|
1092
2130
|
}>;
|
|
1093
|
-
direction: z.ZodLiteral<"
|
|
2131
|
+
direction: z.ZodLiteral<"out">;
|
|
1094
2132
|
asset: z.ZodObject<{
|
|
1095
2133
|
type: z.ZodLiteral<"Nft">;
|
|
1096
2134
|
id: z.ZodString;
|
|
@@ -1110,7 +2148,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1110
2148
|
value: bigint;
|
|
1111
2149
|
decimals: number;
|
|
1112
2150
|
};
|
|
1113
|
-
direction: "
|
|
2151
|
+
direction: "out";
|
|
1114
2152
|
price?: {
|
|
1115
2153
|
cryptoCurrencyId: string;
|
|
1116
2154
|
fiatCurrencyId: string;
|
|
@@ -1131,7 +2169,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1131
2169
|
value: bigint;
|
|
1132
2170
|
decimals: number;
|
|
1133
2171
|
};
|
|
1134
|
-
direction: "
|
|
2172
|
+
direction: "out";
|
|
1135
2173
|
price?: {
|
|
1136
2174
|
cryptoCurrencyId: string;
|
|
1137
2175
|
fiatCurrencyId: string;
|
|
@@ -1163,7 +2201,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1163
2201
|
value: bigint;
|
|
1164
2202
|
decimals: number;
|
|
1165
2203
|
};
|
|
1166
|
-
direction: "
|
|
2204
|
+
direction: "out";
|
|
1167
2205
|
}, {
|
|
1168
2206
|
asset: {
|
|
1169
2207
|
type: "Nft";
|
|
@@ -1173,7 +2211,7 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1173
2211
|
value: bigint;
|
|
1174
2212
|
decimals: number;
|
|
1175
2213
|
};
|
|
1176
|
-
direction: "
|
|
2214
|
+
direction: "out";
|
|
1177
2215
|
price?: {
|
|
1178
2216
|
cryptoCurrencyId: string;
|
|
1179
2217
|
fiatCurrencyId: string;
|
|
@@ -1246,6 +2284,59 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1246
2284
|
decimals: number;
|
|
1247
2285
|
};
|
|
1248
2286
|
direction: "in";
|
|
2287
|
+
} | {
|
|
2288
|
+
from: string | undefined;
|
|
2289
|
+
to: string | undefined;
|
|
2290
|
+
price: {
|
|
2291
|
+
cryptoCurrencyId: string;
|
|
2292
|
+
fiatCurrencyId: string;
|
|
2293
|
+
price: {
|
|
2294
|
+
value: bigint;
|
|
2295
|
+
decimals: number;
|
|
2296
|
+
};
|
|
2297
|
+
timestamp: number;
|
|
2298
|
+
} | undefined;
|
|
2299
|
+
asset: {
|
|
2300
|
+
icon: string | undefined;
|
|
2301
|
+
symbol: string;
|
|
2302
|
+
type: "CryptoCurrency";
|
|
2303
|
+
id: string;
|
|
2304
|
+
name: string;
|
|
2305
|
+
market: {
|
|
2306
|
+
coingeckoId: string | undefined;
|
|
2307
|
+
marketCapUsd: {
|
|
2308
|
+
value: bigint;
|
|
2309
|
+
decimals: number;
|
|
2310
|
+
} | undefined;
|
|
2311
|
+
};
|
|
2312
|
+
updatedAt: number;
|
|
2313
|
+
};
|
|
2314
|
+
amount: {
|
|
2315
|
+
value: bigint;
|
|
2316
|
+
decimals: number;
|
|
2317
|
+
};
|
|
2318
|
+
direction: "out";
|
|
2319
|
+
} | {
|
|
2320
|
+
from: string | undefined;
|
|
2321
|
+
to: string | undefined;
|
|
2322
|
+
price: {
|
|
2323
|
+
cryptoCurrencyId: string;
|
|
2324
|
+
fiatCurrencyId: string;
|
|
2325
|
+
price: {
|
|
2326
|
+
value: bigint;
|
|
2327
|
+
decimals: number;
|
|
2328
|
+
};
|
|
2329
|
+
timestamp: number;
|
|
2330
|
+
} | undefined;
|
|
2331
|
+
asset: {
|
|
2332
|
+
type: "Nft";
|
|
2333
|
+
id: string;
|
|
2334
|
+
};
|
|
2335
|
+
amount: {
|
|
2336
|
+
value: bigint;
|
|
2337
|
+
decimals: number;
|
|
2338
|
+
};
|
|
2339
|
+
direction: "out";
|
|
1249
2340
|
})[];
|
|
1250
2341
|
comment?: string | undefined;
|
|
1251
2342
|
app?: {
|
|
@@ -1316,6 +2407,59 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1316
2407
|
} | undefined;
|
|
1317
2408
|
from?: string | undefined;
|
|
1318
2409
|
to?: string | undefined;
|
|
2410
|
+
} | {
|
|
2411
|
+
asset: {
|
|
2412
|
+
symbol: string;
|
|
2413
|
+
type: "CryptoCurrency";
|
|
2414
|
+
id: string;
|
|
2415
|
+
name: string;
|
|
2416
|
+
market: {
|
|
2417
|
+
coingeckoId?: string | undefined;
|
|
2418
|
+
marketCapUsd?: {
|
|
2419
|
+
value: bigint;
|
|
2420
|
+
decimals: number;
|
|
2421
|
+
} | undefined;
|
|
2422
|
+
};
|
|
2423
|
+
updatedAt: number;
|
|
2424
|
+
icon?: string | undefined;
|
|
2425
|
+
};
|
|
2426
|
+
amount: {
|
|
2427
|
+
value: bigint;
|
|
2428
|
+
decimals: number;
|
|
2429
|
+
};
|
|
2430
|
+
direction: "out";
|
|
2431
|
+
price?: {
|
|
2432
|
+
cryptoCurrencyId: string;
|
|
2433
|
+
fiatCurrencyId: string;
|
|
2434
|
+
price: {
|
|
2435
|
+
value: bigint;
|
|
2436
|
+
decimals: number;
|
|
2437
|
+
};
|
|
2438
|
+
timestamp: number;
|
|
2439
|
+
} | undefined;
|
|
2440
|
+
from?: string | undefined;
|
|
2441
|
+
to?: string | undefined;
|
|
2442
|
+
} | {
|
|
2443
|
+
asset: {
|
|
2444
|
+
type: "Nft";
|
|
2445
|
+
id: string;
|
|
2446
|
+
};
|
|
2447
|
+
amount: {
|
|
2448
|
+
value: bigint;
|
|
2449
|
+
decimals: number;
|
|
2450
|
+
};
|
|
2451
|
+
direction: "out";
|
|
2452
|
+
price?: {
|
|
2453
|
+
cryptoCurrencyId: string;
|
|
2454
|
+
fiatCurrencyId: string;
|
|
2455
|
+
price: {
|
|
2456
|
+
value: bigint;
|
|
2457
|
+
decimals: number;
|
|
2458
|
+
};
|
|
2459
|
+
timestamp: number;
|
|
2460
|
+
} | undefined;
|
|
2461
|
+
from?: string | undefined;
|
|
2462
|
+
to?: string | undefined;
|
|
1319
2463
|
})[];
|
|
1320
2464
|
comment?: string | undefined;
|
|
1321
2465
|
app?: {
|
|
@@ -1395,6 +2539,59 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1395
2539
|
decimals: number;
|
|
1396
2540
|
};
|
|
1397
2541
|
direction: "in";
|
|
2542
|
+
} | {
|
|
2543
|
+
from: string | undefined;
|
|
2544
|
+
to: string | undefined;
|
|
2545
|
+
price: {
|
|
2546
|
+
cryptoCurrencyId: string;
|
|
2547
|
+
fiatCurrencyId: string;
|
|
2548
|
+
price: {
|
|
2549
|
+
value: bigint;
|
|
2550
|
+
decimals: number;
|
|
2551
|
+
};
|
|
2552
|
+
timestamp: number;
|
|
2553
|
+
} | undefined;
|
|
2554
|
+
asset: {
|
|
2555
|
+
icon: string | undefined;
|
|
2556
|
+
symbol: string;
|
|
2557
|
+
type: "CryptoCurrency";
|
|
2558
|
+
id: string;
|
|
2559
|
+
name: string;
|
|
2560
|
+
market: {
|
|
2561
|
+
coingeckoId: string | undefined;
|
|
2562
|
+
marketCapUsd: {
|
|
2563
|
+
value: bigint;
|
|
2564
|
+
decimals: number;
|
|
2565
|
+
} | undefined;
|
|
2566
|
+
};
|
|
2567
|
+
updatedAt: number;
|
|
2568
|
+
};
|
|
2569
|
+
amount: {
|
|
2570
|
+
value: bigint;
|
|
2571
|
+
decimals: number;
|
|
2572
|
+
};
|
|
2573
|
+
direction: "out";
|
|
2574
|
+
} | {
|
|
2575
|
+
from: string | undefined;
|
|
2576
|
+
to: string | undefined;
|
|
2577
|
+
price: {
|
|
2578
|
+
cryptoCurrencyId: string;
|
|
2579
|
+
fiatCurrencyId: string;
|
|
2580
|
+
price: {
|
|
2581
|
+
value: bigint;
|
|
2582
|
+
decimals: number;
|
|
2583
|
+
};
|
|
2584
|
+
timestamp: number;
|
|
2585
|
+
} | undefined;
|
|
2586
|
+
asset: {
|
|
2587
|
+
type: "Nft";
|
|
2588
|
+
id: string;
|
|
2589
|
+
};
|
|
2590
|
+
amount: {
|
|
2591
|
+
value: bigint;
|
|
2592
|
+
decimals: number;
|
|
2593
|
+
};
|
|
2594
|
+
direction: "out";
|
|
1398
2595
|
})[];
|
|
1399
2596
|
}, {
|
|
1400
2597
|
type: "NormalAccountAction";
|
|
@@ -1456,6 +2653,59 @@ export declare const accountActionSpamSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1456
2653
|
} | undefined;
|
|
1457
2654
|
from?: string | undefined;
|
|
1458
2655
|
to?: string | undefined;
|
|
2656
|
+
} | {
|
|
2657
|
+
asset: {
|
|
2658
|
+
symbol: string;
|
|
2659
|
+
type: "CryptoCurrency";
|
|
2660
|
+
id: string;
|
|
2661
|
+
name: string;
|
|
2662
|
+
market: {
|
|
2663
|
+
coingeckoId?: string | undefined;
|
|
2664
|
+
marketCapUsd?: {
|
|
2665
|
+
value: bigint;
|
|
2666
|
+
decimals: number;
|
|
2667
|
+
} | undefined;
|
|
2668
|
+
};
|
|
2669
|
+
updatedAt: number;
|
|
2670
|
+
icon?: string | undefined;
|
|
2671
|
+
};
|
|
2672
|
+
amount: {
|
|
2673
|
+
value: bigint;
|
|
2674
|
+
decimals: number;
|
|
2675
|
+
};
|
|
2676
|
+
direction: "out";
|
|
2677
|
+
price?: {
|
|
2678
|
+
cryptoCurrencyId: string;
|
|
2679
|
+
fiatCurrencyId: string;
|
|
2680
|
+
price: {
|
|
2681
|
+
value: bigint;
|
|
2682
|
+
decimals: number;
|
|
2683
|
+
};
|
|
2684
|
+
timestamp: number;
|
|
2685
|
+
} | undefined;
|
|
2686
|
+
from?: string | undefined;
|
|
2687
|
+
to?: string | undefined;
|
|
2688
|
+
} | {
|
|
2689
|
+
asset: {
|
|
2690
|
+
type: "Nft";
|
|
2691
|
+
id: string;
|
|
2692
|
+
};
|
|
2693
|
+
amount: {
|
|
2694
|
+
value: bigint;
|
|
2695
|
+
decimals: number;
|
|
2696
|
+
};
|
|
2697
|
+
direction: "out";
|
|
2698
|
+
price?: {
|
|
2699
|
+
cryptoCurrencyId: string;
|
|
2700
|
+
fiatCurrencyId: string;
|
|
2701
|
+
price: {
|
|
2702
|
+
value: bigint;
|
|
2703
|
+
decimals: number;
|
|
2704
|
+
};
|
|
2705
|
+
timestamp: number;
|
|
2706
|
+
} | undefined;
|
|
2707
|
+
from?: string | undefined;
|
|
2708
|
+
to?: string | undefined;
|
|
1459
2709
|
})[];
|
|
1460
2710
|
comment?: string | undefined;
|
|
1461
2711
|
app?: {
|