@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
@@ -28,11 +28,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
28
28
  }, {
29
29
  schema: {};
30
30
  macro: {};
31
+ macroFn: {};
31
32
  }, false & {
32
33
  index: {
33
34
  get: {
34
35
  body: unknown;
35
- params: Record<never, string>;
36
+ params: {};
36
37
  query: unknown;
37
38
  headers: unknown;
38
39
  response: {
@@ -61,7 +62,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
61
62
  protocols: string[];
62
63
  mainProtocol: string;
63
64
  };
64
- params: Record<never, string>;
65
+ params: {};
65
66
  query: unknown;
66
67
  headers: {
67
68
  authorization: string;
@@ -182,7 +183,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
182
183
  query: unknown;
183
184
  headers: unknown;
184
185
  response: {
185
- 200: ({
186
+ 200: {
186
187
  aprRecord: {
187
188
  cumulated: number;
188
189
  timestamp: bigint;
@@ -264,7 +265,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
264
265
  tvl: number;
265
266
  apr: number;
266
267
  dailyRewards: number;
267
- } & {
268
268
  campaigns: ({
269
269
  params: any;
270
270
  chain: {
@@ -301,7 +301,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
301
301
  opportunityId: string;
302
302
  creatorAddress: string;
303
303
  } | null)[];
304
- }) | null | undefined;
304
+ } | null | undefined;
305
305
  };
306
306
  };
307
307
  };
@@ -312,9 +312,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
312
312
  index: {
313
313
  get: {
314
314
  body: unknown;
315
- params: Record<never, string>;
315
+ params: {};
316
316
  query: {
317
- sort?: "tvl" | "apr" | "rewards" | undefined;
317
+ sort?: undefined;
318
318
  name?: string | undefined;
319
319
  tokens?: string | undefined;
320
320
  status?: string | undefined;
@@ -324,7 +324,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
324
324
  page?: number | undefined;
325
325
  action?: string | undefined;
326
326
  mainProtocolId?: string | undefined;
327
- order?: "asc" | "desc" | undefined;
327
+ order?: undefined;
328
328
  };
329
329
  headers: unknown;
330
330
  response: {
@@ -420,9 +420,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
420
420
  count: {
421
421
  get: {
422
422
  body: unknown;
423
- params: Record<never, string>;
423
+ params: {};
424
424
  query: {
425
- sort?: "tvl" | "apr" | "rewards" | undefined;
425
+ sort?: undefined;
426
426
  name?: string | undefined;
427
427
  tokens?: string | undefined;
428
428
  status?: string | undefined;
@@ -432,7 +432,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
432
432
  page?: number | undefined;
433
433
  action?: string | undefined;
434
434
  mainProtocolId?: string | undefined;
435
- order?: "asc" | "desc" | undefined;
435
+ order?: undefined;
436
436
  };
437
437
  headers: unknown;
438
438
  response: {
@@ -462,7 +462,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
462
462
  rewardTokenAddress: string;
463
463
  opportunityIdentifier: string;
464
464
  };
465
- params: Record<never, string>;
465
+ params: {};
466
466
  query: unknown;
467
467
  headers: {
468
468
  authorization: string;
@@ -490,7 +490,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
490
490
  index: {
491
491
  get: {
492
492
  body: unknown;
493
- params: Record<never, string>;
493
+ params: {};
494
494
  query: {
495
495
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
496
496
  items?: number | undefined;
@@ -550,7 +550,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
550
550
  count: {
551
551
  get: {
552
552
  body: unknown;
553
- params: Record<never, string>;
553
+ params: {};
554
554
  query: {
555
555
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
556
556
  items?: number | undefined;
@@ -576,7 +576,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
576
576
  index: {
577
577
  get: {
578
578
  body: unknown;
579
- params: Record<never, string>;
579
+ params: {};
580
580
  query: {
581
581
  chainId: number;
582
582
  };
@@ -598,7 +598,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
598
598
  count: {
599
599
  get: {
600
600
  body: unknown;
601
- params: Record<never, string>;
601
+ params: {};
602
602
  query: {
603
603
  chainId: number;
604
604
  };
@@ -614,7 +614,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
614
614
  index: {
615
615
  post: {
616
616
  body: unknown;
617
- params: Record<never, string>;
617
+ params: {};
618
618
  query: {
619
619
  chainId: number;
620
620
  };
@@ -635,17 +635,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
635
635
  ":id": {
636
636
  get: {
637
637
  body: unknown;
638
- params: Record<"id", string>;
638
+ params: {
639
+ id: string;
640
+ };
639
641
  query: unknown;
640
642
  headers: unknown;
641
643
  response: {
642
- 200: ({
644
+ 200: {
643
645
  name: string;
644
646
  url: string;
645
647
  description: string;
646
648
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
647
649
  icon: string;
648
- } & {}) | null;
650
+ } | null;
649
651
  };
650
652
  };
651
653
  };
@@ -655,7 +657,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
655
657
  index: {
656
658
  get: {
657
659
  body: unknown;
658
- params: Record<never, string>;
660
+ params: {};
659
661
  query: {
660
662
  name?: string | undefined;
661
663
  id?: string[] | undefined;
@@ -681,7 +683,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
681
683
  count: {
682
684
  get: {
683
685
  body: unknown;
684
- params: Record<never, string>;
686
+ params: {};
685
687
  query: {
686
688
  name?: string | undefined;
687
689
  id?: string[] | undefined;
@@ -709,7 +711,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
709
711
  query: unknown;
710
712
  headers: unknown;
711
713
  response: {
712
- 200: ({
714
+ 200: {
713
715
  symbol: string;
714
716
  name: string | null;
715
717
  id: string;
@@ -718,9 +720,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
718
720
  icon: string;
719
721
  decimals: number;
720
722
  verified: boolean;
721
- } & {
722
723
  price?: number | null | undefined;
723
- }) | undefined;
724
+ } | undefined;
724
725
  };
725
726
  };
726
727
  };
@@ -730,7 +731,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
730
731
  balances: {
731
732
  get: {
732
733
  body: unknown;
733
- params: Record<never, string>;
734
+ params: {};
734
735
  query: {
735
736
  tokenAddress?: string | undefined;
736
737
  additionalTokenAddresses?: string[] | undefined;
@@ -762,7 +763,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
762
763
  index: {
763
764
  get: {
764
765
  body: unknown;
765
- params: Record<never, string>;
766
+ params: {};
766
767
  query: {
767
768
  symbol?: string | undefined;
768
769
  name?: string | undefined;
@@ -793,7 +794,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
793
794
  count: {
794
795
  get: {
795
796
  body: unknown;
796
- params: Record<never, string>;
797
+ params: {};
797
798
  query: {
798
799
  symbol?: string | undefined;
799
800
  name?: string | undefined;
@@ -815,7 +816,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
815
816
  index: {
816
817
  get: {
817
818
  body: unknown;
818
- params: Record<never, string>;
819
+ params: {};
819
820
  query: {
820
821
  items?: number | undefined;
821
822
  page?: number | undefined;
@@ -834,7 +835,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
834
835
  total: {
835
836
  get: {
836
837
  body: unknown;
837
- params: Record<never, string>;
838
+ params: {};
838
839
  query: {
839
840
  items?: number | undefined;
840
841
  page?: number | undefined;
@@ -862,13 +863,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
862
863
  proofs: string[];
863
864
  rewardToken: string;
864
865
  }[];
865
- params: Record<never, string>;
866
+ params: {};
866
867
  query: unknown;
867
868
  headers: {
868
869
  authorization: string;
869
870
  };
870
871
  response: {
871
- 200: import("../../../database/api/.generated").Prisma.BatchPayload;
872
+ 200: {
873
+ count: number;
874
+ };
872
875
  };
873
876
  };
874
877
  };
@@ -894,13 +897,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
894
897
  claimed: string;
895
898
  }[];
896
899
  }[];
897
- params: Record<never, string>;
900
+ params: {};
898
901
  query: unknown;
899
902
  headers: {
900
903
  authorization: string;
901
904
  };
902
905
  response: {
903
- 200: import("../../../database/api/.generated").Prisma.BatchPayload | undefined;
906
+ 200: {
907
+ count: number;
908
+ } | undefined;
904
909
  };
905
910
  };
906
911
  };
@@ -930,7 +935,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
930
935
  recipient: string;
931
936
  }[];
932
937
  };
933
- params: Record<never, string>;
938
+ params: {};
934
939
  query: unknown;
935
940
  headers: {
936
941
  authorization: string;
@@ -946,7 +951,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
946
951
  count: {
947
952
  get: {
948
953
  body: unknown;
949
- params: Record<never, string>;
954
+ params: {};
950
955
  query: {
951
956
  items?: number | undefined;
952
957
  page?: number | undefined;
@@ -968,16 +973,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
968
973
  chains: {
969
974
  get: {
970
975
  body: unknown;
971
- params: Record<never, string>;
976
+ params: {};
972
977
  query: unknown;
973
978
  headers: {
974
979
  authorization: string;
975
980
  };
976
981
  response: {
977
- 200: Record<string, {
978
- breakdown: number;
979
- rewards: Record<string, number>;
980
- }>;
982
+ 200: {
983
+ [x: string]: {
984
+ breakdown: number;
985
+ rewards: Record<string, number>;
986
+ };
987
+ };
981
988
  };
982
989
  };
983
990
  };
@@ -1014,7 +1021,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1014
1021
  index: {
1015
1022
  get: {
1016
1023
  body: unknown;
1017
- params: Record<never, string>;
1024
+ params: {};
1018
1025
  query: {
1019
1026
  search?: string | undefined;
1020
1027
  };
@@ -1038,7 +1045,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1038
1045
  count: {
1039
1046
  get: {
1040
1047
  body: unknown;
1041
- params: Record<never, string>;
1048
+ params: {};
1042
1049
  query: {
1043
1050
  search?: string | undefined;
1044
1051
  };
@@ -1056,7 +1063,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1056
1063
  url: string;
1057
1064
  chainId: number;
1058
1065
  };
1059
- params: Record<never, string>;
1066
+ params: {};
1060
1067
  query: unknown;
1061
1068
  headers: {
1062
1069
  authorization: string;
@@ -1079,12 +1086,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1079
1086
  index: {
1080
1087
  get: {
1081
1088
  body: unknown;
1082
- params: Record<never, string>;
1089
+ params: {};
1083
1090
  query: unknown;
1084
1091
  headers: unknown;
1085
1092
  response: {
1086
1093
  200: {
1087
- [token: string]: number;
1094
+ [x: string]: number;
1088
1095
  };
1089
1096
  };
1090
1097
  };
@@ -1093,7 +1100,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1093
1100
  array: {
1094
1101
  get: {
1095
1102
  body: unknown;
1096
- params: Record<never, string>;
1103
+ params: {};
1097
1104
  query: unknown;
1098
1105
  headers: unknown;
1099
1106
  response: {
@@ -1125,7 +1132,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1125
1132
  index: {
1126
1133
  get: {
1127
1134
  body: unknown;
1128
- params: Record<never, string>;
1135
+ params: {};
1129
1136
  query: unknown;
1130
1137
  headers: unknown;
1131
1138
  response: {
@@ -1171,7 +1178,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1171
1178
  method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
1172
1179
  args: {};
1173
1180
  };
1174
- params: Record<never, string>;
1181
+ params: {};
1175
1182
  query: unknown;
1176
1183
  headers: {
1177
1184
  authorization: string;
@@ -1244,7 +1251,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1244
1251
  index: {
1245
1252
  get: {
1246
1253
  body: unknown;
1247
- params: Record<never, string>;
1254
+ params: {};
1248
1255
  query: unknown;
1249
1256
  headers: unknown;
1250
1257
  response: {
@@ -1265,12 +1272,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1265
1272
  all: {
1266
1273
  get: {
1267
1274
  body: unknown;
1268
- params: Record<never, string>;
1275
+ params: {};
1269
1276
  query: unknown;
1270
1277
  headers: unknown;
1271
1278
  response: {
1272
1279
  200: {
1273
- [address: string]: boolean;
1280
+ [x: string]: boolean;
1274
1281
  };
1275
1282
  };
1276
1283
  };
@@ -1304,7 +1311,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1304
1311
  poolAddress: string;
1305
1312
  userAddress: string;
1306
1313
  };
1307
- params: Record<never, string>;
1314
+ params: {};
1308
1315
  query: unknown;
1309
1316
  headers: {
1310
1317
  authorization: string;
@@ -1349,7 +1356,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1349
1356
  index: {
1350
1357
  get: {
1351
1358
  body: unknown;
1352
- params: Record<never, string>;
1359
+ params: {};
1353
1360
  query: {
1354
1361
  items?: number | undefined;
1355
1362
  tags?: string[] | undefined;
@@ -1371,7 +1378,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1371
1378
  tags: {
1372
1379
  get: {
1373
1380
  body: unknown;
1374
- params: Record<never, string>;
1381
+ params: {};
1375
1382
  query: unknown;
1376
1383
  headers: {
1377
1384
  authorization: string;
@@ -1390,7 +1397,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1390
1397
  ":address": {
1391
1398
  get: {
1392
1399
  body: unknown;
1393
- params: Record<"address", string>;
1400
+ params: {
1401
+ address: string;
1402
+ };
1394
1403
  query: unknown;
1395
1404
  headers: unknown;
1396
1405
  response: {
@@ -1628,7 +1637,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1628
1637
  tags: string[];
1629
1638
  address: string;
1630
1639
  };
1631
- params: Record<never, string>;
1640
+ params: {};
1632
1641
  query: unknown;
1633
1642
  headers: {
1634
1643
  authorization: string;
@@ -1647,7 +1656,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1647
1656
  sync: {
1648
1657
  post: {
1649
1658
  body: unknown;
1650
- params: Record<never, string>;
1659
+ params: {};
1651
1660
  query: unknown;
1652
1661
  headers: {
1653
1662
  authorization: string;
@@ -1690,7 +1699,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1690
1699
  timestamps: {
1691
1700
  get: {
1692
1701
  body: unknown;
1693
- params: Record<never, string>;
1702
+ params: {};
1694
1703
  query: {
1695
1704
  chainId: number;
1696
1705
  fromTimestamp: string;
@@ -1713,7 +1722,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1713
1722
  index: {
1714
1723
  get: {
1715
1724
  body: unknown;
1716
- params: Record<never, string>;
1725
+ params: {};
1717
1726
  query: unknown;
1718
1727
  headers: unknown;
1719
1728
  response: {
@@ -1733,7 +1742,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1733
1742
  targets: {
1734
1743
  get: {
1735
1744
  body: unknown;
1736
- params: Record<never, string>;
1745
+ params: {};
1737
1746
  query: {
1738
1747
  identifier?: string | undefined;
1739
1748
  chainId: number;
@@ -1751,7 +1760,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1751
1760
  protocols: {
1752
1761
  get: {
1753
1762
  body: unknown;
1754
- params: Record<never, string>;
1763
+ params: {};
1755
1764
  query: {
1756
1765
  chainId?: number | undefined;
1757
1766
  };
@@ -1773,7 +1782,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1773
1782
  quote: {
1774
1783
  get: {
1775
1784
  body: unknown;
1776
- params: Record<never, string>;
1785
+ params: {};
1777
1786
  query: {
1778
1787
  identifier: string;
1779
1788
  chainId: number;
@@ -1799,7 +1808,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1799
1808
  transaction: {
1800
1809
  get: {
1801
1810
  body: unknown;
1802
- params: Record<never, string>;
1811
+ params: {};
1803
1812
  query: {
1804
1813
  identifier: string;
1805
1814
  chainId: number;
@@ -1834,7 +1843,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1834
1843
  index: {
1835
1844
  get: {
1836
1845
  body: unknown;
1837
- params: Record<never, string>;
1846
+ params: {};
1838
1847
  query: {
1839
1848
  items?: number | undefined;
1840
1849
  page?: number | undefined;
@@ -1862,7 +1871,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1862
1871
  revenues: {
1863
1872
  get: {
1864
1873
  body: unknown;
1865
- params: Record<never, string>;
1874
+ params: {};
1866
1875
  query: unknown;
1867
1876
  headers: {
1868
1877
  authorization: string;
@@ -2071,7 +2080,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2071
2080
  campaignId: string;
2072
2081
  distributionChain: number;
2073
2082
  };
2074
- params: Record<never, string>;
2083
+ params: {};
2075
2084
  query: unknown;
2076
2085
  headers: {
2077
2086
  authorization: string;
@@ -2087,7 +2096,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2087
2096
  index: {
2088
2097
  get: {
2089
2098
  body: unknown;
2090
- params: Record<never, string>;
2099
+ params: {};
2091
2100
  query: unknown;
2092
2101
  headers: unknown;
2093
2102
  response: {
@@ -2108,7 +2117,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2108
2117
  status: {
2109
2118
  get: {
2110
2119
  body: unknown;
2111
- params: Record<never, string>;
2120
+ params: {};
2112
2121
  query: {
2113
2122
  status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
2114
2123
  };
@@ -2147,7 +2156,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2147
2156
  unique: {
2148
2157
  get: {
2149
2158
  body: unknown;
2150
- params: Record<never, string>;
2159
+ params: {};
2151
2160
  query: {
2152
2161
  campaignId: string;
2153
2162
  distributionChain: number;
@@ -2197,7 +2206,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2197
2206
  overlaps: {
2198
2207
  get: {
2199
2208
  body: unknown;
2200
- params: Record<never, string>;
2209
+ params: {};
2201
2210
  query: {
2202
2211
  campaignId: string;
2203
2212
  distributionChain: number;
@@ -2217,7 +2226,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2217
2226
  index: {
2218
2227
  get: {
2219
2228
  body: unknown;
2220
- params: Record<never, string>;
2229
+ params: {};
2221
2230
  query: {
2222
2231
  user: string;
2223
2232
  };
@@ -2234,11 +2243,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2234
2243
  resolve: {};
2235
2244
  schema: {};
2236
2245
  }, {
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
- };
2246
+ derive: {};
2242
2247
  resolve: {};
2243
2248
  schema: {};
2244
2249
  }>;
@@ -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
  onlyLive?: boolean | undefined;
24
25
  };
@@ -26,6 +27,10 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
26
27
  response: {
27
28
  [x: string]: any;
28
29
  200: any;
30
+ readonly 400: {
31
+ message?: string | undefined;
32
+ error: string;
33
+ };
29
34
  };
30
35
  };
31
36
  };
@@ -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
  byReason?: boolean | 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
  chainId: number;
25
26
  campaignId: 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
  campaignIds: string;
@@ -26,7 +27,7 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
26
27
  headers: unknown;
27
28
  response: {
28
29
  200: {
29
- [key: string]: string;
30
+ [x: string]: string;
30
31
  };
31
32
  };
32
33
  };