@merkl/api 1.17.5 → 1.17.6
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/dist/src/eden/index.d.ts +13 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -1
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.service.js.map +1 -1
- package/dist/src/modules/v4/carousel/carousel.controller.d.ts +13 -0
- package/dist/src/modules/v4/carousel/carousel.formatter.d.ts +3 -1
- package/dist/src/modules/v4/carousel/carousel.formatter.js.map +1 -1
- package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
- package/dist/src/modules/v4/carousel/carousel.service.d.ts +8 -0
- package/dist/src/modules/v4/carousel/carousel.service.js.map +1 -1
- package/dist/src/modules/v4/claims/claims.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +55 -55
- package/dist/src/modules/v4/router.d.ts +13 -0
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +2593 -2593
- package/dist/src/utils/getAPR.d.ts +256 -256
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/jobs/count-live-leaves.d.ts +0 -1
- package/dist/src/jobs/count-live-leaves.js.map +0 -1
|
@@ -531,12 +531,12 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
531
531
|
};
|
|
532
532
|
startTimestamp?: undefined;
|
|
533
533
|
} | {
|
|
534
|
-
endTimestamp?: undefined;
|
|
535
534
|
startTimestamp: {
|
|
536
535
|
lte?: undefined;
|
|
537
536
|
gt: number;
|
|
538
537
|
gte?: undefined;
|
|
539
538
|
};
|
|
539
|
+
endTimestamp?: undefined;
|
|
540
540
|
} | {
|
|
541
541
|
endTimestamp: {
|
|
542
542
|
lt?: undefined;
|
|
@@ -588,30 +588,29 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
588
588
|
mode: "insensitive";
|
|
589
589
|
};
|
|
590
590
|
name?: undefined;
|
|
591
|
-
identifier?: undefined;
|
|
592
591
|
explorerAddress?: undefined;
|
|
593
592
|
type?: undefined;
|
|
594
593
|
MainProtocol?: undefined;
|
|
595
|
-
mainProtocolId?: undefined;
|
|
596
594
|
Tokens?: undefined;
|
|
597
595
|
Campaigns?: undefined;
|
|
598
596
|
Chain?: undefined;
|
|
597
|
+
identifier?: undefined;
|
|
598
|
+
mainProtocolId?: undefined;
|
|
599
599
|
} | {
|
|
600
|
-
id?: undefined;
|
|
601
600
|
name: {
|
|
602
601
|
contains: string;
|
|
603
602
|
mode: "insensitive";
|
|
604
603
|
};
|
|
605
|
-
identifier?: undefined;
|
|
606
604
|
explorerAddress?: undefined;
|
|
607
605
|
type?: undefined;
|
|
608
606
|
MainProtocol?: undefined;
|
|
609
|
-
mainProtocolId?: undefined;
|
|
610
607
|
Tokens?: undefined;
|
|
611
608
|
Campaigns?: undefined;
|
|
612
609
|
Chain?: undefined;
|
|
613
|
-
} | {
|
|
614
610
|
id?: undefined;
|
|
611
|
+
identifier?: undefined;
|
|
612
|
+
mainProtocolId?: undefined;
|
|
613
|
+
} | {
|
|
615
614
|
name?: undefined;
|
|
616
615
|
identifier: {
|
|
617
616
|
contains: string;
|
|
@@ -620,111 +619,110 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
620
619
|
explorerAddress?: undefined;
|
|
621
620
|
type?: undefined;
|
|
622
621
|
MainProtocol?: undefined;
|
|
623
|
-
mainProtocolId?: undefined;
|
|
624
622
|
Tokens?: undefined;
|
|
625
623
|
Campaigns?: undefined;
|
|
626
624
|
Chain?: undefined;
|
|
627
|
-
} | {
|
|
628
625
|
id?: undefined;
|
|
626
|
+
mainProtocolId?: undefined;
|
|
627
|
+
} | {
|
|
629
628
|
name?: undefined;
|
|
630
|
-
identifier?: undefined;
|
|
631
629
|
explorerAddress: {
|
|
632
630
|
contains: string;
|
|
633
631
|
mode: "insensitive";
|
|
634
632
|
};
|
|
635
633
|
type?: undefined;
|
|
636
634
|
MainProtocol?: undefined;
|
|
637
|
-
mainProtocolId?: undefined;
|
|
638
635
|
Tokens?: undefined;
|
|
639
636
|
Campaigns?: undefined;
|
|
640
637
|
Chain?: undefined;
|
|
641
|
-
} | {
|
|
642
638
|
id?: undefined;
|
|
643
|
-
name?: undefined;
|
|
644
639
|
identifier?: undefined;
|
|
640
|
+
mainProtocolId?: undefined;
|
|
641
|
+
} | {
|
|
642
|
+
name?: undefined;
|
|
645
643
|
explorerAddress?: undefined;
|
|
646
644
|
Campaigns: {
|
|
647
645
|
some: {
|
|
648
|
-
endTimestamp?: undefined;
|
|
649
|
-
id?: undefined;
|
|
650
646
|
campaignId: {
|
|
651
647
|
contains: string;
|
|
652
648
|
mode: "insensitive";
|
|
653
649
|
};
|
|
654
650
|
isPrivate: boolean;
|
|
651
|
+
endTimestamp?: undefined;
|
|
652
|
+
id?: undefined;
|
|
655
653
|
creatorAddress?: undefined;
|
|
656
654
|
RewardToken?: undefined;
|
|
657
655
|
};
|
|
658
656
|
};
|
|
659
657
|
type?: undefined;
|
|
660
658
|
MainProtocol?: undefined;
|
|
661
|
-
mainProtocolId?: undefined;
|
|
662
659
|
Tokens?: undefined;
|
|
663
660
|
Chain?: undefined;
|
|
664
|
-
} | {
|
|
665
661
|
id?: undefined;
|
|
666
|
-
name?: undefined;
|
|
667
662
|
identifier?: undefined;
|
|
663
|
+
mainProtocolId?: undefined;
|
|
664
|
+
} | {
|
|
665
|
+
name?: undefined;
|
|
668
666
|
explorerAddress?: undefined;
|
|
669
667
|
Campaigns: {
|
|
670
668
|
some: {
|
|
671
|
-
endTimestamp?: undefined;
|
|
672
669
|
id: {
|
|
673
670
|
contains: string;
|
|
674
671
|
mode: "insensitive";
|
|
675
672
|
};
|
|
676
673
|
isPrivate: boolean;
|
|
674
|
+
endTimestamp?: undefined;
|
|
675
|
+
campaignId?: undefined;
|
|
677
676
|
creatorAddress?: undefined;
|
|
678
677
|
RewardToken?: undefined;
|
|
679
|
-
campaignId?: undefined;
|
|
680
678
|
};
|
|
681
679
|
};
|
|
682
680
|
type?: undefined;
|
|
683
681
|
MainProtocol?: undefined;
|
|
684
|
-
mainProtocolId?: undefined;
|
|
685
682
|
Tokens?: undefined;
|
|
686
683
|
Chain?: undefined;
|
|
687
|
-
} | {
|
|
688
684
|
id?: undefined;
|
|
689
|
-
name?: undefined;
|
|
690
685
|
identifier?: undefined;
|
|
686
|
+
mainProtocolId?: undefined;
|
|
687
|
+
} | {
|
|
688
|
+
name?: undefined;
|
|
691
689
|
explorerAddress?: undefined;
|
|
692
690
|
Campaigns: {
|
|
693
691
|
some: {
|
|
694
|
-
endTimestamp?: undefined;
|
|
695
|
-
id?: undefined;
|
|
696
692
|
creatorAddress: {
|
|
697
693
|
contains: string;
|
|
698
694
|
mode: "insensitive";
|
|
699
695
|
};
|
|
700
696
|
isPrivate: boolean;
|
|
701
|
-
|
|
697
|
+
endTimestamp?: undefined;
|
|
698
|
+
id?: undefined;
|
|
702
699
|
campaignId?: undefined;
|
|
700
|
+
RewardToken?: undefined;
|
|
703
701
|
};
|
|
704
702
|
};
|
|
705
703
|
type?: undefined;
|
|
706
704
|
MainProtocol?: undefined;
|
|
707
|
-
mainProtocolId?: undefined;
|
|
708
705
|
Tokens?: undefined;
|
|
709
706
|
Chain?: undefined;
|
|
710
|
-
} | {
|
|
711
707
|
id?: undefined;
|
|
712
|
-
name?: undefined;
|
|
713
708
|
identifier?: undefined;
|
|
709
|
+
mainProtocolId?: undefined;
|
|
710
|
+
} | {
|
|
711
|
+
name?: undefined;
|
|
714
712
|
explorerAddress?: undefined;
|
|
715
713
|
type: {
|
|
716
714
|
contains: string;
|
|
717
715
|
mode: "insensitive";
|
|
718
716
|
};
|
|
719
717
|
MainProtocol?: undefined;
|
|
720
|
-
mainProtocolId?: undefined;
|
|
721
718
|
Tokens?: undefined;
|
|
722
719
|
Campaigns?: undefined;
|
|
723
720
|
Chain?: undefined;
|
|
724
|
-
} | {
|
|
725
721
|
id?: undefined;
|
|
726
|
-
name?: undefined;
|
|
727
722
|
identifier?: undefined;
|
|
723
|
+
mainProtocolId?: undefined;
|
|
724
|
+
} | {
|
|
725
|
+
name?: undefined;
|
|
728
726
|
explorerAddress?: undefined;
|
|
729
727
|
type?: undefined;
|
|
730
728
|
MainProtocol: {
|
|
@@ -733,14 +731,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
733
731
|
mode: "insensitive";
|
|
734
732
|
};
|
|
735
733
|
};
|
|
736
|
-
mainProtocolId?: undefined;
|
|
737
734
|
Tokens?: undefined;
|
|
738
735
|
Campaigns?: undefined;
|
|
739
736
|
Chain?: undefined;
|
|
740
|
-
} | {
|
|
741
737
|
id?: undefined;
|
|
742
|
-
name?: undefined;
|
|
743
738
|
identifier?: undefined;
|
|
739
|
+
mainProtocolId?: undefined;
|
|
740
|
+
} | {
|
|
741
|
+
name?: undefined;
|
|
744
742
|
explorerAddress?: undefined;
|
|
745
743
|
type?: undefined;
|
|
746
744
|
MainProtocol?: undefined;
|
|
@@ -751,14 +749,13 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
751
749
|
Tokens?: undefined;
|
|
752
750
|
Campaigns?: undefined;
|
|
753
751
|
Chain?: undefined;
|
|
754
|
-
} | {
|
|
755
752
|
id?: undefined;
|
|
756
|
-
name?: undefined;
|
|
757
753
|
identifier?: undefined;
|
|
754
|
+
} | {
|
|
755
|
+
name?: undefined;
|
|
758
756
|
explorerAddress?: undefined;
|
|
759
757
|
type?: undefined;
|
|
760
758
|
MainProtocol?: undefined;
|
|
761
|
-
mainProtocolId?: undefined;
|
|
762
759
|
Tokens: {
|
|
763
760
|
some: {
|
|
764
761
|
name: {
|
|
@@ -771,14 +768,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
771
768
|
};
|
|
772
769
|
Campaigns?: undefined;
|
|
773
770
|
Chain?: undefined;
|
|
774
|
-
} | {
|
|
775
771
|
id?: undefined;
|
|
776
|
-
name?: undefined;
|
|
777
772
|
identifier?: undefined;
|
|
773
|
+
mainProtocolId?: undefined;
|
|
774
|
+
} | {
|
|
775
|
+
name?: undefined;
|
|
778
776
|
explorerAddress?: undefined;
|
|
779
777
|
type?: undefined;
|
|
780
778
|
MainProtocol?: undefined;
|
|
781
|
-
mainProtocolId?: undefined;
|
|
782
779
|
Tokens: {
|
|
783
780
|
some: {
|
|
784
781
|
name?: undefined;
|
|
@@ -791,70 +788,70 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
791
788
|
};
|
|
792
789
|
Campaigns?: undefined;
|
|
793
790
|
Chain?: undefined;
|
|
794
|
-
} | {
|
|
795
791
|
id?: undefined;
|
|
796
|
-
name?: undefined;
|
|
797
792
|
identifier?: undefined;
|
|
793
|
+
mainProtocolId?: undefined;
|
|
794
|
+
} | {
|
|
795
|
+
name?: undefined;
|
|
798
796
|
explorerAddress?: undefined;
|
|
799
797
|
type?: undefined;
|
|
800
798
|
MainProtocol?: undefined;
|
|
801
|
-
mainProtocolId?: undefined;
|
|
802
799
|
Tokens: {
|
|
803
800
|
some: {
|
|
804
801
|
name?: undefined;
|
|
805
|
-
symbol?: undefined;
|
|
806
802
|
address: {
|
|
807
803
|
contains: string;
|
|
808
804
|
mode: "insensitive";
|
|
809
805
|
};
|
|
806
|
+
symbol?: undefined;
|
|
810
807
|
};
|
|
811
808
|
};
|
|
812
809
|
Campaigns?: undefined;
|
|
813
810
|
Chain?: undefined;
|
|
814
|
-
} | {
|
|
815
811
|
id?: undefined;
|
|
816
|
-
name?: undefined;
|
|
817
812
|
identifier?: undefined;
|
|
813
|
+
mainProtocolId?: undefined;
|
|
814
|
+
} | {
|
|
815
|
+
name?: undefined;
|
|
818
816
|
explorerAddress?: undefined;
|
|
819
817
|
type?: undefined;
|
|
820
818
|
MainProtocol?: undefined;
|
|
821
|
-
mainProtocolId?: undefined;
|
|
822
819
|
Tokens?: undefined;
|
|
823
820
|
Campaigns: {
|
|
824
821
|
some: {
|
|
825
|
-
id?: undefined;
|
|
826
|
-
creatorAddress?: undefined;
|
|
827
822
|
isPrivate?: undefined;
|
|
828
823
|
endTimestamp: {
|
|
829
824
|
gte: number;
|
|
830
825
|
};
|
|
831
826
|
RewardToken: {
|
|
832
827
|
OR: ({
|
|
833
|
-
address?: undefined;
|
|
834
828
|
symbol: {
|
|
835
829
|
contains: string;
|
|
836
830
|
mode: "insensitive";
|
|
837
831
|
};
|
|
832
|
+
address?: undefined;
|
|
838
833
|
} | {
|
|
839
|
-
symbol?: undefined;
|
|
840
834
|
address: {
|
|
841
835
|
contains: string;
|
|
842
836
|
mode: "insensitive";
|
|
843
837
|
};
|
|
838
|
+
symbol?: undefined;
|
|
844
839
|
})[];
|
|
845
840
|
};
|
|
841
|
+
id?: undefined;
|
|
846
842
|
campaignId?: undefined;
|
|
843
|
+
creatorAddress?: undefined;
|
|
847
844
|
};
|
|
848
845
|
};
|
|
849
846
|
Chain?: undefined;
|
|
850
|
-
} | {
|
|
851
847
|
id?: undefined;
|
|
852
|
-
name?: undefined;
|
|
853
848
|
identifier?: undefined;
|
|
849
|
+
mainProtocolId?: undefined;
|
|
850
|
+
} | {
|
|
851
|
+
name?: undefined;
|
|
854
852
|
explorerAddress?: undefined;
|
|
855
853
|
type?: undefined;
|
|
856
854
|
MainProtocol?: undefined;
|
|
857
|
-
mainProtocolId?: undefined;
|
|
858
855
|
Tokens?: undefined;
|
|
859
856
|
Campaigns?: undefined;
|
|
860
857
|
Chain: {
|
|
@@ -863,6 +860,9 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
863
860
|
mode: "insensitive";
|
|
864
861
|
};
|
|
865
862
|
};
|
|
863
|
+
id?: undefined;
|
|
864
|
+
identifier?: undefined;
|
|
865
|
+
mainProtocolId?: undefined;
|
|
866
866
|
})[];
|
|
867
867
|
}[];
|
|
868
868
|
})[];
|
|
@@ -6387,6 +6387,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
6387
6387
|
backgroundDarkColor: string;
|
|
6388
6388
|
redirectUrl: string;
|
|
6389
6389
|
rank: number;
|
|
6390
|
+
featured: boolean;
|
|
6390
6391
|
id: string;
|
|
6391
6392
|
name?: string | undefined;
|
|
6392
6393
|
description?: string | undefined;
|
|
@@ -6796,6 +6797,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
6796
6797
|
backgroundDarkColor: string;
|
|
6797
6798
|
redirectUrl: string;
|
|
6798
6799
|
rank: number;
|
|
6800
|
+
featured: boolean;
|
|
6799
6801
|
id: string;
|
|
6800
6802
|
name?: string | undefined;
|
|
6801
6803
|
description?: string | undefined;
|
|
@@ -7409,6 +7411,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7409
7411
|
backgroundDarkColor: string | null;
|
|
7410
7412
|
redirectUrl: string | null;
|
|
7411
7413
|
rank: number;
|
|
7414
|
+
featured: boolean;
|
|
7412
7415
|
amount: string | null;
|
|
7413
7416
|
campaignsCount: number | null;
|
|
7414
7417
|
maxApr: number | null;
|
|
@@ -7446,6 +7449,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7446
7449
|
logoUrls?: string[] | undefined;
|
|
7447
7450
|
redirectUrl?: string | undefined;
|
|
7448
7451
|
rank?: number | undefined;
|
|
7452
|
+
featured?: boolean | undefined;
|
|
7449
7453
|
maxApr?: number | undefined;
|
|
7450
7454
|
amount?: string | undefined;
|
|
7451
7455
|
campaignsCount?: number | undefined;
|
|
@@ -7460,6 +7464,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7460
7464
|
amount: string;
|
|
7461
7465
|
maxApr: number;
|
|
7462
7466
|
campaignsCount: number;
|
|
7467
|
+
featured?: boolean | undefined;
|
|
7463
7468
|
relationType: "CUSTOM";
|
|
7464
7469
|
};
|
|
7465
7470
|
params: {};
|
|
@@ -7472,6 +7477,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7472
7477
|
backgroundDarkColor: string;
|
|
7473
7478
|
redirectUrl: string;
|
|
7474
7479
|
rank: number;
|
|
7480
|
+
featured: boolean;
|
|
7475
7481
|
id: string;
|
|
7476
7482
|
name?: string | undefined;
|
|
7477
7483
|
description?: string | undefined;
|
|
@@ -7878,6 +7884,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7878
7884
|
logoUrls?: string[] | undefined;
|
|
7879
7885
|
redirectUrl?: string | undefined;
|
|
7880
7886
|
rank?: number | undefined;
|
|
7887
|
+
featured?: boolean | undefined;
|
|
7881
7888
|
maxApr?: number | undefined;
|
|
7882
7889
|
amount?: string | undefined;
|
|
7883
7890
|
campaignsCount?: number | undefined;
|
|
@@ -7892,6 +7899,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7892
7899
|
amount: string;
|
|
7893
7900
|
maxApr: number;
|
|
7894
7901
|
campaignsCount: number;
|
|
7902
|
+
featured?: boolean | undefined;
|
|
7895
7903
|
relationType: "CUSTOM";
|
|
7896
7904
|
};
|
|
7897
7905
|
params: {};
|
|
@@ -8108,6 +8116,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8108
8116
|
backgroundDarkColor: string | null;
|
|
8109
8117
|
redirectUrl: string | null;
|
|
8110
8118
|
rank: number;
|
|
8119
|
+
featured: boolean;
|
|
8111
8120
|
amount: string | null;
|
|
8112
8121
|
campaignsCount: number | null;
|
|
8113
8122
|
maxApr: number | null;
|
|
@@ -8152,6 +8161,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8152
8161
|
backgroundDarkColor: string | null;
|
|
8153
8162
|
redirectUrl: string | null;
|
|
8154
8163
|
rank: number;
|
|
8164
|
+
featured: boolean;
|
|
8155
8165
|
amount: string | null;
|
|
8156
8166
|
campaignsCount: number | null;
|
|
8157
8167
|
maxApr: number | null;
|
|
@@ -8187,6 +8197,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8187
8197
|
backgroundDarkColor?: string | undefined;
|
|
8188
8198
|
redirectUrl?: string | undefined;
|
|
8189
8199
|
rank?: number | undefined;
|
|
8200
|
+
featured?: boolean | undefined;
|
|
8190
8201
|
maxApr?: number | undefined;
|
|
8191
8202
|
amount?: string | undefined;
|
|
8192
8203
|
campaignsCount?: number | undefined;
|
|
@@ -8208,6 +8219,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8208
8219
|
backgroundDarkColor: string | null;
|
|
8209
8220
|
redirectUrl: string | null;
|
|
8210
8221
|
rank: number;
|
|
8222
|
+
featured: boolean;
|
|
8211
8223
|
amount: string | null;
|
|
8212
8224
|
campaignsCount: number | null;
|
|
8213
8225
|
maxApr: number | null;
|
|
@@ -8252,6 +8264,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8252
8264
|
backgroundDarkColor: string | null;
|
|
8253
8265
|
redirectUrl: string | null;
|
|
8254
8266
|
rank: number;
|
|
8267
|
+
featured: boolean;
|
|
8255
8268
|
amount: string | null;
|
|
8256
8269
|
campaignsCount: number | null;
|
|
8257
8270
|
maxApr: number | null;
|