@merkl/api 0.10.176 → 0.10.180

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 (114) hide show
  1. package/dist/database/api/.generated/edge.js +6 -6
  2. package/dist/database/api/.generated/index-browser.js +4 -4
  3. package/dist/database/api/.generated/index.d.ts +2 -2
  4. package/dist/database/api/.generated/index.js +6 -6
  5. package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  6. package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  7. package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  8. package/dist/database/api/.generated/package.json +1 -1
  9. package/dist/database/api/.generated/runtime/edge-esm.js +15 -15
  10. package/dist/database/api/.generated/runtime/edge.js +16 -16
  11. package/dist/database/api/.generated/runtime/library.d.ts +23 -34
  12. package/dist/database/api/.generated/runtime/library.js +56 -56
  13. package/dist/database/api/.generated/runtime/react-native.js +23 -23
  14. package/dist/database/api/.generated/runtime/wasm.js +15 -15
  15. package/dist/database/api/.generated/wasm.js +4 -4
  16. package/dist/database/engine/.generated/edge.js +6 -6
  17. package/dist/database/engine/.generated/index-browser.js +4 -4
  18. package/dist/database/engine/.generated/index.d.ts +2 -2
  19. package/dist/database/engine/.generated/index.js +6 -6
  20. package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  21. package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  22. package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  23. package/dist/database/engine/.generated/package.json +1 -1
  24. package/dist/database/engine/.generated/runtime/edge-esm.js +15 -15
  25. package/dist/database/engine/.generated/runtime/edge.js +16 -16
  26. package/dist/database/engine/.generated/runtime/library.d.ts +23 -34
  27. package/dist/database/engine/.generated/runtime/library.js +56 -56
  28. package/dist/database/engine/.generated/runtime/react-native.js +23 -23
  29. package/dist/database/engine/.generated/runtime/wasm.js +15 -15
  30. package/dist/database/engine/.generated/wasm.js +4 -4
  31. package/dist/src/eden/index.d.ts +336 -51
  32. package/dist/src/index.d.ts +136 -17
  33. package/dist/src/index.js +1 -1
  34. package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.js +2 -2
  35. package/dist/src/modules/v4/bucket/bucket.service.d.ts +5 -0
  36. package/dist/src/modules/v4/bucket/bucket.service.js +11 -0
  37. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +11 -13
  38. package/dist/src/modules/v4/campaign/campaign.controller.js +3 -3
  39. package/dist/src/modules/v4/campaign/campaign.repository.js +1 -1
  40. package/dist/src/modules/v4/chain/chain.controller.d.ts +24 -0
  41. package/dist/src/modules/v4/chain/chain.controller.js +8 -2
  42. package/dist/src/modules/v4/chain/chain.model.d.ts +4 -0
  43. package/dist/src/modules/v4/chain/chain.model.js +4 -0
  44. package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -1
  45. package/dist/src/modules/v4/chain/chain.repository.js +3 -0
  46. package/dist/src/modules/v4/chain/chain.service.d.ts +6 -1
  47. package/dist/src/modules/v4/chain/chain.service.js +7 -0
  48. package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
  49. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +1 -1
  50. package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.d.ts +1 -1
  51. package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.d.ts +1 -1
  52. package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.d.ts +1 -1
  53. package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.d.ts +1 -1
  54. package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.js +2 -2
  55. package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.d.ts +1 -1
  56. package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.d.ts +1 -1
  57. package/dist/src/modules/v4/liquidity/index.d.ts +2 -0
  58. package/dist/src/modules/v4/liquidity/index.js +2 -0
  59. package/dist/src/modules/v4/{position/position.controller.d.ts → liquidity/liquidity.controller.d.ts} +3 -3
  60. package/dist/src/modules/v4/{position/position.controller.js → liquidity/liquidity.controller.js} +4 -4
  61. package/dist/src/modules/v4/{position/position.repository.d.ts → liquidity/liquidity.repository.d.ts} +1 -1
  62. package/dist/src/modules/v4/{position/position.repository.js → liquidity/liquidity.repository.js} +1 -1
  63. package/dist/src/modules/v4/liquidity/liquidity.service.d.ts +5 -0
  64. package/dist/src/modules/v4/{position/position.service.js → liquidity/liquidity.service.js} +2 -2
  65. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +34 -0
  66. package/dist/src/modules/v4/opportunity/opportunity.controller.js +11 -2
  67. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +8 -0
  68. package/dist/src/modules/v4/opportunity/opportunity.model.js +5 -0
  69. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +29 -1
  70. package/dist/src/modules/v4/opportunity/opportunity.repository.js +6 -0
  71. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +15 -1
  72. package/dist/src/modules/v4/opportunity/opportunity.service.js +7 -6
  73. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +30 -1
  74. package/dist/src/modules/v4/protocol/protocol.controller.js +9 -2
  75. package/dist/src/modules/v4/protocol/protocol.model.d.ts +10 -1
  76. package/dist/src/modules/v4/protocol/protocol.model.js +9 -0
  77. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +9 -1
  78. package/dist/src/modules/v4/protocol/protocol.repository.js +4 -1
  79. package/dist/src/modules/v4/protocol/protocol.service.d.ts +11 -3
  80. package/dist/src/modules/v4/protocol/protocol.service.js +38 -32
  81. package/dist/src/modules/v4/reward/subservices/converter.js +2 -2
  82. package/dist/src/modules/v4/router.d.ts +136 -17
  83. package/dist/src/modules/v4/router.js +2 -2
  84. package/dist/src/modules/v4/token/token.controller.d.ts +34 -0
  85. package/dist/src/modules/v4/token/token.controller.js +11 -3
  86. package/dist/src/modules/v4/token/token.model.d.ts +9 -0
  87. package/dist/src/modules/v4/token/token.model.js +7 -0
  88. package/dist/src/modules/v4/token/token.repository.d.ts +14 -1
  89. package/dist/src/modules/v4/token/token.repository.js +3 -0
  90. package/dist/src/modules/v4/token/token.service.d.ts +14 -1
  91. package/dist/src/modules/v4/token/token.service.js +7 -0
  92. package/dist/src/routes/v3/blacklist.d.ts +136 -17
  93. package/dist/src/routes/v3/campaigns.d.ts +136 -17
  94. package/dist/src/routes/v3/campaignsInfo.d.ts +136 -17
  95. package/dist/src/routes/v3/multiChainPositions.d.ts +136 -17
  96. package/dist/src/routes/v3/opportunity.d.ts +137 -18
  97. package/dist/src/routes/v3/opportunity.js +1 -1
  98. package/dist/src/routes/v3/positions.d.ts +136 -17
  99. package/dist/src/routes/v3/rewards.d.ts +136 -17
  100. package/dist/src/routes/v3/updates.d.ts +136 -17
  101. package/dist/src/routes/v3/userRewards.d.ts +136 -17
  102. package/dist/src/utils/logger.d.ts +12 -6
  103. package/dist/tsconfig.package.tsbuildinfo +1 -1
  104. package/package.json +24 -24
  105. package/dist/src/modules/v4/position/index.d.ts +0 -2
  106. package/dist/src/modules/v4/position/index.js +0 -2
  107. package/dist/src/modules/v4/position/position.service.d.ts +0 -5
  108. /package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.js +0 -0
  109. /package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.js +0 -0
  110. /package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.js +0 -0
  111. /package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.js +0 -0
  112. /package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.js +0 -0
  113. /package/dist/src/modules/v4/{position/position.model.d.ts → liquidity/liquidity.model.d.ts} +0 -0
  114. /package/dist/src/modules/v4/{position/position.model.js → liquidity/liquidity.model.js} +0 -0
@@ -17,12 +17,12 @@ exports.Prisma = Prisma
17
17
  exports.$Enums = {}
18
18
 
19
19
  /**
20
- * Prisma Client JS version: 6.0.1
21
- * Query Engine version: 5dbef10bdbfb579e07d35cc85fb1518d357cb99e
20
+ * Prisma Client JS version: 6.1.0
21
+ * Query Engine version: 11f085a2012c0f4778414c8db2651556ee0ef959
22
22
  */
23
23
  Prisma.prismaVersion = {
24
- client: "6.0.1",
25
- engine: "5dbef10bdbfb579e07d35cc85fb1518d357cb99e"
24
+ client: "6.1.0",
25
+ engine: "11f085a2012c0f4778414c8db2651556ee0ef959"
26
26
  }
27
27
 
28
28
  Prisma.PrismaClientKnownRequestError = () => {
@@ -249,6 +249,31 @@ declare const eden: {
249
249
  } | null | undefined;
250
250
  }>>;
251
251
  };
252
+ patch: (body: {
253
+ name?: string | undefined;
254
+ tags?: string[] | undefined;
255
+ }, options: {
256
+ headers: {
257
+ authorization: string;
258
+ };
259
+ query?: Record<string, unknown> | undefined;
260
+ fetch?: RequestInit | undefined;
261
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
262
+ 200: {
263
+ name: string;
264
+ type: import("../../database/api/.generated").$Enums.CampaignType;
265
+ id: string;
266
+ status: import("../../database/api/.generated").$Enums.Status;
267
+ tags: string[];
268
+ identifier: string;
269
+ chainId: number;
270
+ action: import("../../database/api/.generated").$Enums.OpportunityAction;
271
+ mainProtocolId: string | null;
272
+ tvl: number;
273
+ apr: number;
274
+ dailyRewards: number;
275
+ };
276
+ }>>;
252
277
  }) & {
253
278
  index: {
254
279
  post: (body: {
@@ -591,19 +616,17 @@ declare const eden: {
591
616
  }>>;
592
617
  };
593
618
  engine: {
594
- "": {
595
- post: (body: unknown, options: {
596
- headers: {
597
- authorization: string;
598
- };
599
- query: {
600
- chainId: number;
601
- };
602
- fetch?: RequestInit | undefined;
603
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
604
- 200: string;
605
- }>>;
606
- };
619
+ post: (body: unknown, options: {
620
+ headers: {
621
+ authorization: string;
622
+ };
623
+ query: {
624
+ chainId: number;
625
+ };
626
+ fetch?: RequestInit | undefined;
627
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
628
+ 200: string;
629
+ }>>;
607
630
  };
608
631
  };
609
632
  };
@@ -624,6 +647,26 @@ declare const eden: {
624
647
  icon: string;
625
648
  } | null;
626
649
  }>>;
650
+ patch: (body: {
651
+ url?: string | undefined;
652
+ description?: string | undefined;
653
+ icon?: string | undefined;
654
+ }, options: {
655
+ headers: {
656
+ authorization: string;
657
+ };
658
+ query?: Record<string, unknown> | undefined;
659
+ fetch?: RequestInit | undefined;
660
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
661
+ 200: {
662
+ name: string;
663
+ url: string;
664
+ description: string;
665
+ id: string;
666
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
667
+ icon: string;
668
+ };
669
+ }>>;
627
670
  }) & {
628
671
  index: {
629
672
  get: (options: {
@@ -644,7 +687,7 @@ declare const eden: {
644
687
  id: string;
645
688
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
646
689
  icon: string;
647
- } & {})[] | null;
690
+ } & {})[];
648
691
  }>>;
649
692
  };
650
693
  count: {
@@ -678,6 +721,31 @@ declare const eden: {
678
721
  price?: number | null | undefined;
679
722
  } | undefined;
680
723
  }>>;
724
+ patch: (body: {
725
+ icon?: string | undefined;
726
+ displaySymbol?: string | undefined;
727
+ isTest?: boolean | undefined;
728
+ }, options: {
729
+ headers: {
730
+ authorization: string;
731
+ };
732
+ query?: Record<string, unknown> | undefined;
733
+ fetch?: RequestInit | undefined;
734
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
735
+ 200: {
736
+ symbol: string;
737
+ name: string | null;
738
+ id: string;
739
+ chainId: number;
740
+ address: string;
741
+ icon: string;
742
+ decimals: number;
743
+ displaySymbol: string;
744
+ verified: boolean;
745
+ isTest: boolean;
746
+ price: number | null;
747
+ };
748
+ }>>;
681
749
  }) & {
682
750
  balances: {
683
751
  get: (options: {
@@ -930,6 +998,21 @@ declare const eden: {
930
998
  }[];
931
999
  } | null;
932
1000
  }>>;
1001
+ patch: (body: {
1002
+ icon?: string | undefined;
1003
+ }, options: {
1004
+ headers: {
1005
+ authorization: string;
1006
+ };
1007
+ query?: Record<string, unknown> | undefined;
1008
+ fetch?: RequestInit | undefined;
1009
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1010
+ 200: {
1011
+ name: string;
1012
+ id: number;
1013
+ icon: string;
1014
+ };
1015
+ }>>;
933
1016
  }) & {
934
1017
  index: {
935
1018
  get: (options: {
@@ -1525,7 +1608,7 @@ declare const eden: {
1525
1608
  id: string;
1526
1609
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1527
1610
  icon: string;
1528
- } & {})[] | null;
1611
+ } & {})[];
1529
1612
  }>>;
1530
1613
  };
1531
1614
  quote: {
@@ -1817,7 +1900,7 @@ declare const eden: {
1817
1900
  }>>;
1818
1901
  };
1819
1902
  };
1820
- positions: {
1903
+ liquidity: {
1821
1904
  index: {
1822
1905
  get: (options: {
1823
1906
  headers?: Record<string, unknown> | undefined;
@@ -1827,7 +1910,7 @@ declare const eden: {
1827
1910
  };
1828
1911
  fetch?: RequestInit | undefined;
1829
1912
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1830
- 200: any[];
1913
+ 200: import("../modules/v4/liquidity").PositionT[];
1831
1914
  }>>;
1832
1915
  };
1833
1916
  };
@@ -2337,6 +2420,40 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2337
2420
  };
2338
2421
  };
2339
2422
  };
2423
+ } & {
2424
+ opportunities: {
2425
+ ":id": {
2426
+ patch: {
2427
+ body: {
2428
+ name?: string | undefined;
2429
+ tags?: string[] | undefined;
2430
+ };
2431
+ params: {
2432
+ id: string;
2433
+ };
2434
+ query: unknown;
2435
+ headers: {
2436
+ authorization: string;
2437
+ };
2438
+ response: {
2439
+ 200: {
2440
+ name: string;
2441
+ type: import("../../database/api/.generated").$Enums.CampaignType;
2442
+ id: string;
2443
+ status: import("../../database/api/.generated").$Enums.Status;
2444
+ tags: string[];
2445
+ identifier: string;
2446
+ chainId: number;
2447
+ action: import("../../database/api/.generated").$Enums.OpportunityAction;
2448
+ mainProtocolId: string | null;
2449
+ tvl: number;
2450
+ apr: number;
2451
+ dailyRewards: number;
2452
+ };
2453
+ };
2454
+ };
2455
+ };
2456
+ };
2340
2457
  };
2341
2458
  } & {
2342
2459
  v4: {
@@ -2520,19 +2637,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2520
2637
  } & {
2521
2638
  "campaigns-to-process": {
2522
2639
  engine: {
2523
- "": {
2524
- post: {
2525
- body: unknown;
2526
- params: {};
2527
- query: {
2528
- chainId: number;
2529
- };
2530
- headers: {
2531
- authorization: string;
2532
- };
2533
- response: {
2534
- 200: string;
2535
- };
2640
+ post: {
2641
+ body: unknown;
2642
+ params: {};
2643
+ query: {
2644
+ chainId: number;
2645
+ };
2646
+ headers: {
2647
+ authorization: string;
2648
+ };
2649
+ response: {
2650
+ 200: string;
2536
2651
  };
2537
2652
  };
2538
2653
  };
@@ -2585,7 +2700,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2585
2700
  id: string;
2586
2701
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
2587
2702
  icon: string;
2588
- } & {})[] | null;
2703
+ } & {})[];
2589
2704
  };
2590
2705
  };
2591
2706
  };
@@ -2604,6 +2719,35 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2604
2719
  };
2605
2720
  };
2606
2721
  };
2722
+ } & {
2723
+ protocols: {
2724
+ ":id": {
2725
+ patch: {
2726
+ body: {
2727
+ url?: string | undefined;
2728
+ description?: string | undefined;
2729
+ icon?: string | undefined;
2730
+ };
2731
+ params: {
2732
+ id: string;
2733
+ };
2734
+ query: unknown;
2735
+ headers: {
2736
+ authorization: string;
2737
+ };
2738
+ response: {
2739
+ 200: {
2740
+ name: string;
2741
+ url: string;
2742
+ description: string;
2743
+ id: string;
2744
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
2745
+ icon: string;
2746
+ };
2747
+ };
2748
+ };
2749
+ };
2750
+ };
2607
2751
  };
2608
2752
  } & {
2609
2753
  v4: {
@@ -2720,6 +2864,40 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2720
2864
  };
2721
2865
  };
2722
2866
  };
2867
+ } & {
2868
+ tokens: {
2869
+ ":id": {
2870
+ patch: {
2871
+ body: {
2872
+ icon?: string | undefined;
2873
+ displaySymbol?: string | undefined;
2874
+ isTest?: boolean | undefined;
2875
+ };
2876
+ params: {
2877
+ id: string;
2878
+ };
2879
+ query: unknown;
2880
+ headers: {
2881
+ authorization: string;
2882
+ };
2883
+ response: {
2884
+ 200: {
2885
+ symbol: string;
2886
+ name: string | null;
2887
+ id: string;
2888
+ chainId: number;
2889
+ address: string;
2890
+ icon: string;
2891
+ decimals: number;
2892
+ displaySymbol: string;
2893
+ verified: boolean;
2894
+ isTest: boolean;
2895
+ price: number | null;
2896
+ };
2897
+ };
2898
+ };
2899
+ };
2900
+ };
2723
2901
  };
2724
2902
  } & {
2725
2903
  v4: {
@@ -2999,6 +3177,30 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2999
3177
  };
3000
3178
  };
3001
3179
  };
3180
+ } & {
3181
+ chains: {
3182
+ ":chainId": {
3183
+ patch: {
3184
+ body: {
3185
+ icon?: string | undefined;
3186
+ };
3187
+ params: {
3188
+ chainId: number;
3189
+ };
3190
+ query: unknown;
3191
+ headers: {
3192
+ authorization: string;
3193
+ };
3194
+ response: {
3195
+ 200: {
3196
+ name: string;
3197
+ id: number;
3198
+ icon: string;
3199
+ };
3200
+ };
3201
+ };
3202
+ };
3203
+ };
3002
3204
  };
3003
3205
  } & {
3004
3206
  v4: {
@@ -3699,7 +3901,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3699
3901
  id: string;
3700
3902
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3701
3903
  icon: string;
3702
- } & {})[] | null;
3904
+ } & {})[];
3703
3905
  };
3704
3906
  };
3705
3907
  };
@@ -4090,7 +4292,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4090
4292
  };
4091
4293
  } & {
4092
4294
  v4: {
4093
- positions: {
4295
+ liquidity: {
4094
4296
  index: {
4095
4297
  get: {
4096
4298
  body: unknown;
@@ -4101,7 +4303,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4101
4303
  };
4102
4304
  headers: unknown;
4103
4305
  response: {
4104
- 200: any[];
4306
+ 200: import("../modules/v4/liquidity").PositionT[];
4105
4307
  };
4106
4308
  };
4107
4309
  };
@@ -4364,6 +4566,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4364
4566
  } | null | undefined;
4365
4567
  }>>;
4366
4568
  };
4569
+ patch: (body: {
4570
+ name?: string | undefined;
4571
+ tags?: string[] | undefined;
4572
+ }, options: {
4573
+ headers: {
4574
+ authorization: string;
4575
+ };
4576
+ query?: Record<string, unknown> | undefined;
4577
+ fetch?: RequestInit | undefined;
4578
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4579
+ 200: {
4580
+ name: string;
4581
+ type: import("../../database/api/.generated").$Enums.CampaignType;
4582
+ id: string;
4583
+ status: import("../../database/api/.generated").$Enums.Status;
4584
+ tags: string[];
4585
+ identifier: string;
4586
+ chainId: number;
4587
+ action: import("../../database/api/.generated").$Enums.OpportunityAction;
4588
+ mainProtocolId: string | null;
4589
+ tvl: number;
4590
+ apr: number;
4591
+ dailyRewards: number;
4592
+ };
4593
+ }>>;
4367
4594
  }) & {
4368
4595
  index: {
4369
4596
  post: (body: {
@@ -4706,19 +4933,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4706
4933
  }>>;
4707
4934
  };
4708
4935
  engine: {
4709
- "": {
4710
- post: (body: unknown, options: {
4711
- headers: {
4712
- authorization: string;
4713
- };
4714
- query: {
4715
- chainId: number;
4716
- };
4717
- fetch?: RequestInit | undefined;
4718
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4719
- 200: string;
4720
- }>>;
4721
- };
4936
+ post: (body: unknown, options: {
4937
+ headers: {
4938
+ authorization: string;
4939
+ };
4940
+ query: {
4941
+ chainId: number;
4942
+ };
4943
+ fetch?: RequestInit | undefined;
4944
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4945
+ 200: string;
4946
+ }>>;
4722
4947
  };
4723
4948
  };
4724
4949
  };
@@ -4739,6 +4964,26 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4739
4964
  icon: string;
4740
4965
  } | null;
4741
4966
  }>>;
4967
+ patch: (body: {
4968
+ url?: string | undefined;
4969
+ description?: string | undefined;
4970
+ icon?: string | undefined;
4971
+ }, options: {
4972
+ headers: {
4973
+ authorization: string;
4974
+ };
4975
+ query?: Record<string, unknown> | undefined;
4976
+ fetch?: RequestInit | undefined;
4977
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4978
+ 200: {
4979
+ name: string;
4980
+ url: string;
4981
+ description: string;
4982
+ id: string;
4983
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4984
+ icon: string;
4985
+ };
4986
+ }>>;
4742
4987
  }) & {
4743
4988
  index: {
4744
4989
  get: (options: {
@@ -4759,7 +5004,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4759
5004
  id: string;
4760
5005
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4761
5006
  icon: string;
4762
- } & {})[] | null;
5007
+ } & {})[];
4763
5008
  }>>;
4764
5009
  };
4765
5010
  count: {
@@ -4793,6 +5038,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4793
5038
  price?: number | null | undefined;
4794
5039
  } | undefined;
4795
5040
  }>>;
5041
+ patch: (body: {
5042
+ icon?: string | undefined;
5043
+ displaySymbol?: string | undefined;
5044
+ isTest?: boolean | undefined;
5045
+ }, options: {
5046
+ headers: {
5047
+ authorization: string;
5048
+ };
5049
+ query?: Record<string, unknown> | undefined;
5050
+ fetch?: RequestInit | undefined;
5051
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5052
+ 200: {
5053
+ symbol: string;
5054
+ name: string | null;
5055
+ id: string;
5056
+ chainId: number;
5057
+ address: string;
5058
+ icon: string;
5059
+ decimals: number;
5060
+ displaySymbol: string;
5061
+ verified: boolean;
5062
+ isTest: boolean;
5063
+ price: number | null;
5064
+ };
5065
+ }>>;
4796
5066
  }) & {
4797
5067
  balances: {
4798
5068
  get: (options: {
@@ -5045,6 +5315,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5045
5315
  }[];
5046
5316
  } | null;
5047
5317
  }>>;
5318
+ patch: (body: {
5319
+ icon?: string | undefined;
5320
+ }, options: {
5321
+ headers: {
5322
+ authorization: string;
5323
+ };
5324
+ query?: Record<string, unknown> | undefined;
5325
+ fetch?: RequestInit | undefined;
5326
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5327
+ 200: {
5328
+ name: string;
5329
+ id: number;
5330
+ icon: string;
5331
+ };
5332
+ }>>;
5048
5333
  }) & {
5049
5334
  index: {
5050
5335
  get: (options: {
@@ -5640,7 +5925,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5640
5925
  id: string;
5641
5926
  tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
5642
5927
  icon: string;
5643
- } & {})[] | null;
5928
+ } & {})[];
5644
5929
  }>>;
5645
5930
  };
5646
5931
  quote: {
@@ -5932,7 +6217,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5932
6217
  }>>;
5933
6218
  };
5934
6219
  };
5935
- positions: {
6220
+ liquidity: {
5936
6221
  index: {
5937
6222
  get: (options: {
5938
6223
  headers?: Record<string, unknown> | undefined;
@@ -5942,7 +6227,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5942
6227
  };
5943
6228
  fetch?: RequestInit | undefined;
5944
6229
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5945
- 200: any[];
6230
+ 200: import("../modules/v4/liquidity").PositionT[];
5946
6231
  }>>;
5947
6232
  };
5948
6233
  };