@merkl/api 0.10.170 → 0.10.171

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) 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/processor/TempestVaultProcessor.d.ts +3 -1
  4. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.js +36 -7
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +1 -1
  6. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -4
  7. package/dist/src/modules/v4/campaign/campaign.repository.js +1 -0
  8. package/dist/src/modules/v4/campaign/campaign.service.d.ts +4 -4
  9. package/dist/src/modules/v4/campaign/campaign.service.js +2 -1
  10. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +15 -15
  11. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +106 -3
  12. package/dist/src/modules/v4/opportunity/opportunity.repository.js +1 -1
  13. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +29 -29
  14. package/dist/src/modules/v4/opportunity/opportunity.service.js +2 -1
  15. package/dist/src/modules/v4/router.d.ts +24 -25
  16. package/dist/src/modules/v4/token/token.controller.d.ts +5 -6
  17. package/dist/src/modules/v4/token/token.model.d.ts +2 -1
  18. package/dist/src/modules/v4/token/token.model.js +1 -0
  19. package/dist/src/modules/v4/token/token.repository.d.ts +13 -1
  20. package/dist/src/modules/v4/token/token.repository.js +2 -0
  21. package/dist/src/modules/v4/token/token.service.d.ts +5 -9
  22. package/dist/src/modules/v4/token/token.service.js +11 -2
  23. package/dist/src/routes/v3/blacklist.d.ts +24 -25
  24. package/dist/src/routes/v3/campaigns.d.ts +24 -25
  25. package/dist/src/routes/v3/campaignsInfo.d.ts +24 -25
  26. package/dist/src/routes/v3/multiChainPositions.d.ts +24 -25
  27. package/dist/src/routes/v3/opportunity.d.ts +24 -25
  28. package/dist/src/routes/v3/positions.d.ts +24 -25
  29. package/dist/src/routes/v3/rewards.d.ts +24 -25
  30. package/dist/src/routes/v3/updates.d.ts +24 -25
  31. package/dist/src/routes/v3/userRewards.d.ts +24 -25
  32. package/dist/tsconfig.package.tsbuildinfo +1 -1
  33. 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: {
@@ -135,7 +135,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
135
135
  }[];
136
136
  };
137
137
  id: string;
138
- tokens: {
138
+ tokens: ({
139
139
  symbol: string;
140
140
  name: string | null;
141
141
  id: string;
@@ -143,11 +143,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
143
143
  address: string;
144
144
  icon: string;
145
145
  decimals: number;
146
- displaySymbol: string;
147
146
  verified: boolean;
148
147
  isTest: boolean;
149
- price: number | null;
150
- }[];
148
+ } & {
149
+ price?: number | null | undefined;
150
+ })[];
151
151
  chain: {
152
152
  name: string;
153
153
  id: number;
@@ -238,7 +238,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
238
238
  }[];
239
239
  };
240
240
  id: string;
241
- tokens: {
241
+ tokens: ({
242
242
  symbol: string;
243
243
  name: string | null;
244
244
  id: string;
@@ -246,11 +246,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
246
246
  address: string;
247
247
  icon: string;
248
248
  decimals: number;
249
- displaySymbol: string;
250
249
  verified: boolean;
251
250
  isTest: boolean;
252
- price: number | null;
253
- }[];
251
+ } & {
252
+ price?: number | null | undefined;
253
+ })[];
254
254
  chain: {
255
255
  name: string;
256
256
  id: number;
@@ -289,10 +289,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
289
289
  address: string;
290
290
  icon: string;
291
291
  decimals: number;
292
- displaySymbol: string;
293
292
  verified: boolean;
294
293
  isTest: boolean;
295
- price: number | null;
294
+ } & {
295
+ price?: number | null | undefined;
296
296
  };
297
297
  distributionChain: {
298
298
  name: string;
@@ -399,7 +399,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
399
399
  }[];
400
400
  };
401
401
  id: string;
402
- tokens: {
402
+ tokens: ({
403
403
  symbol: string;
404
404
  name: string | null;
405
405
  id: string;
@@ -407,11 +407,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
407
407
  address: string;
408
408
  icon: string;
409
409
  decimals: number;
410
- displaySymbol: string;
411
410
  verified: boolean;
412
411
  isTest: boolean;
413
- price: number | null;
414
- }[];
412
+ } & {
413
+ price?: number | null | undefined;
414
+ })[];
415
415
  chain: {
416
416
  name: string;
417
417
  id: number;
@@ -495,7 +495,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
495
495
  headers: unknown;
496
496
  response: {
497
497
  200: {
498
- sum: number | null;
498
+ sum: File;
499
499
  };
500
500
  };
501
501
  };
@@ -564,8 +564,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
564
564
  mainParameter?: string | undefined;
565
565
  campaignId?: string | undefined;
566
566
  opportunityId?: string | undefined;
567
- tokenSymbol?: string | undefined;
568
567
  test?: boolean | undefined;
568
+ tokenSymbol?: string | undefined;
569
569
  };
570
570
  headers: unknown;
571
571
  response: {
@@ -584,10 +584,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
584
584
  address: string;
585
585
  icon: string;
586
586
  decimals: number;
587
- displaySymbol: string;
588
587
  verified: boolean;
589
588
  isTest: boolean;
590
- price: number | null;
589
+ } & {
590
+ price?: number | null | undefined;
591
591
  };
592
592
  distributionChain: {
593
593
  name: string;
@@ -635,8 +635,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
635
635
  mainParameter?: string | undefined;
636
636
  campaignId?: string | undefined;
637
637
  opportunityId?: string | undefined;
638
- tokenSymbol?: string | undefined;
639
638
  test?: boolean | undefined;
639
+ tokenSymbol?: string | undefined;
640
640
  };
641
641
  headers: unknown;
642
642
  response: {
@@ -790,7 +790,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
790
790
  address: string;
791
791
  icon: string;
792
792
  decimals: number;
793
- displaySymbol: string;
794
793
  verified: boolean;
795
794
  isTest: boolean;
796
795
  price?: number | null | undefined;
@@ -821,7 +820,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
821
820
  address: string;
822
821
  icon: string;
823
822
  decimals: number;
824
- displaySymbol: string;
825
823
  verified: boolean;
826
824
  isTest: boolean;
827
825
  } & {
@@ -845,10 +843,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
845
843
  chainId?: any;
846
844
  address?: string | undefined;
847
845
  verified?: boolean | undefined;
846
+ test?: boolean | undefined;
848
847
  };
849
848
  headers: unknown;
850
849
  response: {
851
- 200: ({
850
+ 200: {
852
851
  symbol: string;
853
852
  name: string | null;
854
853
  id: string;
@@ -859,9 +858,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
859
858
  displaySymbol: string;
860
859
  verified: boolean;
861
860
  isTest: boolean;
862
- } & {
863
- price?: number | null | undefined;
864
- })[];
861
+ price: number | null;
862
+ }[];
865
863
  };
866
864
  };
867
865
  };
@@ -878,6 +876,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
878
876
  chainId?: any;
879
877
  address?: string | undefined;
880
878
  verified?: boolean | undefined;
879
+ test?: boolean | undefined;
881
880
  };
882
881
  headers: unknown;
883
882
  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: {