@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
@@ -22,11 +22,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
22
22
  }, {
23
23
  schema: {};
24
24
  macro: {};
25
+ macroFn: {};
25
26
  }, false & {
26
27
  index: {
27
28
  get: {
28
29
  body: unknown;
29
- params: Record<never, string>;
30
+ params: {};
30
31
  query: unknown;
31
32
  headers: unknown;
32
33
  response: {
@@ -55,7 +56,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
55
56
  protocols: string[];
56
57
  mainProtocol: string;
57
58
  };
58
- params: Record<never, string>;
59
+ params: {};
59
60
  query: unknown;
60
61
  headers: {
61
62
  authorization: string;
@@ -110,6 +111,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
110
111
  value: number;
111
112
  campaignId: string;
112
113
  dailyRewardsRecordId: string;
114
+ token: {
115
+ symbol: string;
116
+ name: string | null;
117
+ id: string;
118
+ chainId: number;
119
+ address: string;
120
+ icon: string;
121
+ decimals: number;
122
+ verified: boolean;
123
+ price: number | null;
124
+ };
125
+ amount: bigint;
113
126
  }[];
114
127
  };
115
128
  id: string;
@@ -164,7 +177,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
164
177
  query: unknown;
165
178
  headers: unknown;
166
179
  response: {
167
- 200: ({
180
+ 200: {
168
181
  aprRecord: {
169
182
  cumulated: number;
170
183
  timestamp: bigint;
@@ -197,6 +210,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
197
210
  value: number;
198
211
  campaignId: string;
199
212
  dailyRewardsRecordId: string;
213
+ token: {
214
+ symbol: string;
215
+ name: string | null;
216
+ id: string;
217
+ chainId: number;
218
+ address: string;
219
+ icon: string;
220
+ decimals: number;
221
+ verified: boolean;
222
+ price: number | null;
223
+ };
224
+ amount: bigint;
200
225
  }[];
201
226
  };
202
227
  id: string;
@@ -234,7 +259,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
234
259
  tvl: number;
235
260
  apr: number;
236
261
  dailyRewards: number;
237
- } & {
238
262
  campaigns: ({
239
263
  params: any;
240
264
  chain: {
@@ -271,7 +295,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
271
295
  opportunityId: string;
272
296
  creatorAddress: string;
273
297
  } | null)[];
274
- }) | null | undefined;
298
+ } | null | undefined;
275
299
  };
276
300
  };
277
301
  };
@@ -282,9 +306,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
282
306
  index: {
283
307
  get: {
284
308
  body: unknown;
285
- params: Record<never, string>;
309
+ params: {};
286
310
  query: {
287
- sort?: "tvl" | "apr" | "rewards" | undefined;
311
+ sort?: undefined;
288
312
  name?: string | undefined;
289
313
  tokens?: string | undefined;
290
314
  status?: string | undefined;
@@ -294,7 +318,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
294
318
  page?: number | undefined;
295
319
  action?: string | undefined;
296
320
  mainProtocolId?: string | undefined;
297
- order?: "asc" | "desc" | undefined;
321
+ order?: undefined;
298
322
  };
299
323
  headers: unknown;
300
324
  response: {
@@ -331,6 +355,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
331
355
  value: number;
332
356
  campaignId: string;
333
357
  dailyRewardsRecordId: string;
358
+ token: {
359
+ symbol: string;
360
+ name: string | null;
361
+ id: string;
362
+ chainId: number;
363
+ address: string;
364
+ icon: string;
365
+ decimals: number;
366
+ verified: boolean;
367
+ price: number | null;
368
+ };
369
+ amount: bigint;
334
370
  }[];
335
371
  };
336
372
  id: string;
@@ -378,9 +414,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
378
414
  count: {
379
415
  get: {
380
416
  body: unknown;
381
- params: Record<never, string>;
417
+ params: {};
382
418
  query: {
383
- sort?: "tvl" | "apr" | "rewards" | undefined;
419
+ sort?: undefined;
384
420
  name?: string | undefined;
385
421
  tokens?: string | undefined;
386
422
  status?: string | undefined;
@@ -390,7 +426,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
390
426
  page?: number | undefined;
391
427
  action?: string | undefined;
392
428
  mainProtocolId?: string | undefined;
393
- order?: "asc" | "desc" | undefined;
429
+ order?: undefined;
394
430
  };
395
431
  headers: unknown;
396
432
  response: {
@@ -420,7 +456,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
420
456
  rewardTokenAddress: string;
421
457
  opportunityIdentifier: string;
422
458
  };
423
- params: Record<never, string>;
459
+ params: {};
424
460
  query: unknown;
425
461
  headers: {
426
462
  authorization: string;
@@ -448,7 +484,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
448
484
  index: {
449
485
  get: {
450
486
  body: unknown;
451
- params: Record<never, string>;
487
+ params: {};
452
488
  query: {
453
489
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
454
490
  items?: number | undefined;
@@ -508,7 +544,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
508
544
  count: {
509
545
  get: {
510
546
  body: unknown;
511
- params: Record<never, string>;
547
+ params: {};
512
548
  query: {
513
549
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
514
550
  items?: number | undefined;
@@ -534,7 +570,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
534
570
  index: {
535
571
  get: {
536
572
  body: unknown;
537
- params: Record<never, string>;
573
+ params: {};
538
574
  query: {
539
575
  chainId: number;
540
576
  };
@@ -556,7 +592,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
556
592
  count: {
557
593
  get: {
558
594
  body: unknown;
559
- params: Record<never, string>;
595
+ params: {};
560
596
  query: {
561
597
  chainId: number;
562
598
  };
@@ -572,7 +608,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
572
608
  index: {
573
609
  post: {
574
610
  body: unknown;
575
- params: Record<never, string>;
611
+ params: {};
576
612
  query: {
577
613
  chainId: number;
578
614
  };
@@ -593,17 +629,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
593
629
  ":id": {
594
630
  get: {
595
631
  body: unknown;
596
- params: Record<"id", string>;
632
+ params: {
633
+ id: string;
634
+ };
597
635
  query: unknown;
598
636
  headers: unknown;
599
637
  response: {
600
- 200: ({
638
+ 200: {
601
639
  name: string;
602
640
  url: string;
603
641
  description: string;
604
642
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
605
643
  icon: string;
606
- } & {}) | null;
644
+ } | null;
607
645
  };
608
646
  };
609
647
  };
@@ -613,7 +651,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
613
651
  index: {
614
652
  get: {
615
653
  body: unknown;
616
- params: Record<never, string>;
654
+ params: {};
617
655
  query: {
618
656
  name?: string | undefined;
619
657
  id?: string[] | undefined;
@@ -639,7 +677,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
639
677
  count: {
640
678
  get: {
641
679
  body: unknown;
642
- params: Record<never, string>;
680
+ params: {};
643
681
  query: {
644
682
  name?: string | undefined;
645
683
  id?: string[] | undefined;
@@ -667,7 +705,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
667
705
  query: unknown;
668
706
  headers: unknown;
669
707
  response: {
670
- 200: ({
708
+ 200: {
671
709
  symbol: string;
672
710
  name: string | null;
673
711
  id: string;
@@ -676,9 +714,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
676
714
  icon: string;
677
715
  decimals: number;
678
716
  verified: boolean;
679
- } & {
680
717
  price?: number | null | undefined;
681
- }) | undefined;
718
+ } | undefined;
682
719
  };
683
720
  };
684
721
  };
@@ -688,7 +725,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
688
725
  balances: {
689
726
  get: {
690
727
  body: unknown;
691
- params: Record<never, string>;
728
+ params: {};
692
729
  query: {
693
730
  tokenAddress?: string | undefined;
694
731
  additionalTokenAddresses?: string[] | undefined;
@@ -720,7 +757,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
720
757
  index: {
721
758
  get: {
722
759
  body: unknown;
723
- params: Record<never, string>;
760
+ params: {};
724
761
  query: {
725
762
  symbol?: string | undefined;
726
763
  name?: string | undefined;
@@ -751,7 +788,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
751
788
  count: {
752
789
  get: {
753
790
  body: unknown;
754
- params: Record<never, string>;
791
+ params: {};
755
792
  query: {
756
793
  symbol?: string | undefined;
757
794
  name?: string | undefined;
@@ -773,7 +810,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
773
810
  index: {
774
811
  get: {
775
812
  body: unknown;
776
- params: Record<never, string>;
813
+ params: {};
777
814
  query: {
778
815
  items?: number | undefined;
779
816
  page?: number | undefined;
@@ -792,7 +829,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
792
829
  total: {
793
830
  get: {
794
831
  body: unknown;
795
- params: Record<never, string>;
832
+ params: {};
796
833
  query: {
797
834
  items?: number | undefined;
798
835
  page?: number | undefined;
@@ -820,13 +857,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
820
857
  proofs: string[];
821
858
  rewardToken: string;
822
859
  }[];
823
- params: Record<never, string>;
860
+ params: {};
824
861
  query: unknown;
825
862
  headers: {
826
863
  authorization: string;
827
864
  };
828
865
  response: {
829
- 200: import("../../../database/api/.generated").Prisma.BatchPayload;
866
+ 200: {
867
+ count: number;
868
+ };
830
869
  };
831
870
  };
832
871
  };
@@ -852,13 +891,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
852
891
  claimed: string;
853
892
  }[];
854
893
  }[];
855
- params: Record<never, string>;
894
+ params: {};
856
895
  query: unknown;
857
896
  headers: {
858
897
  authorization: string;
859
898
  };
860
899
  response: {
861
- 200: import("../../../database/api/.generated").Prisma.BatchPayload | undefined;
900
+ 200: {
901
+ count: number;
902
+ } | undefined;
862
903
  };
863
904
  };
864
905
  };
@@ -888,7 +929,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
888
929
  recipient: string;
889
930
  }[];
890
931
  };
891
- params: Record<never, string>;
932
+ params: {};
892
933
  query: unknown;
893
934
  headers: {
894
935
  authorization: string;
@@ -904,7 +945,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
904
945
  count: {
905
946
  get: {
906
947
  body: unknown;
907
- params: Record<never, string>;
948
+ params: {};
908
949
  query: {
909
950
  items?: number | undefined;
910
951
  page?: number | undefined;
@@ -926,16 +967,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
926
967
  chains: {
927
968
  get: {
928
969
  body: unknown;
929
- params: Record<never, string>;
970
+ params: {};
930
971
  query: unknown;
931
972
  headers: {
932
973
  authorization: string;
933
974
  };
934
975
  response: {
935
- 200: Record<string, {
936
- breakdown: number;
937
- rewards: Record<string, number>;
938
- }>;
976
+ 200: {
977
+ [x: string]: {
978
+ breakdown: number;
979
+ rewards: Record<string, number>;
980
+ };
981
+ };
939
982
  };
940
983
  };
941
984
  };
@@ -972,7 +1015,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
972
1015
  index: {
973
1016
  get: {
974
1017
  body: unknown;
975
- params: Record<never, string>;
1018
+ params: {};
976
1019
  query: {
977
1020
  search?: string | undefined;
978
1021
  };
@@ -996,7 +1039,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
996
1039
  count: {
997
1040
  get: {
998
1041
  body: unknown;
999
- params: Record<never, string>;
1042
+ params: {};
1000
1043
  query: {
1001
1044
  search?: string | undefined;
1002
1045
  };
@@ -1014,7 +1057,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1014
1057
  url: string;
1015
1058
  chainId: number;
1016
1059
  };
1017
- params: Record<never, string>;
1060
+ params: {};
1018
1061
  query: unknown;
1019
1062
  headers: {
1020
1063
  authorization: string;
@@ -1037,12 +1080,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1037
1080
  index: {
1038
1081
  get: {
1039
1082
  body: unknown;
1040
- params: Record<never, string>;
1083
+ params: {};
1041
1084
  query: unknown;
1042
1085
  headers: unknown;
1043
1086
  response: {
1044
1087
  200: {
1045
- [token: string]: number;
1088
+ [x: string]: number;
1046
1089
  };
1047
1090
  };
1048
1091
  };
@@ -1051,7 +1094,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1051
1094
  array: {
1052
1095
  get: {
1053
1096
  body: unknown;
1054
- params: Record<never, string>;
1097
+ params: {};
1055
1098
  query: unknown;
1056
1099
  headers: unknown;
1057
1100
  response: {
@@ -1083,7 +1126,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1083
1126
  index: {
1084
1127
  get: {
1085
1128
  body: unknown;
1086
- params: Record<never, string>;
1129
+ params: {};
1087
1130
  query: unknown;
1088
1131
  headers: unknown;
1089
1132
  response: {
@@ -1129,7 +1172,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1129
1172
  method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
1130
1173
  args: {};
1131
1174
  };
1132
- params: Record<never, string>;
1175
+ params: {};
1133
1176
  query: unknown;
1134
1177
  headers: {
1135
1178
  authorization: string;
@@ -1202,7 +1245,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1202
1245
  index: {
1203
1246
  get: {
1204
1247
  body: unknown;
1205
- params: Record<never, string>;
1248
+ params: {};
1206
1249
  query: unknown;
1207
1250
  headers: unknown;
1208
1251
  response: {
@@ -1223,12 +1266,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1223
1266
  all: {
1224
1267
  get: {
1225
1268
  body: unknown;
1226
- params: Record<never, string>;
1269
+ params: {};
1227
1270
  query: unknown;
1228
1271
  headers: unknown;
1229
1272
  response: {
1230
1273
  200: {
1231
- [address: string]: boolean;
1274
+ [x: string]: boolean;
1232
1275
  };
1233
1276
  };
1234
1277
  };
@@ -1262,7 +1305,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1262
1305
  poolAddress: string;
1263
1306
  userAddress: string;
1264
1307
  };
1265
- params: Record<never, string>;
1308
+ params: {};
1266
1309
  query: unknown;
1267
1310
  headers: {
1268
1311
  authorization: string;
@@ -1307,7 +1350,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1307
1350
  index: {
1308
1351
  get: {
1309
1352
  body: unknown;
1310
- params: Record<never, string>;
1353
+ params: {};
1311
1354
  query: {
1312
1355
  items?: number | undefined;
1313
1356
  tags?: string[] | undefined;
@@ -1329,7 +1372,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1329
1372
  tags: {
1330
1373
  get: {
1331
1374
  body: unknown;
1332
- params: Record<never, string>;
1375
+ params: {};
1333
1376
  query: unknown;
1334
1377
  headers: {
1335
1378
  authorization: string;
@@ -1348,7 +1391,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1348
1391
  ":address": {
1349
1392
  get: {
1350
1393
  body: unknown;
1351
- params: Record<"address", string>;
1394
+ params: {
1395
+ address: string;
1396
+ };
1352
1397
  query: unknown;
1353
1398
  headers: unknown;
1354
1399
  response: {
@@ -1586,7 +1631,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1586
1631
  tags: string[];
1587
1632
  address: string;
1588
1633
  };
1589
- params: Record<never, string>;
1634
+ params: {};
1590
1635
  query: unknown;
1591
1636
  headers: {
1592
1637
  authorization: string;
@@ -1605,7 +1650,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1605
1650
  sync: {
1606
1651
  post: {
1607
1652
  body: unknown;
1608
- params: Record<never, string>;
1653
+ params: {};
1609
1654
  query: unknown;
1610
1655
  headers: {
1611
1656
  authorization: string;
@@ -1648,7 +1693,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1648
1693
  timestamps: {
1649
1694
  get: {
1650
1695
  body: unknown;
1651
- params: Record<never, string>;
1696
+ params: {};
1652
1697
  query: {
1653
1698
  chainId: number;
1654
1699
  fromTimestamp: string;
@@ -1671,7 +1716,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1671
1716
  index: {
1672
1717
  get: {
1673
1718
  body: unknown;
1674
- params: Record<never, string>;
1719
+ params: {};
1675
1720
  query: unknown;
1676
1721
  headers: unknown;
1677
1722
  response: {
@@ -1691,7 +1736,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1691
1736
  targets: {
1692
1737
  get: {
1693
1738
  body: unknown;
1694
- params: Record<never, string>;
1739
+ params: {};
1695
1740
  query: {
1696
1741
  identifier?: string | undefined;
1697
1742
  chainId: number;
@@ -1709,7 +1754,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1709
1754
  protocols: {
1710
1755
  get: {
1711
1756
  body: unknown;
1712
- params: Record<never, string>;
1757
+ params: {};
1713
1758
  query: {
1714
1759
  chainId?: number | undefined;
1715
1760
  };
@@ -1731,7 +1776,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1731
1776
  quote: {
1732
1777
  get: {
1733
1778
  body: unknown;
1734
- params: Record<never, string>;
1779
+ params: {};
1735
1780
  query: {
1736
1781
  identifier: string;
1737
1782
  chainId: number;
@@ -1757,7 +1802,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1757
1802
  transaction: {
1758
1803
  get: {
1759
1804
  body: unknown;
1760
- params: Record<never, string>;
1805
+ params: {};
1761
1806
  query: {
1762
1807
  identifier: string;
1763
1808
  chainId: number;
@@ -1792,7 +1837,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1792
1837
  index: {
1793
1838
  get: {
1794
1839
  body: unknown;
1795
- params: Record<never, string>;
1840
+ params: {};
1796
1841
  query: {
1797
1842
  items?: number | undefined;
1798
1843
  page?: number | undefined;
@@ -1820,7 +1865,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1820
1865
  revenues: {
1821
1866
  get: {
1822
1867
  body: unknown;
1823
- params: Record<never, string>;
1868
+ params: {};
1824
1869
  query: unknown;
1825
1870
  headers: {
1826
1871
  authorization: string;
@@ -2029,7 +2074,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2029
2074
  campaignId: string;
2030
2075
  distributionChain: number;
2031
2076
  };
2032
- params: Record<never, string>;
2077
+ params: {};
2033
2078
  query: unknown;
2034
2079
  headers: {
2035
2080
  authorization: string;
@@ -2045,7 +2090,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2045
2090
  index: {
2046
2091
  get: {
2047
2092
  body: unknown;
2048
- params: Record<never, string>;
2093
+ params: {};
2049
2094
  query: unknown;
2050
2095
  headers: unknown;
2051
2096
  response: {
@@ -2066,7 +2111,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2066
2111
  status: {
2067
2112
  get: {
2068
2113
  body: unknown;
2069
- params: Record<never, string>;
2114
+ params: {};
2070
2115
  query: {
2071
2116
  status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
2072
2117
  };
@@ -2105,7 +2150,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2105
2150
  unique: {
2106
2151
  get: {
2107
2152
  body: unknown;
2108
- params: Record<never, string>;
2153
+ params: {};
2109
2154
  query: {
2110
2155
  campaignId: string;
2111
2156
  distributionChain: number;
@@ -2155,7 +2200,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2155
2200
  overlaps: {
2156
2201
  get: {
2157
2202
  body: unknown;
2158
- params: Record<never, string>;
2203
+ params: {};
2159
2204
  query: {
2160
2205
  campaignId: string;
2161
2206
  distributionChain: number;
@@ -2177,11 +2222,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2177
2222
  body: {
2178
2223
  [x: string]: string[];
2179
2224
  };
2180
- params: Record<never, string>;
2225
+ params: {};
2181
2226
  query: unknown;
2182
2227
  headers: unknown;
2183
2228
  response: {
2184
- 200: unknown;
2229
+ 200: {
2230
+ [x: string]: Record<string, any>;
2231
+ } | {
2232
+ error: string;
2233
+ };
2185
2234
  };
2186
2235
  };
2187
2236
  };
@@ -2190,11 +2239,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2190
2239
  resolve: {};
2191
2240
  schema: {};
2192
2241
  }, {
2193
- derive: {
2194
- readonly tracer: import("dd-trace").Tracer;
2195
- readonly span: import("dd-trace").Span;
2196
- readonly trace: <R, T extends () => R>(handler: T) => R;
2197
- };
2242
+ derive: {};
2198
2243
  resolve: {};
2199
2244
  schema: {};
2200
2245
  }>;
@@ -15,11 +15,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
15
15
  }, {
16
16
  schema: {};
17
17
  macro: {};
18
+ macroFn: {};
18
19
  }, {
19
20
  index: {
20
21
  get: {
21
22
  body: unknown;
22
- params: Record<never, string>;
23
+ params: {};
23
24
  query: {
24
25
  from?: number | undefined;
25
26
  to?: number | undefined;