@merkl/api 0.10.170 → 0.10.171

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 (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
@@ -70,7 +70,7 @@ declare const eden: {
70
70
  }[];
71
71
  };
72
72
  id: string;
73
- tokens: {
73
+ tokens: ({
74
74
  symbol: string;
75
75
  name: string | null;
76
76
  id: string;
@@ -78,11 +78,11 @@ declare const eden: {
78
78
  address: string;
79
79
  icon: string;
80
80
  decimals: number;
81
- displaySymbol: string;
82
81
  verified: boolean;
83
82
  isTest: boolean;
84
- price: number | null;
85
- }[];
83
+ } & {
84
+ price?: number | null | undefined;
85
+ })[];
86
86
  chain: {
87
87
  name: string;
88
88
  id: number;
@@ -164,7 +164,7 @@ declare const eden: {
164
164
  }[];
165
165
  };
166
166
  id: string;
167
- tokens: {
167
+ tokens: ({
168
168
  symbol: string;
169
169
  name: string | null;
170
170
  id: string;
@@ -172,11 +172,11 @@ declare const eden: {
172
172
  address: string;
173
173
  icon: string;
174
174
  decimals: number;
175
- displaySymbol: string;
176
175
  verified: boolean;
177
176
  isTest: boolean;
178
- price: number | null;
179
- }[];
177
+ } & {
178
+ price?: number | null | undefined;
179
+ })[];
180
180
  chain: {
181
181
  name: string;
182
182
  id: number;
@@ -215,10 +215,10 @@ declare const eden: {
215
215
  address: string;
216
216
  icon: string;
217
217
  decimals: number;
218
- displaySymbol: string;
219
218
  verified: boolean;
220
219
  isTest: boolean;
221
- price: number | null;
220
+ } & {
221
+ price?: number | null | undefined;
222
222
  };
223
223
  distributionChain: {
224
224
  name: string;
@@ -342,7 +342,7 @@ declare const eden: {
342
342
  }[];
343
343
  };
344
344
  id: string;
345
- tokens: {
345
+ tokens: ({
346
346
  symbol: string;
347
347
  name: string | null;
348
348
  id: string;
@@ -350,11 +350,11 @@ declare const eden: {
350
350
  address: string;
351
351
  icon: string;
352
352
  decimals: number;
353
- displaySymbol: string;
354
353
  verified: boolean;
355
354
  isTest: boolean;
356
- price: number | null;
357
- }[];
355
+ } & {
356
+ price?: number | null | undefined;
357
+ })[];
358
358
  chain: {
359
359
  name: string;
360
360
  id: number;
@@ -427,7 +427,7 @@ declare const eden: {
427
427
  fetch?: RequestInit | undefined;
428
428
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
429
429
  200: {
430
- sum: number | null;
430
+ sum: File;
431
431
  };
432
432
  }>>;
433
433
  }) & {};
@@ -485,8 +485,8 @@ declare const eden: {
485
485
  mainParameter?: string | undefined;
486
486
  campaignId?: string | undefined;
487
487
  opportunityId?: string | undefined;
488
- tokenSymbol?: string | undefined;
489
488
  test?: boolean | undefined;
489
+ tokenSymbol?: string | undefined;
490
490
  };
491
491
  fetch?: RequestInit | undefined;
492
492
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -505,10 +505,10 @@ declare const eden: {
505
505
  address: string;
506
506
  icon: string;
507
507
  decimals: number;
508
- displaySymbol: string;
509
508
  verified: boolean;
510
509
  isTest: boolean;
511
- price: number | null;
510
+ } & {
511
+ price?: number | null | undefined;
512
512
  };
513
513
  distributionChain: {
514
514
  name: string;
@@ -553,8 +553,8 @@ declare const eden: {
553
553
  mainParameter?: string | undefined;
554
554
  campaignId?: string | undefined;
555
555
  opportunityId?: string | undefined;
556
- tokenSymbol?: string | undefined;
557
556
  test?: boolean | undefined;
557
+ tokenSymbol?: string | undefined;
558
558
  };
559
559
  fetch?: RequestInit | undefined;
560
560
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -673,7 +673,6 @@ declare const eden: {
673
673
  address: string;
674
674
  icon: string;
675
675
  decimals: number;
676
- displaySymbol: string;
677
676
  verified: boolean;
678
677
  isTest: boolean;
679
678
  price?: number | null | undefined;
@@ -699,7 +698,6 @@ declare const eden: {
699
698
  address: string;
700
699
  icon: string;
701
700
  decimals: number;
702
- displaySymbol: string;
703
701
  verified: boolean;
704
702
  isTest: boolean;
705
703
  } & {
@@ -718,10 +716,11 @@ declare const eden: {
718
716
  chainId?: any;
719
717
  address?: string | undefined;
720
718
  verified?: boolean | undefined;
719
+ test?: boolean | undefined;
721
720
  };
722
721
  fetch?: RequestInit | undefined;
723
722
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
724
- 200: ({
723
+ 200: {
725
724
  symbol: string;
726
725
  name: string | null;
727
726
  id: string;
@@ -732,9 +731,8 @@ declare const eden: {
732
731
  displaySymbol: string;
733
732
  verified: boolean;
734
733
  isTest: boolean;
735
- } & {
736
- price?: number | null | undefined;
737
- })[];
734
+ price: number | null;
735
+ }[];
738
736
  }>>;
739
737
  };
740
738
  count: {
@@ -746,6 +744,7 @@ declare const eden: {
746
744
  chainId?: any;
747
745
  address?: string | undefined;
748
746
  verified?: boolean | undefined;
747
+ test?: boolean | undefined;
749
748
  };
750
749
  fetch?: RequestInit | undefined;
751
750
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -1971,7 +1970,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1971
1970
  }[];
1972
1971
  };
1973
1972
  id: string;
1974
- tokens: {
1973
+ tokens: ({
1975
1974
  symbol: string;
1976
1975
  name: string | null;
1977
1976
  id: string;
@@ -1979,11 +1978,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1979
1978
  address: string;
1980
1979
  icon: string;
1981
1980
  decimals: number;
1982
- displaySymbol: string;
1983
1981
  verified: boolean;
1984
1982
  isTest: boolean;
1985
- price: number | null;
1986
- }[];
1983
+ } & {
1984
+ price?: number | null | undefined;
1985
+ })[];
1987
1986
  chain: {
1988
1987
  name: string;
1989
1988
  id: number;
@@ -2074,7 +2073,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2074
2073
  }[];
2075
2074
  };
2076
2075
  id: string;
2077
- tokens: {
2076
+ tokens: ({
2078
2077
  symbol: string;
2079
2078
  name: string | null;
2080
2079
  id: string;
@@ -2082,11 +2081,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2082
2081
  address: string;
2083
2082
  icon: string;
2084
2083
  decimals: number;
2085
- displaySymbol: string;
2086
2084
  verified: boolean;
2087
2085
  isTest: boolean;
2088
- price: number | null;
2089
- }[];
2086
+ } & {
2087
+ price?: number | null | undefined;
2088
+ })[];
2090
2089
  chain: {
2091
2090
  name: string;
2092
2091
  id: number;
@@ -2125,10 +2124,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2125
2124
  address: string;
2126
2125
  icon: string;
2127
2126
  decimals: number;
2128
- displaySymbol: string;
2129
2127
  verified: boolean;
2130
2128
  isTest: boolean;
2131
- price: number | null;
2129
+ } & {
2130
+ price?: number | null | undefined;
2132
2131
  };
2133
2132
  distributionChain: {
2134
2133
  name: string;
@@ -2235,7 +2234,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2235
2234
  }[];
2236
2235
  };
2237
2236
  id: string;
2238
- tokens: {
2237
+ tokens: ({
2239
2238
  symbol: string;
2240
2239
  name: string | null;
2241
2240
  id: string;
@@ -2243,11 +2242,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2243
2242
  address: string;
2244
2243
  icon: string;
2245
2244
  decimals: number;
2246
- displaySymbol: string;
2247
2245
  verified: boolean;
2248
2246
  isTest: boolean;
2249
- price: number | null;
2250
- }[];
2247
+ } & {
2248
+ price?: number | null | undefined;
2249
+ })[];
2251
2250
  chain: {
2252
2251
  name: string;
2253
2252
  id: number;
@@ -2331,7 +2330,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2331
2330
  headers: unknown;
2332
2331
  response: {
2333
2332
  200: {
2334
- sum: number | null;
2333
+ sum: File;
2335
2334
  };
2336
2335
  };
2337
2336
  };
@@ -2400,8 +2399,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2400
2399
  mainParameter?: string | undefined;
2401
2400
  campaignId?: string | undefined;
2402
2401
  opportunityId?: string | undefined;
2403
- tokenSymbol?: string | undefined;
2404
2402
  test?: boolean | undefined;
2403
+ tokenSymbol?: string | undefined;
2405
2404
  };
2406
2405
  headers: unknown;
2407
2406
  response: {
@@ -2420,10 +2419,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2420
2419
  address: string;
2421
2420
  icon: string;
2422
2421
  decimals: number;
2423
- displaySymbol: string;
2424
2422
  verified: boolean;
2425
2423
  isTest: boolean;
2426
- price: number | null;
2424
+ } & {
2425
+ price?: number | null | undefined;
2427
2426
  };
2428
2427
  distributionChain: {
2429
2428
  name: string;
@@ -2471,8 +2470,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2471
2470
  mainParameter?: string | undefined;
2472
2471
  campaignId?: string | undefined;
2473
2472
  opportunityId?: string | undefined;
2474
- tokenSymbol?: string | undefined;
2475
2473
  test?: boolean | undefined;
2474
+ tokenSymbol?: string | undefined;
2476
2475
  };
2477
2476
  headers: unknown;
2478
2477
  response: {
@@ -2626,7 +2625,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2626
2625
  address: string;
2627
2626
  icon: string;
2628
2627
  decimals: number;
2629
- displaySymbol: string;
2630
2628
  verified: boolean;
2631
2629
  isTest: boolean;
2632
2630
  price?: number | null | undefined;
@@ -2657,7 +2655,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2657
2655
  address: string;
2658
2656
  icon: string;
2659
2657
  decimals: number;
2660
- displaySymbol: string;
2661
2658
  verified: boolean;
2662
2659
  isTest: boolean;
2663
2660
  } & {
@@ -2681,10 +2678,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2681
2678
  chainId?: any;
2682
2679
  address?: string | undefined;
2683
2680
  verified?: boolean | undefined;
2681
+ test?: boolean | undefined;
2684
2682
  };
2685
2683
  headers: unknown;
2686
2684
  response: {
2687
- 200: ({
2685
+ 200: {
2688
2686
  symbol: string;
2689
2687
  name: string | null;
2690
2688
  id: string;
@@ -2695,9 +2693,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2695
2693
  displaySymbol: string;
2696
2694
  verified: boolean;
2697
2695
  isTest: boolean;
2698
- } & {
2699
- price?: number | null | undefined;
2700
- })[];
2696
+ price: number | null;
2697
+ }[];
2701
2698
  };
2702
2699
  };
2703
2700
  };
@@ -2714,6 +2711,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2714
2711
  chainId?: any;
2715
2712
  address?: string | undefined;
2716
2713
  verified?: boolean | undefined;
2714
+ test?: boolean | undefined;
2717
2715
  };
2718
2716
  headers: unknown;
2719
2717
  response: {
@@ -4187,7 +4185,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4187
4185
  }[];
4188
4186
  };
4189
4187
  id: string;
4190
- tokens: {
4188
+ tokens: ({
4191
4189
  symbol: string;
4192
4190
  name: string | null;
4193
4191
  id: string;
@@ -4195,11 +4193,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4195
4193
  address: string;
4196
4194
  icon: string;
4197
4195
  decimals: number;
4198
- displaySymbol: string;
4199
4196
  verified: boolean;
4200
4197
  isTest: boolean;
4201
- price: number | null;
4202
- }[];
4198
+ } & {
4199
+ price?: number | null | undefined;
4200
+ })[];
4203
4201
  chain: {
4204
4202
  name: string;
4205
4203
  id: number;
@@ -4281,7 +4279,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4281
4279
  }[];
4282
4280
  };
4283
4281
  id: string;
4284
- tokens: {
4282
+ tokens: ({
4285
4283
  symbol: string;
4286
4284
  name: string | null;
4287
4285
  id: string;
@@ -4289,11 +4287,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4289
4287
  address: string;
4290
4288
  icon: string;
4291
4289
  decimals: number;
4292
- displaySymbol: string;
4293
4290
  verified: boolean;
4294
4291
  isTest: boolean;
4295
- price: number | null;
4296
- }[];
4292
+ } & {
4293
+ price?: number | null | undefined;
4294
+ })[];
4297
4295
  chain: {
4298
4296
  name: string;
4299
4297
  id: number;
@@ -4332,10 +4330,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4332
4330
  address: string;
4333
4331
  icon: string;
4334
4332
  decimals: number;
4335
- displaySymbol: string;
4336
4333
  verified: boolean;
4337
4334
  isTest: boolean;
4338
- price: number | null;
4335
+ } & {
4336
+ price?: number | null | undefined;
4339
4337
  };
4340
4338
  distributionChain: {
4341
4339
  name: string;
@@ -4459,7 +4457,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4459
4457
  }[];
4460
4458
  };
4461
4459
  id: string;
4462
- tokens: {
4460
+ tokens: ({
4463
4461
  symbol: string;
4464
4462
  name: string | null;
4465
4463
  id: string;
@@ -4467,11 +4465,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4467
4465
  address: string;
4468
4466
  icon: string;
4469
4467
  decimals: number;
4470
- displaySymbol: string;
4471
4468
  verified: boolean;
4472
4469
  isTest: boolean;
4473
- price: number | null;
4474
- }[];
4470
+ } & {
4471
+ price?: number | null | undefined;
4472
+ })[];
4475
4473
  chain: {
4476
4474
  name: string;
4477
4475
  id: number;
@@ -4544,7 +4542,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4544
4542
  fetch?: RequestInit | undefined;
4545
4543
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4546
4544
  200: {
4547
- sum: number | null;
4545
+ sum: File;
4548
4546
  };
4549
4547
  }>>;
4550
4548
  }) & {};
@@ -4602,8 +4600,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4602
4600
  mainParameter?: string | undefined;
4603
4601
  campaignId?: string | undefined;
4604
4602
  opportunityId?: string | undefined;
4605
- tokenSymbol?: string | undefined;
4606
4603
  test?: boolean | undefined;
4604
+ tokenSymbol?: string | undefined;
4607
4605
  };
4608
4606
  fetch?: RequestInit | undefined;
4609
4607
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4622,10 +4620,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4622
4620
  address: string;
4623
4621
  icon: string;
4624
4622
  decimals: number;
4625
- displaySymbol: string;
4626
4623
  verified: boolean;
4627
4624
  isTest: boolean;
4628
- price: number | null;
4625
+ } & {
4626
+ price?: number | null | undefined;
4629
4627
  };
4630
4628
  distributionChain: {
4631
4629
  name: string;
@@ -4670,8 +4668,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4670
4668
  mainParameter?: string | undefined;
4671
4669
  campaignId?: string | undefined;
4672
4670
  opportunityId?: string | undefined;
4673
- tokenSymbol?: string | undefined;
4674
4671
  test?: boolean | undefined;
4672
+ tokenSymbol?: string | undefined;
4675
4673
  };
4676
4674
  fetch?: RequestInit | undefined;
4677
4675
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4790,7 +4788,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4790
4788
  address: string;
4791
4789
  icon: string;
4792
4790
  decimals: number;
4793
- displaySymbol: string;
4794
4791
  verified: boolean;
4795
4792
  isTest: boolean;
4796
4793
  price?: number | null | undefined;
@@ -4816,7 +4813,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4816
4813
  address: string;
4817
4814
  icon: string;
4818
4815
  decimals: number;
4819
- displaySymbol: string;
4820
4816
  verified: boolean;
4821
4817
  isTest: boolean;
4822
4818
  } & {
@@ -4835,10 +4831,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4835
4831
  chainId?: any;
4836
4832
  address?: string | undefined;
4837
4833
  verified?: boolean | undefined;
4834
+ test?: boolean | undefined;
4838
4835
  };
4839
4836
  fetch?: RequestInit | undefined;
4840
4837
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4841
- 200: ({
4838
+ 200: {
4842
4839
  symbol: string;
4843
4840
  name: string | null;
4844
4841
  id: string;
@@ -4849,9 +4846,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4849
4846
  displaySymbol: string;
4850
4847
  verified: boolean;
4851
4848
  isTest: boolean;
4852
- } & {
4853
- price?: number | null | undefined;
4854
- })[];
4849
+ price: number | null;
4850
+ }[];
4855
4851
  }>>;
4856
4852
  };
4857
4853
  count: {
@@ -4863,6 +4859,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4863
4859
  chainId?: any;
4864
4860
  address?: string | undefined;
4865
4861
  verified?: boolean | undefined;
4862
+ test?: boolean | undefined;
4866
4863
  };
4867
4864
  fetch?: RequestInit | undefined;
4868
4865
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{