@merkl/api 0.10.168 → 0.10.170

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -18,6 +18,7 @@ import Elysia from "elysia";
18
18
  import { DynamicDataController } from "./dynamicData";
19
19
  import { InteractionController } from "./interaction/interaction.controller";
20
20
  import { MerklRootController } from "./merklRoot";
21
+ import { PositionController } from "./position/position.controller";
21
22
  import { StatusController } from "./status";
22
23
  import { UserController } from "./user";
23
24
  // ─── V4 Router ───────────────────────────────────────────────────────────────
@@ -57,4 +58,5 @@ export const v4 = new Elysia({ tags: ["v4"], prefix: "/v4" })
57
58
  .use(InteractionController)
58
59
  .use(AccountingController)
59
60
  .use(DynamicDataController)
60
- .use(StatusController);
61
+ .use(StatusController)
62
+ .use(PositionController);
@@ -30,7 +30,9 @@ export declare const TokenController: Elysia<"/tokens", false, {
30
30
  address: string;
31
31
  icon: string;
32
32
  decimals: number;
33
+ displaySymbol: string;
33
34
  verified: boolean;
35
+ isTest: boolean;
34
36
  price?: number | null | undefined;
35
37
  } | undefined;
36
38
  };
@@ -59,7 +61,9 @@ export declare const TokenController: Elysia<"/tokens", false, {
59
61
  address: string;
60
62
  icon: string;
61
63
  decimals: number;
64
+ displaySymbol: string;
62
65
  verified: boolean;
66
+ isTest: boolean;
63
67
  } & {
64
68
  price?: number | null | undefined;
65
69
  } & {
@@ -92,7 +96,9 @@ export declare const TokenController: Elysia<"/tokens", false, {
92
96
  address: string;
93
97
  icon: string;
94
98
  decimals: number;
99
+ displaySymbol: string;
95
100
  verified: boolean;
101
+ isTest: boolean;
96
102
  } & {
97
103
  price?: number | null | undefined;
98
104
  })[];
@@ -21,7 +21,9 @@ export declare abstract class TokenService {
21
21
  address: string;
22
22
  icon: string;
23
23
  decimals: number;
24
+ displaySymbol: string;
24
25
  verified: boolean;
26
+ isTest: boolean;
25
27
  } & {
26
28
  price?: number | null | undefined;
27
29
  } & {
@@ -40,7 +42,9 @@ export declare abstract class TokenService {
40
42
  address: string;
41
43
  icon: string;
42
44
  decimals: number;
45
+ displaySymbol: string;
43
46
  verified: boolean;
47
+ isTest: boolean;
44
48
  } & {
45
49
  price?: number | null | undefined;
46
50
  } & {
@@ -56,7 +60,9 @@ export declare abstract class TokenService {
56
60
  address: string;
57
61
  icon: string;
58
62
  decimals: number;
63
+ displaySymbol: string;
59
64
  verified: boolean;
65
+ isTest: boolean;
60
66
  } & {
61
67
  price?: number | null | undefined;
62
68
  }, "id">;
@@ -100,7 +106,9 @@ export declare abstract class TokenService {
100
106
  address: string;
101
107
  icon: string;
102
108
  decimals: number;
109
+ displaySymbol: string;
103
110
  verified: boolean;
111
+ isTest: boolean;
104
112
  } & {
105
113
  price?: number | null | undefined;
106
114
  }) | undefined>;
@@ -117,7 +125,9 @@ export declare abstract class TokenService {
117
125
  address: string;
118
126
  icon: string;
119
127
  decimals: number;
128
+ displaySymbol: string;
120
129
  verified: boolean;
130
+ isTest: boolean;
121
131
  } & {
122
132
  price?: number | null | undefined;
123
133
  }>;
@@ -134,7 +144,9 @@ export declare abstract class TokenService {
134
144
  address: string;
135
145
  icon: string;
136
146
  decimals: number;
147
+ displaySymbol: string;
137
148
  verified: boolean;
149
+ isTest: boolean;
138
150
  } & {
139
151
  price?: number | null | undefined;
140
152
  })[]>;
@@ -98,7 +98,9 @@ export declare const UserController: Elysia<"/users", false, {
98
98
  address: string;
99
99
  icon: string;
100
100
  decimals: number;
101
+ displaySymbol: string;
101
102
  verified: boolean;
103
+ isTest: boolean;
102
104
  price: number | null;
103
105
  };
104
106
  breakdowns: {
@@ -117,7 +119,9 @@ export declare const UserController: Elysia<"/users", false, {
117
119
  address: string;
118
120
  icon: string;
119
121
  decimals: number;
122
+ displaySymbol: string;
120
123
  verified: boolean;
124
+ isTest: boolean;
121
125
  price: number | null;
122
126
  }[];
123
127
  Protocols: {
@@ -208,7 +212,9 @@ export declare const UserController: Elysia<"/users", false, {
208
212
  address: string;
209
213
  icon: string;
210
214
  decimals: number;
215
+ displaySymbol: string;
211
216
  verified: boolean;
217
+ isTest: boolean;
212
218
  price: number | null;
213
219
  };
214
220
  breakdowns: {
@@ -227,7 +233,9 @@ export declare const UserController: Elysia<"/users", false, {
227
233
  address: string;
228
234
  icon: string;
229
235
  decimals: number;
236
+ displaySymbol: string;
230
237
  verified: boolean;
238
+ isTest: boolean;
231
239
  price: number | null;
232
240
  }[];
233
241
  Protocols: {
@@ -1,10 +1,8 @@
1
- import { Pricer } from "../../utils/pricer";
1
+ import { PriceService } from "../../modules/v4/price";
2
2
  import { t } from "elysia";
3
3
  export const response = t.Array(t.Object({ rate: t.Number(), token: t.String() }));
4
4
  export default (app) => app.get("", async () => {
5
- return await Pricer.load().then(async (pricer) => {
6
- return pricer.getArray();
7
- });
5
+ return await PriceService.findManyArray();
8
6
  }, {
9
7
  query: t.Object({}),
10
8
  tags: ["Onchain"],
@@ -125,7 +125,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
125
125
  address: string;
126
126
  icon: string;
127
127
  decimals: number;
128
+ displaySymbol: string;
128
129
  verified: boolean;
130
+ isTest: boolean;
129
131
  price: number | null;
130
132
  };
131
133
  amount: bigint;
@@ -140,7 +142,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
140
142
  address: string;
141
143
  icon: string;
142
144
  decimals: number;
145
+ displaySymbol: string;
143
146
  verified: boolean;
147
+ isTest: boolean;
144
148
  price: number | null;
145
149
  }[];
146
150
  chain: {
@@ -224,7 +228,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
224
228
  address: string;
225
229
  icon: string;
226
230
  decimals: number;
231
+ displaySymbol: string;
227
232
  verified: boolean;
233
+ isTest: boolean;
228
234
  price: number | null;
229
235
  };
230
236
  amount: bigint;
@@ -239,7 +245,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
239
245
  address: string;
240
246
  icon: string;
241
247
  decimals: number;
248
+ displaySymbol: string;
242
249
  verified: boolean;
250
+ isTest: boolean;
243
251
  price: number | null;
244
252
  }[];
245
253
  chain: {
@@ -265,7 +273,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
265
273
  tvl: number;
266
274
  apr: number;
267
275
  dailyRewards: number;
268
- campaigns: ({
276
+ campaigns: {
269
277
  params: any;
270
278
  chain: {
271
279
  name: string;
@@ -280,7 +288,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
280
288
  address: string;
281
289
  icon: string;
282
290
  decimals: number;
291
+ displaySymbol: string;
283
292
  verified: boolean;
293
+ isTest: boolean;
284
294
  price: number | null;
285
295
  };
286
296
  distributionChain: {
@@ -308,7 +318,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
308
318
  amount: string;
309
319
  opportunityId: string;
310
320
  creatorAddress: string;
311
- } | null)[];
321
+ }[];
312
322
  } | null | undefined;
313
323
  };
314
324
  };
@@ -333,6 +343,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
333
343
  action?: string | undefined;
334
344
  mainProtocolId?: string | undefined;
335
345
  order?: undefined;
346
+ test?: boolean | undefined;
336
347
  minimumTvl?: number | undefined;
337
348
  };
338
349
  headers: unknown;
@@ -378,7 +389,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
378
389
  address: string;
379
390
  icon: string;
380
391
  decimals: number;
392
+ displaySymbol: string;
381
393
  verified: boolean;
394
+ isTest: boolean;
382
395
  price: number | null;
383
396
  };
384
397
  amount: bigint;
@@ -393,7 +406,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
393
406
  address: string;
394
407
  icon: string;
395
408
  decimals: number;
409
+ displaySymbol: string;
396
410
  verified: boolean;
411
+ isTest: boolean;
397
412
  price: number | null;
398
413
  }[];
399
414
  chain: {
@@ -442,6 +457,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
442
457
  action?: string | undefined;
443
458
  mainProtocolId?: string | undefined;
444
459
  order?: undefined;
460
+ test?: boolean | undefined;
445
461
  minimumTvl?: number | undefined;
446
462
  };
447
463
  headers: unknown;
@@ -472,12 +488,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
472
488
  action?: string | undefined;
473
489
  mainProtocolId?: string | undefined;
474
490
  order?: undefined;
491
+ test?: boolean | undefined;
475
492
  minimumTvl?: number | undefined;
476
493
  };
477
494
  headers: unknown;
478
495
  response: {
479
496
  200: {
480
- sum: File;
497
+ sum: number | null;
481
498
  };
482
499
  };
483
500
  };
@@ -547,10 +564,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
547
564
  campaignId?: string | undefined;
548
565
  opportunityId?: string | undefined;
549
566
  tokenSymbol?: string | undefined;
567
+ test?: boolean | undefined;
550
568
  };
551
569
  headers: unknown;
552
570
  response: {
553
- 200: ({
571
+ 200: {
554
572
  params: any;
555
573
  chain: {
556
574
  name: string;
@@ -565,7 +583,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
565
583
  address: string;
566
584
  icon: string;
567
585
  decimals: number;
586
+ displaySymbol: string;
568
587
  verified: boolean;
588
+ isTest: boolean;
569
589
  price: number | null;
570
590
  };
571
591
  distributionChain: {
@@ -593,7 +613,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
593
613
  amount: string;
594
614
  opportunityId: string;
595
615
  creatorAddress: string;
596
- } | null)[];
616
+ }[];
597
617
  };
598
618
  };
599
619
  };
@@ -615,6 +635,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
615
635
  campaignId?: string | undefined;
616
636
  opportunityId?: string | undefined;
617
637
  tokenSymbol?: string | undefined;
638
+ test?: boolean | undefined;
618
639
  };
619
640
  headers: unknown;
620
641
  response: {
@@ -768,7 +789,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
768
789
  address: string;
769
790
  icon: string;
770
791
  decimals: number;
792
+ displaySymbol: string;
771
793
  verified: boolean;
794
+ isTest: boolean;
772
795
  price?: number | null | undefined;
773
796
  } | undefined;
774
797
  };
@@ -797,7 +820,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
797
820
  address: string;
798
821
  icon: string;
799
822
  decimals: number;
823
+ displaySymbol: string;
800
824
  verified: boolean;
825
+ isTest: boolean;
801
826
  } & {
802
827
  price?: number | null | undefined;
803
828
  } & {
@@ -830,7 +855,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
830
855
  address: string;
831
856
  icon: string;
832
857
  decimals: number;
858
+ displaySymbol: string;
833
859
  verified: boolean;
860
+ isTest: boolean;
834
861
  } & {
835
862
  price?: number | null | undefined;
836
863
  })[];
@@ -1493,7 +1520,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1493
1520
  address: string;
1494
1521
  icon: string;
1495
1522
  decimals: number;
1523
+ displaySymbol: string;
1496
1524
  verified: boolean;
1525
+ isTest: boolean;
1497
1526
  price: number | null;
1498
1527
  };
1499
1528
  breakdowns: {
@@ -1512,7 +1541,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1512
1541
  address: string;
1513
1542
  icon: string;
1514
1543
  decimals: number;
1544
+ displaySymbol: string;
1515
1545
  verified: boolean;
1546
+ isTest: boolean;
1516
1547
  price: number | null;
1517
1548
  }[];
1518
1549
  Protocols: {
@@ -1603,7 +1634,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1603
1634
  address: string;
1604
1635
  icon: string;
1605
1636
  decimals: number;
1637
+ displaySymbol: string;
1606
1638
  verified: boolean;
1639
+ isTest: boolean;
1607
1640
  price: number | null;
1608
1641
  };
1609
1642
  breakdowns: {
@@ -1622,7 +1655,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1622
1655
  address: string;
1623
1656
  icon: string;
1624
1657
  decimals: number;
1658
+ displaySymbol: string;
1625
1659
  verified: boolean;
1660
+ isTest: boolean;
1626
1661
  price: number | null;
1627
1662
  }[];
1628
1663
  Protocols: {
@@ -2218,6 +2253,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2218
2253
  };
2219
2254
  };
2220
2255
  };
2256
+ } & {
2257
+ v4: {
2258
+ positions: {
2259
+ index: {
2260
+ get: {
2261
+ body: unknown;
2262
+ params: {};
2263
+ query: {
2264
+ chainId: number;
2265
+ address: string;
2266
+ };
2267
+ headers: unknown;
2268
+ response: {
2269
+ 200: any[];
2270
+ };
2271
+ };
2272
+ };
2273
+ };
2274
+ };
2221
2275
  } & {
2222
2276
  index: {
2223
2277
  get: {
@@ -128,7 +128,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
128
128
  address: string;
129
129
  icon: string;
130
130
  decimals: number;
131
+ displaySymbol: string;
131
132
  verified: boolean;
133
+ isTest: boolean;
132
134
  price: number | null;
133
135
  };
134
136
  amount: bigint;
@@ -143,7 +145,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
143
145
  address: string;
144
146
  icon: string;
145
147
  decimals: number;
148
+ displaySymbol: string;
146
149
  verified: boolean;
150
+ isTest: boolean;
147
151
  price: number | null;
148
152
  }[];
149
153
  chain: {
@@ -227,7 +231,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
227
231
  address: string;
228
232
  icon: string;
229
233
  decimals: number;
234
+ displaySymbol: string;
230
235
  verified: boolean;
236
+ isTest: boolean;
231
237
  price: number | null;
232
238
  };
233
239
  amount: bigint;
@@ -242,7 +248,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
242
248
  address: string;
243
249
  icon: string;
244
250
  decimals: number;
251
+ displaySymbol: string;
245
252
  verified: boolean;
253
+ isTest: boolean;
246
254
  price: number | null;
247
255
  }[];
248
256
  chain: {
@@ -268,7 +276,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
268
276
  tvl: number;
269
277
  apr: number;
270
278
  dailyRewards: number;
271
- campaigns: ({
279
+ campaigns: {
272
280
  params: any;
273
281
  chain: {
274
282
  name: string;
@@ -283,7 +291,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
283
291
  address: string;
284
292
  icon: string;
285
293
  decimals: number;
294
+ displaySymbol: string;
286
295
  verified: boolean;
296
+ isTest: boolean;
287
297
  price: number | null;
288
298
  };
289
299
  distributionChain: {
@@ -311,7 +321,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
311
321
  amount: string;
312
322
  opportunityId: string;
313
323
  creatorAddress: string;
314
- } | null)[];
324
+ }[];
315
325
  } | null | undefined;
316
326
  };
317
327
  };
@@ -336,6 +346,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
336
346
  action?: string | undefined;
337
347
  mainProtocolId?: string | undefined;
338
348
  order?: undefined;
349
+ test?: boolean | undefined;
339
350
  minimumTvl?: number | undefined;
340
351
  };
341
352
  headers: unknown;
@@ -381,7 +392,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
381
392
  address: string;
382
393
  icon: string;
383
394
  decimals: number;
395
+ displaySymbol: string;
384
396
  verified: boolean;
397
+ isTest: boolean;
385
398
  price: number | null;
386
399
  };
387
400
  amount: bigint;
@@ -396,7 +409,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
396
409
  address: string;
397
410
  icon: string;
398
411
  decimals: number;
412
+ displaySymbol: string;
399
413
  verified: boolean;
414
+ isTest: boolean;
400
415
  price: number | null;
401
416
  }[];
402
417
  chain: {
@@ -445,6 +460,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
445
460
  action?: string | undefined;
446
461
  mainProtocolId?: string | undefined;
447
462
  order?: undefined;
463
+ test?: boolean | undefined;
448
464
  minimumTvl?: number | undefined;
449
465
  };
450
466
  headers: unknown;
@@ -475,12 +491,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
475
491
  action?: string | undefined;
476
492
  mainProtocolId?: string | undefined;
477
493
  order?: undefined;
494
+ test?: boolean | undefined;
478
495
  minimumTvl?: number | undefined;
479
496
  };
480
497
  headers: unknown;
481
498
  response: {
482
499
  200: {
483
- sum: File;
500
+ sum: number | null;
484
501
  };
485
502
  };
486
503
  };
@@ -550,10 +567,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
550
567
  campaignId?: string | undefined;
551
568
  opportunityId?: string | undefined;
552
569
  tokenSymbol?: string | undefined;
570
+ test?: boolean | undefined;
553
571
  };
554
572
  headers: unknown;
555
573
  response: {
556
- 200: ({
574
+ 200: {
557
575
  params: any;
558
576
  chain: {
559
577
  name: string;
@@ -568,7 +586,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
568
586
  address: string;
569
587
  icon: string;
570
588
  decimals: number;
589
+ displaySymbol: string;
571
590
  verified: boolean;
591
+ isTest: boolean;
572
592
  price: number | null;
573
593
  };
574
594
  distributionChain: {
@@ -596,7 +616,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
596
616
  amount: string;
597
617
  opportunityId: string;
598
618
  creatorAddress: string;
599
- } | null)[];
619
+ }[];
600
620
  };
601
621
  };
602
622
  };
@@ -618,6 +638,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
618
638
  campaignId?: string | undefined;
619
639
  opportunityId?: string | undefined;
620
640
  tokenSymbol?: string | undefined;
641
+ test?: boolean | undefined;
621
642
  };
622
643
  headers: unknown;
623
644
  response: {
@@ -771,7 +792,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
771
792
  address: string;
772
793
  icon: string;
773
794
  decimals: number;
795
+ displaySymbol: string;
774
796
  verified: boolean;
797
+ isTest: boolean;
775
798
  price?: number | null | undefined;
776
799
  } | undefined;
777
800
  };
@@ -800,7 +823,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
800
823
  address: string;
801
824
  icon: string;
802
825
  decimals: number;
826
+ displaySymbol: string;
803
827
  verified: boolean;
828
+ isTest: boolean;
804
829
  } & {
805
830
  price?: number | null | undefined;
806
831
  } & {
@@ -833,7 +858,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
833
858
  address: string;
834
859
  icon: string;
835
860
  decimals: number;
861
+ displaySymbol: string;
836
862
  verified: boolean;
863
+ isTest: boolean;
837
864
  } & {
838
865
  price?: number | null | undefined;
839
866
  })[];
@@ -1496,7 +1523,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1496
1523
  address: string;
1497
1524
  icon: string;
1498
1525
  decimals: number;
1526
+ displaySymbol: string;
1499
1527
  verified: boolean;
1528
+ isTest: boolean;
1500
1529
  price: number | null;
1501
1530
  };
1502
1531
  breakdowns: {
@@ -1515,7 +1544,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1515
1544
  address: string;
1516
1545
  icon: string;
1517
1546
  decimals: number;
1547
+ displaySymbol: string;
1518
1548
  verified: boolean;
1549
+ isTest: boolean;
1519
1550
  price: number | null;
1520
1551
  }[];
1521
1552
  Protocols: {
@@ -1606,7 +1637,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1606
1637
  address: string;
1607
1638
  icon: string;
1608
1639
  decimals: number;
1640
+ displaySymbol: string;
1609
1641
  verified: boolean;
1642
+ isTest: boolean;
1610
1643
  price: number | null;
1611
1644
  };
1612
1645
  breakdowns: {
@@ -1625,7 +1658,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1625
1658
  address: string;
1626
1659
  icon: string;
1627
1660
  decimals: number;
1661
+ displaySymbol: string;
1628
1662
  verified: boolean;
1663
+ isTest: boolean;
1629
1664
  price: number | null;
1630
1665
  }[];
1631
1666
  Protocols: {
@@ -2221,13 +2256,32 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2221
2256
  };
2222
2257
  };
2223
2258
  };
2259
+ } & {
2260
+ v4: {
2261
+ positions: {
2262
+ index: {
2263
+ get: {
2264
+ body: unknown;
2265
+ params: {};
2266
+ query: {
2267
+ chainId: number;
2268
+ address: string;
2269
+ };
2270
+ headers: unknown;
2271
+ response: {
2272
+ 200: any[];
2273
+ };
2274
+ };
2275
+ };
2276
+ };
2277
+ };
2224
2278
  } & {
2225
2279
  index: {
2226
2280
  get: {
2227
2281
  body: unknown;
2228
2282
  params: {};
2229
2283
  query: {
2230
- types?: string | number | number[] | string[] | undefined;
2284
+ types?: string | number | string[] | number[] | undefined;
2231
2285
  live?: boolean | undefined;
2232
2286
  chainIds?: string | string[] | undefined;
2233
2287
  creatorTag?: string | undefined;