@merkl/api 0.10.127 → 0.10.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) 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 +129 -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 +81 -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/chain/chain.controller.d.ts +4 -3
  17. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -0
  18. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +3 -2
  19. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +10 -10
  20. package/dist/src/modules/v4/participate/participate.controller.d.ts +5 -4
  21. package/dist/src/modules/v4/price/price.controller.d.ts +6 -5
  22. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -5
  23. package/dist/src/modules/v4/reward/reward.controller.d.ts +20 -13
  24. package/dist/src/modules/v4/router.d.ts +79 -70
  25. package/dist/src/modules/v4/status/status.controller.d.ts +6 -5
  26. package/dist/src/modules/v4/token/token.controller.d.ts +6 -6
  27. package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -1
  28. package/dist/src/modules/v4/user/user.controller.d.ts +8 -5
  29. package/dist/src/plugins/error-handling.plugin.d.ts +1 -0
  30. package/dist/src/plugins/logger.plugin.d.ts +1 -0
  31. package/dist/src/routes/v1/allowances.d.ts +3 -2
  32. package/dist/src/routes/v1/balances.d.ts +3 -2
  33. package/dist/src/routes/v1/prices.d.ts +2 -1
  34. package/dist/src/routes/v1/tokens.d.ts +2 -1
  35. package/dist/src/routes/v2/merkl.d.ts +2 -1
  36. package/dist/src/routes/v3/ERC20Campaigns.d.ts +84 -78
  37. package/dist/src/routes/v3/app.d.ts +3 -2
  38. package/dist/src/routes/v3/blacklist.d.ts +82 -77
  39. package/dist/src/routes/v3/campaign/delay.d.ts +6 -1
  40. package/dist/src/routes/v3/campaignClaims.d.ts +2 -1
  41. package/dist/src/routes/v3/campaignReport.d.ts +2 -1
  42. package/dist/src/routes/v3/campaignUnclaimed.d.ts +3 -2
  43. package/dist/src/routes/v3/campaigns.d.ts +84 -78
  44. package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
  45. package/dist/src/routes/v3/campaignsInfo.d.ts +87 -78
  46. package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -1
  47. package/dist/src/routes/v3/claims.d.ts +2 -1
  48. package/dist/src/routes/v3/compoundV2.d.ts +12 -2
  49. package/dist/src/routes/v3/createCampaign.d.ts +2 -1
  50. package/dist/src/routes/v3/dolomite.d.ts +2 -1
  51. package/dist/src/routes/v3/euler.d.ts +2 -1
  52. package/dist/src/routes/v3/exports/campaigns.d.ts +2 -1
  53. package/dist/src/routes/v3/fetch.d.ts +2 -1
  54. package/dist/src/routes/v3/health.d.ts +2 -1
  55. package/dist/src/routes/v3/lostyield.d.ts +2 -1
  56. package/dist/src/routes/v3/merkl.d.ts +2 -1
  57. package/dist/src/routes/v3/morphoMarkets.d.ts +2 -1
  58. package/dist/src/routes/v3/morphoVaults.d.ts +2 -1
  59. package/dist/src/routes/v3/multiChainPositions.d.ts +84 -78
  60. package/dist/src/routes/v3/opportunity.d.ts +86 -96
  61. package/dist/src/routes/v3/overview.d.ts +22 -4
  62. package/dist/src/routes/v3/parse.d.ts +2 -1
  63. package/dist/src/routes/v3/payload.d.ts +2 -1
  64. package/dist/src/routes/v3/poolInfo.d.ts +2 -1
  65. package/dist/src/routes/v3/positions.d.ts +85 -79
  66. package/dist/src/routes/v3/radiant.d.ts +2 -1
  67. package/dist/src/routes/v3/recipients.d.ts +2 -1
  68. package/dist/src/routes/v3/rewards.d.ts +111 -78
  69. package/dist/src/routes/v3/rewardsReport.d.ts +2 -1
  70. package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -1
  71. package/dist/src/routes/v3/silo.d.ts +2 -1
  72. package/dist/src/routes/v3/token.d.ts +3 -2
  73. package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -1
  74. package/dist/src/routes/v3/twt/participants.d.ts +2 -1
  75. package/dist/src/routes/v3/updates.d.ts +91 -78
  76. package/dist/src/routes/v3/userRewards.d.ts +83 -78
  77. package/dist/src/utils/error.d.ts +1 -0
  78. package/dist/src/utils/validation.d.ts +3 -3
  79. package/dist/tsconfig.package.tsbuildinfo +1 -1
  80. package/package.json +4 -2
  81. package/dist/src/utils/trace.d.ts +0 -26
@@ -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
  index?: number | undefined;
25
26
  chainId: number;
@@ -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
  signature?: any;
25
26
  config: string;
@@ -14,11 +14,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
14
14
  }, {
15
15
  schema: {};
16
16
  macro: {};
17
+ macroFn: {};
17
18
  }, {
18
19
  index: {
19
20
  get: {
20
21
  body: unknown;
21
- params: Record<never, string>;
22
+ params: {};
22
23
  query: {
23
24
  chainId: number;
24
25
  poolAddress: string;
@@ -46,11 +46,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
46
46
  }, {
47
47
  schema: {};
48
48
  macro: {};
49
+ macroFn: {};
49
50
  }, false & {
50
51
  index: {
51
52
  get: {
52
53
  body: unknown;
53
- params: Record<never, string>;
54
+ params: {};
54
55
  query: unknown;
55
56
  headers: unknown;
56
57
  response: {
@@ -79,7 +80,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
79
80
  protocols: string[];
80
81
  mainProtocol: string;
81
82
  };
82
- params: Record<never, string>;
83
+ params: {};
83
84
  query: unknown;
84
85
  headers: {
85
86
  authorization: string;
@@ -200,7 +201,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
200
201
  query: unknown;
201
202
  headers: unknown;
202
203
  response: {
203
- 200: ({
204
+ 200: {
204
205
  aprRecord: {
205
206
  cumulated: number;
206
207
  timestamp: bigint;
@@ -282,7 +283,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
282
283
  tvl: number;
283
284
  apr: number;
284
285
  dailyRewards: number;
285
- } & {
286
286
  campaigns: ({
287
287
  params: any;
288
288
  chain: {
@@ -319,7 +319,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
319
319
  opportunityId: string;
320
320
  creatorAddress: string;
321
321
  } | null)[];
322
- }) | null | undefined;
322
+ } | null | undefined;
323
323
  };
324
324
  };
325
325
  };
@@ -330,9 +330,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
330
330
  index: {
331
331
  get: {
332
332
  body: unknown;
333
- params: Record<never, string>;
333
+ params: {};
334
334
  query: {
335
- sort?: "tvl" | "apr" | "rewards" | undefined;
335
+ sort?: undefined;
336
336
  name?: string | undefined;
337
337
  tokens?: string | undefined;
338
338
  status?: string | undefined;
@@ -342,7 +342,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
342
342
  page?: number | undefined;
343
343
  action?: string | undefined;
344
344
  mainProtocolId?: string | undefined;
345
- order?: "asc" | "desc" | undefined;
345
+ order?: undefined;
346
346
  };
347
347
  headers: unknown;
348
348
  response: {
@@ -438,9 +438,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
438
438
  count: {
439
439
  get: {
440
440
  body: unknown;
441
- params: Record<never, string>;
441
+ params: {};
442
442
  query: {
443
- sort?: "tvl" | "apr" | "rewards" | undefined;
443
+ sort?: undefined;
444
444
  name?: string | undefined;
445
445
  tokens?: string | undefined;
446
446
  status?: string | undefined;
@@ -450,7 +450,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
450
450
  page?: number | undefined;
451
451
  action?: string | undefined;
452
452
  mainProtocolId?: string | undefined;
453
- order?: "asc" | "desc" | undefined;
453
+ order?: undefined;
454
454
  };
455
455
  headers: unknown;
456
456
  response: {
@@ -480,7 +480,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
480
480
  rewardTokenAddress: string;
481
481
  opportunityIdentifier: string;
482
482
  };
483
- params: Record<never, string>;
483
+ params: {};
484
484
  query: unknown;
485
485
  headers: {
486
486
  authorization: string;
@@ -508,7 +508,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
508
508
  index: {
509
509
  get: {
510
510
  body: unknown;
511
- params: Record<never, string>;
511
+ params: {};
512
512
  query: {
513
513
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
514
514
  items?: number | undefined;
@@ -568,7 +568,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
568
568
  count: {
569
569
  get: {
570
570
  body: unknown;
571
- params: Record<never, string>;
571
+ params: {};
572
572
  query: {
573
573
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
574
574
  items?: number | undefined;
@@ -594,7 +594,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
594
594
  index: {
595
595
  get: {
596
596
  body: unknown;
597
- params: Record<never, string>;
597
+ params: {};
598
598
  query: {
599
599
  chainId: number;
600
600
  };
@@ -616,7 +616,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
616
616
  count: {
617
617
  get: {
618
618
  body: unknown;
619
- params: Record<never, string>;
619
+ params: {};
620
620
  query: {
621
621
  chainId: number;
622
622
  };
@@ -632,7 +632,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
632
632
  index: {
633
633
  post: {
634
634
  body: unknown;
635
- params: Record<never, string>;
635
+ params: {};
636
636
  query: {
637
637
  chainId: number;
638
638
  };
@@ -653,17 +653,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
653
653
  ":id": {
654
654
  get: {
655
655
  body: unknown;
656
- params: Record<"id", string>;
656
+ params: {
657
+ id: string;
658
+ };
657
659
  query: unknown;
658
660
  headers: unknown;
659
661
  response: {
660
- 200: ({
662
+ 200: {
661
663
  name: string;
662
664
  url: string;
663
665
  description: string;
664
666
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
665
667
  icon: string;
666
- } & {}) | null;
668
+ } | null;
667
669
  };
668
670
  };
669
671
  };
@@ -673,7 +675,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
673
675
  index: {
674
676
  get: {
675
677
  body: unknown;
676
- params: Record<never, string>;
678
+ params: {};
677
679
  query: {
678
680
  name?: string | undefined;
679
681
  id?: string[] | undefined;
@@ -699,7 +701,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
699
701
  count: {
700
702
  get: {
701
703
  body: unknown;
702
- params: Record<never, string>;
704
+ params: {};
703
705
  query: {
704
706
  name?: string | undefined;
705
707
  id?: string[] | undefined;
@@ -727,7 +729,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
727
729
  query: unknown;
728
730
  headers: unknown;
729
731
  response: {
730
- 200: ({
732
+ 200: {
731
733
  symbol: string;
732
734
  name: string | null;
733
735
  id: string;
@@ -736,9 +738,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
736
738
  icon: string;
737
739
  decimals: number;
738
740
  verified: boolean;
739
- } & {
740
741
  price?: number | null | undefined;
741
- }) | undefined;
742
+ } | undefined;
742
743
  };
743
744
  };
744
745
  };
@@ -748,7 +749,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
748
749
  balances: {
749
750
  get: {
750
751
  body: unknown;
751
- params: Record<never, string>;
752
+ params: {};
752
753
  query: {
753
754
  tokenAddress?: string | undefined;
754
755
  additionalTokenAddresses?: string[] | undefined;
@@ -780,7 +781,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
780
781
  index: {
781
782
  get: {
782
783
  body: unknown;
783
- params: Record<never, string>;
784
+ params: {};
784
785
  query: {
785
786
  symbol?: string | undefined;
786
787
  name?: string | undefined;
@@ -811,7 +812,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
811
812
  count: {
812
813
  get: {
813
814
  body: unknown;
814
- params: Record<never, string>;
815
+ params: {};
815
816
  query: {
816
817
  symbol?: string | undefined;
817
818
  name?: string | undefined;
@@ -833,7 +834,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
833
834
  index: {
834
835
  get: {
835
836
  body: unknown;
836
- params: Record<never, string>;
837
+ params: {};
837
838
  query: {
838
839
  items?: number | undefined;
839
840
  page?: number | undefined;
@@ -852,7 +853,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
852
853
  total: {
853
854
  get: {
854
855
  body: unknown;
855
- params: Record<never, string>;
856
+ params: {};
856
857
  query: {
857
858
  items?: number | undefined;
858
859
  page?: number | undefined;
@@ -880,13 +881,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
880
881
  proofs: string[];
881
882
  rewardToken: string;
882
883
  }[];
883
- params: Record<never, string>;
884
+ params: {};
884
885
  query: unknown;
885
886
  headers: {
886
887
  authorization: string;
887
888
  };
888
889
  response: {
889
- 200: import("../../../database/api/.generated").Prisma.BatchPayload;
890
+ 200: {
891
+ count: number;
892
+ };
890
893
  };
891
894
  };
892
895
  };
@@ -912,13 +915,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
912
915
  claimed: string;
913
916
  }[];
914
917
  }[];
915
- params: Record<never, string>;
918
+ params: {};
916
919
  query: unknown;
917
920
  headers: {
918
921
  authorization: string;
919
922
  };
920
923
  response: {
921
- 200: import("../../../database/api/.generated").Prisma.BatchPayload | undefined;
924
+ 200: {
925
+ count: number;
926
+ } | undefined;
922
927
  };
923
928
  };
924
929
  };
@@ -948,7 +953,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
948
953
  recipient: string;
949
954
  }[];
950
955
  };
951
- params: Record<never, string>;
956
+ params: {};
952
957
  query: unknown;
953
958
  headers: {
954
959
  authorization: string;
@@ -964,7 +969,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
964
969
  count: {
965
970
  get: {
966
971
  body: unknown;
967
- params: Record<never, string>;
972
+ params: {};
968
973
  query: {
969
974
  items?: number | undefined;
970
975
  page?: number | undefined;
@@ -986,16 +991,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
986
991
  chains: {
987
992
  get: {
988
993
  body: unknown;
989
- params: Record<never, string>;
994
+ params: {};
990
995
  query: unknown;
991
996
  headers: {
992
997
  authorization: string;
993
998
  };
994
999
  response: {
995
- 200: Record<string, {
996
- breakdown: number;
997
- rewards: Record<string, number>;
998
- }>;
1000
+ 200: {
1001
+ [x: string]: {
1002
+ breakdown: number;
1003
+ rewards: Record<string, number>;
1004
+ };
1005
+ };
999
1006
  };
1000
1007
  };
1001
1008
  };
@@ -1032,7 +1039,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1032
1039
  index: {
1033
1040
  get: {
1034
1041
  body: unknown;
1035
- params: Record<never, string>;
1042
+ params: {};
1036
1043
  query: {
1037
1044
  search?: string | undefined;
1038
1045
  };
@@ -1056,7 +1063,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1056
1063
  count: {
1057
1064
  get: {
1058
1065
  body: unknown;
1059
- params: Record<never, string>;
1066
+ params: {};
1060
1067
  query: {
1061
1068
  search?: string | undefined;
1062
1069
  };
@@ -1074,7 +1081,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1074
1081
  url: string;
1075
1082
  chainId: number;
1076
1083
  };
1077
- params: Record<never, string>;
1084
+ params: {};
1078
1085
  query: unknown;
1079
1086
  headers: {
1080
1087
  authorization: string;
@@ -1097,12 +1104,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1097
1104
  index: {
1098
1105
  get: {
1099
1106
  body: unknown;
1100
- params: Record<never, string>;
1107
+ params: {};
1101
1108
  query: unknown;
1102
1109
  headers: unknown;
1103
1110
  response: {
1104
1111
  200: {
1105
- [token: string]: number;
1112
+ [x: string]: number;
1106
1113
  };
1107
1114
  };
1108
1115
  };
@@ -1111,7 +1118,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1111
1118
  array: {
1112
1119
  get: {
1113
1120
  body: unknown;
1114
- params: Record<never, string>;
1121
+ params: {};
1115
1122
  query: unknown;
1116
1123
  headers: unknown;
1117
1124
  response: {
@@ -1143,7 +1150,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1143
1150
  index: {
1144
1151
  get: {
1145
1152
  body: unknown;
1146
- params: Record<never, string>;
1153
+ params: {};
1147
1154
  query: unknown;
1148
1155
  headers: unknown;
1149
1156
  response: {
@@ -1189,7 +1196,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1189
1196
  method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
1190
1197
  args: {};
1191
1198
  };
1192
- params: Record<never, string>;
1199
+ params: {};
1193
1200
  query: unknown;
1194
1201
  headers: {
1195
1202
  authorization: string;
@@ -1262,7 +1269,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1262
1269
  index: {
1263
1270
  get: {
1264
1271
  body: unknown;
1265
- params: Record<never, string>;
1272
+ params: {};
1266
1273
  query: unknown;
1267
1274
  headers: unknown;
1268
1275
  response: {
@@ -1283,12 +1290,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1283
1290
  all: {
1284
1291
  get: {
1285
1292
  body: unknown;
1286
- params: Record<never, string>;
1293
+ params: {};
1287
1294
  query: unknown;
1288
1295
  headers: unknown;
1289
1296
  response: {
1290
1297
  200: {
1291
- [address: string]: boolean;
1298
+ [x: string]: boolean;
1292
1299
  };
1293
1300
  };
1294
1301
  };
@@ -1322,7 +1329,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1322
1329
  poolAddress: string;
1323
1330
  userAddress: string;
1324
1331
  };
1325
- params: Record<never, string>;
1332
+ params: {};
1326
1333
  query: unknown;
1327
1334
  headers: {
1328
1335
  authorization: string;
@@ -1367,7 +1374,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1367
1374
  index: {
1368
1375
  get: {
1369
1376
  body: unknown;
1370
- params: Record<never, string>;
1377
+ params: {};
1371
1378
  query: {
1372
1379
  items?: number | undefined;
1373
1380
  tags?: string[] | undefined;
@@ -1389,7 +1396,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1389
1396
  tags: {
1390
1397
  get: {
1391
1398
  body: unknown;
1392
- params: Record<never, string>;
1399
+ params: {};
1393
1400
  query: unknown;
1394
1401
  headers: {
1395
1402
  authorization: string;
@@ -1408,7 +1415,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1408
1415
  ":address": {
1409
1416
  get: {
1410
1417
  body: unknown;
1411
- params: Record<"address", string>;
1418
+ params: {
1419
+ address: string;
1420
+ };
1412
1421
  query: unknown;
1413
1422
  headers: unknown;
1414
1423
  response: {
@@ -1646,7 +1655,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1646
1655
  tags: string[];
1647
1656
  address: string;
1648
1657
  };
1649
- params: Record<never, string>;
1658
+ params: {};
1650
1659
  query: unknown;
1651
1660
  headers: {
1652
1661
  authorization: string;
@@ -1665,7 +1674,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1665
1674
  sync: {
1666
1675
  post: {
1667
1676
  body: unknown;
1668
- params: Record<never, string>;
1677
+ params: {};
1669
1678
  query: unknown;
1670
1679
  headers: {
1671
1680
  authorization: string;
@@ -1708,7 +1717,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1708
1717
  timestamps: {
1709
1718
  get: {
1710
1719
  body: unknown;
1711
- params: Record<never, string>;
1720
+ params: {};
1712
1721
  query: {
1713
1722
  chainId: number;
1714
1723
  fromTimestamp: string;
@@ -1731,7 +1740,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1731
1740
  index: {
1732
1741
  get: {
1733
1742
  body: unknown;
1734
- params: Record<never, string>;
1743
+ params: {};
1735
1744
  query: unknown;
1736
1745
  headers: unknown;
1737
1746
  response: {
@@ -1751,7 +1760,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1751
1760
  targets: {
1752
1761
  get: {
1753
1762
  body: unknown;
1754
- params: Record<never, string>;
1763
+ params: {};
1755
1764
  query: {
1756
1765
  identifier?: string | undefined;
1757
1766
  chainId: number;
@@ -1769,7 +1778,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1769
1778
  protocols: {
1770
1779
  get: {
1771
1780
  body: unknown;
1772
- params: Record<never, string>;
1781
+ params: {};
1773
1782
  query: {
1774
1783
  chainId?: number | undefined;
1775
1784
  };
@@ -1791,7 +1800,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1791
1800
  quote: {
1792
1801
  get: {
1793
1802
  body: unknown;
1794
- params: Record<never, string>;
1803
+ params: {};
1795
1804
  query: {
1796
1805
  identifier: string;
1797
1806
  chainId: number;
@@ -1817,7 +1826,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1817
1826
  transaction: {
1818
1827
  get: {
1819
1828
  body: unknown;
1820
- params: Record<never, string>;
1829
+ params: {};
1821
1830
  query: {
1822
1831
  identifier: string;
1823
1832
  chainId: number;
@@ -1852,7 +1861,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1852
1861
  index: {
1853
1862
  get: {
1854
1863
  body: unknown;
1855
- params: Record<never, string>;
1864
+ params: {};
1856
1865
  query: {
1857
1866
  items?: number | undefined;
1858
1867
  page?: number | undefined;
@@ -1880,7 +1889,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1880
1889
  revenues: {
1881
1890
  get: {
1882
1891
  body: unknown;
1883
- params: Record<never, string>;
1892
+ params: {};
1884
1893
  query: unknown;
1885
1894
  headers: {
1886
1895
  authorization: string;
@@ -2089,7 +2098,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2089
2098
  campaignId: string;
2090
2099
  distributionChain: number;
2091
2100
  };
2092
- params: Record<never, string>;
2101
+ params: {};
2093
2102
  query: unknown;
2094
2103
  headers: {
2095
2104
  authorization: string;
@@ -2105,7 +2114,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2105
2114
  index: {
2106
2115
  get: {
2107
2116
  body: unknown;
2108
- params: Record<never, string>;
2117
+ params: {};
2109
2118
  query: unknown;
2110
2119
  headers: unknown;
2111
2120
  response: {
@@ -2126,7 +2135,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2126
2135
  status: {
2127
2136
  get: {
2128
2137
  body: unknown;
2129
- params: Record<never, string>;
2138
+ params: {};
2130
2139
  query: {
2131
2140
  status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
2132
2141
  };
@@ -2165,7 +2174,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2165
2174
  unique: {
2166
2175
  get: {
2167
2176
  body: unknown;
2168
- params: Record<never, string>;
2177
+ params: {};
2169
2178
  query: {
2170
2179
  campaignId: string;
2171
2180
  distributionChain: number;
@@ -2215,7 +2224,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2215
2224
  overlaps: {
2216
2225
  get: {
2217
2226
  body: unknown;
2218
- params: Record<never, string>;
2227
+ params: {};
2219
2228
  query: {
2220
2229
  campaignId: string;
2221
2230
  distributionChain: number;
@@ -2235,14 +2244,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2235
2244
  index: {
2236
2245
  get: {
2237
2246
  body: unknown;
2238
- params: Record<never, string>;
2247
+ params: {};
2239
2248
  query: {
2240
- chainId: unknown;
2249
+ chainId: never;
2241
2250
  user: string;
2242
2251
  };
2243
2252
  headers: unknown;
2244
2253
  response: {
2245
- 200: unknown;
2254
+ [x: string]: any;
2255
+ 200: any;
2246
2256
  };
2247
2257
  };
2248
2258
  };
@@ -2251,11 +2261,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2251
2261
  resolve: {};
2252
2262
  schema: {};
2253
2263
  }, {
2254
- derive: {
2255
- readonly tracer: import("dd-trace").Tracer;
2256
- readonly span: import("dd-trace").Span;
2257
- readonly trace: <R, T extends () => R>(handler: T) => R;
2258
- };
2264
+ derive: {};
2259
2265
  resolve: {};
2260
2266
  schema: {};
2261
2267
  }>;
@@ -27,11 +27,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
27
27
  }, {
28
28
  schema: {};
29
29
  macro: {};
30
+ macroFn: {};
30
31
  }, {
31
32
  index: {
32
33
  get: {
33
34
  body: unknown;
34
- params: Record<never, string>;
35
+ params: {};
35
36
  query: {
36
37
  chainId: number;
37
38
  poolAddressProvider: string;