@merkl/api 0.10.127 → 0.10.129

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
@@ -110,7 +110,7 @@ declare const eden: {
110
110
  query?: Record<string, unknown> | undefined;
111
111
  fetch?: RequestInit | undefined;
112
112
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
113
- 200: ({
113
+ 200: {
114
114
  aprRecord: {
115
115
  cumulated: number;
116
116
  timestamp: bigint;
@@ -192,7 +192,6 @@ declare const eden: {
192
192
  tvl: number;
193
193
  apr: number;
194
194
  dailyRewards: number;
195
- } & {
196
195
  campaigns: ({
197
196
  params: any;
198
197
  chain: {
@@ -229,7 +228,7 @@ declare const eden: {
229
228
  opportunityId: string;
230
229
  creatorAddress: string;
231
230
  } | null)[];
232
- }) | null | undefined;
231
+ } | null | undefined;
233
232
  }>>;
234
233
  };
235
234
  }) & {
@@ -259,7 +258,7 @@ declare const eden: {
259
258
  get: (options: {
260
259
  headers?: Record<string, unknown> | undefined;
261
260
  query: {
262
- sort?: "tvl" | "apr" | "rewards" | undefined;
261
+ sort?: undefined;
263
262
  name?: string | undefined;
264
263
  tokens?: string | undefined;
265
264
  status?: string | undefined;
@@ -269,7 +268,7 @@ declare const eden: {
269
268
  page?: number | undefined;
270
269
  action?: string | undefined;
271
270
  mainProtocolId?: string | undefined;
272
- order?: "asc" | "desc" | undefined;
271
+ order?: undefined;
273
272
  };
274
273
  fetch?: RequestInit | undefined;
275
274
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -362,7 +361,7 @@ declare const eden: {
362
361
  get: (options: {
363
362
  headers?: Record<string, unknown> | undefined;
364
363
  query: {
365
- sort?: "tvl" | "apr" | "rewards" | undefined;
364
+ sort?: undefined;
366
365
  name?: string | undefined;
367
366
  tokens?: string | undefined;
368
367
  status?: string | undefined;
@@ -372,7 +371,7 @@ declare const eden: {
372
371
  page?: number | undefined;
373
372
  action?: string | undefined;
374
373
  mainProtocolId?: string | undefined;
375
- order?: "asc" | "desc" | undefined;
374
+ order?: undefined;
376
375
  };
377
376
  fetch?: RequestInit | undefined;
378
377
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -547,13 +546,13 @@ declare const eden: {
547
546
  query?: Record<string, unknown> | undefined;
548
547
  fetch?: RequestInit | undefined;
549
548
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
550
- 200: ({
549
+ 200: {
551
550
  name: string;
552
551
  url: string;
553
552
  description: string;
554
553
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
555
554
  icon: string;
556
- } & {}) | null;
555
+ } | null;
557
556
  }>>;
558
557
  }) & {
559
558
  index: {
@@ -601,7 +600,7 @@ declare const eden: {
601
600
  query?: Record<string, unknown> | undefined;
602
601
  fetch?: RequestInit | undefined;
603
602
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
604
- 200: ({
603
+ 200: {
605
604
  symbol: string;
606
605
  name: string | null;
607
606
  id: string;
@@ -610,9 +609,8 @@ declare const eden: {
610
609
  icon: string;
611
610
  decimals: number;
612
611
  verified: boolean;
613
- } & {
614
612
  price?: number | null | undefined;
615
- }) | undefined;
613
+ } | undefined;
616
614
  }>>;
617
615
  }) & {
618
616
  balances: {
@@ -730,7 +728,9 @@ declare const eden: {
730
728
  query?: Record<string, unknown> | undefined;
731
729
  fetch?: RequestInit | undefined;
732
730
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
733
- 200: import("../../database/api/.generated").Prisma.BatchPayload;
731
+ 200: {
732
+ count: number;
733
+ };
734
734
  }>>;
735
735
  breakdowns: {
736
736
  post: (body: {
@@ -755,7 +755,9 @@ declare const eden: {
755
755
  query?: Record<string, unknown> | undefined;
756
756
  fetch?: RequestInit | undefined;
757
757
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
758
- 200: import("../../database/api/.generated").Prisma.BatchPayload | undefined;
758
+ 200: {
759
+ count: number;
760
+ } | undefined;
759
761
  }>>;
760
762
  };
761
763
  };
@@ -812,10 +814,12 @@ declare const eden: {
812
814
  query?: Record<string, unknown> | undefined;
813
815
  fetch?: RequestInit | undefined;
814
816
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
815
- 200: Record<string, {
816
- breakdown: number;
817
- rewards: Record<string, number>;
818
- }>;
817
+ 200: {
818
+ [x: string]: {
819
+ breakdown: number;
820
+ rewards: Record<string, number>;
821
+ };
822
+ };
819
823
  }>>;
820
824
  };
821
825
  };
@@ -902,7 +906,7 @@ declare const eden: {
902
906
  fetch?: RequestInit | undefined;
903
907
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
904
908
  200: {
905
- [token: string]: number;
909
+ [x: string]: number;
906
910
  };
907
911
  }>>;
908
912
  };
@@ -1052,7 +1056,7 @@ declare const eden: {
1052
1056
  fetch?: RequestInit | undefined;
1053
1057
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1054
1058
  200: {
1055
- [address: string]: boolean;
1059
+ [x: string]: boolean;
1056
1060
  };
1057
1061
  }>>;
1058
1062
  };
@@ -1801,11 +1805,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1801
1805
  }, {
1802
1806
  schema: {};
1803
1807
  macro: {};
1808
+ macroFn: {};
1804
1809
  }, false & {
1805
1810
  index: {
1806
1811
  get: {
1807
1812
  body: unknown;
1808
- params: Record<never, string>;
1813
+ params: {};
1809
1814
  query: unknown;
1810
1815
  headers: unknown;
1811
1816
  response: {
@@ -1834,7 +1839,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1834
1839
  protocols: string[];
1835
1840
  mainProtocol: string;
1836
1841
  };
1837
- params: Record<never, string>;
1842
+ params: {};
1838
1843
  query: unknown;
1839
1844
  headers: {
1840
1845
  authorization: string;
@@ -1955,7 +1960,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1955
1960
  query: unknown;
1956
1961
  headers: unknown;
1957
1962
  response: {
1958
- 200: ({
1963
+ 200: {
1959
1964
  aprRecord: {
1960
1965
  cumulated: number;
1961
1966
  timestamp: bigint;
@@ -2037,7 +2042,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2037
2042
  tvl: number;
2038
2043
  apr: number;
2039
2044
  dailyRewards: number;
2040
- } & {
2041
2045
  campaigns: ({
2042
2046
  params: any;
2043
2047
  chain: {
@@ -2074,7 +2078,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2074
2078
  opportunityId: string;
2075
2079
  creatorAddress: string;
2076
2080
  } | null)[];
2077
- }) | null | undefined;
2081
+ } | null | undefined;
2078
2082
  };
2079
2083
  };
2080
2084
  };
@@ -2085,9 +2089,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2085
2089
  index: {
2086
2090
  get: {
2087
2091
  body: unknown;
2088
- params: Record<never, string>;
2092
+ params: {};
2089
2093
  query: {
2090
- sort?: "tvl" | "apr" | "rewards" | undefined;
2094
+ sort?: undefined;
2091
2095
  name?: string | undefined;
2092
2096
  tokens?: string | undefined;
2093
2097
  status?: string | undefined;
@@ -2097,7 +2101,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2097
2101
  page?: number | undefined;
2098
2102
  action?: string | undefined;
2099
2103
  mainProtocolId?: string | undefined;
2100
- order?: "asc" | "desc" | undefined;
2104
+ order?: undefined;
2101
2105
  };
2102
2106
  headers: unknown;
2103
2107
  response: {
@@ -2193,9 +2197,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2193
2197
  count: {
2194
2198
  get: {
2195
2199
  body: unknown;
2196
- params: Record<never, string>;
2200
+ params: {};
2197
2201
  query: {
2198
- sort?: "tvl" | "apr" | "rewards" | undefined;
2202
+ sort?: undefined;
2199
2203
  name?: string | undefined;
2200
2204
  tokens?: string | undefined;
2201
2205
  status?: string | undefined;
@@ -2205,7 +2209,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2205
2209
  page?: number | undefined;
2206
2210
  action?: string | undefined;
2207
2211
  mainProtocolId?: string | undefined;
2208
- order?: "asc" | "desc" | undefined;
2212
+ order?: undefined;
2209
2213
  };
2210
2214
  headers: unknown;
2211
2215
  response: {
@@ -2235,7 +2239,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2235
2239
  rewardTokenAddress: string;
2236
2240
  opportunityIdentifier: string;
2237
2241
  };
2238
- params: Record<never, string>;
2242
+ params: {};
2239
2243
  query: unknown;
2240
2244
  headers: {
2241
2245
  authorization: string;
@@ -2263,7 +2267,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2263
2267
  index: {
2264
2268
  get: {
2265
2269
  body: unknown;
2266
- params: Record<never, string>;
2270
+ params: {};
2267
2271
  query: {
2268
2272
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
2269
2273
  items?: number | undefined;
@@ -2323,7 +2327,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2323
2327
  count: {
2324
2328
  get: {
2325
2329
  body: unknown;
2326
- params: Record<never, string>;
2330
+ params: {};
2327
2331
  query: {
2328
2332
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
2329
2333
  items?: number | undefined;
@@ -2349,7 +2353,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2349
2353
  index: {
2350
2354
  get: {
2351
2355
  body: unknown;
2352
- params: Record<never, string>;
2356
+ params: {};
2353
2357
  query: {
2354
2358
  chainId: number;
2355
2359
  };
@@ -2371,7 +2375,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2371
2375
  count: {
2372
2376
  get: {
2373
2377
  body: unknown;
2374
- params: Record<never, string>;
2378
+ params: {};
2375
2379
  query: {
2376
2380
  chainId: number;
2377
2381
  };
@@ -2387,7 +2391,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2387
2391
  index: {
2388
2392
  post: {
2389
2393
  body: unknown;
2390
- params: Record<never, string>;
2394
+ params: {};
2391
2395
  query: {
2392
2396
  chainId: number;
2393
2397
  };
@@ -2408,17 +2412,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2408
2412
  ":id": {
2409
2413
  get: {
2410
2414
  body: unknown;
2411
- params: Record<"id", string>;
2415
+ params: {
2416
+ id: string;
2417
+ };
2412
2418
  query: unknown;
2413
2419
  headers: unknown;
2414
2420
  response: {
2415
- 200: ({
2421
+ 200: {
2416
2422
  name: string;
2417
2423
  url: string;
2418
2424
  description: string;
2419
2425
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
2420
2426
  icon: string;
2421
- } & {}) | null;
2427
+ } | null;
2422
2428
  };
2423
2429
  };
2424
2430
  };
@@ -2428,7 +2434,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2428
2434
  index: {
2429
2435
  get: {
2430
2436
  body: unknown;
2431
- params: Record<never, string>;
2437
+ params: {};
2432
2438
  query: {
2433
2439
  name?: string | undefined;
2434
2440
  id?: string[] | undefined;
@@ -2454,7 +2460,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2454
2460
  count: {
2455
2461
  get: {
2456
2462
  body: unknown;
2457
- params: Record<never, string>;
2463
+ params: {};
2458
2464
  query: {
2459
2465
  name?: string | undefined;
2460
2466
  id?: string[] | undefined;
@@ -2482,7 +2488,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2482
2488
  query: unknown;
2483
2489
  headers: unknown;
2484
2490
  response: {
2485
- 200: ({
2491
+ 200: {
2486
2492
  symbol: string;
2487
2493
  name: string | null;
2488
2494
  id: string;
@@ -2491,9 +2497,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2491
2497
  icon: string;
2492
2498
  decimals: number;
2493
2499
  verified: boolean;
2494
- } & {
2495
2500
  price?: number | null | undefined;
2496
- }) | undefined;
2501
+ } | undefined;
2497
2502
  };
2498
2503
  };
2499
2504
  };
@@ -2503,7 +2508,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2503
2508
  balances: {
2504
2509
  get: {
2505
2510
  body: unknown;
2506
- params: Record<never, string>;
2511
+ params: {};
2507
2512
  query: {
2508
2513
  tokenAddress?: string | undefined;
2509
2514
  additionalTokenAddresses?: string[] | undefined;
@@ -2535,7 +2540,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2535
2540
  index: {
2536
2541
  get: {
2537
2542
  body: unknown;
2538
- params: Record<never, string>;
2543
+ params: {};
2539
2544
  query: {
2540
2545
  symbol?: string | undefined;
2541
2546
  name?: string | undefined;
@@ -2566,7 +2571,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2566
2571
  count: {
2567
2572
  get: {
2568
2573
  body: unknown;
2569
- params: Record<never, string>;
2574
+ params: {};
2570
2575
  query: {
2571
2576
  symbol?: string | undefined;
2572
2577
  name?: string | undefined;
@@ -2588,7 +2593,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2588
2593
  index: {
2589
2594
  get: {
2590
2595
  body: unknown;
2591
- params: Record<never, string>;
2596
+ params: {};
2592
2597
  query: {
2593
2598
  items?: number | undefined;
2594
2599
  page?: number | undefined;
@@ -2607,7 +2612,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2607
2612
  total: {
2608
2613
  get: {
2609
2614
  body: unknown;
2610
- params: Record<never, string>;
2615
+ params: {};
2611
2616
  query: {
2612
2617
  items?: number | undefined;
2613
2618
  page?: number | undefined;
@@ -2635,13 +2640,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2635
2640
  proofs: string[];
2636
2641
  rewardToken: string;
2637
2642
  }[];
2638
- params: Record<never, string>;
2643
+ params: {};
2639
2644
  query: unknown;
2640
2645
  headers: {
2641
2646
  authorization: string;
2642
2647
  };
2643
2648
  response: {
2644
- 200: import("../../database/api/.generated").Prisma.BatchPayload;
2649
+ 200: {
2650
+ count: number;
2651
+ };
2645
2652
  };
2646
2653
  };
2647
2654
  };
@@ -2667,13 +2674,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2667
2674
  claimed: string;
2668
2675
  }[];
2669
2676
  }[];
2670
- params: Record<never, string>;
2677
+ params: {};
2671
2678
  query: unknown;
2672
2679
  headers: {
2673
2680
  authorization: string;
2674
2681
  };
2675
2682
  response: {
2676
- 200: import("../../database/api/.generated").Prisma.BatchPayload | undefined;
2683
+ 200: {
2684
+ count: number;
2685
+ } | undefined;
2677
2686
  };
2678
2687
  };
2679
2688
  };
@@ -2703,7 +2712,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2703
2712
  recipient: string;
2704
2713
  }[];
2705
2714
  };
2706
- params: Record<never, string>;
2715
+ params: {};
2707
2716
  query: unknown;
2708
2717
  headers: {
2709
2718
  authorization: string;
@@ -2719,7 +2728,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2719
2728
  count: {
2720
2729
  get: {
2721
2730
  body: unknown;
2722
- params: Record<never, string>;
2731
+ params: {};
2723
2732
  query: {
2724
2733
  items?: number | undefined;
2725
2734
  page?: number | undefined;
@@ -2741,16 +2750,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2741
2750
  chains: {
2742
2751
  get: {
2743
2752
  body: unknown;
2744
- params: Record<never, string>;
2753
+ params: {};
2745
2754
  query: unknown;
2746
2755
  headers: {
2747
2756
  authorization: string;
2748
2757
  };
2749
2758
  response: {
2750
- 200: Record<string, {
2751
- breakdown: number;
2752
- rewards: Record<string, number>;
2753
- }>;
2759
+ 200: {
2760
+ [x: string]: {
2761
+ breakdown: number;
2762
+ rewards: Record<string, number>;
2763
+ };
2764
+ };
2754
2765
  };
2755
2766
  };
2756
2767
  };
@@ -2787,7 +2798,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2787
2798
  index: {
2788
2799
  get: {
2789
2800
  body: unknown;
2790
- params: Record<never, string>;
2801
+ params: {};
2791
2802
  query: {
2792
2803
  search?: string | undefined;
2793
2804
  };
@@ -2811,7 +2822,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2811
2822
  count: {
2812
2823
  get: {
2813
2824
  body: unknown;
2814
- params: Record<never, string>;
2825
+ params: {};
2815
2826
  query: {
2816
2827
  search?: string | undefined;
2817
2828
  };
@@ -2829,7 +2840,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2829
2840
  url: string;
2830
2841
  chainId: number;
2831
2842
  };
2832
- params: Record<never, string>;
2843
+ params: {};
2833
2844
  query: unknown;
2834
2845
  headers: {
2835
2846
  authorization: string;
@@ -2852,12 +2863,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2852
2863
  index: {
2853
2864
  get: {
2854
2865
  body: unknown;
2855
- params: Record<never, string>;
2866
+ params: {};
2856
2867
  query: unknown;
2857
2868
  headers: unknown;
2858
2869
  response: {
2859
2870
  200: {
2860
- [token: string]: number;
2871
+ [x: string]: number;
2861
2872
  };
2862
2873
  };
2863
2874
  };
@@ -2866,7 +2877,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2866
2877
  array: {
2867
2878
  get: {
2868
2879
  body: unknown;
2869
- params: Record<never, string>;
2880
+ params: {};
2870
2881
  query: unknown;
2871
2882
  headers: unknown;
2872
2883
  response: {
@@ -2898,7 +2909,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2898
2909
  index: {
2899
2910
  get: {
2900
2911
  body: unknown;
2901
- params: Record<never, string>;
2912
+ params: {};
2902
2913
  query: unknown;
2903
2914
  headers: unknown;
2904
2915
  response: {
@@ -2944,7 +2955,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2944
2955
  method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
2945
2956
  args: {};
2946
2957
  };
2947
- params: Record<never, string>;
2958
+ params: {};
2948
2959
  query: unknown;
2949
2960
  headers: {
2950
2961
  authorization: string;
@@ -3017,7 +3028,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3017
3028
  index: {
3018
3029
  get: {
3019
3030
  body: unknown;
3020
- params: Record<never, string>;
3031
+ params: {};
3021
3032
  query: unknown;
3022
3033
  headers: unknown;
3023
3034
  response: {
@@ -3038,12 +3049,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3038
3049
  all: {
3039
3050
  get: {
3040
3051
  body: unknown;
3041
- params: Record<never, string>;
3052
+ params: {};
3042
3053
  query: unknown;
3043
3054
  headers: unknown;
3044
3055
  response: {
3045
3056
  200: {
3046
- [address: string]: boolean;
3057
+ [x: string]: boolean;
3047
3058
  };
3048
3059
  };
3049
3060
  };
@@ -3077,7 +3088,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3077
3088
  poolAddress: string;
3078
3089
  userAddress: string;
3079
3090
  };
3080
- params: Record<never, string>;
3091
+ params: {};
3081
3092
  query: unknown;
3082
3093
  headers: {
3083
3094
  authorization: string;
@@ -3122,7 +3133,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3122
3133
  index: {
3123
3134
  get: {
3124
3135
  body: unknown;
3125
- params: Record<never, string>;
3136
+ params: {};
3126
3137
  query: {
3127
3138
  items?: number | undefined;
3128
3139
  tags?: string[] | undefined;
@@ -3144,7 +3155,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3144
3155
  tags: {
3145
3156
  get: {
3146
3157
  body: unknown;
3147
- params: Record<never, string>;
3158
+ params: {};
3148
3159
  query: unknown;
3149
3160
  headers: {
3150
3161
  authorization: string;
@@ -3163,7 +3174,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3163
3174
  ":address": {
3164
3175
  get: {
3165
3176
  body: unknown;
3166
- params: Record<"address", string>;
3177
+ params: {
3178
+ address: string;
3179
+ };
3167
3180
  query: unknown;
3168
3181
  headers: unknown;
3169
3182
  response: {
@@ -3401,7 +3414,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3401
3414
  tags: string[];
3402
3415
  address: string;
3403
3416
  };
3404
- params: Record<never, string>;
3417
+ params: {};
3405
3418
  query: unknown;
3406
3419
  headers: {
3407
3420
  authorization: string;
@@ -3420,7 +3433,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3420
3433
  sync: {
3421
3434
  post: {
3422
3435
  body: unknown;
3423
- params: Record<never, string>;
3436
+ params: {};
3424
3437
  query: unknown;
3425
3438
  headers: {
3426
3439
  authorization: string;
@@ -3463,7 +3476,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3463
3476
  timestamps: {
3464
3477
  get: {
3465
3478
  body: unknown;
3466
- params: Record<never, string>;
3479
+ params: {};
3467
3480
  query: {
3468
3481
  chainId: number;
3469
3482
  fromTimestamp: string;
@@ -3486,7 +3499,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3486
3499
  index: {
3487
3500
  get: {
3488
3501
  body: unknown;
3489
- params: Record<never, string>;
3502
+ params: {};
3490
3503
  query: unknown;
3491
3504
  headers: unknown;
3492
3505
  response: {
@@ -3506,7 +3519,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3506
3519
  targets: {
3507
3520
  get: {
3508
3521
  body: unknown;
3509
- params: Record<never, string>;
3522
+ params: {};
3510
3523
  query: {
3511
3524
  identifier?: string | undefined;
3512
3525
  chainId: number;
@@ -3524,7 +3537,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3524
3537
  protocols: {
3525
3538
  get: {
3526
3539
  body: unknown;
3527
- params: Record<never, string>;
3540
+ params: {};
3528
3541
  query: {
3529
3542
  chainId?: number | undefined;
3530
3543
  };
@@ -3546,7 +3559,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3546
3559
  quote: {
3547
3560
  get: {
3548
3561
  body: unknown;
3549
- params: Record<never, string>;
3562
+ params: {};
3550
3563
  query: {
3551
3564
  identifier: string;
3552
3565
  chainId: number;
@@ -3572,7 +3585,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3572
3585
  transaction: {
3573
3586
  get: {
3574
3587
  body: unknown;
3575
- params: Record<never, string>;
3588
+ params: {};
3576
3589
  query: {
3577
3590
  identifier: string;
3578
3591
  chainId: number;
@@ -3607,7 +3620,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3607
3620
  index: {
3608
3621
  get: {
3609
3622
  body: unknown;
3610
- params: Record<never, string>;
3623
+ params: {};
3611
3624
  query: {
3612
3625
  items?: number | undefined;
3613
3626
  page?: number | undefined;
@@ -3635,7 +3648,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3635
3648
  revenues: {
3636
3649
  get: {
3637
3650
  body: unknown;
3638
- params: Record<never, string>;
3651
+ params: {};
3639
3652
  query: unknown;
3640
3653
  headers: {
3641
3654
  authorization: string;
@@ -3844,7 +3857,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3844
3857
  campaignId: string;
3845
3858
  distributionChain: number;
3846
3859
  };
3847
- params: Record<never, string>;
3860
+ params: {};
3848
3861
  query: unknown;
3849
3862
  headers: {
3850
3863
  authorization: string;
@@ -3860,7 +3873,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3860
3873
  index: {
3861
3874
  get: {
3862
3875
  body: unknown;
3863
- params: Record<never, string>;
3876
+ params: {};
3864
3877
  query: unknown;
3865
3878
  headers: unknown;
3866
3879
  response: {
@@ -3881,7 +3894,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3881
3894
  status: {
3882
3895
  get: {
3883
3896
  body: unknown;
3884
- params: Record<never, string>;
3897
+ params: {};
3885
3898
  query: {
3886
3899
  status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
3887
3900
  };
@@ -3920,7 +3933,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3920
3933
  unique: {
3921
3934
  get: {
3922
3935
  body: unknown;
3923
- params: Record<never, string>;
3936
+ params: {};
3924
3937
  query: {
3925
3938
  campaignId: string;
3926
3939
  distributionChain: number;
@@ -3970,7 +3983,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3970
3983
  overlaps: {
3971
3984
  get: {
3972
3985
  body: unknown;
3973
- params: Record<never, string>;
3986
+ params: {};
3974
3987
  query: {
3975
3988
  campaignId: string;
3976
3989
  distributionChain: number;
@@ -3991,11 +4004,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3991
4004
  resolve: {};
3992
4005
  schema: {};
3993
4006
  }, {
3994
- derive: {
3995
- readonly tracer: import("dd-trace").Tracer;
3996
- readonly span: import("dd-trace").Span;
3997
- readonly trace: <R, T extends () => R>(handler: T) => R;
3998
- };
4007
+ derive: {};
3999
4008
  resolve: {};
4000
4009
  schema: {};
4001
4010
  }>, config?: import("@elysiajs/eden").Treaty.Config) => {
@@ -4108,7 +4117,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4108
4117
  query?: Record<string, unknown> | undefined;
4109
4118
  fetch?: RequestInit | undefined;
4110
4119
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4111
- 200: ({
4120
+ 200: {
4112
4121
  aprRecord: {
4113
4122
  cumulated: number;
4114
4123
  timestamp: bigint;
@@ -4190,7 +4199,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4190
4199
  tvl: number;
4191
4200
  apr: number;
4192
4201
  dailyRewards: number;
4193
- } & {
4194
4202
  campaigns: ({
4195
4203
  params: any;
4196
4204
  chain: {
@@ -4227,7 +4235,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4227
4235
  opportunityId: string;
4228
4236
  creatorAddress: string;
4229
4237
  } | null)[];
4230
- }) | null | undefined;
4238
+ } | null | undefined;
4231
4239
  }>>;
4232
4240
  };
4233
4241
  }) & {
@@ -4257,7 +4265,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4257
4265
  get: (options: {
4258
4266
  headers?: Record<string, unknown> | undefined;
4259
4267
  query: {
4260
- sort?: "tvl" | "apr" | "rewards" | undefined;
4268
+ sort?: undefined;
4261
4269
  name?: string | undefined;
4262
4270
  tokens?: string | undefined;
4263
4271
  status?: string | undefined;
@@ -4267,7 +4275,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4267
4275
  page?: number | undefined;
4268
4276
  action?: string | undefined;
4269
4277
  mainProtocolId?: string | undefined;
4270
- order?: "asc" | "desc" | undefined;
4278
+ order?: undefined;
4271
4279
  };
4272
4280
  fetch?: RequestInit | undefined;
4273
4281
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4360,7 +4368,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4360
4368
  get: (options: {
4361
4369
  headers?: Record<string, unknown> | undefined;
4362
4370
  query: {
4363
- sort?: "tvl" | "apr" | "rewards" | undefined;
4371
+ sort?: undefined;
4364
4372
  name?: string | undefined;
4365
4373
  tokens?: string | undefined;
4366
4374
  status?: string | undefined;
@@ -4370,7 +4378,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4370
4378
  page?: number | undefined;
4371
4379
  action?: string | undefined;
4372
4380
  mainProtocolId?: string | undefined;
4373
- order?: "asc" | "desc" | undefined;
4381
+ order?: undefined;
4374
4382
  };
4375
4383
  fetch?: RequestInit | undefined;
4376
4384
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4545,13 +4553,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4545
4553
  query?: Record<string, unknown> | undefined;
4546
4554
  fetch?: RequestInit | undefined;
4547
4555
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4548
- 200: ({
4556
+ 200: {
4549
4557
  name: string;
4550
4558
  url: string;
4551
4559
  description: string;
4552
4560
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4553
4561
  icon: string;
4554
- } & {}) | null;
4562
+ } | null;
4555
4563
  }>>;
4556
4564
  }) & {
4557
4565
  index: {
@@ -4599,7 +4607,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4599
4607
  query?: Record<string, unknown> | undefined;
4600
4608
  fetch?: RequestInit | undefined;
4601
4609
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4602
- 200: ({
4610
+ 200: {
4603
4611
  symbol: string;
4604
4612
  name: string | null;
4605
4613
  id: string;
@@ -4608,9 +4616,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4608
4616
  icon: string;
4609
4617
  decimals: number;
4610
4618
  verified: boolean;
4611
- } & {
4612
4619
  price?: number | null | undefined;
4613
- }) | undefined;
4620
+ } | undefined;
4614
4621
  }>>;
4615
4622
  }) & {
4616
4623
  balances: {
@@ -4728,7 +4735,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4728
4735
  query?: Record<string, unknown> | undefined;
4729
4736
  fetch?: RequestInit | undefined;
4730
4737
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4731
- 200: import("../../database/api/.generated").Prisma.BatchPayload;
4738
+ 200: {
4739
+ count: number;
4740
+ };
4732
4741
  }>>;
4733
4742
  breakdowns: {
4734
4743
  post: (body: {
@@ -4753,7 +4762,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4753
4762
  query?: Record<string, unknown> | undefined;
4754
4763
  fetch?: RequestInit | undefined;
4755
4764
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4756
- 200: import("../../database/api/.generated").Prisma.BatchPayload | undefined;
4765
+ 200: {
4766
+ count: number;
4767
+ } | undefined;
4757
4768
  }>>;
4758
4769
  };
4759
4770
  };
@@ -4810,10 +4821,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4810
4821
  query?: Record<string, unknown> | undefined;
4811
4822
  fetch?: RequestInit | undefined;
4812
4823
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4813
- 200: Record<string, {
4814
- breakdown: number;
4815
- rewards: Record<string, number>;
4816
- }>;
4824
+ 200: {
4825
+ [x: string]: {
4826
+ breakdown: number;
4827
+ rewards: Record<string, number>;
4828
+ };
4829
+ };
4817
4830
  }>>;
4818
4831
  };
4819
4832
  };
@@ -4900,7 +4913,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4900
4913
  fetch?: RequestInit | undefined;
4901
4914
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4902
4915
  200: {
4903
- [token: string]: number;
4916
+ [x: string]: number;
4904
4917
  };
4905
4918
  }>>;
4906
4919
  };
@@ -5050,7 +5063,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5050
5063
  fetch?: RequestInit | undefined;
5051
5064
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5052
5065
  200: {
5053
- [address: string]: boolean;
5066
+ [x: string]: boolean;
5054
5067
  };
5055
5068
  }>>;
5056
5069
  };