@merkl/api 0.10.170 → 0.10.172

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/src/eden/index.d.ts +72 -75
  2. package/dist/src/index.d.ts +24 -25
  3. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/factoryFinder.js +1 -0
  4. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleYTProcessor.d.ts +1 -1
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleYTProcessor.js +1 -3
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.d.ts +3 -1
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.js +36 -7
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +1 -1
  9. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -4
  10. package/dist/src/modules/v4/campaign/campaign.repository.js +1 -0
  11. package/dist/src/modules/v4/campaign/campaign.service.d.ts +4 -4
  12. package/dist/src/modules/v4/campaign/campaign.service.js +2 -1
  13. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +15 -15
  14. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +106 -3
  15. package/dist/src/modules/v4/opportunity/opportunity.repository.js +11 -2
  16. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +29 -29
  17. package/dist/src/modules/v4/opportunity/opportunity.service.js +2 -1
  18. package/dist/src/modules/v4/router.d.ts +24 -25
  19. package/dist/src/modules/v4/token/token.controller.d.ts +5 -6
  20. package/dist/src/modules/v4/token/token.model.d.ts +2 -1
  21. package/dist/src/modules/v4/token/token.model.js +1 -0
  22. package/dist/src/modules/v4/token/token.repository.d.ts +13 -1
  23. package/dist/src/modules/v4/token/token.repository.js +2 -0
  24. package/dist/src/modules/v4/token/token.service.d.ts +5 -9
  25. package/dist/src/modules/v4/token/token.service.js +11 -2
  26. package/dist/src/routes/v3/blacklist.d.ts +24 -25
  27. package/dist/src/routes/v3/campaigns.d.ts +24 -25
  28. package/dist/src/routes/v3/campaignsInfo.d.ts +24 -25
  29. package/dist/src/routes/v3/multiChainPositions.d.ts +24 -25
  30. package/dist/src/routes/v3/opportunity.d.ts +24 -25
  31. package/dist/src/routes/v3/positions.d.ts +24 -25
  32. package/dist/src/routes/v3/rewards.d.ts +24 -25
  33. package/dist/src/routes/v3/updates.d.ts +24 -25
  34. package/dist/src/routes/v3/userRewards.d.ts +24 -25
  35. package/dist/src/utils/generateCardName.js +1 -0
  36. package/dist/tsconfig.package.tsbuildinfo +1 -1
  37. package/package.json +1 -1
@@ -133,7 +133,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
133
133
  }[];
134
134
  };
135
135
  id: string;
136
- tokens: {
136
+ tokens: ({
137
137
  symbol: string;
138
138
  name: string | null;
139
139
  id: string;
@@ -141,11 +141,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
141
141
  address: string;
142
142
  icon: string;
143
143
  decimals: number;
144
- displaySymbol: string;
145
144
  verified: boolean;
146
145
  isTest: boolean;
147
- price: number | null;
148
- }[];
146
+ } & {
147
+ price?: number | null | undefined;
148
+ })[];
149
149
  chain: {
150
150
  name: string;
151
151
  id: number;
@@ -236,7 +236,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
236
236
  }[];
237
237
  };
238
238
  id: string;
239
- tokens: {
239
+ tokens: ({
240
240
  symbol: string;
241
241
  name: string | null;
242
242
  id: string;
@@ -244,11 +244,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
244
244
  address: string;
245
245
  icon: string;
246
246
  decimals: number;
247
- displaySymbol: string;
248
247
  verified: boolean;
249
248
  isTest: boolean;
250
- price: number | null;
251
- }[];
249
+ } & {
250
+ price?: number | null | undefined;
251
+ })[];
252
252
  chain: {
253
253
  name: string;
254
254
  id: number;
@@ -287,10 +287,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
287
287
  address: string;
288
288
  icon: string;
289
289
  decimals: number;
290
- displaySymbol: string;
291
290
  verified: boolean;
292
291
  isTest: boolean;
293
- price: number | null;
292
+ } & {
293
+ price?: number | null | undefined;
294
294
  };
295
295
  distributionChain: {
296
296
  name: string;
@@ -397,7 +397,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
397
397
  }[];
398
398
  };
399
399
  id: string;
400
- tokens: {
400
+ tokens: ({
401
401
  symbol: string;
402
402
  name: string | null;
403
403
  id: string;
@@ -405,11 +405,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
405
405
  address: string;
406
406
  icon: string;
407
407
  decimals: number;
408
- displaySymbol: string;
409
408
  verified: boolean;
410
409
  isTest: boolean;
411
- price: number | null;
412
- }[];
410
+ } & {
411
+ price?: number | null | undefined;
412
+ })[];
413
413
  chain: {
414
414
  name: string;
415
415
  id: number;
@@ -493,7 +493,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
493
493
  headers: unknown;
494
494
  response: {
495
495
  200: {
496
- sum: number | null;
496
+ sum: File;
497
497
  };
498
498
  };
499
499
  };
@@ -562,8 +562,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
562
562
  mainParameter?: string | undefined;
563
563
  campaignId?: string | undefined;
564
564
  opportunityId?: string | undefined;
565
- tokenSymbol?: string | undefined;
566
565
  test?: boolean | undefined;
566
+ tokenSymbol?: string | undefined;
567
567
  };
568
568
  headers: unknown;
569
569
  response: {
@@ -582,10 +582,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
582
582
  address: string;
583
583
  icon: string;
584
584
  decimals: number;
585
- displaySymbol: string;
586
585
  verified: boolean;
587
586
  isTest: boolean;
588
- price: number | null;
587
+ } & {
588
+ price?: number | null | undefined;
589
589
  };
590
590
  distributionChain: {
591
591
  name: string;
@@ -633,8 +633,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
633
633
  mainParameter?: string | undefined;
634
634
  campaignId?: string | undefined;
635
635
  opportunityId?: string | undefined;
636
- tokenSymbol?: string | undefined;
637
636
  test?: boolean | undefined;
637
+ tokenSymbol?: string | undefined;
638
638
  };
639
639
  headers: unknown;
640
640
  response: {
@@ -788,7 +788,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
788
788
  address: string;
789
789
  icon: string;
790
790
  decimals: number;
791
- displaySymbol: string;
792
791
  verified: boolean;
793
792
  isTest: boolean;
794
793
  price?: number | null | undefined;
@@ -819,7 +818,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
819
818
  address: string;
820
819
  icon: string;
821
820
  decimals: number;
822
- displaySymbol: string;
823
821
  verified: boolean;
824
822
  isTest: boolean;
825
823
  } & {
@@ -843,10 +841,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
843
841
  chainId?: any;
844
842
  address?: string | undefined;
845
843
  verified?: boolean | undefined;
844
+ test?: boolean | undefined;
846
845
  };
847
846
  headers: unknown;
848
847
  response: {
849
- 200: ({
848
+ 200: {
850
849
  symbol: string;
851
850
  name: string | null;
852
851
  id: string;
@@ -857,9 +856,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
857
856
  displaySymbol: string;
858
857
  verified: boolean;
859
858
  isTest: boolean;
860
- } & {
861
- price?: number | null | undefined;
862
- })[];
859
+ price: number | null;
860
+ }[];
863
861
  };
864
862
  };
865
863
  };
@@ -876,6 +874,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
876
874
  chainId?: any;
877
875
  address?: string | undefined;
878
876
  verified?: boolean | undefined;
877
+ test?: boolean | undefined;
879
878
  };
880
879
  headers: unknown;
881
880
  response: {
@@ -151,7 +151,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
151
151
  }[];
152
152
  };
153
153
  id: string;
154
- tokens: {
154
+ tokens: ({
155
155
  symbol: string;
156
156
  name: string | null;
157
157
  id: string;
@@ -159,11 +159,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
159
159
  address: string;
160
160
  icon: string;
161
161
  decimals: number;
162
- displaySymbol: string;
163
162
  verified: boolean;
164
163
  isTest: boolean;
165
- price: number | null;
166
- }[];
164
+ } & {
165
+ price?: number | null | undefined;
166
+ })[];
167
167
  chain: {
168
168
  name: string;
169
169
  id: number;
@@ -254,7 +254,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
254
254
  }[];
255
255
  };
256
256
  id: string;
257
- tokens: {
257
+ tokens: ({
258
258
  symbol: string;
259
259
  name: string | null;
260
260
  id: string;
@@ -262,11 +262,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
262
262
  address: string;
263
263
  icon: string;
264
264
  decimals: number;
265
- displaySymbol: string;
266
265
  verified: boolean;
267
266
  isTest: boolean;
268
- price: number | null;
269
- }[];
267
+ } & {
268
+ price?: number | null | undefined;
269
+ })[];
270
270
  chain: {
271
271
  name: string;
272
272
  id: number;
@@ -305,10 +305,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
305
305
  address: string;
306
306
  icon: string;
307
307
  decimals: number;
308
- displaySymbol: string;
309
308
  verified: boolean;
310
309
  isTest: boolean;
311
- price: number | null;
310
+ } & {
311
+ price?: number | null | undefined;
312
312
  };
313
313
  distributionChain: {
314
314
  name: string;
@@ -415,7 +415,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
415
415
  }[];
416
416
  };
417
417
  id: string;
418
- tokens: {
418
+ tokens: ({
419
419
  symbol: string;
420
420
  name: string | null;
421
421
  id: string;
@@ -423,11 +423,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
423
423
  address: string;
424
424
  icon: string;
425
425
  decimals: number;
426
- displaySymbol: string;
427
426
  verified: boolean;
428
427
  isTest: boolean;
429
- price: number | null;
430
- }[];
428
+ } & {
429
+ price?: number | null | undefined;
430
+ })[];
431
431
  chain: {
432
432
  name: string;
433
433
  id: number;
@@ -511,7 +511,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
511
511
  headers: unknown;
512
512
  response: {
513
513
  200: {
514
- sum: number | null;
514
+ sum: File;
515
515
  };
516
516
  };
517
517
  };
@@ -580,8 +580,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
580
580
  mainParameter?: string | undefined;
581
581
  campaignId?: string | undefined;
582
582
  opportunityId?: string | undefined;
583
- tokenSymbol?: string | undefined;
584
583
  test?: boolean | undefined;
584
+ tokenSymbol?: string | undefined;
585
585
  };
586
586
  headers: unknown;
587
587
  response: {
@@ -600,10 +600,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
600
600
  address: string;
601
601
  icon: string;
602
602
  decimals: number;
603
- displaySymbol: string;
604
603
  verified: boolean;
605
604
  isTest: boolean;
606
- price: number | null;
605
+ } & {
606
+ price?: number | null | undefined;
607
607
  };
608
608
  distributionChain: {
609
609
  name: string;
@@ -651,8 +651,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
651
651
  mainParameter?: string | undefined;
652
652
  campaignId?: string | undefined;
653
653
  opportunityId?: string | undefined;
654
- tokenSymbol?: string | undefined;
655
654
  test?: boolean | undefined;
655
+ tokenSymbol?: string | undefined;
656
656
  };
657
657
  headers: unknown;
658
658
  response: {
@@ -806,7 +806,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
806
806
  address: string;
807
807
  icon: string;
808
808
  decimals: number;
809
- displaySymbol: string;
810
809
  verified: boolean;
811
810
  isTest: boolean;
812
811
  price?: number | null | undefined;
@@ -837,7 +836,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
837
836
  address: string;
838
837
  icon: string;
839
838
  decimals: number;
840
- displaySymbol: string;
841
839
  verified: boolean;
842
840
  isTest: boolean;
843
841
  } & {
@@ -861,10 +859,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
861
859
  chainId?: any;
862
860
  address?: string | undefined;
863
861
  verified?: boolean | undefined;
862
+ test?: boolean | undefined;
864
863
  };
865
864
  headers: unknown;
866
865
  response: {
867
- 200: ({
866
+ 200: {
868
867
  symbol: string;
869
868
  name: string | null;
870
869
  id: string;
@@ -875,9 +874,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
875
874
  displaySymbol: string;
876
875
  verified: boolean;
877
876
  isTest: boolean;
878
- } & {
879
- price?: number | null | undefined;
880
- })[];
877
+ price: number | null;
878
+ }[];
881
879
  };
882
880
  };
883
881
  };
@@ -894,6 +892,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
894
892
  chainId?: any;
895
893
  address?: string | undefined;
896
894
  verified?: boolean | undefined;
895
+ test?: boolean | undefined;
897
896
  };
898
897
  headers: unknown;
899
898
  response: {
@@ -152,7 +152,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
152
152
  }[];
153
153
  };
154
154
  id: string;
155
- tokens: {
155
+ tokens: ({
156
156
  symbol: string;
157
157
  name: string | null;
158
158
  id: string;
@@ -160,11 +160,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
160
160
  address: string;
161
161
  icon: string;
162
162
  decimals: number;
163
- displaySymbol: string;
164
163
  verified: boolean;
165
164
  isTest: boolean;
166
- price: number | null;
167
- }[];
165
+ } & {
166
+ price?: number | null | undefined;
167
+ })[];
168
168
  chain: {
169
169
  name: string;
170
170
  id: number;
@@ -255,7 +255,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
255
255
  }[];
256
256
  };
257
257
  id: string;
258
- tokens: {
258
+ tokens: ({
259
259
  symbol: string;
260
260
  name: string | null;
261
261
  id: string;
@@ -263,11 +263,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
263
263
  address: string;
264
264
  icon: string;
265
265
  decimals: number;
266
- displaySymbol: string;
267
266
  verified: boolean;
268
267
  isTest: boolean;
269
- price: number | null;
270
- }[];
268
+ } & {
269
+ price?: number | null | undefined;
270
+ })[];
271
271
  chain: {
272
272
  name: string;
273
273
  id: number;
@@ -306,10 +306,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
306
306
  address: string;
307
307
  icon: string;
308
308
  decimals: number;
309
- displaySymbol: string;
310
309
  verified: boolean;
311
310
  isTest: boolean;
312
- price: number | null;
311
+ } & {
312
+ price?: number | null | undefined;
313
313
  };
314
314
  distributionChain: {
315
315
  name: string;
@@ -416,7 +416,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
416
416
  }[];
417
417
  };
418
418
  id: string;
419
- tokens: {
419
+ tokens: ({
420
420
  symbol: string;
421
421
  name: string | null;
422
422
  id: string;
@@ -424,11 +424,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
424
424
  address: string;
425
425
  icon: string;
426
426
  decimals: number;
427
- displaySymbol: string;
428
427
  verified: boolean;
429
428
  isTest: boolean;
430
- price: number | null;
431
- }[];
429
+ } & {
430
+ price?: number | null | undefined;
431
+ })[];
432
432
  chain: {
433
433
  name: string;
434
434
  id: number;
@@ -512,7 +512,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
512
512
  headers: unknown;
513
513
  response: {
514
514
  200: {
515
- sum: number | null;
515
+ sum: File;
516
516
  };
517
517
  };
518
518
  };
@@ -581,8 +581,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
581
581
  mainParameter?: string | undefined;
582
582
  campaignId?: string | undefined;
583
583
  opportunityId?: string | undefined;
584
- tokenSymbol?: string | undefined;
585
584
  test?: boolean | undefined;
585
+ tokenSymbol?: string | undefined;
586
586
  };
587
587
  headers: unknown;
588
588
  response: {
@@ -601,10 +601,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
601
601
  address: string;
602
602
  icon: string;
603
603
  decimals: number;
604
- displaySymbol: string;
605
604
  verified: boolean;
606
605
  isTest: boolean;
607
- price: number | null;
606
+ } & {
607
+ price?: number | null | undefined;
608
608
  };
609
609
  distributionChain: {
610
610
  name: string;
@@ -652,8 +652,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
652
652
  mainParameter?: string | undefined;
653
653
  campaignId?: string | undefined;
654
654
  opportunityId?: string | undefined;
655
- tokenSymbol?: string | undefined;
656
655
  test?: boolean | undefined;
656
+ tokenSymbol?: string | undefined;
657
657
  };
658
658
  headers: unknown;
659
659
  response: {
@@ -807,7 +807,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
807
807
  address: string;
808
808
  icon: string;
809
809
  decimals: number;
810
- displaySymbol: string;
811
810
  verified: boolean;
812
811
  isTest: boolean;
813
812
  price?: number | null | undefined;
@@ -838,7 +837,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
838
837
  address: string;
839
838
  icon: string;
840
839
  decimals: number;
841
- displaySymbol: string;
842
840
  verified: boolean;
843
841
  isTest: boolean;
844
842
  } & {
@@ -862,10 +860,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
862
860
  chainId?: any;
863
861
  address?: string | undefined;
864
862
  verified?: boolean | undefined;
863
+ test?: boolean | undefined;
865
864
  };
866
865
  headers: unknown;
867
866
  response: {
868
- 200: ({
867
+ 200: {
869
868
  symbol: string;
870
869
  name: string | null;
871
870
  id: string;
@@ -876,9 +875,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
876
875
  displaySymbol: string;
877
876
  verified: boolean;
878
877
  isTest: boolean;
879
- } & {
880
- price?: number | null | undefined;
881
- })[];
878
+ price: number | null;
879
+ }[];
882
880
  };
883
881
  };
884
882
  };
@@ -895,6 +893,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
895
893
  chainId?: any;
896
894
  address?: string | undefined;
897
895
  verified?: boolean | undefined;
896
+ test?: boolean | undefined;
898
897
  };
899
898
  headers: unknown;
900
899
  response: {