@merkl/api 0.10.126 → 0.10.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/package.json +4 -2
  2. package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -1
  3. package/dist/src/backgroundJobs/jobs/health.d.ts +2 -1
  4. package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -1
  5. package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -1
  6. package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -1
  7. package/dist/src/eden/index.d.ts +237 -116
  8. package/dist/src/hooks/checkQueryAddressValidity.d.ts +1 -0
  9. package/dist/src/hooks/checkQueryChainIdValidity.d.ts +1 -0
  10. package/dist/src/index.d.ts +117 -76
  11. package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -1
  12. package/dist/src/internal/controllers/unclaimed.d.ts +2 -1
  13. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +3 -2
  14. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +5 -4
  15. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +7 -6
  16. package/dist/src/modules/v4/campaign/campaign.service.d.ts +8 -0
  17. package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -3
  18. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -0
  19. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +3 -2
  20. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +46 -10
  21. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +57 -6
  22. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +48 -0
  23. package/dist/src/modules/v4/participate/participate.controller.d.ts +5 -4
  24. package/dist/src/modules/v4/price/price.controller.d.ts +6 -5
  25. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -5
  26. package/dist/src/modules/v4/reward/reward.controller.d.ts +20 -13
  27. package/dist/src/modules/v4/reward/reward.model.d.ts +4 -1
  28. package/dist/src/modules/v4/router.d.ts +115 -70
  29. package/dist/src/modules/v4/status/status.controller.d.ts +6 -5
  30. package/dist/src/modules/v4/token/token.controller.d.ts +6 -6
  31. package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -1
  32. package/dist/src/modules/v4/user/user.controller.d.ts +8 -5
  33. package/dist/src/plugins/error-handling.plugin.d.ts +1 -0
  34. package/dist/src/plugins/logger.plugin.d.ts +1 -0
  35. package/dist/src/routes/v1/allowances.d.ts +3 -2
  36. package/dist/src/routes/v1/balances.d.ts +3 -2
  37. package/dist/src/routes/v1/prices.d.ts +2 -1
  38. package/dist/src/routes/v1/tokens.d.ts +2 -1
  39. package/dist/src/routes/v2/merkl.d.ts +2 -1
  40. package/dist/src/routes/v3/ERC20Campaigns.d.ts +120 -78
  41. package/dist/src/routes/v3/app.d.ts +3 -2
  42. package/dist/src/routes/v3/blacklist.d.ts +118 -77
  43. package/dist/src/routes/v3/campaign/delay.d.ts +6 -1
  44. package/dist/src/routes/v3/campaignClaims.d.ts +2 -1
  45. package/dist/src/routes/v3/campaignReport.d.ts +2 -1
  46. package/dist/src/routes/v3/campaignUnclaimed.d.ts +3 -2
  47. package/dist/src/routes/v3/campaigns.d.ts +120 -78
  48. package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
  49. package/dist/src/routes/v3/campaignsInfo.d.ts +123 -78
  50. package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -1
  51. package/dist/src/routes/v3/claims.d.ts +2 -1
  52. package/dist/src/routes/v3/compoundV2.d.ts +12 -2
  53. package/dist/src/routes/v3/createCampaign.d.ts +2 -1
  54. package/dist/src/routes/v3/dolomite.d.ts +2 -1
  55. package/dist/src/routes/v3/euler.d.ts +2 -1
  56. package/dist/src/routes/v3/exports/campaigns.d.ts +2 -1
  57. package/dist/src/routes/v3/fetch.d.ts +2 -1
  58. package/dist/src/routes/v3/health.d.ts +2 -1
  59. package/dist/src/routes/v3/lostyield.d.ts +2 -1
  60. package/dist/src/routes/v3/merkl.d.ts +2 -1
  61. package/dist/src/routes/v3/morphoMarkets.d.ts +2 -1
  62. package/dist/src/routes/v3/morphoVaults.d.ts +2 -1
  63. package/dist/src/routes/v3/multiChainPositions.d.ts +120 -78
  64. package/dist/src/routes/v3/opportunity.d.ts +122 -96
  65. package/dist/src/routes/v3/overview.d.ts +22 -4
  66. package/dist/src/routes/v3/parse.d.ts +2 -1
  67. package/dist/src/routes/v3/payload.d.ts +2 -1
  68. package/dist/src/routes/v3/poolInfo.d.ts +2 -1
  69. package/dist/src/routes/v3/positions.d.ts +121 -79
  70. package/dist/src/routes/v3/radiant.d.ts +2 -1
  71. package/dist/src/routes/v3/recipients.d.ts +2 -1
  72. package/dist/src/routes/v3/rewards.d.ts +147 -78
  73. package/dist/src/routes/v3/rewardsReport.d.ts +2 -1
  74. package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -1
  75. package/dist/src/routes/v3/silo.d.ts +2 -1
  76. package/dist/src/routes/v3/token.d.ts +3 -2
  77. package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -1
  78. package/dist/src/routes/v3/twt/participants.d.ts +2 -1
  79. package/dist/src/routes/v3/updates.d.ts +127 -78
  80. package/dist/src/routes/v3/userRewards.d.ts +119 -78
  81. package/dist/src/utils/error.d.ts +1 -0
  82. package/dist/src/utils/validation.d.ts +3 -3
  83. package/dist/tsconfig.package.tsbuildinfo +1 -1
  84. package/package.json +4 -2
  85. package/dist/src/utils/trace.d.ts +0 -26
@@ -45,11 +45,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
45
45
  }, {
46
46
  schema: {};
47
47
  macro: {};
48
+ macroFn: {};
48
49
  }, false & {
49
50
  index: {
50
51
  get: {
51
52
  body: unknown;
52
- params: Record<never, string>;
53
+ params: {};
53
54
  query: unknown;
54
55
  headers: unknown;
55
56
  response: {
@@ -78,7 +79,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
78
79
  protocols: string[];
79
80
  mainProtocol: string;
80
81
  };
81
- params: Record<never, string>;
82
+ params: {};
82
83
  query: unknown;
83
84
  headers: {
84
85
  authorization: string;
@@ -133,6 +134,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
133
134
  value: number;
134
135
  campaignId: string;
135
136
  dailyRewardsRecordId: string;
137
+ token: {
138
+ symbol: string;
139
+ name: string | null;
140
+ id: string;
141
+ chainId: number;
142
+ address: string;
143
+ icon: string;
144
+ decimals: number;
145
+ verified: boolean;
146
+ price: number | null;
147
+ };
148
+ amount: bigint;
136
149
  }[];
137
150
  };
138
151
  id: string;
@@ -187,7 +200,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
187
200
  query: unknown;
188
201
  headers: unknown;
189
202
  response: {
190
- 200: ({
203
+ 200: {
191
204
  aprRecord: {
192
205
  cumulated: number;
193
206
  timestamp: bigint;
@@ -220,6 +233,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
220
233
  value: number;
221
234
  campaignId: string;
222
235
  dailyRewardsRecordId: string;
236
+ token: {
237
+ symbol: string;
238
+ name: string | null;
239
+ id: string;
240
+ chainId: number;
241
+ address: string;
242
+ icon: string;
243
+ decimals: number;
244
+ verified: boolean;
245
+ price: number | null;
246
+ };
247
+ amount: bigint;
223
248
  }[];
224
249
  };
225
250
  id: string;
@@ -257,7 +282,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
257
282
  tvl: number;
258
283
  apr: number;
259
284
  dailyRewards: number;
260
- } & {
261
285
  campaigns: ({
262
286
  params: any;
263
287
  chain: {
@@ -294,7 +318,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
294
318
  opportunityId: string;
295
319
  creatorAddress: string;
296
320
  } | null)[];
297
- }) | null | undefined;
321
+ } | null | undefined;
298
322
  };
299
323
  };
300
324
  };
@@ -305,9 +329,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
305
329
  index: {
306
330
  get: {
307
331
  body: unknown;
308
- params: Record<never, string>;
332
+ params: {};
309
333
  query: {
310
- sort?: "tvl" | "apr" | "rewards" | undefined;
334
+ sort?: undefined;
311
335
  name?: string | undefined;
312
336
  tokens?: string | undefined;
313
337
  status?: string | undefined;
@@ -317,7 +341,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
317
341
  page?: number | undefined;
318
342
  action?: string | undefined;
319
343
  mainProtocolId?: string | undefined;
320
- order?: "asc" | "desc" | undefined;
344
+ order?: undefined;
321
345
  };
322
346
  headers: unknown;
323
347
  response: {
@@ -354,6 +378,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
354
378
  value: number;
355
379
  campaignId: string;
356
380
  dailyRewardsRecordId: string;
381
+ token: {
382
+ symbol: string;
383
+ name: string | null;
384
+ id: string;
385
+ chainId: number;
386
+ address: string;
387
+ icon: string;
388
+ decimals: number;
389
+ verified: boolean;
390
+ price: number | null;
391
+ };
392
+ amount: bigint;
357
393
  }[];
358
394
  };
359
395
  id: string;
@@ -401,9 +437,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
401
437
  count: {
402
438
  get: {
403
439
  body: unknown;
404
- params: Record<never, string>;
440
+ params: {};
405
441
  query: {
406
- sort?: "tvl" | "apr" | "rewards" | undefined;
442
+ sort?: undefined;
407
443
  name?: string | undefined;
408
444
  tokens?: string | undefined;
409
445
  status?: string | undefined;
@@ -413,7 +449,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
413
449
  page?: number | undefined;
414
450
  action?: string | undefined;
415
451
  mainProtocolId?: string | undefined;
416
- order?: "asc" | "desc" | undefined;
452
+ order?: undefined;
417
453
  };
418
454
  headers: unknown;
419
455
  response: {
@@ -443,7 +479,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
443
479
  rewardTokenAddress: string;
444
480
  opportunityIdentifier: string;
445
481
  };
446
- params: Record<never, string>;
482
+ params: {};
447
483
  query: unknown;
448
484
  headers: {
449
485
  authorization: string;
@@ -471,7 +507,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
471
507
  index: {
472
508
  get: {
473
509
  body: unknown;
474
- params: Record<never, string>;
510
+ params: {};
475
511
  query: {
476
512
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
477
513
  items?: number | undefined;
@@ -531,7 +567,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
531
567
  count: {
532
568
  get: {
533
569
  body: unknown;
534
- params: Record<never, string>;
570
+ params: {};
535
571
  query: {
536
572
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
537
573
  items?: number | undefined;
@@ -557,7 +593,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
557
593
  index: {
558
594
  get: {
559
595
  body: unknown;
560
- params: Record<never, string>;
596
+ params: {};
561
597
  query: {
562
598
  chainId: number;
563
599
  };
@@ -579,7 +615,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
579
615
  count: {
580
616
  get: {
581
617
  body: unknown;
582
- params: Record<never, string>;
618
+ params: {};
583
619
  query: {
584
620
  chainId: number;
585
621
  };
@@ -595,7 +631,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
595
631
  index: {
596
632
  post: {
597
633
  body: unknown;
598
- params: Record<never, string>;
634
+ params: {};
599
635
  query: {
600
636
  chainId: number;
601
637
  };
@@ -616,17 +652,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
616
652
  ":id": {
617
653
  get: {
618
654
  body: unknown;
619
- params: Record<"id", string>;
655
+ params: {
656
+ id: string;
657
+ };
620
658
  query: unknown;
621
659
  headers: unknown;
622
660
  response: {
623
- 200: ({
661
+ 200: {
624
662
  name: string;
625
663
  url: string;
626
664
  description: string;
627
665
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
628
666
  icon: string;
629
- } & {}) | null;
667
+ } | null;
630
668
  };
631
669
  };
632
670
  };
@@ -636,7 +674,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
636
674
  index: {
637
675
  get: {
638
676
  body: unknown;
639
- params: Record<never, string>;
677
+ params: {};
640
678
  query: {
641
679
  name?: string | undefined;
642
680
  id?: string[] | undefined;
@@ -662,7 +700,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
662
700
  count: {
663
701
  get: {
664
702
  body: unknown;
665
- params: Record<never, string>;
703
+ params: {};
666
704
  query: {
667
705
  name?: string | undefined;
668
706
  id?: string[] | undefined;
@@ -690,7 +728,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
690
728
  query: unknown;
691
729
  headers: unknown;
692
730
  response: {
693
- 200: ({
731
+ 200: {
694
732
  symbol: string;
695
733
  name: string | null;
696
734
  id: string;
@@ -699,9 +737,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
699
737
  icon: string;
700
738
  decimals: number;
701
739
  verified: boolean;
702
- } & {
703
740
  price?: number | null | undefined;
704
- }) | undefined;
741
+ } | undefined;
705
742
  };
706
743
  };
707
744
  };
@@ -711,7 +748,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
711
748
  balances: {
712
749
  get: {
713
750
  body: unknown;
714
- params: Record<never, string>;
751
+ params: {};
715
752
  query: {
716
753
  tokenAddress?: string | undefined;
717
754
  additionalTokenAddresses?: string[] | undefined;
@@ -743,7 +780,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
743
780
  index: {
744
781
  get: {
745
782
  body: unknown;
746
- params: Record<never, string>;
783
+ params: {};
747
784
  query: {
748
785
  symbol?: string | undefined;
749
786
  name?: string | undefined;
@@ -774,7 +811,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
774
811
  count: {
775
812
  get: {
776
813
  body: unknown;
777
- params: Record<never, string>;
814
+ params: {};
778
815
  query: {
779
816
  symbol?: string | undefined;
780
817
  name?: string | undefined;
@@ -796,7 +833,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
796
833
  index: {
797
834
  get: {
798
835
  body: unknown;
799
- params: Record<never, string>;
836
+ params: {};
800
837
  query: {
801
838
  items?: number | undefined;
802
839
  page?: number | undefined;
@@ -815,7 +852,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
815
852
  total: {
816
853
  get: {
817
854
  body: unknown;
818
- params: Record<never, string>;
855
+ params: {};
819
856
  query: {
820
857
  items?: number | undefined;
821
858
  page?: number | undefined;
@@ -843,13 +880,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
843
880
  proofs: string[];
844
881
  rewardToken: string;
845
882
  }[];
846
- params: Record<never, string>;
883
+ params: {};
847
884
  query: unknown;
848
885
  headers: {
849
886
  authorization: string;
850
887
  };
851
888
  response: {
852
- 200: import("../../../database/api/.generated").Prisma.BatchPayload;
889
+ 200: {
890
+ count: number;
891
+ };
853
892
  };
854
893
  };
855
894
  };
@@ -875,13 +914,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
875
914
  claimed: string;
876
915
  }[];
877
916
  }[];
878
- params: Record<never, string>;
917
+ params: {};
879
918
  query: unknown;
880
919
  headers: {
881
920
  authorization: string;
882
921
  };
883
922
  response: {
884
- 200: import("../../../database/api/.generated").Prisma.BatchPayload | undefined;
923
+ 200: {
924
+ count: number;
925
+ } | undefined;
885
926
  };
886
927
  };
887
928
  };
@@ -911,7 +952,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
911
952
  recipient: string;
912
953
  }[];
913
954
  };
914
- params: Record<never, string>;
955
+ params: {};
915
956
  query: unknown;
916
957
  headers: {
917
958
  authorization: string;
@@ -927,7 +968,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
927
968
  count: {
928
969
  get: {
929
970
  body: unknown;
930
- params: Record<never, string>;
971
+ params: {};
931
972
  query: {
932
973
  items?: number | undefined;
933
974
  page?: number | undefined;
@@ -949,16 +990,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
949
990
  chains: {
950
991
  get: {
951
992
  body: unknown;
952
- params: Record<never, string>;
993
+ params: {};
953
994
  query: unknown;
954
995
  headers: {
955
996
  authorization: string;
956
997
  };
957
998
  response: {
958
- 200: Record<string, {
959
- breakdown: number;
960
- rewards: Record<string, number>;
961
- }>;
999
+ 200: {
1000
+ [x: string]: {
1001
+ breakdown: number;
1002
+ rewards: Record<string, number>;
1003
+ };
1004
+ };
962
1005
  };
963
1006
  };
964
1007
  };
@@ -995,7 +1038,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
995
1038
  index: {
996
1039
  get: {
997
1040
  body: unknown;
998
- params: Record<never, string>;
1041
+ params: {};
999
1042
  query: {
1000
1043
  search?: string | undefined;
1001
1044
  };
@@ -1019,7 +1062,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1019
1062
  count: {
1020
1063
  get: {
1021
1064
  body: unknown;
1022
- params: Record<never, string>;
1065
+ params: {};
1023
1066
  query: {
1024
1067
  search?: string | undefined;
1025
1068
  };
@@ -1037,7 +1080,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1037
1080
  url: string;
1038
1081
  chainId: number;
1039
1082
  };
1040
- params: Record<never, string>;
1083
+ params: {};
1041
1084
  query: unknown;
1042
1085
  headers: {
1043
1086
  authorization: string;
@@ -1060,12 +1103,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1060
1103
  index: {
1061
1104
  get: {
1062
1105
  body: unknown;
1063
- params: Record<never, string>;
1106
+ params: {};
1064
1107
  query: unknown;
1065
1108
  headers: unknown;
1066
1109
  response: {
1067
1110
  200: {
1068
- [token: string]: number;
1111
+ [x: string]: number;
1069
1112
  };
1070
1113
  };
1071
1114
  };
@@ -1074,7 +1117,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1074
1117
  array: {
1075
1118
  get: {
1076
1119
  body: unknown;
1077
- params: Record<never, string>;
1120
+ params: {};
1078
1121
  query: unknown;
1079
1122
  headers: unknown;
1080
1123
  response: {
@@ -1106,7 +1149,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1106
1149
  index: {
1107
1150
  get: {
1108
1151
  body: unknown;
1109
- params: Record<never, string>;
1152
+ params: {};
1110
1153
  query: unknown;
1111
1154
  headers: unknown;
1112
1155
  response: {
@@ -1152,7 +1195,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1152
1195
  method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
1153
1196
  args: {};
1154
1197
  };
1155
- params: Record<never, string>;
1198
+ params: {};
1156
1199
  query: unknown;
1157
1200
  headers: {
1158
1201
  authorization: string;
@@ -1225,7 +1268,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1225
1268
  index: {
1226
1269
  get: {
1227
1270
  body: unknown;
1228
- params: Record<never, string>;
1271
+ params: {};
1229
1272
  query: unknown;
1230
1273
  headers: unknown;
1231
1274
  response: {
@@ -1246,12 +1289,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1246
1289
  all: {
1247
1290
  get: {
1248
1291
  body: unknown;
1249
- params: Record<never, string>;
1292
+ params: {};
1250
1293
  query: unknown;
1251
1294
  headers: unknown;
1252
1295
  response: {
1253
1296
  200: {
1254
- [address: string]: boolean;
1297
+ [x: string]: boolean;
1255
1298
  };
1256
1299
  };
1257
1300
  };
@@ -1285,7 +1328,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1285
1328
  poolAddress: string;
1286
1329
  userAddress: string;
1287
1330
  };
1288
- params: Record<never, string>;
1331
+ params: {};
1289
1332
  query: unknown;
1290
1333
  headers: {
1291
1334
  authorization: string;
@@ -1330,7 +1373,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1330
1373
  index: {
1331
1374
  get: {
1332
1375
  body: unknown;
1333
- params: Record<never, string>;
1376
+ params: {};
1334
1377
  query: {
1335
1378
  items?: number | undefined;
1336
1379
  tags?: string[] | undefined;
@@ -1352,7 +1395,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1352
1395
  tags: {
1353
1396
  get: {
1354
1397
  body: unknown;
1355
- params: Record<never, string>;
1398
+ params: {};
1356
1399
  query: unknown;
1357
1400
  headers: {
1358
1401
  authorization: string;
@@ -1371,7 +1414,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1371
1414
  ":address": {
1372
1415
  get: {
1373
1416
  body: unknown;
1374
- params: Record<"address", string>;
1417
+ params: {
1418
+ address: string;
1419
+ };
1375
1420
  query: unknown;
1376
1421
  headers: unknown;
1377
1422
  response: {
@@ -1609,7 +1654,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1609
1654
  tags: string[];
1610
1655
  address: string;
1611
1656
  };
1612
- params: Record<never, string>;
1657
+ params: {};
1613
1658
  query: unknown;
1614
1659
  headers: {
1615
1660
  authorization: string;
@@ -1628,7 +1673,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1628
1673
  sync: {
1629
1674
  post: {
1630
1675
  body: unknown;
1631
- params: Record<never, string>;
1676
+ params: {};
1632
1677
  query: unknown;
1633
1678
  headers: {
1634
1679
  authorization: string;
@@ -1671,7 +1716,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1671
1716
  timestamps: {
1672
1717
  get: {
1673
1718
  body: unknown;
1674
- params: Record<never, string>;
1719
+ params: {};
1675
1720
  query: {
1676
1721
  chainId: number;
1677
1722
  fromTimestamp: string;
@@ -1694,7 +1739,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1694
1739
  index: {
1695
1740
  get: {
1696
1741
  body: unknown;
1697
- params: Record<never, string>;
1742
+ params: {};
1698
1743
  query: unknown;
1699
1744
  headers: unknown;
1700
1745
  response: {
@@ -1714,7 +1759,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1714
1759
  targets: {
1715
1760
  get: {
1716
1761
  body: unknown;
1717
- params: Record<never, string>;
1762
+ params: {};
1718
1763
  query: {
1719
1764
  identifier?: string | undefined;
1720
1765
  chainId: number;
@@ -1732,7 +1777,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1732
1777
  protocols: {
1733
1778
  get: {
1734
1779
  body: unknown;
1735
- params: Record<never, string>;
1780
+ params: {};
1736
1781
  query: {
1737
1782
  chainId?: number | undefined;
1738
1783
  };
@@ -1754,7 +1799,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1754
1799
  quote: {
1755
1800
  get: {
1756
1801
  body: unknown;
1757
- params: Record<never, string>;
1802
+ params: {};
1758
1803
  query: {
1759
1804
  identifier: string;
1760
1805
  chainId: number;
@@ -1780,7 +1825,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1780
1825
  transaction: {
1781
1826
  get: {
1782
1827
  body: unknown;
1783
- params: Record<never, string>;
1828
+ params: {};
1784
1829
  query: {
1785
1830
  identifier: string;
1786
1831
  chainId: number;
@@ -1815,7 +1860,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1815
1860
  index: {
1816
1861
  get: {
1817
1862
  body: unknown;
1818
- params: Record<never, string>;
1863
+ params: {};
1819
1864
  query: {
1820
1865
  items?: number | undefined;
1821
1866
  page?: number | undefined;
@@ -1843,7 +1888,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1843
1888
  revenues: {
1844
1889
  get: {
1845
1890
  body: unknown;
1846
- params: Record<never, string>;
1891
+ params: {};
1847
1892
  query: unknown;
1848
1893
  headers: {
1849
1894
  authorization: string;
@@ -2052,7 +2097,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2052
2097
  campaignId: string;
2053
2098
  distributionChain: number;
2054
2099
  };
2055
- params: Record<never, string>;
2100
+ params: {};
2056
2101
  query: unknown;
2057
2102
  headers: {
2058
2103
  authorization: string;
@@ -2068,7 +2113,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2068
2113
  index: {
2069
2114
  get: {
2070
2115
  body: unknown;
2071
- params: Record<never, string>;
2116
+ params: {};
2072
2117
  query: unknown;
2073
2118
  headers: unknown;
2074
2119
  response: {
@@ -2089,7 +2134,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2089
2134
  status: {
2090
2135
  get: {
2091
2136
  body: unknown;
2092
- params: Record<never, string>;
2137
+ params: {};
2093
2138
  query: {
2094
2139
  status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
2095
2140
  };
@@ -2128,7 +2173,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2128
2173
  unique: {
2129
2174
  get: {
2130
2175
  body: unknown;
2131
- params: Record<never, string>;
2176
+ params: {};
2132
2177
  query: {
2133
2178
  campaignId: string;
2134
2179
  distributionChain: number;
@@ -2178,7 +2223,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2178
2223
  overlaps: {
2179
2224
  get: {
2180
2225
  body: unknown;
2181
- params: Record<never, string>;
2226
+ params: {};
2182
2227
  query: {
2183
2228
  campaignId: string;
2184
2229
  distributionChain: number;
@@ -2198,34 +2243,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2198
2243
  index: {
2199
2244
  get: {
2200
2245
  body: unknown;
2201
- params: Record<never, string>;
2246
+ params: {};
2202
2247
  query: {
2203
- type?: any;
2204
- chainId?: unknown;
2248
+ type?: undefined;
2249
+ chainId?: undefined;
2205
2250
  mainParameter?: string | undefined;
2206
- action?: unknown;
2251
+ action?: undefined;
2207
2252
  campaigns?: boolean | undefined;
2208
2253
  testTokens?: boolean | undefined;
2209
2254
  tag?: string | undefined;
2210
2255
  };
2211
2256
  headers: unknown;
2212
2257
  response: {
2213
- 200: {
2214
- [x: `${any}_${string}`]: {
2215
- tags?: string[] | undefined;
2216
- name: string;
2217
- id: `${any}_${string}`;
2218
- status: string;
2219
- chainId: unknown;
2220
- action: string;
2221
- campaigns: {
2222
- type: number;
2223
- };
2224
- tokenIcons: string[];
2225
- rewardTokenIcons: string[];
2226
- dailyRewardTokens: unknown;
2227
- };
2228
- };
2258
+ 200: {};
2229
2259
  };
2230
2260
  };
2231
2261
  };
@@ -2234,11 +2264,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2234
2264
  resolve: {};
2235
2265
  schema: {};
2236
2266
  }, {
2237
- derive: {
2238
- readonly tracer: import("dd-trace").Tracer;
2239
- readonly span: import("dd-trace").Span;
2240
- readonly trace: <R, T extends () => R>(handler: T) => R;
2241
- };
2267
+ derive: {};
2242
2268
  resolve: {};
2243
2269
  schema: {};
2244
2270
  }>;