@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
@@ -134,7 +134,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
134
134
  }[];
135
135
  };
136
136
  id: string;
137
- tokens: {
137
+ tokens: ({
138
138
  symbol: string;
139
139
  name: string | null;
140
140
  id: string;
@@ -142,11 +142,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
142
142
  address: string;
143
143
  icon: string;
144
144
  decimals: number;
145
- displaySymbol: string;
146
145
  verified: boolean;
147
146
  isTest: boolean;
148
- price: number | null;
149
- }[];
147
+ } & {
148
+ price?: number | null | undefined;
149
+ })[];
150
150
  chain: {
151
151
  name: string;
152
152
  id: number;
@@ -237,7 +237,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
237
237
  }[];
238
238
  };
239
239
  id: string;
240
- tokens: {
240
+ tokens: ({
241
241
  symbol: string;
242
242
  name: string | null;
243
243
  id: string;
@@ -245,11 +245,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
245
245
  address: string;
246
246
  icon: string;
247
247
  decimals: number;
248
- displaySymbol: string;
249
248
  verified: boolean;
250
249
  isTest: boolean;
251
- price: number | null;
252
- }[];
250
+ } & {
251
+ price?: number | null | undefined;
252
+ })[];
253
253
  chain: {
254
254
  name: string;
255
255
  id: number;
@@ -288,10 +288,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
288
288
  address: string;
289
289
  icon: string;
290
290
  decimals: number;
291
- displaySymbol: string;
292
291
  verified: boolean;
293
292
  isTest: boolean;
294
- price: number | null;
293
+ } & {
294
+ price?: number | null | undefined;
295
295
  };
296
296
  distributionChain: {
297
297
  name: string;
@@ -398,7 +398,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
398
398
  }[];
399
399
  };
400
400
  id: string;
401
- tokens: {
401
+ tokens: ({
402
402
  symbol: string;
403
403
  name: string | null;
404
404
  id: string;
@@ -406,11 +406,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
406
406
  address: string;
407
407
  icon: string;
408
408
  decimals: number;
409
- displaySymbol: string;
410
409
  verified: boolean;
411
410
  isTest: boolean;
412
- price: number | null;
413
- }[];
411
+ } & {
412
+ price?: number | null | undefined;
413
+ })[];
414
414
  chain: {
415
415
  name: string;
416
416
  id: number;
@@ -494,7 +494,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
494
494
  headers: unknown;
495
495
  response: {
496
496
  200: {
497
- sum: number | null;
497
+ sum: File;
498
498
  };
499
499
  };
500
500
  };
@@ -563,8 +563,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
563
563
  mainParameter?: string | undefined;
564
564
  campaignId?: string | undefined;
565
565
  opportunityId?: string | undefined;
566
- tokenSymbol?: string | undefined;
567
566
  test?: boolean | undefined;
567
+ tokenSymbol?: string | undefined;
568
568
  };
569
569
  headers: unknown;
570
570
  response: {
@@ -583,10 +583,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
583
583
  address: string;
584
584
  icon: string;
585
585
  decimals: number;
586
- displaySymbol: string;
587
586
  verified: boolean;
588
587
  isTest: boolean;
589
- price: number | null;
588
+ } & {
589
+ price?: number | null | undefined;
590
590
  };
591
591
  distributionChain: {
592
592
  name: string;
@@ -634,8 +634,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
634
634
  mainParameter?: string | undefined;
635
635
  campaignId?: string | undefined;
636
636
  opportunityId?: string | undefined;
637
- tokenSymbol?: string | undefined;
638
637
  test?: boolean | undefined;
638
+ tokenSymbol?: string | undefined;
639
639
  };
640
640
  headers: unknown;
641
641
  response: {
@@ -789,7 +789,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
789
789
  address: string;
790
790
  icon: string;
791
791
  decimals: number;
792
- displaySymbol: string;
793
792
  verified: boolean;
794
793
  isTest: boolean;
795
794
  price?: number | null | undefined;
@@ -820,7 +819,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
820
819
  address: string;
821
820
  icon: string;
822
821
  decimals: number;
823
- displaySymbol: string;
824
822
  verified: boolean;
825
823
  isTest: boolean;
826
824
  } & {
@@ -844,10 +842,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
844
842
  chainId?: any;
845
843
  address?: string | undefined;
846
844
  verified?: boolean | undefined;
845
+ test?: boolean | undefined;
847
846
  };
848
847
  headers: unknown;
849
848
  response: {
850
- 200: ({
849
+ 200: {
851
850
  symbol: string;
852
851
  name: string | null;
853
852
  id: string;
@@ -858,9 +857,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
858
857
  displaySymbol: string;
859
858
  verified: boolean;
860
859
  isTest: boolean;
861
- } & {
862
- price?: number | null | undefined;
863
- })[];
860
+ price: number | null;
861
+ }[];
864
862
  };
865
863
  };
866
864
  };
@@ -877,6 +875,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
877
875
  chainId?: any;
878
876
  address?: string | undefined;
879
877
  verified?: boolean | undefined;
878
+ test?: boolean | undefined;
880
879
  };
881
880
  headers: unknown;
882
881
  response: {
@@ -137,7 +137,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
137
137
  }[];
138
138
  };
139
139
  id: string;
140
- tokens: {
140
+ tokens: ({
141
141
  symbol: string;
142
142
  name: string | null;
143
143
  id: string;
@@ -145,11 +145,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
145
145
  address: string;
146
146
  icon: string;
147
147
  decimals: number;
148
- displaySymbol: string;
149
148
  verified: boolean;
150
149
  isTest: boolean;
151
- price: number | null;
152
- }[];
150
+ } & {
151
+ price?: number | null | undefined;
152
+ })[];
153
153
  chain: {
154
154
  name: string;
155
155
  id: number;
@@ -240,7 +240,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
240
240
  }[];
241
241
  };
242
242
  id: string;
243
- tokens: {
243
+ tokens: ({
244
244
  symbol: string;
245
245
  name: string | null;
246
246
  id: string;
@@ -248,11 +248,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
248
248
  address: string;
249
249
  icon: string;
250
250
  decimals: number;
251
- displaySymbol: string;
252
251
  verified: boolean;
253
252
  isTest: boolean;
254
- price: number | null;
255
- }[];
253
+ } & {
254
+ price?: number | null | undefined;
255
+ })[];
256
256
  chain: {
257
257
  name: string;
258
258
  id: number;
@@ -291,10 +291,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
291
291
  address: string;
292
292
  icon: string;
293
293
  decimals: number;
294
- displaySymbol: string;
295
294
  verified: boolean;
296
295
  isTest: boolean;
297
- price: number | null;
296
+ } & {
297
+ price?: number | null | undefined;
298
298
  };
299
299
  distributionChain: {
300
300
  name: string;
@@ -401,7 +401,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
401
401
  }[];
402
402
  };
403
403
  id: string;
404
- tokens: {
404
+ tokens: ({
405
405
  symbol: string;
406
406
  name: string | null;
407
407
  id: string;
@@ -409,11 +409,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
409
409
  address: string;
410
410
  icon: string;
411
411
  decimals: number;
412
- displaySymbol: string;
413
412
  verified: boolean;
414
413
  isTest: boolean;
415
- price: number | null;
416
- }[];
414
+ } & {
415
+ price?: number | null | undefined;
416
+ })[];
417
417
  chain: {
418
418
  name: string;
419
419
  id: number;
@@ -497,7 +497,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
497
497
  headers: unknown;
498
498
  response: {
499
499
  200: {
500
- sum: number | null;
500
+ sum: File;
501
501
  };
502
502
  };
503
503
  };
@@ -566,8 +566,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
566
566
  mainParameter?: string | undefined;
567
567
  campaignId?: string | undefined;
568
568
  opportunityId?: string | undefined;
569
- tokenSymbol?: string | undefined;
570
569
  test?: boolean | undefined;
570
+ tokenSymbol?: string | undefined;
571
571
  };
572
572
  headers: unknown;
573
573
  response: {
@@ -586,10 +586,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
586
586
  address: string;
587
587
  icon: string;
588
588
  decimals: number;
589
- displaySymbol: string;
590
589
  verified: boolean;
591
590
  isTest: boolean;
592
- price: number | null;
591
+ } & {
592
+ price?: number | null | undefined;
593
593
  };
594
594
  distributionChain: {
595
595
  name: string;
@@ -637,8 +637,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
637
637
  mainParameter?: string | undefined;
638
638
  campaignId?: string | undefined;
639
639
  opportunityId?: string | undefined;
640
- tokenSymbol?: string | undefined;
641
640
  test?: boolean | undefined;
641
+ tokenSymbol?: string | undefined;
642
642
  };
643
643
  headers: unknown;
644
644
  response: {
@@ -792,7 +792,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
792
792
  address: string;
793
793
  icon: string;
794
794
  decimals: number;
795
- displaySymbol: string;
796
795
  verified: boolean;
797
796
  isTest: boolean;
798
797
  price?: number | null | undefined;
@@ -823,7 +822,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
823
822
  address: string;
824
823
  icon: string;
825
824
  decimals: number;
826
- displaySymbol: string;
827
825
  verified: boolean;
828
826
  isTest: boolean;
829
827
  } & {
@@ -847,10 +845,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
847
845
  chainId?: any;
848
846
  address?: string | undefined;
849
847
  verified?: boolean | undefined;
848
+ test?: boolean | undefined;
850
849
  };
851
850
  headers: unknown;
852
851
  response: {
853
- 200: ({
852
+ 200: {
854
853
  symbol: string;
855
854
  name: string | null;
856
855
  id: string;
@@ -861,9 +860,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
861
860
  displaySymbol: string;
862
861
  verified: boolean;
863
862
  isTest: boolean;
864
- } & {
865
- price?: number | null | undefined;
866
- })[];
863
+ price: number | null;
864
+ }[];
867
865
  };
868
866
  };
869
867
  };
@@ -880,6 +878,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
880
878
  chainId?: any;
881
879
  address?: string | undefined;
882
880
  verified?: boolean | undefined;
881
+ test?: boolean | undefined;
883
882
  };
884
883
  headers: unknown;
885
884
  response: {
@@ -128,7 +128,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
128
128
  }[];
129
129
  };
130
130
  id: string;
131
- tokens: {
131
+ tokens: ({
132
132
  symbol: string;
133
133
  name: string | null;
134
134
  id: string;
@@ -136,11 +136,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
136
136
  address: string;
137
137
  icon: string;
138
138
  decimals: number;
139
- displaySymbol: string;
140
139
  verified: boolean;
141
140
  isTest: boolean;
142
- price: number | null;
143
- }[];
141
+ } & {
142
+ price?: number | null | undefined;
143
+ })[];
144
144
  chain: {
145
145
  name: string;
146
146
  id: number;
@@ -231,7 +231,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
231
231
  }[];
232
232
  };
233
233
  id: string;
234
- tokens: {
234
+ tokens: ({
235
235
  symbol: string;
236
236
  name: string | null;
237
237
  id: string;
@@ -239,11 +239,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
239
239
  address: string;
240
240
  icon: string;
241
241
  decimals: number;
242
- displaySymbol: string;
243
242
  verified: boolean;
244
243
  isTest: boolean;
245
- price: number | null;
246
- }[];
244
+ } & {
245
+ price?: number | null | undefined;
246
+ })[];
247
247
  chain: {
248
248
  name: string;
249
249
  id: number;
@@ -282,10 +282,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
282
282
  address: string;
283
283
  icon: string;
284
284
  decimals: number;
285
- displaySymbol: string;
286
285
  verified: boolean;
287
286
  isTest: boolean;
288
- price: number | null;
287
+ } & {
288
+ price?: number | null | undefined;
289
289
  };
290
290
  distributionChain: {
291
291
  name: string;
@@ -392,7 +392,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
392
392
  }[];
393
393
  };
394
394
  id: string;
395
- tokens: {
395
+ tokens: ({
396
396
  symbol: string;
397
397
  name: string | null;
398
398
  id: string;
@@ -400,11 +400,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
400
400
  address: string;
401
401
  icon: string;
402
402
  decimals: number;
403
- displaySymbol: string;
404
403
  verified: boolean;
405
404
  isTest: boolean;
406
- price: number | null;
407
- }[];
405
+ } & {
406
+ price?: number | null | undefined;
407
+ })[];
408
408
  chain: {
409
409
  name: string;
410
410
  id: number;
@@ -488,7 +488,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
488
488
  headers: unknown;
489
489
  response: {
490
490
  200: {
491
- sum: number | null;
491
+ sum: File;
492
492
  };
493
493
  };
494
494
  };
@@ -557,8 +557,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
557
557
  mainParameter?: string | undefined;
558
558
  campaignId?: string | undefined;
559
559
  opportunityId?: string | undefined;
560
- tokenSymbol?: string | undefined;
561
560
  test?: boolean | undefined;
561
+ tokenSymbol?: string | undefined;
562
562
  };
563
563
  headers: unknown;
564
564
  response: {
@@ -577,10 +577,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
577
577
  address: string;
578
578
  icon: string;
579
579
  decimals: number;
580
- displaySymbol: string;
581
580
  verified: boolean;
582
581
  isTest: boolean;
583
- price: number | null;
582
+ } & {
583
+ price?: number | null | undefined;
584
584
  };
585
585
  distributionChain: {
586
586
  name: string;
@@ -628,8 +628,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
628
628
  mainParameter?: string | undefined;
629
629
  campaignId?: string | undefined;
630
630
  opportunityId?: string | undefined;
631
- tokenSymbol?: string | undefined;
632
631
  test?: boolean | undefined;
632
+ tokenSymbol?: string | undefined;
633
633
  };
634
634
  headers: unknown;
635
635
  response: {
@@ -783,7 +783,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
783
783
  address: string;
784
784
  icon: string;
785
785
  decimals: number;
786
- displaySymbol: string;
787
786
  verified: boolean;
788
787
  isTest: boolean;
789
788
  price?: number | null | undefined;
@@ -814,7 +813,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
814
813
  address: string;
815
814
  icon: string;
816
815
  decimals: number;
817
- displaySymbol: string;
818
816
  verified: boolean;
819
817
  isTest: boolean;
820
818
  } & {
@@ -838,10 +836,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
838
836
  chainId?: any;
839
837
  address?: string | undefined;
840
838
  verified?: boolean | undefined;
839
+ test?: boolean | undefined;
841
840
  };
842
841
  headers: unknown;
843
842
  response: {
844
- 200: ({
843
+ 200: {
845
844
  symbol: string;
846
845
  name: string | null;
847
846
  id: string;
@@ -852,9 +851,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
852
851
  displaySymbol: string;
853
852
  verified: boolean;
854
853
  isTest: boolean;
855
- } & {
856
- price?: number | null | undefined;
857
- })[];
854
+ price: number | null;
855
+ }[];
858
856
  };
859
857
  };
860
858
  };
@@ -871,6 +869,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
871
869
  chainId?: any;
872
870
  address?: string | undefined;
873
871
  verified?: boolean | undefined;
872
+ test?: boolean | undefined;
874
873
  };
875
874
  headers: unknown;
876
875
  response: {