@merkl/api 0.10.168 → 0.10.170

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/database/api/.generated/edge.js +6 -3
  2. package/dist/database/api/.generated/index-browser.js +3 -0
  3. package/dist/database/api/.generated/index.d.ts +113 -0
  4. package/dist/database/api/.generated/index.js +6 -3
  5. package/dist/database/api/.generated/package.json +1 -1
  6. package/dist/database/api/.generated/schema.prisma +17 -15
  7. package/dist/database/api/.generated/wasm.js +3 -0
  8. package/dist/src/cache/declaration.d.ts +0 -30
  9. package/dist/src/cache/declaration.js +0 -30
  10. package/dist/src/eden/index.d.ts +167 -15
  11. package/dist/src/index.d.ts +59 -5
  12. package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.js +2 -2
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/factoryFinder.js +2 -0
  14. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +3 -1
  15. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +8 -0
  16. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleYTProcessor.d.ts +29 -0
  17. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleYTProcessor.js +31 -0
  18. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +3 -0
  19. package/dist/src/libs/positions/clamm/index.d.ts +1 -2
  20. package/dist/src/libs/positions/clamm/index.js +322 -330
  21. package/dist/src/libs/positions/clamm/thegraph/fetchAlmPositions.d.ts +1 -1
  22. package/dist/src/libs/positions/clamm/thegraph/fetchAlmPositions.js +1 -1
  23. package/dist/src/libs/positions/clamm/thegraph/fetchAmmPositions.d.ts +1 -1
  24. package/dist/src/libs/positions/clamm/thegraph/fetchAmmPositions.js +2 -2
  25. package/dist/src/libs/positions/clamm/thegraph/fetchFarmedPositions.d.ts +1 -2
  26. package/dist/src/libs/positions/clamm/thegraph/fetchFarmedPositions.js +1 -4
  27. package/dist/src/libs/positions/euler/index.js +2 -3
  28. package/dist/src/libs/positions/index.js +1 -1
  29. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +6 -2
  30. package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
  31. package/dist/src/modules/v4/campaign/campaign.model.js +1 -0
  32. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +2 -0
  33. package/dist/src/modules/v4/campaign/campaign.repository.js +2 -1
  34. package/dist/src/modules/v4/campaign/campaign.service.d.ts +10 -5
  35. package/dist/src/modules/v4/campaign/campaign.service.js +10 -2
  36. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +20 -3
  37. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -1
  38. package/dist/src/modules/v4/opportunity/opportunity.model.js +1 -0
  39. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +83 -5
  40. package/dist/src/modules/v4/opportunity/opportunity.repository.js +31 -0
  41. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +162 -8
  42. package/dist/src/modules/v4/opportunity/opportunity.service.js +11 -0
  43. package/dist/src/modules/v4/position/implementations/AjnaPositionFetcher.d.ts +6 -0
  44. package/dist/src/modules/v4/position/implementations/AjnaPositionFetcher.js +90 -0
  45. package/dist/src/modules/v4/position/implementations/BadgerPositionFetcher.d.ts +6 -0
  46. package/dist/src/modules/v4/position/implementations/BadgerPositionFetcher.js +69 -0
  47. package/dist/src/modules/v4/position/implementations/ClammPositionFetcher.d.ts +6 -0
  48. package/dist/src/modules/v4/position/implementations/ClammPositionFetcher.js +71 -0
  49. package/dist/src/modules/v4/position/implementations/DolomitePositionFetcher.d.ts +6 -0
  50. package/dist/src/modules/v4/position/implementations/DolomitePositionFetcher.js +45 -0
  51. package/dist/src/modules/v4/position/implementations/ERC20PositionFetcher.d.ts +6 -0
  52. package/dist/src/modules/v4/position/implementations/ERC20PositionFetcher.js +47 -0
  53. package/dist/src/modules/v4/position/implementations/EulerPositionFetcher.d.ts +6 -0
  54. package/dist/src/modules/v4/position/implementations/EulerPositionFetcher.js +40 -0
  55. package/dist/src/modules/v4/position/index.d.ts +2 -0
  56. package/dist/src/modules/v4/position/index.js +2 -0
  57. package/dist/src/modules/v4/position/position.controller.d.ts +39 -0
  58. package/dist/src/modules/v4/position/position.controller.js +16 -0
  59. package/dist/src/modules/v4/position/position.model.d.ts +25 -0
  60. package/dist/src/modules/v4/position/position.model.js +5 -0
  61. package/dist/src/modules/v4/position/position.repository.d.ts +14 -0
  62. package/dist/src/modules/v4/position/position.repository.js +6 -0
  63. package/dist/src/modules/v4/position/position.service.d.ts +5 -0
  64. package/dist/src/modules/v4/position/position.service.js +34 -0
  65. package/dist/src/modules/v4/price/price.controller.js +1 -1
  66. package/dist/src/modules/v4/price/price.service.d.ts +1 -1
  67. package/dist/src/modules/v4/price/price.service.js +3 -3
  68. package/dist/src/modules/v4/reward/reward.repository.d.ts +4 -0
  69. package/dist/src/modules/v4/reward/reward.service.d.ts +27 -0
  70. package/dist/src/modules/v4/reward/reward.service.js +5 -2
  71. package/dist/src/modules/v4/router.d.ts +59 -5
  72. package/dist/src/modules/v4/router.js +3 -1
  73. package/dist/src/modules/v4/token/token.controller.d.ts +6 -0
  74. package/dist/src/modules/v4/token/token.service.d.ts +12 -0
  75. package/dist/src/modules/v4/user/user.controller.d.ts +8 -0
  76. package/dist/src/routes/v1/prices.js +2 -4
  77. package/dist/src/routes/v3/blacklist.d.ts +59 -5
  78. package/dist/src/routes/v3/campaigns.d.ts +60 -6
  79. package/dist/src/routes/v3/campaignsInfo.d.ts +59 -5
  80. package/dist/src/routes/v3/multiChainPositions.d.ts +59 -5
  81. package/dist/src/routes/v3/opportunity.d.ts +59 -5
  82. package/dist/src/routes/v3/positions.d.ts +59 -5
  83. package/dist/src/routes/v3/recipients.d.ts +6 -2
  84. package/dist/src/routes/v3/recipients.js +14 -8
  85. package/dist/src/routes/v3/rewards.d.ts +59 -5
  86. package/dist/src/routes/v3/updates.d.ts +59 -5
  87. package/dist/src/routes/v3/userRewards.d.ts +59 -5
  88. package/dist/src/utils/decodeCalls.js +4 -1
  89. package/dist/src/utils/encodeCalls.js +4 -1
  90. package/dist/src/utils/generateCardName.js +2 -0
  91. package/dist/src/utils/prices/services/erc4626Service.js +10 -4
  92. package/dist/tsconfig.package.tsbuildinfo +1 -1
  93. package/package.json +1 -1
  94. package/dist/src/libs/reports/campaignReport.d.ts +0 -9
  95. package/dist/src/libs/reports/campaignReport.js +0 -37
  96. package/dist/src/libs/reports/mainParameterRewards.d.ts +0 -3
  97. package/dist/src/libs/reports/mainParameterRewards.js +0 -48
@@ -61,7 +61,9 @@ declare const eden: {
61
61
  address: string;
62
62
  icon: string;
63
63
  decimals: number;
64
+ displaySymbol: string;
64
65
  verified: boolean;
66
+ isTest: boolean;
65
67
  price: number | null;
66
68
  };
67
69
  amount: bigint;
@@ -76,7 +78,9 @@ declare const eden: {
76
78
  address: string;
77
79
  icon: string;
78
80
  decimals: number;
81
+ displaySymbol: string;
79
82
  verified: boolean;
83
+ isTest: boolean;
80
84
  price: number | null;
81
85
  }[];
82
86
  chain: {
@@ -151,7 +155,9 @@ declare const eden: {
151
155
  address: string;
152
156
  icon: string;
153
157
  decimals: number;
158
+ displaySymbol: string;
154
159
  verified: boolean;
160
+ isTest: boolean;
155
161
  price: number | null;
156
162
  };
157
163
  amount: bigint;
@@ -166,7 +172,9 @@ declare const eden: {
166
172
  address: string;
167
173
  icon: string;
168
174
  decimals: number;
175
+ displaySymbol: string;
169
176
  verified: boolean;
177
+ isTest: boolean;
170
178
  price: number | null;
171
179
  }[];
172
180
  chain: {
@@ -192,7 +200,7 @@ declare const eden: {
192
200
  tvl: number;
193
201
  apr: number;
194
202
  dailyRewards: number;
195
- campaigns: ({
203
+ campaigns: {
196
204
  params: any;
197
205
  chain: {
198
206
  name: string;
@@ -207,7 +215,9 @@ declare const eden: {
207
215
  address: string;
208
216
  icon: string;
209
217
  decimals: number;
218
+ displaySymbol: string;
210
219
  verified: boolean;
220
+ isTest: boolean;
211
221
  price: number | null;
212
222
  };
213
223
  distributionChain: {
@@ -235,7 +245,7 @@ declare const eden: {
235
245
  amount: string;
236
246
  opportunityId: string;
237
247
  creatorAddress: string;
238
- } | null)[];
248
+ }[];
239
249
  } | null | undefined;
240
250
  }>>;
241
251
  };
@@ -277,6 +287,7 @@ declare const eden: {
277
287
  action?: string | undefined;
278
288
  mainProtocolId?: string | undefined;
279
289
  order?: undefined;
290
+ test?: boolean | undefined;
280
291
  minimumTvl?: number | undefined;
281
292
  };
282
293
  fetch?: RequestInit | undefined;
@@ -322,7 +333,9 @@ declare const eden: {
322
333
  address: string;
323
334
  icon: string;
324
335
  decimals: number;
336
+ displaySymbol: string;
325
337
  verified: boolean;
338
+ isTest: boolean;
326
339
  price: number | null;
327
340
  };
328
341
  amount: bigint;
@@ -337,7 +350,9 @@ declare const eden: {
337
350
  address: string;
338
351
  icon: string;
339
352
  decimals: number;
353
+ displaySymbol: string;
340
354
  verified: boolean;
355
+ isTest: boolean;
341
356
  price: number | null;
342
357
  }[];
343
358
  chain: {
@@ -381,6 +396,7 @@ declare const eden: {
381
396
  action?: string | undefined;
382
397
  mainProtocolId?: string | undefined;
383
398
  order?: undefined;
399
+ test?: boolean | undefined;
384
400
  minimumTvl?: number | undefined;
385
401
  };
386
402
  fetch?: RequestInit | undefined;
@@ -405,12 +421,13 @@ declare const eden: {
405
421
  action?: string | undefined;
406
422
  mainProtocolId?: string | undefined;
407
423
  order?: undefined;
424
+ test?: boolean | undefined;
408
425
  minimumTvl?: number | undefined;
409
426
  };
410
427
  fetch?: RequestInit | undefined;
411
428
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
412
429
  200: {
413
- sum: File;
430
+ sum: number | null;
414
431
  };
415
432
  }>>;
416
433
  }) & {};
@@ -469,10 +486,11 @@ declare const eden: {
469
486
  campaignId?: string | undefined;
470
487
  opportunityId?: string | undefined;
471
488
  tokenSymbol?: string | undefined;
489
+ test?: boolean | undefined;
472
490
  };
473
491
  fetch?: RequestInit | undefined;
474
492
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
475
- 200: ({
493
+ 200: {
476
494
  params: any;
477
495
  chain: {
478
496
  name: string;
@@ -487,7 +505,9 @@ declare const eden: {
487
505
  address: string;
488
506
  icon: string;
489
507
  decimals: number;
508
+ displaySymbol: string;
490
509
  verified: boolean;
510
+ isTest: boolean;
491
511
  price: number | null;
492
512
  };
493
513
  distributionChain: {
@@ -515,7 +535,7 @@ declare const eden: {
515
535
  amount: string;
516
536
  opportunityId: string;
517
537
  creatorAddress: string;
518
- } | null)[];
538
+ }[];
519
539
  }>>;
520
540
  };
521
541
  count: {
@@ -534,6 +554,7 @@ declare const eden: {
534
554
  campaignId?: string | undefined;
535
555
  opportunityId?: string | undefined;
536
556
  tokenSymbol?: string | undefined;
557
+ test?: boolean | undefined;
537
558
  };
538
559
  fetch?: RequestInit | undefined;
539
560
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -652,7 +673,9 @@ declare const eden: {
652
673
  address: string;
653
674
  icon: string;
654
675
  decimals: number;
676
+ displaySymbol: string;
655
677
  verified: boolean;
678
+ isTest: boolean;
656
679
  price?: number | null | undefined;
657
680
  } | undefined;
658
681
  }>>;
@@ -676,7 +699,9 @@ declare const eden: {
676
699
  address: string;
677
700
  icon: string;
678
701
  decimals: number;
702
+ displaySymbol: string;
679
703
  verified: boolean;
704
+ isTest: boolean;
680
705
  } & {
681
706
  price?: number | null | undefined;
682
707
  } & {
@@ -704,7 +729,9 @@ declare const eden: {
704
729
  address: string;
705
730
  icon: string;
706
731
  decimals: number;
732
+ displaySymbol: string;
707
733
  verified: boolean;
734
+ isTest: boolean;
708
735
  } & {
709
736
  price?: number | null | undefined;
710
737
  })[];
@@ -1176,7 +1203,9 @@ declare const eden: {
1176
1203
  address: string;
1177
1204
  icon: string;
1178
1205
  decimals: number;
1206
+ displaySymbol: string;
1179
1207
  verified: boolean;
1208
+ isTest: boolean;
1180
1209
  price: number | null;
1181
1210
  };
1182
1211
  breakdowns: {
@@ -1195,7 +1224,9 @@ declare const eden: {
1195
1224
  address: string;
1196
1225
  icon: string;
1197
1226
  decimals: number;
1227
+ displaySymbol: string;
1198
1228
  verified: boolean;
1229
+ isTest: boolean;
1199
1230
  price: number | null;
1200
1231
  }[];
1201
1232
  Protocols: {
@@ -1275,7 +1306,9 @@ declare const eden: {
1275
1306
  address: string;
1276
1307
  icon: string;
1277
1308
  decimals: number;
1309
+ displaySymbol: string;
1278
1310
  verified: boolean;
1311
+ isTest: boolean;
1279
1312
  price: number | null;
1280
1313
  };
1281
1314
  breakdowns: {
@@ -1294,7 +1327,9 @@ declare const eden: {
1294
1327
  address: string;
1295
1328
  icon: string;
1296
1329
  decimals: number;
1330
+ displaySymbol: string;
1297
1331
  verified: boolean;
1332
+ isTest: boolean;
1298
1333
  price: number | null;
1299
1334
  }[];
1300
1335
  Protocols: {
@@ -1783,6 +1818,20 @@ declare const eden: {
1783
1818
  }>>;
1784
1819
  };
1785
1820
  };
1821
+ positions: {
1822
+ index: {
1823
+ get: (options: {
1824
+ headers?: Record<string, unknown> | undefined;
1825
+ query: {
1826
+ chainId: number;
1827
+ address: string;
1828
+ };
1829
+ fetch?: RequestInit | undefined;
1830
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1831
+ 200: any[];
1832
+ }>>;
1833
+ };
1834
+ };
1786
1835
  };
1787
1836
  };
1788
1837
  type Api = typeof eden;
@@ -1913,7 +1962,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1913
1962
  address: string;
1914
1963
  icon: string;
1915
1964
  decimals: number;
1965
+ displaySymbol: string;
1916
1966
  verified: boolean;
1967
+ isTest: boolean;
1917
1968
  price: number | null;
1918
1969
  };
1919
1970
  amount: bigint;
@@ -1928,7 +1979,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1928
1979
  address: string;
1929
1980
  icon: string;
1930
1981
  decimals: number;
1982
+ displaySymbol: string;
1931
1983
  verified: boolean;
1984
+ isTest: boolean;
1932
1985
  price: number | null;
1933
1986
  }[];
1934
1987
  chain: {
@@ -2012,7 +2065,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2012
2065
  address: string;
2013
2066
  icon: string;
2014
2067
  decimals: number;
2068
+ displaySymbol: string;
2015
2069
  verified: boolean;
2070
+ isTest: boolean;
2016
2071
  price: number | null;
2017
2072
  };
2018
2073
  amount: bigint;
@@ -2027,7 +2082,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2027
2082
  address: string;
2028
2083
  icon: string;
2029
2084
  decimals: number;
2085
+ displaySymbol: string;
2030
2086
  verified: boolean;
2087
+ isTest: boolean;
2031
2088
  price: number | null;
2032
2089
  }[];
2033
2090
  chain: {
@@ -2053,7 +2110,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2053
2110
  tvl: number;
2054
2111
  apr: number;
2055
2112
  dailyRewards: number;
2056
- campaigns: ({
2113
+ campaigns: {
2057
2114
  params: any;
2058
2115
  chain: {
2059
2116
  name: string;
@@ -2068,7 +2125,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2068
2125
  address: string;
2069
2126
  icon: string;
2070
2127
  decimals: number;
2128
+ displaySymbol: string;
2071
2129
  verified: boolean;
2130
+ isTest: boolean;
2072
2131
  price: number | null;
2073
2132
  };
2074
2133
  distributionChain: {
@@ -2096,7 +2155,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2096
2155
  amount: string;
2097
2156
  opportunityId: string;
2098
2157
  creatorAddress: string;
2099
- } | null)[];
2158
+ }[];
2100
2159
  } | null | undefined;
2101
2160
  };
2102
2161
  };
@@ -2121,6 +2180,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2121
2180
  action?: string | undefined;
2122
2181
  mainProtocolId?: string | undefined;
2123
2182
  order?: undefined;
2183
+ test?: boolean | undefined;
2124
2184
  minimumTvl?: number | undefined;
2125
2185
  };
2126
2186
  headers: unknown;
@@ -2166,7 +2226,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2166
2226
  address: string;
2167
2227
  icon: string;
2168
2228
  decimals: number;
2229
+ displaySymbol: string;
2169
2230
  verified: boolean;
2231
+ isTest: boolean;
2170
2232
  price: number | null;
2171
2233
  };
2172
2234
  amount: bigint;
@@ -2181,7 +2243,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2181
2243
  address: string;
2182
2244
  icon: string;
2183
2245
  decimals: number;
2246
+ displaySymbol: string;
2184
2247
  verified: boolean;
2248
+ isTest: boolean;
2185
2249
  price: number | null;
2186
2250
  }[];
2187
2251
  chain: {
@@ -2230,6 +2294,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2230
2294
  action?: string | undefined;
2231
2295
  mainProtocolId?: string | undefined;
2232
2296
  order?: undefined;
2297
+ test?: boolean | undefined;
2233
2298
  minimumTvl?: number | undefined;
2234
2299
  };
2235
2300
  headers: unknown;
@@ -2260,12 +2325,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2260
2325
  action?: string | undefined;
2261
2326
  mainProtocolId?: string | undefined;
2262
2327
  order?: undefined;
2328
+ test?: boolean | undefined;
2263
2329
  minimumTvl?: number | undefined;
2264
2330
  };
2265
2331
  headers: unknown;
2266
2332
  response: {
2267
2333
  200: {
2268
- sum: File;
2334
+ sum: number | null;
2269
2335
  };
2270
2336
  };
2271
2337
  };
@@ -2335,10 +2401,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2335
2401
  campaignId?: string | undefined;
2336
2402
  opportunityId?: string | undefined;
2337
2403
  tokenSymbol?: string | undefined;
2404
+ test?: boolean | undefined;
2338
2405
  };
2339
2406
  headers: unknown;
2340
2407
  response: {
2341
- 200: ({
2408
+ 200: {
2342
2409
  params: any;
2343
2410
  chain: {
2344
2411
  name: string;
@@ -2353,7 +2420,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2353
2420
  address: string;
2354
2421
  icon: string;
2355
2422
  decimals: number;
2423
+ displaySymbol: string;
2356
2424
  verified: boolean;
2425
+ isTest: boolean;
2357
2426
  price: number | null;
2358
2427
  };
2359
2428
  distributionChain: {
@@ -2381,7 +2450,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2381
2450
  amount: string;
2382
2451
  opportunityId: string;
2383
2452
  creatorAddress: string;
2384
- } | null)[];
2453
+ }[];
2385
2454
  };
2386
2455
  };
2387
2456
  };
@@ -2403,6 +2472,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2403
2472
  campaignId?: string | undefined;
2404
2473
  opportunityId?: string | undefined;
2405
2474
  tokenSymbol?: string | undefined;
2475
+ test?: boolean | undefined;
2406
2476
  };
2407
2477
  headers: unknown;
2408
2478
  response: {
@@ -2556,7 +2626,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2556
2626
  address: string;
2557
2627
  icon: string;
2558
2628
  decimals: number;
2629
+ displaySymbol: string;
2559
2630
  verified: boolean;
2631
+ isTest: boolean;
2560
2632
  price?: number | null | undefined;
2561
2633
  } | undefined;
2562
2634
  };
@@ -2585,7 +2657,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2585
2657
  address: string;
2586
2658
  icon: string;
2587
2659
  decimals: number;
2660
+ displaySymbol: string;
2588
2661
  verified: boolean;
2662
+ isTest: boolean;
2589
2663
  } & {
2590
2664
  price?: number | null | undefined;
2591
2665
  } & {
@@ -2618,7 +2692,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2618
2692
  address: string;
2619
2693
  icon: string;
2620
2694
  decimals: number;
2695
+ displaySymbol: string;
2621
2696
  verified: boolean;
2697
+ isTest: boolean;
2622
2698
  } & {
2623
2699
  price?: number | null | undefined;
2624
2700
  })[];
@@ -3281,7 +3357,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3281
3357
  address: string;
3282
3358
  icon: string;
3283
3359
  decimals: number;
3360
+ displaySymbol: string;
3284
3361
  verified: boolean;
3362
+ isTest: boolean;
3285
3363
  price: number | null;
3286
3364
  };
3287
3365
  breakdowns: {
@@ -3300,7 +3378,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3300
3378
  address: string;
3301
3379
  icon: string;
3302
3380
  decimals: number;
3381
+ displaySymbol: string;
3303
3382
  verified: boolean;
3383
+ isTest: boolean;
3304
3384
  price: number | null;
3305
3385
  }[];
3306
3386
  Protocols: {
@@ -3391,7 +3471,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3391
3471
  address: string;
3392
3472
  icon: string;
3393
3473
  decimals: number;
3474
+ displaySymbol: string;
3394
3475
  verified: boolean;
3476
+ isTest: boolean;
3395
3477
  price: number | null;
3396
3478
  };
3397
3479
  breakdowns: {
@@ -3410,7 +3492,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3410
3492
  address: string;
3411
3493
  icon: string;
3412
3494
  decimals: number;
3495
+ displaySymbol: string;
3413
3496
  verified: boolean;
3497
+ isTest: boolean;
3414
3498
  price: number | null;
3415
3499
  }[];
3416
3500
  Protocols: {
@@ -4006,6 +4090,25 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4006
4090
  };
4007
4091
  };
4008
4092
  };
4093
+ } & {
4094
+ v4: {
4095
+ positions: {
4096
+ index: {
4097
+ get: {
4098
+ body: unknown;
4099
+ params: {};
4100
+ query: {
4101
+ chainId: number;
4102
+ address: string;
4103
+ };
4104
+ headers: unknown;
4105
+ response: {
4106
+ 200: any[];
4107
+ };
4108
+ };
4109
+ };
4110
+ };
4111
+ };
4009
4112
  }, {
4010
4113
  derive: {};
4011
4114
  resolve: {};
@@ -4075,7 +4178,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4075
4178
  address: string;
4076
4179
  icon: string;
4077
4180
  decimals: number;
4181
+ displaySymbol: string;
4078
4182
  verified: boolean;
4183
+ isTest: boolean;
4079
4184
  price: number | null;
4080
4185
  };
4081
4186
  amount: bigint;
@@ -4090,7 +4195,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4090
4195
  address: string;
4091
4196
  icon: string;
4092
4197
  decimals: number;
4198
+ displaySymbol: string;
4093
4199
  verified: boolean;
4200
+ isTest: boolean;
4094
4201
  price: number | null;
4095
4202
  }[];
4096
4203
  chain: {
@@ -4165,7 +4272,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4165
4272
  address: string;
4166
4273
  icon: string;
4167
4274
  decimals: number;
4275
+ displaySymbol: string;
4168
4276
  verified: boolean;
4277
+ isTest: boolean;
4169
4278
  price: number | null;
4170
4279
  };
4171
4280
  amount: bigint;
@@ -4180,7 +4289,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4180
4289
  address: string;
4181
4290
  icon: string;
4182
4291
  decimals: number;
4292
+ displaySymbol: string;
4183
4293
  verified: boolean;
4294
+ isTest: boolean;
4184
4295
  price: number | null;
4185
4296
  }[];
4186
4297
  chain: {
@@ -4206,7 +4317,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4206
4317
  tvl: number;
4207
4318
  apr: number;
4208
4319
  dailyRewards: number;
4209
- campaigns: ({
4320
+ campaigns: {
4210
4321
  params: any;
4211
4322
  chain: {
4212
4323
  name: string;
@@ -4221,7 +4332,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4221
4332
  address: string;
4222
4333
  icon: string;
4223
4334
  decimals: number;
4335
+ displaySymbol: string;
4224
4336
  verified: boolean;
4337
+ isTest: boolean;
4225
4338
  price: number | null;
4226
4339
  };
4227
4340
  distributionChain: {
@@ -4249,7 +4362,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4249
4362
  amount: string;
4250
4363
  opportunityId: string;
4251
4364
  creatorAddress: string;
4252
- } | null)[];
4365
+ }[];
4253
4366
  } | null | undefined;
4254
4367
  }>>;
4255
4368
  };
@@ -4291,6 +4404,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4291
4404
  action?: string | undefined;
4292
4405
  mainProtocolId?: string | undefined;
4293
4406
  order?: undefined;
4407
+ test?: boolean | undefined;
4294
4408
  minimumTvl?: number | undefined;
4295
4409
  };
4296
4410
  fetch?: RequestInit | undefined;
@@ -4336,7 +4450,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4336
4450
  address: string;
4337
4451
  icon: string;
4338
4452
  decimals: number;
4453
+ displaySymbol: string;
4339
4454
  verified: boolean;
4455
+ isTest: boolean;
4340
4456
  price: number | null;
4341
4457
  };
4342
4458
  amount: bigint;
@@ -4351,7 +4467,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4351
4467
  address: string;
4352
4468
  icon: string;
4353
4469
  decimals: number;
4470
+ displaySymbol: string;
4354
4471
  verified: boolean;
4472
+ isTest: boolean;
4355
4473
  price: number | null;
4356
4474
  }[];
4357
4475
  chain: {
@@ -4395,6 +4513,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4395
4513
  action?: string | undefined;
4396
4514
  mainProtocolId?: string | undefined;
4397
4515
  order?: undefined;
4516
+ test?: boolean | undefined;
4398
4517
  minimumTvl?: number | undefined;
4399
4518
  };
4400
4519
  fetch?: RequestInit | undefined;
@@ -4419,12 +4538,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4419
4538
  action?: string | undefined;
4420
4539
  mainProtocolId?: string | undefined;
4421
4540
  order?: undefined;
4541
+ test?: boolean | undefined;
4422
4542
  minimumTvl?: number | undefined;
4423
4543
  };
4424
4544
  fetch?: RequestInit | undefined;
4425
4545
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4426
4546
  200: {
4427
- sum: File;
4547
+ sum: number | null;
4428
4548
  };
4429
4549
  }>>;
4430
4550
  }) & {};
@@ -4483,10 +4603,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4483
4603
  campaignId?: string | undefined;
4484
4604
  opportunityId?: string | undefined;
4485
4605
  tokenSymbol?: string | undefined;
4606
+ test?: boolean | undefined;
4486
4607
  };
4487
4608
  fetch?: RequestInit | undefined;
4488
4609
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4489
- 200: ({
4610
+ 200: {
4490
4611
  params: any;
4491
4612
  chain: {
4492
4613
  name: string;
@@ -4501,7 +4622,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4501
4622
  address: string;
4502
4623
  icon: string;
4503
4624
  decimals: number;
4625
+ displaySymbol: string;
4504
4626
  verified: boolean;
4627
+ isTest: boolean;
4505
4628
  price: number | null;
4506
4629
  };
4507
4630
  distributionChain: {
@@ -4529,7 +4652,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4529
4652
  amount: string;
4530
4653
  opportunityId: string;
4531
4654
  creatorAddress: string;
4532
- } | null)[];
4655
+ }[];
4533
4656
  }>>;
4534
4657
  };
4535
4658
  count: {
@@ -4548,6 +4671,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4548
4671
  campaignId?: string | undefined;
4549
4672
  opportunityId?: string | undefined;
4550
4673
  tokenSymbol?: string | undefined;
4674
+ test?: boolean | undefined;
4551
4675
  };
4552
4676
  fetch?: RequestInit | undefined;
4553
4677
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4666,7 +4790,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4666
4790
  address: string;
4667
4791
  icon: string;
4668
4792
  decimals: number;
4793
+ displaySymbol: string;
4669
4794
  verified: boolean;
4795
+ isTest: boolean;
4670
4796
  price?: number | null | undefined;
4671
4797
  } | undefined;
4672
4798
  }>>;
@@ -4690,7 +4816,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4690
4816
  address: string;
4691
4817
  icon: string;
4692
4818
  decimals: number;
4819
+ displaySymbol: string;
4693
4820
  verified: boolean;
4821
+ isTest: boolean;
4694
4822
  } & {
4695
4823
  price?: number | null | undefined;
4696
4824
  } & {
@@ -4718,7 +4846,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4718
4846
  address: string;
4719
4847
  icon: string;
4720
4848
  decimals: number;
4849
+ displaySymbol: string;
4721
4850
  verified: boolean;
4851
+ isTest: boolean;
4722
4852
  } & {
4723
4853
  price?: number | null | undefined;
4724
4854
  })[];
@@ -5190,7 +5320,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5190
5320
  address: string;
5191
5321
  icon: string;
5192
5322
  decimals: number;
5323
+ displaySymbol: string;
5193
5324
  verified: boolean;
5325
+ isTest: boolean;
5194
5326
  price: number | null;
5195
5327
  };
5196
5328
  breakdowns: {
@@ -5209,7 +5341,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5209
5341
  address: string;
5210
5342
  icon: string;
5211
5343
  decimals: number;
5344
+ displaySymbol: string;
5212
5345
  verified: boolean;
5346
+ isTest: boolean;
5213
5347
  price: number | null;
5214
5348
  }[];
5215
5349
  Protocols: {
@@ -5289,7 +5423,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5289
5423
  address: string;
5290
5424
  icon: string;
5291
5425
  decimals: number;
5426
+ displaySymbol: string;
5292
5427
  verified: boolean;
5428
+ isTest: boolean;
5293
5429
  price: number | null;
5294
5430
  };
5295
5431
  breakdowns: {
@@ -5308,7 +5444,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5308
5444
  address: string;
5309
5445
  icon: string;
5310
5446
  decimals: number;
5447
+ displaySymbol: string;
5311
5448
  verified: boolean;
5449
+ isTest: boolean;
5312
5450
  price: number | null;
5313
5451
  }[];
5314
5452
  Protocols: {
@@ -5797,6 +5935,20 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5797
5935
  }>>;
5798
5936
  };
5799
5937
  };
5938
+ positions: {
5939
+ index: {
5940
+ get: (options: {
5941
+ headers?: Record<string, unknown> | undefined;
5942
+ query: {
5943
+ chainId: number;
5944
+ address: string;
5945
+ };
5946
+ fetch?: RequestInit | undefined;
5947
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5948
+ 200: any[];
5949
+ }>>;
5950
+ };
5951
+ };
5800
5952
  };
5801
5953
  };
5802
5954
  export type Opportunity = FromPromise<Api["v4"]["opportunities"]["index"]["get"]>;