@merkl/api 0.10.92 → 0.10.94

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 (25) hide show
  1. package/dist/src/eden/index.d.ts +102 -48
  2. package/dist/src/index.d.ts +37 -20
  3. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +28 -28
  4. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +1 -1
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.d.ts +10 -1
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +1 -1
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +1 -1
  8. package/dist/src/modules/v4/chain/chain.controller.d.ts +37 -20
  9. package/dist/src/modules/v4/chain/chain.model.d.ts +8 -0
  10. package/dist/src/modules/v4/explorer/explorer.model.d.ts +7 -0
  11. package/dist/src/modules/v4/explorer/explorer.repository.d.ts +13 -0
  12. package/dist/src/modules/v4/explorer/explorer.service.d.ts +20 -0
  13. package/dist/src/modules/v4/router.d.ts +37 -20
  14. package/dist/src/routes/v3/ERC20Campaigns.d.ts +37 -20
  15. package/dist/src/routes/v3/blacklist.d.ts +37 -20
  16. package/dist/src/routes/v3/campaigns.d.ts +37 -20
  17. package/dist/src/routes/v3/campaignsInfo.d.ts +37 -20
  18. package/dist/src/routes/v3/multiChainPositions.d.ts +37 -20
  19. package/dist/src/routes/v3/opportunity.d.ts +37 -20
  20. package/dist/src/routes/v3/positions.d.ts +37 -20
  21. package/dist/src/routes/v3/rewards.d.ts +37 -20
  22. package/dist/src/routes/v3/updates.d.ts +37 -20
  23. package/dist/src/routes/v3/userRewards.d.ts +37 -20
  24. package/dist/tsconfig.package.tsbuildinfo +1 -1
  25. package/package.json +1 -1
@@ -806,24 +806,21 @@ export declare const v4: Elysia<"/v4", false, {
806
806
  query: unknown;
807
807
  headers: unknown;
808
808
  response: {
809
- 200: ({
810
- Explorer: {
809
+ 200: {
810
+ id: number;
811
+ name: string;
812
+ icon: string;
813
+ explorers: {
811
814
  id: string;
812
815
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
813
816
  url: string;
814
817
  chainId: number;
815
818
  }[];
816
- } & {
817
- id: number;
818
- name: string;
819
- icon: string;
820
- }) | null;
819
+ } | null;
821
820
  };
822
821
  };
823
822
  };
824
- };
825
- } & {
826
- chains: {
823
+ } & {
827
824
  index: {
828
825
  get: {
829
826
  body: unknown;
@@ -833,24 +830,21 @@ export declare const v4: Elysia<"/v4", false, {
833
830
  };
834
831
  headers: unknown;
835
832
  response: {
836
- 200: ({
837
- Explorer: {
833
+ 200: {
834
+ id: number;
835
+ name: string;
836
+ icon: string;
837
+ explorers: {
838
838
  id: string;
839
839
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
840
840
  url: string;
841
841
  chainId: number;
842
842
  }[];
843
- } & {
844
- id: number;
845
- name: string;
846
- icon: string;
847
- })[];
843
+ }[];
848
844
  };
849
845
  };
850
846
  };
851
- };
852
- } & {
853
- chains: {
847
+ } & {
854
848
  count: {
855
849
  get: {
856
850
  body: unknown;
@@ -864,6 +858,29 @@ export declare const v4: Elysia<"/v4", false, {
864
858
  };
865
859
  };
866
860
  };
861
+ } & {
862
+ explorers: {
863
+ post: {
864
+ body: {
865
+ type: "ETHERSCAN" | "BLOCKSCOUT";
866
+ url: string;
867
+ chainId: number;
868
+ };
869
+ params: Record<never, string>;
870
+ query: unknown;
871
+ headers: {
872
+ authorization: string;
873
+ };
874
+ response: {
875
+ 200: {
876
+ id: string;
877
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
878
+ url: string;
879
+ chainId: number;
880
+ };
881
+ };
882
+ };
883
+ };
867
884
  };
868
885
  };
869
886
  } & {
@@ -832,24 +832,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
832
832
  query: unknown;
833
833
  headers: unknown;
834
834
  response: {
835
- 200: ({
836
- Explorer: {
835
+ 200: {
836
+ id: number;
837
+ name: string;
838
+ icon: string;
839
+ explorers: {
837
840
  id: string;
838
841
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
839
842
  url: string;
840
843
  chainId: number;
841
844
  }[];
842
- } & {
843
- id: number;
844
- name: string;
845
- icon: string;
846
- }) | null;
845
+ } | null;
847
846
  };
848
847
  };
849
848
  };
850
- };
851
- } & {
852
- chains: {
849
+ } & {
853
850
  index: {
854
851
  get: {
855
852
  body: unknown;
@@ -859,24 +856,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
859
856
  };
860
857
  headers: unknown;
861
858
  response: {
862
- 200: ({
863
- Explorer: {
859
+ 200: {
860
+ id: number;
861
+ name: string;
862
+ icon: string;
863
+ explorers: {
864
864
  id: string;
865
865
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
866
866
  url: string;
867
867
  chainId: number;
868
868
  }[];
869
- } & {
870
- id: number;
871
- name: string;
872
- icon: string;
873
- })[];
869
+ }[];
874
870
  };
875
871
  };
876
872
  };
877
- };
878
- } & {
879
- chains: {
873
+ } & {
880
874
  count: {
881
875
  get: {
882
876
  body: unknown;
@@ -890,6 +884,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
890
884
  };
891
885
  };
892
886
  };
887
+ } & {
888
+ explorers: {
889
+ post: {
890
+ body: {
891
+ type: "ETHERSCAN" | "BLOCKSCOUT";
892
+ url: string;
893
+ chainId: number;
894
+ };
895
+ params: Record<never, string>;
896
+ query: unknown;
897
+ headers: {
898
+ authorization: string;
899
+ };
900
+ response: {
901
+ 200: {
902
+ id: string;
903
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
904
+ url: string;
905
+ chainId: number;
906
+ };
907
+ };
908
+ };
909
+ };
893
910
  };
894
911
  };
895
912
  } & {
@@ -830,24 +830,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
830
830
  query: unknown;
831
831
  headers: unknown;
832
832
  response: {
833
- 200: ({
834
- Explorer: {
833
+ 200: {
834
+ id: number;
835
+ name: string;
836
+ icon: string;
837
+ explorers: {
835
838
  id: string;
836
839
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
837
840
  url: string;
838
841
  chainId: number;
839
842
  }[];
840
- } & {
841
- id: number;
842
- name: string;
843
- icon: string;
844
- }) | null;
843
+ } | null;
845
844
  };
846
845
  };
847
846
  };
848
- };
849
- } & {
850
- chains: {
847
+ } & {
851
848
  index: {
852
849
  get: {
853
850
  body: unknown;
@@ -857,24 +854,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
857
854
  };
858
855
  headers: unknown;
859
856
  response: {
860
- 200: ({
861
- Explorer: {
857
+ 200: {
858
+ id: number;
859
+ name: string;
860
+ icon: string;
861
+ explorers: {
862
862
  id: string;
863
863
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
864
864
  url: string;
865
865
  chainId: number;
866
866
  }[];
867
- } & {
868
- id: number;
869
- name: string;
870
- icon: string;
871
- })[];
867
+ }[];
872
868
  };
873
869
  };
874
870
  };
875
- };
876
- } & {
877
- chains: {
871
+ } & {
878
872
  count: {
879
873
  get: {
880
874
  body: unknown;
@@ -888,6 +882,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
888
882
  };
889
883
  };
890
884
  };
885
+ } & {
886
+ explorers: {
887
+ post: {
888
+ body: {
889
+ type: "ETHERSCAN" | "BLOCKSCOUT";
890
+ url: string;
891
+ chainId: number;
892
+ };
893
+ params: Record<never, string>;
894
+ query: unknown;
895
+ headers: {
896
+ authorization: string;
897
+ };
898
+ response: {
899
+ 200: {
900
+ id: string;
901
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
902
+ url: string;
903
+ chainId: number;
904
+ };
905
+ };
906
+ };
907
+ };
891
908
  };
892
909
  };
893
910
  } & {
@@ -833,24 +833,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
833
833
  query: unknown;
834
834
  headers: unknown;
835
835
  response: {
836
- 200: ({
837
- Explorer: {
836
+ 200: {
837
+ id: number;
838
+ name: string;
839
+ icon: string;
840
+ explorers: {
838
841
  id: string;
839
842
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
840
843
  url: string;
841
844
  chainId: number;
842
845
  }[];
843
- } & {
844
- id: number;
845
- name: string;
846
- icon: string;
847
- }) | null;
846
+ } | null;
848
847
  };
849
848
  };
850
849
  };
851
- };
852
- } & {
853
- chains: {
850
+ } & {
854
851
  index: {
855
852
  get: {
856
853
  body: unknown;
@@ -860,24 +857,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
860
857
  };
861
858
  headers: unknown;
862
859
  response: {
863
- 200: ({
864
- Explorer: {
860
+ 200: {
861
+ id: number;
862
+ name: string;
863
+ icon: string;
864
+ explorers: {
865
865
  id: string;
866
866
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
867
867
  url: string;
868
868
  chainId: number;
869
869
  }[];
870
- } & {
871
- id: number;
872
- name: string;
873
- icon: string;
874
- })[];
870
+ }[];
875
871
  };
876
872
  };
877
873
  };
878
- };
879
- } & {
880
- chains: {
874
+ } & {
881
875
  count: {
882
876
  get: {
883
877
  body: unknown;
@@ -891,6 +885,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
891
885
  };
892
886
  };
893
887
  };
888
+ } & {
889
+ explorers: {
890
+ post: {
891
+ body: {
892
+ type: "ETHERSCAN" | "BLOCKSCOUT";
893
+ url: string;
894
+ chainId: number;
895
+ };
896
+ params: Record<never, string>;
897
+ query: unknown;
898
+ headers: {
899
+ authorization: string;
900
+ };
901
+ response: {
902
+ 200: {
903
+ id: string;
904
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
905
+ url: string;
906
+ chainId: number;
907
+ };
908
+ };
909
+ };
910
+ };
894
911
  };
895
912
  };
896
913
  } & {
@@ -824,24 +824,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
824
824
  query: unknown;
825
825
  headers: unknown;
826
826
  response: {
827
- 200: ({
828
- Explorer: {
827
+ 200: {
828
+ id: number;
829
+ name: string;
830
+ icon: string;
831
+ explorers: {
829
832
  id: string;
830
833
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
831
834
  url: string;
832
835
  chainId: number;
833
836
  }[];
834
- } & {
835
- id: number;
836
- name: string;
837
- icon: string;
838
- }) | null;
837
+ } | null;
839
838
  };
840
839
  };
841
840
  };
842
- };
843
- } & {
844
- chains: {
841
+ } & {
845
842
  index: {
846
843
  get: {
847
844
  body: unknown;
@@ -851,24 +848,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
851
848
  };
852
849
  headers: unknown;
853
850
  response: {
854
- 200: ({
855
- Explorer: {
851
+ 200: {
852
+ id: number;
853
+ name: string;
854
+ icon: string;
855
+ explorers: {
856
856
  id: string;
857
857
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
858
858
  url: string;
859
859
  chainId: number;
860
860
  }[];
861
- } & {
862
- id: number;
863
- name: string;
864
- icon: string;
865
- })[];
861
+ }[];
866
862
  };
867
863
  };
868
864
  };
869
- };
870
- } & {
871
- chains: {
865
+ } & {
872
866
  count: {
873
867
  get: {
874
868
  body: unknown;
@@ -882,6 +876,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
882
876
  };
883
877
  };
884
878
  };
879
+ } & {
880
+ explorers: {
881
+ post: {
882
+ body: {
883
+ type: "ETHERSCAN" | "BLOCKSCOUT";
884
+ url: string;
885
+ chainId: number;
886
+ };
887
+ params: Record<never, string>;
888
+ query: unknown;
889
+ headers: {
890
+ authorization: string;
891
+ };
892
+ response: {
893
+ 200: {
894
+ id: string;
895
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
896
+ url: string;
897
+ chainId: number;
898
+ };
899
+ };
900
+ };
901
+ };
885
902
  };
886
903
  };
887
904
  } & {
@@ -829,24 +829,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
829
829
  query: unknown;
830
830
  headers: unknown;
831
831
  response: {
832
- 200: ({
833
- Explorer: {
832
+ 200: {
833
+ id: number;
834
+ name: string;
835
+ icon: string;
836
+ explorers: {
834
837
  id: string;
835
838
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
836
839
  url: string;
837
840
  chainId: number;
838
841
  }[];
839
- } & {
840
- id: number;
841
- name: string;
842
- icon: string;
843
- }) | null;
842
+ } | null;
844
843
  };
845
844
  };
846
845
  };
847
- };
848
- } & {
849
- chains: {
846
+ } & {
850
847
  index: {
851
848
  get: {
852
849
  body: unknown;
@@ -856,24 +853,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
856
853
  };
857
854
  headers: unknown;
858
855
  response: {
859
- 200: ({
860
- Explorer: {
856
+ 200: {
857
+ id: number;
858
+ name: string;
859
+ icon: string;
860
+ explorers: {
861
861
  id: string;
862
862
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
863
863
  url: string;
864
864
  chainId: number;
865
865
  }[];
866
- } & {
867
- id: number;
868
- name: string;
869
- icon: string;
870
- })[];
866
+ }[];
871
867
  };
872
868
  };
873
869
  };
874
- };
875
- } & {
876
- chains: {
870
+ } & {
877
871
  count: {
878
872
  get: {
879
873
  body: unknown;
@@ -887,6 +881,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
887
881
  };
888
882
  };
889
883
  };
884
+ } & {
885
+ explorers: {
886
+ post: {
887
+ body: {
888
+ type: "ETHERSCAN" | "BLOCKSCOUT";
889
+ url: string;
890
+ chainId: number;
891
+ };
892
+ params: Record<never, string>;
893
+ query: unknown;
894
+ headers: {
895
+ authorization: string;
896
+ };
897
+ response: {
898
+ 200: {
899
+ id: string;
900
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
901
+ url: string;
902
+ chainId: number;
903
+ };
904
+ };
905
+ };
906
+ };
890
907
  };
891
908
  };
892
909
  } & {
@@ -847,24 +847,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
847
847
  query: unknown;
848
848
  headers: unknown;
849
849
  response: {
850
- 200: ({
851
- Explorer: {
850
+ 200: {
851
+ id: number;
852
+ name: string;
853
+ icon: string;
854
+ explorers: {
852
855
  id: string;
853
856
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
854
857
  url: string;
855
858
  chainId: number;
856
859
  }[];
857
- } & {
858
- id: number;
859
- name: string;
860
- icon: string;
861
- }) | null;
860
+ } | null;
862
861
  };
863
862
  };
864
863
  };
865
- };
866
- } & {
867
- chains: {
864
+ } & {
868
865
  index: {
869
866
  get: {
870
867
  body: unknown;
@@ -874,24 +871,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
874
871
  };
875
872
  headers: unknown;
876
873
  response: {
877
- 200: ({
878
- Explorer: {
874
+ 200: {
875
+ id: number;
876
+ name: string;
877
+ icon: string;
878
+ explorers: {
879
879
  id: string;
880
880
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
881
881
  url: string;
882
882
  chainId: number;
883
883
  }[];
884
- } & {
885
- id: number;
886
- name: string;
887
- icon: string;
888
- })[];
884
+ }[];
889
885
  };
890
886
  };
891
887
  };
892
- };
893
- } & {
894
- chains: {
888
+ } & {
895
889
  count: {
896
890
  get: {
897
891
  body: unknown;
@@ -905,6 +899,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
905
899
  };
906
900
  };
907
901
  };
902
+ } & {
903
+ explorers: {
904
+ post: {
905
+ body: {
906
+ type: "ETHERSCAN" | "BLOCKSCOUT";
907
+ url: string;
908
+ chainId: number;
909
+ };
910
+ params: Record<never, string>;
911
+ query: unknown;
912
+ headers: {
913
+ authorization: string;
914
+ };
915
+ response: {
916
+ 200: {
917
+ id: string;
918
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
919
+ url: string;
920
+ chainId: number;
921
+ };
922
+ };
923
+ };
924
+ };
908
925
  };
909
926
  };
910
927
  } & {