@compass-labs/api-sdk 0.0.27 → 0.0.29

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 (220) hide show
  1. package/FUNCTIONS.md +4 -3
  2. package/README.md +21 -13
  3. package/bin/mcp-server.js +1255 -558
  4. package/bin/mcp-server.js.map +30 -15
  5. package/dist/commonjs/funcs/aaveV3AvgRate.d.ts +18 -0
  6. package/dist/commonjs/funcs/aaveV3AvgRate.d.ts.map +1 -0
  7. package/dist/commonjs/funcs/aaveV3AvgRate.js +122 -0
  8. package/dist/commonjs/funcs/aaveV3AvgRate.js.map +1 -0
  9. package/dist/commonjs/lib/config.d.ts +3 -3
  10. package/dist/commonjs/lib/config.js +3 -3
  11. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  12. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  13. package/dist/commonjs/mcp-server/server.js +3 -1
  14. package/dist/commonjs/mcp-server/server.js.map +1 -1
  15. package/dist/commonjs/mcp-server/tools/aaveV3AvgRate.d.ts +8 -0
  16. package/dist/commonjs/mcp-server/tools/aaveV3AvgRate.d.ts.map +1 -0
  17. package/dist/commonjs/mcp-server/tools/aaveV3AvgRate.js +64 -0
  18. package/dist/commonjs/mcp-server/tools/aaveV3AvgRate.js.map +1 -0
  19. package/dist/commonjs/models/components/aaveavgrateresponse.d.ts +57 -0
  20. package/dist/commonjs/models/components/aaveavgrateresponse.d.ts.map +1 -0
  21. package/dist/commonjs/models/components/aaveavgrateresponse.js +98 -0
  22. package/dist/commonjs/models/components/aaveavgrateresponse.js.map +1 -0
  23. package/dist/commonjs/models/components/index.d.ts +12 -0
  24. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/index.js +12 -0
  26. package/dist/commonjs/models/components/index.js.map +1 -1
  27. package/dist/commonjs/models/components/morphoborrowparams.d.ts +71 -0
  28. package/dist/commonjs/models/components/morphoborrowparams.d.ts.map +1 -0
  29. package/dist/commonjs/models/components/morphoborrowparams.js +109 -0
  30. package/dist/commonjs/models/components/morphoborrowparams.js.map +1 -0
  31. package/dist/commonjs/models/components/morphodepositparams.d.ts +66 -0
  32. package/dist/commonjs/models/components/morphodepositparams.d.ts.map +1 -0
  33. package/dist/commonjs/models/components/morphodepositparams.js +105 -0
  34. package/dist/commonjs/models/components/morphodepositparams.js.map +1 -0
  35. package/dist/commonjs/models/components/morphorepayparams.d.ts +47 -0
  36. package/dist/commonjs/models/components/morphorepayparams.d.ts.map +1 -0
  37. package/dist/commonjs/models/components/morphorepayparams.js +89 -0
  38. package/dist/commonjs/models/components/morphorepayparams.js.map +1 -0
  39. package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts +61 -0
  40. package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts.map +1 -0
  41. package/dist/commonjs/models/components/morphosetvaultallowanceparams.js +103 -0
  42. package/dist/commonjs/models/components/morphosetvaultallowanceparams.js.map +1 -0
  43. package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts +71 -0
  44. package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts.map +1 -0
  45. package/dist/commonjs/models/components/morphosupplycollateralparams.js +112 -0
  46. package/dist/commonjs/models/components/morphosupplycollateralparams.js.map +1 -0
  47. package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts +71 -0
  48. package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts.map +1 -0
  49. package/dist/commonjs/models/components/morphowithdrawcollateralparams.js +109 -0
  50. package/dist/commonjs/models/components/morphowithdrawcollateralparams.js.map +1 -0
  51. package/dist/commonjs/models/components/morphowithdrawparams.d.ts +42 -0
  52. package/dist/commonjs/models/components/morphowithdrawparams.d.ts.map +1 -0
  53. package/dist/commonjs/models/components/morphowithdrawparams.js +82 -0
  54. package/dist/commonjs/models/components/morphowithdrawparams.js.map +1 -0
  55. package/dist/commonjs/models/components/multicallaction.d.ts +15 -4
  56. package/dist/commonjs/models/components/multicallaction.d.ts.map +1 -1
  57. package/dist/commonjs/models/components/multicallaction.js +55 -0
  58. package/dist/commonjs/models/components/multicallaction.js.map +1 -1
  59. package/dist/commonjs/models/components/multicallactiontype.d.ts +33 -0
  60. package/dist/commonjs/models/components/multicallactiontype.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/multicallactiontype.js +11 -0
  62. package/dist/commonjs/models/components/multicallactiontype.js.map +1 -1
  63. package/dist/commonjs/models/components/skybuyparams.d.ts +93 -0
  64. package/dist/commonjs/models/components/skybuyparams.d.ts.map +1 -0
  65. package/dist/commonjs/models/components/skybuyparams.js +125 -0
  66. package/dist/commonjs/models/components/skybuyparams.js.map +1 -0
  67. package/dist/commonjs/models/components/skybuyrequest.d.ts +8 -8
  68. package/dist/commonjs/models/components/skybuyrequest.d.ts.map +1 -1
  69. package/dist/commonjs/models/components/skybuyrequest.js +13 -14
  70. package/dist/commonjs/models/components/skybuyrequest.js.map +1 -1
  71. package/dist/commonjs/models/components/skydepositparams.d.ts +61 -0
  72. package/dist/commonjs/models/components/skydepositparams.d.ts.map +1 -0
  73. package/dist/commonjs/models/components/skydepositparams.js +94 -0
  74. package/dist/commonjs/models/components/skydepositparams.js.map +1 -0
  75. package/dist/commonjs/models/components/skysellparams.d.ts +93 -0
  76. package/dist/commonjs/models/components/skysellparams.d.ts.map +1 -0
  77. package/dist/commonjs/models/components/skysellparams.js +125 -0
  78. package/dist/commonjs/models/components/skysellparams.js.map +1 -0
  79. package/dist/commonjs/models/components/skysellrequest.d.ts +8 -8
  80. package/dist/commonjs/models/components/skysellrequest.d.ts.map +1 -1
  81. package/dist/commonjs/models/components/skysellrequest.js +13 -14
  82. package/dist/commonjs/models/components/skysellrequest.js.map +1 -1
  83. package/dist/commonjs/models/components/skywithdrawparams.d.ts +37 -0
  84. package/dist/commonjs/models/components/skywithdrawparams.d.ts.map +1 -0
  85. package/dist/commonjs/models/components/skywithdrawparams.js +71 -0
  86. package/dist/commonjs/models/components/skywithdrawparams.js.map +1 -0
  87. package/dist/commonjs/models/operations/aaveavgrate.d.ts +244 -0
  88. package/dist/commonjs/models/operations/aaveavgrate.d.ts.map +1 -0
  89. package/dist/commonjs/models/operations/aaveavgrate.js +165 -0
  90. package/dist/commonjs/models/operations/aaveavgrate.js.map +1 -0
  91. package/dist/commonjs/models/operations/index.d.ts +1 -0
  92. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  93. package/dist/commonjs/models/operations/index.js +1 -0
  94. package/dist/commonjs/models/operations/index.js.map +1 -1
  95. package/dist/commonjs/sdk/aavev3.d.ts +7 -0
  96. package/dist/commonjs/sdk/aavev3.d.ts.map +1 -1
  97. package/dist/commonjs/sdk/aavev3.js +10 -0
  98. package/dist/commonjs/sdk/aavev3.js.map +1 -1
  99. package/dist/esm/funcs/aaveV3AvgRate.d.ts +18 -0
  100. package/dist/esm/funcs/aaveV3AvgRate.d.ts.map +1 -0
  101. package/dist/esm/funcs/aaveV3AvgRate.js +86 -0
  102. package/dist/esm/funcs/aaveV3AvgRate.js.map +1 -0
  103. package/dist/esm/lib/config.d.ts +3 -3
  104. package/dist/esm/lib/config.js +3 -3
  105. package/dist/esm/mcp-server/mcp-server.js +1 -1
  106. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  107. package/dist/esm/mcp-server/server.js +3 -1
  108. package/dist/esm/mcp-server/server.js.map +1 -1
  109. package/dist/esm/mcp-server/tools/aaveV3AvgRate.d.ts +8 -0
  110. package/dist/esm/mcp-server/tools/aaveV3AvgRate.d.ts.map +1 -0
  111. package/dist/esm/mcp-server/tools/aaveV3AvgRate.js +28 -0
  112. package/dist/esm/mcp-server/tools/aaveV3AvgRate.js.map +1 -0
  113. package/dist/esm/models/components/aaveavgrateresponse.d.ts +57 -0
  114. package/dist/esm/models/components/aaveavgrateresponse.d.ts.map +1 -0
  115. package/dist/esm/models/components/aaveavgrateresponse.js +60 -0
  116. package/dist/esm/models/components/aaveavgrateresponse.js.map +1 -0
  117. package/dist/esm/models/components/index.d.ts +12 -0
  118. package/dist/esm/models/components/index.d.ts.map +1 -1
  119. package/dist/esm/models/components/index.js +12 -0
  120. package/dist/esm/models/components/index.js.map +1 -1
  121. package/dist/esm/models/components/morphoborrowparams.d.ts +71 -0
  122. package/dist/esm/models/components/morphoborrowparams.d.ts.map +1 -0
  123. package/dist/esm/models/components/morphoborrowparams.js +69 -0
  124. package/dist/esm/models/components/morphoborrowparams.js.map +1 -0
  125. package/dist/esm/models/components/morphodepositparams.d.ts +66 -0
  126. package/dist/esm/models/components/morphodepositparams.d.ts.map +1 -0
  127. package/dist/esm/models/components/morphodepositparams.js +65 -0
  128. package/dist/esm/models/components/morphodepositparams.js.map +1 -0
  129. package/dist/esm/models/components/morphorepayparams.d.ts +47 -0
  130. package/dist/esm/models/components/morphorepayparams.d.ts.map +1 -0
  131. package/dist/esm/models/components/morphorepayparams.js +51 -0
  132. package/dist/esm/models/components/morphorepayparams.js.map +1 -0
  133. package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts +61 -0
  134. package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts.map +1 -0
  135. package/dist/esm/models/components/morphosetvaultallowanceparams.js +63 -0
  136. package/dist/esm/models/components/morphosetvaultallowanceparams.js.map +1 -0
  137. package/dist/esm/models/components/morphosupplycollateralparams.d.ts +71 -0
  138. package/dist/esm/models/components/morphosupplycollateralparams.d.ts.map +1 -0
  139. package/dist/esm/models/components/morphosupplycollateralparams.js +72 -0
  140. package/dist/esm/models/components/morphosupplycollateralparams.js.map +1 -0
  141. package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts +71 -0
  142. package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts.map +1 -0
  143. package/dist/esm/models/components/morphowithdrawcollateralparams.js +69 -0
  144. package/dist/esm/models/components/morphowithdrawcollateralparams.js.map +1 -0
  145. package/dist/esm/models/components/morphowithdrawparams.d.ts +42 -0
  146. package/dist/esm/models/components/morphowithdrawparams.d.ts.map +1 -0
  147. package/dist/esm/models/components/morphowithdrawparams.js +44 -0
  148. package/dist/esm/models/components/morphowithdrawparams.js.map +1 -0
  149. package/dist/esm/models/components/multicallaction.d.ts +15 -4
  150. package/dist/esm/models/components/multicallaction.d.ts.map +1 -1
  151. package/dist/esm/models/components/multicallaction.js +55 -0
  152. package/dist/esm/models/components/multicallaction.js.map +1 -1
  153. package/dist/esm/models/components/multicallactiontype.d.ts +33 -0
  154. package/dist/esm/models/components/multicallactiontype.d.ts.map +1 -1
  155. package/dist/esm/models/components/multicallactiontype.js +11 -0
  156. package/dist/esm/models/components/multicallactiontype.js.map +1 -1
  157. package/dist/esm/models/components/skybuyparams.d.ts +93 -0
  158. package/dist/esm/models/components/skybuyparams.d.ts.map +1 -0
  159. package/dist/esm/models/components/skybuyparams.js +85 -0
  160. package/dist/esm/models/components/skybuyparams.js.map +1 -0
  161. package/dist/esm/models/components/skybuyrequest.d.ts +8 -8
  162. package/dist/esm/models/components/skybuyrequest.d.ts.map +1 -1
  163. package/dist/esm/models/components/skybuyrequest.js +12 -13
  164. package/dist/esm/models/components/skybuyrequest.js.map +1 -1
  165. package/dist/esm/models/components/skydepositparams.d.ts +61 -0
  166. package/dist/esm/models/components/skydepositparams.d.ts.map +1 -0
  167. package/dist/esm/models/components/skydepositparams.js +54 -0
  168. package/dist/esm/models/components/skydepositparams.js.map +1 -0
  169. package/dist/esm/models/components/skysellparams.d.ts +93 -0
  170. package/dist/esm/models/components/skysellparams.d.ts.map +1 -0
  171. package/dist/esm/models/components/skysellparams.js +85 -0
  172. package/dist/esm/models/components/skysellparams.js.map +1 -0
  173. package/dist/esm/models/components/skysellrequest.d.ts +8 -8
  174. package/dist/esm/models/components/skysellrequest.d.ts.map +1 -1
  175. package/dist/esm/models/components/skysellrequest.js +12 -13
  176. package/dist/esm/models/components/skysellrequest.js.map +1 -1
  177. package/dist/esm/models/components/skywithdrawparams.d.ts +37 -0
  178. package/dist/esm/models/components/skywithdrawparams.d.ts.map +1 -0
  179. package/dist/esm/models/components/skywithdrawparams.js +33 -0
  180. package/dist/esm/models/components/skywithdrawparams.js.map +1 -0
  181. package/dist/esm/models/operations/aaveavgrate.d.ts +244 -0
  182. package/dist/esm/models/operations/aaveavgrate.d.ts.map +1 -0
  183. package/dist/esm/models/operations/aaveavgrate.js +127 -0
  184. package/dist/esm/models/operations/aaveavgrate.js.map +1 -0
  185. package/dist/esm/models/operations/index.d.ts +1 -0
  186. package/dist/esm/models/operations/index.d.ts.map +1 -1
  187. package/dist/esm/models/operations/index.js +1 -0
  188. package/dist/esm/models/operations/index.js.map +1 -1
  189. package/dist/esm/sdk/aavev3.d.ts +7 -0
  190. package/dist/esm/sdk/aavev3.d.ts.map +1 -1
  191. package/dist/esm/sdk/aavev3.js +10 -0
  192. package/dist/esm/sdk/aavev3.js.map +1 -1
  193. package/docs/sdks/aavev3/README.md +82 -0
  194. package/jsr.json +1 -1
  195. package/package.json +1 -1
  196. package/src/funcs/aaveV3AvgRate.ts +170 -0
  197. package/src/lib/config.ts +3 -3
  198. package/src/mcp-server/mcp-server.ts +1 -1
  199. package/src/mcp-server/server.ts +3 -1
  200. package/src/mcp-server/tools/aaveV3AvgRate.ts +37 -0
  201. package/src/models/components/aaveavgrateresponse.ts +123 -0
  202. package/src/models/components/index.ts +12 -0
  203. package/src/models/components/morphoborrowparams.ts +154 -0
  204. package/src/models/components/morphodepositparams.ts +145 -0
  205. package/src/models/components/morphorepayparams.ts +104 -0
  206. package/src/models/components/morphosetvaultallowanceparams.ts +145 -0
  207. package/src/models/components/morphosupplycollateralparams.ts +163 -0
  208. package/src/models/components/morphowithdrawcollateralparams.ts +161 -0
  209. package/src/models/components/morphowithdrawparams.ts +92 -0
  210. package/src/models/components/multicallaction.ts +154 -0
  211. package/src/models/components/multicallactiontype.ts +11 -0
  212. package/src/models/components/skybuyparams.ts +168 -0
  213. package/src/models/components/skybuyrequest.ts +16 -14
  214. package/src/models/components/skydepositparams.ts +129 -0
  215. package/src/models/components/skysellparams.ts +168 -0
  216. package/src/models/components/skysellrequest.ts +16 -14
  217. package/src/models/components/skywithdrawparams.ts +76 -0
  218. package/src/models/operations/aaveavgrate.ts +203 -0
  219. package/src/models/operations/index.ts +1 -0
  220. package/src/sdk/aavev3.ts +18 -0
package/bin/mcp-server.js CHANGED
@@ -34185,9 +34185,9 @@ var init_config = __esm(() => {
34185
34185
  SDK_METADATA = {
34186
34186
  language: "typescript",
34187
34187
  openapiDocVersion: "0.0.1",
34188
- sdkVersion: "0.0.27",
34189
- genVersion: "2.603.1",
34190
- userAgent: "speakeasy-sdk/typescript 0.0.27 2.603.1 0.0.1 @compass-labs/api-sdk"
34188
+ sdkVersion: "0.0.29",
34189
+ genVersion: "2.604.2",
34190
+ userAgent: "speakeasy-sdk/typescript 0.0.29 2.604.2 0.0.1 @compass-labs/api-sdk"
34191
34191
  };
34192
34192
  });
34193
34193
 
@@ -35510,6 +35510,51 @@ var init_security = __esm(() => {
35510
35510
  };
35511
35511
  });
35512
35512
 
35513
+ // src/models/components/aaveavgrateresponse.ts
35514
+ var AaveAvgRateResponse$inboundSchema, AaveAvgRateResponse$outboundSchema, AaveAvgRateResponse$;
35515
+ var init_aaveavgrateresponse = __esm(() => {
35516
+ init_lib();
35517
+ init_primitives();
35518
+ AaveAvgRateResponse$inboundSchema = objectType({
35519
+ supply_apy_variable_rate: numberType(),
35520
+ supply_apr_variable_rate: numberType(),
35521
+ borrow_apy_variable_rate: numberType(),
35522
+ borrow_apr_variable_rate: numberType(),
35523
+ borrow_apy_fixed_rate: numberType(),
35524
+ borrow_apr_fixed_rate: numberType()
35525
+ }).transform((v2) => {
35526
+ return remap(v2, {
35527
+ supply_apy_variable_rate: "supplyApyVariableRate",
35528
+ supply_apr_variable_rate: "supplyAprVariableRate",
35529
+ borrow_apy_variable_rate: "borrowApyVariableRate",
35530
+ borrow_apr_variable_rate: "borrowAprVariableRate",
35531
+ borrow_apy_fixed_rate: "borrowApyFixedRate",
35532
+ borrow_apr_fixed_rate: "borrowAprFixedRate"
35533
+ });
35534
+ });
35535
+ AaveAvgRateResponse$outboundSchema = objectType({
35536
+ supplyApyVariableRate: numberType(),
35537
+ supplyAprVariableRate: numberType(),
35538
+ borrowApyVariableRate: numberType(),
35539
+ borrowAprVariableRate: numberType(),
35540
+ borrowApyFixedRate: numberType(),
35541
+ borrowAprFixedRate: numberType()
35542
+ }).transform((v2) => {
35543
+ return remap(v2, {
35544
+ supplyApyVariableRate: "supply_apy_variable_rate",
35545
+ supplyAprVariableRate: "supply_apr_variable_rate",
35546
+ borrowApyVariableRate: "borrow_apy_variable_rate",
35547
+ borrowAprVariableRate: "borrow_apr_variable_rate",
35548
+ borrowApyFixedRate: "borrow_apy_fixed_rate",
35549
+ borrowAprFixedRate: "borrow_apr_fixed_rate"
35550
+ });
35551
+ });
35552
+ ((AaveAvgRateResponse$) => {
35553
+ AaveAvgRateResponse$.inboundSchema = AaveAvgRateResponse$inboundSchema;
35554
+ AaveAvgRateResponse$.outboundSchema = AaveAvgRateResponse$outboundSchema;
35555
+ })(AaveAvgRateResponse$ ||= {});
35556
+ });
35557
+
35513
35558
  // src/models/components/interestratemode.ts
35514
35559
  var InterestRateMode, InterestRateMode$inboundSchema, InterestRateMode$outboundSchema, InterestRateMode$;
35515
35560
  var init_interestratemode = __esm(() => {
@@ -37722,6 +37767,45 @@ var init_marketstate = __esm(() => {
37722
37767
  })(MarketState$ ||= {});
37723
37768
  });
37724
37769
 
37770
+ // src/models/components/morphoborrowparams.ts
37771
+ var MorphoBorrowParamsAmount$inboundSchema, MorphoBorrowParamsAmount$outboundSchema, MorphoBorrowParamsAmount$, MorphoBorrowParams$inboundSchema, MorphoBorrowParams$outboundSchema, MorphoBorrowParams$;
37772
+ var init_morphoborrowparams = __esm(() => {
37773
+ init_lib();
37774
+ init_primitives();
37775
+ MorphoBorrowParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
37776
+ MorphoBorrowParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
37777
+ ((MorphoBorrowParamsAmount$) => {
37778
+ MorphoBorrowParamsAmount$.inboundSchema = MorphoBorrowParamsAmount$inboundSchema;
37779
+ MorphoBorrowParamsAmount$.outboundSchema = MorphoBorrowParamsAmount$outboundSchema;
37780
+ })(MorphoBorrowParamsAmount$ ||= {});
37781
+ MorphoBorrowParams$inboundSchema = objectType({
37782
+ amount: unionType([numberType(), stringType()]),
37783
+ unique_market_key: stringType(),
37784
+ on_behalf_of: nullableType(stringType()).optional(),
37785
+ receiver: nullableType(stringType()).optional()
37786
+ }).transform((v2) => {
37787
+ return remap(v2, {
37788
+ unique_market_key: "uniqueMarketKey",
37789
+ on_behalf_of: "onBehalfOf"
37790
+ });
37791
+ });
37792
+ MorphoBorrowParams$outboundSchema = objectType({
37793
+ amount: unionType([numberType(), stringType()]),
37794
+ uniqueMarketKey: stringType(),
37795
+ onBehalfOf: nullableType(stringType()).optional(),
37796
+ receiver: nullableType(stringType()).optional()
37797
+ }).transform((v2) => {
37798
+ return remap(v2, {
37799
+ uniqueMarketKey: "unique_market_key",
37800
+ onBehalfOf: "on_behalf_of"
37801
+ });
37802
+ });
37803
+ ((MorphoBorrowParams$) => {
37804
+ MorphoBorrowParams$.inboundSchema = MorphoBorrowParams$inboundSchema;
37805
+ MorphoBorrowParams$.outboundSchema = MorphoBorrowParams$outboundSchema;
37806
+ })(MorphoBorrowParams$ ||= {});
37807
+ });
37808
+
37725
37809
  // src/models/components/morphoborrowrequest.ts
37726
37810
  var MorphoBorrowRequestChain, MorphoBorrowRequestAmount$inboundSchema, MorphoBorrowRequestAmount$outboundSchema, MorphoBorrowRequestAmount$, MorphoBorrowRequestChain$inboundSchema, MorphoBorrowRequestChain$outboundSchema, MorphoBorrowRequestChain$, MorphoBorrowRequest$inboundSchema, MorphoBorrowRequest$outboundSchema, MorphoBorrowRequest$;
37727
37811
  var init_morphoborrowrequest = __esm(() => {
@@ -37843,6 +37927,41 @@ var init_morphocheckvaultpositionresponse = __esm(() => {
37843
37927
  })(MorphoCheckVaultPositionResponse$ ||= {});
37844
37928
  });
37845
37929
 
37930
+ // src/models/components/morphodepositparams.ts
37931
+ var MorphoDepositParamsAmount$inboundSchema, MorphoDepositParamsAmount$outboundSchema, MorphoDepositParamsAmount$, MorphoDepositParams$inboundSchema, MorphoDepositParams$outboundSchema, MorphoDepositParams$;
37932
+ var init_morphodepositparams = __esm(() => {
37933
+ init_lib();
37934
+ init_primitives();
37935
+ MorphoDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
37936
+ MorphoDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
37937
+ ((MorphoDepositParamsAmount$) => {
37938
+ MorphoDepositParamsAmount$.inboundSchema = MorphoDepositParamsAmount$inboundSchema;
37939
+ MorphoDepositParamsAmount$.outboundSchema = MorphoDepositParamsAmount$outboundSchema;
37940
+ })(MorphoDepositParamsAmount$ ||= {});
37941
+ MorphoDepositParams$inboundSchema = objectType({
37942
+ vault_address: stringType(),
37943
+ amount: unionType([numberType(), stringType()]),
37944
+ receiver: nullableType(stringType()).optional()
37945
+ }).transform((v2) => {
37946
+ return remap(v2, {
37947
+ vault_address: "vaultAddress"
37948
+ });
37949
+ });
37950
+ MorphoDepositParams$outboundSchema = objectType({
37951
+ vaultAddress: stringType(),
37952
+ amount: unionType([numberType(), stringType()]),
37953
+ receiver: nullableType(stringType()).optional()
37954
+ }).transform((v2) => {
37955
+ return remap(v2, {
37956
+ vaultAddress: "vault_address"
37957
+ });
37958
+ });
37959
+ ((MorphoDepositParams$) => {
37960
+ MorphoDepositParams$.inboundSchema = MorphoDepositParams$inboundSchema;
37961
+ MorphoDepositParams$.outboundSchema = MorphoDepositParams$outboundSchema;
37962
+ })(MorphoDepositParams$ ||= {});
37963
+ });
37964
+
37846
37965
  // src/models/components/morphodepositrequest.ts
37847
37966
  var MorphoDepositRequestChain, MorphoDepositRequestAmount$inboundSchema, MorphoDepositRequestAmount$outboundSchema, MorphoDepositRequestAmount$, MorphoDepositRequestChain$inboundSchema, MorphoDepositRequestChain$outboundSchema, MorphoDepositRequestChain$, MorphoDepositRequest$inboundSchema, MorphoDepositRequest$outboundSchema, MorphoDepositRequest$;
37848
37967
  var init_morphodepositrequest = __esm(() => {
@@ -38046,6 +38165,42 @@ var init_morphogetvaultsresponse = __esm(() => {
38046
38165
  })(MorphoGetVaultsResponse$ ||= {});
38047
38166
  });
38048
38167
 
38168
+ // src/models/components/morphorepayparams.ts
38169
+ var MorphoRepayParams$inboundSchema, MorphoRepayParams$outboundSchema, MorphoRepayParams$;
38170
+ var init_morphorepayparams = __esm(() => {
38171
+ init_lib();
38172
+ init_base64();
38173
+ init_primitives();
38174
+ MorphoRepayParams$inboundSchema = objectType({
38175
+ amount: anyType().optional(),
38176
+ unique_market_key: stringType(),
38177
+ on_behalf_of: nullableType(stringType()).optional(),
38178
+ callback_data: nullableType(zodInbound).optional()
38179
+ }).transform((v2) => {
38180
+ return remap(v2, {
38181
+ unique_market_key: "uniqueMarketKey",
38182
+ on_behalf_of: "onBehalfOf",
38183
+ callback_data: "callbackData"
38184
+ });
38185
+ });
38186
+ MorphoRepayParams$outboundSchema = objectType({
38187
+ amount: anyType().optional(),
38188
+ uniqueMarketKey: stringType(),
38189
+ onBehalfOf: nullableType(stringType()).optional(),
38190
+ callbackData: nullableType(zodOutbound).optional()
38191
+ }).transform((v2) => {
38192
+ return remap(v2, {
38193
+ uniqueMarketKey: "unique_market_key",
38194
+ onBehalfOf: "on_behalf_of",
38195
+ callbackData: "callback_data"
38196
+ });
38197
+ });
38198
+ ((MorphoRepayParams$) => {
38199
+ MorphoRepayParams$.inboundSchema = MorphoRepayParams$inboundSchema;
38200
+ MorphoRepayParams$.outboundSchema = MorphoRepayParams$outboundSchema;
38201
+ })(MorphoRepayParams$ ||= {});
38202
+ });
38203
+
38049
38204
  // src/models/components/morphorepayrequest.ts
38050
38205
  var MorphoRepayRequestChain, MorphoRepayRequestChain$inboundSchema, MorphoRepayRequestChain$outboundSchema, MorphoRepayRequestChain$, MorphoRepayRequest$inboundSchema, MorphoRepayRequest$outboundSchema, MorphoRepayRequest$;
38051
38206
  var init_morphorepayrequest = __esm(() => {
@@ -38096,6 +38251,39 @@ var init_morphorepayrequest = __esm(() => {
38096
38251
  })(MorphoRepayRequest$ ||= {});
38097
38252
  });
38098
38253
 
38254
+ // src/models/components/morphosetvaultallowanceparams.ts
38255
+ var MorphoSetVaultAllowanceParamsAmount$inboundSchema, MorphoSetVaultAllowanceParamsAmount$outboundSchema, MorphoSetVaultAllowanceParamsAmount$, MorphoSetVaultAllowanceParams$inboundSchema, MorphoSetVaultAllowanceParams$outboundSchema, MorphoSetVaultAllowanceParams$;
38256
+ var init_morphosetvaultallowanceparams = __esm(() => {
38257
+ init_lib();
38258
+ init_primitives();
38259
+ MorphoSetVaultAllowanceParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38260
+ MorphoSetVaultAllowanceParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38261
+ ((MorphoSetVaultAllowanceParamsAmount$) => {
38262
+ MorphoSetVaultAllowanceParamsAmount$.inboundSchema = MorphoSetVaultAllowanceParamsAmount$inboundSchema;
38263
+ MorphoSetVaultAllowanceParamsAmount$.outboundSchema = MorphoSetVaultAllowanceParamsAmount$outboundSchema;
38264
+ })(MorphoSetVaultAllowanceParamsAmount$ ||= {});
38265
+ MorphoSetVaultAllowanceParams$inboundSchema = objectType({
38266
+ vault_address: stringType(),
38267
+ amount: unionType([numberType(), stringType()])
38268
+ }).transform((v2) => {
38269
+ return remap(v2, {
38270
+ vault_address: "vaultAddress"
38271
+ });
38272
+ });
38273
+ MorphoSetVaultAllowanceParams$outboundSchema = objectType({
38274
+ vaultAddress: stringType(),
38275
+ amount: unionType([numberType(), stringType()])
38276
+ }).transform((v2) => {
38277
+ return remap(v2, {
38278
+ vaultAddress: "vault_address"
38279
+ });
38280
+ });
38281
+ ((MorphoSetVaultAllowanceParams$) => {
38282
+ MorphoSetVaultAllowanceParams$.inboundSchema = MorphoSetVaultAllowanceParams$inboundSchema;
38283
+ MorphoSetVaultAllowanceParams$.outboundSchema = MorphoSetVaultAllowanceParams$outboundSchema;
38284
+ })(MorphoSetVaultAllowanceParams$ ||= {});
38285
+ });
38286
+
38099
38287
  // src/models/components/morphosetvaultallowancerequest.ts
38100
38288
  var MorphoSetVaultAllowanceRequestChain, MorphoSetVaultAllowanceRequestAmount$inboundSchema, MorphoSetVaultAllowanceRequestAmount$outboundSchema, MorphoSetVaultAllowanceRequestAmount$, MorphoSetVaultAllowanceRequestChain$inboundSchema, MorphoSetVaultAllowanceRequestChain$outboundSchema, MorphoSetVaultAllowanceRequestChain$, MorphoSetVaultAllowanceRequest$inboundSchema, MorphoSetVaultAllowanceRequest$outboundSchema, MorphoSetVaultAllowanceRequest$;
38101
38289
  var init_morphosetvaultallowancerequest = __esm(() => {
@@ -38143,6 +38331,48 @@ var init_morphosetvaultallowancerequest = __esm(() => {
38143
38331
  })(MorphoSetVaultAllowanceRequest$ ||= {});
38144
38332
  });
38145
38333
 
38334
+ // src/models/components/morphosupplycollateralparams.ts
38335
+ var MorphoSupplyCollateralParamsAmount$inboundSchema, MorphoSupplyCollateralParamsAmount$outboundSchema, MorphoSupplyCollateralParamsAmount$, MorphoSupplyCollateralParams$inboundSchema, MorphoSupplyCollateralParams$outboundSchema, MorphoSupplyCollateralParams$;
38336
+ var init_morphosupplycollateralparams = __esm(() => {
38337
+ init_lib();
38338
+ init_base64();
38339
+ init_primitives();
38340
+ MorphoSupplyCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38341
+ MorphoSupplyCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38342
+ ((MorphoSupplyCollateralParamsAmount$) => {
38343
+ MorphoSupplyCollateralParamsAmount$.inboundSchema = MorphoSupplyCollateralParamsAmount$inboundSchema;
38344
+ MorphoSupplyCollateralParamsAmount$.outboundSchema = MorphoSupplyCollateralParamsAmount$outboundSchema;
38345
+ })(MorphoSupplyCollateralParamsAmount$ ||= {});
38346
+ MorphoSupplyCollateralParams$inboundSchema = objectType({
38347
+ amount: unionType([numberType(), stringType()]),
38348
+ unique_market_key: stringType(),
38349
+ on_behalf_of: nullableType(stringType()).optional(),
38350
+ callback_data: nullableType(zodInbound).optional()
38351
+ }).transform((v2) => {
38352
+ return remap(v2, {
38353
+ unique_market_key: "uniqueMarketKey",
38354
+ on_behalf_of: "onBehalfOf",
38355
+ callback_data: "callbackData"
38356
+ });
38357
+ });
38358
+ MorphoSupplyCollateralParams$outboundSchema = objectType({
38359
+ amount: unionType([numberType(), stringType()]),
38360
+ uniqueMarketKey: stringType(),
38361
+ onBehalfOf: nullableType(stringType()).optional(),
38362
+ callbackData: nullableType(zodOutbound).optional()
38363
+ }).transform((v2) => {
38364
+ return remap(v2, {
38365
+ uniqueMarketKey: "unique_market_key",
38366
+ onBehalfOf: "on_behalf_of",
38367
+ callbackData: "callback_data"
38368
+ });
38369
+ });
38370
+ ((MorphoSupplyCollateralParams$) => {
38371
+ MorphoSupplyCollateralParams$.inboundSchema = MorphoSupplyCollateralParams$inboundSchema;
38372
+ MorphoSupplyCollateralParams$.outboundSchema = MorphoSupplyCollateralParams$outboundSchema;
38373
+ })(MorphoSupplyCollateralParams$ ||= {});
38374
+ });
38375
+
38146
38376
  // src/models/components/morphosupplycollateralrequest.ts
38147
38377
  var MorphoSupplyCollateralRequestChain, MorphoSupplyCollateralRequestAmount$inboundSchema, MorphoSupplyCollateralRequestAmount$outboundSchema, MorphoSupplyCollateralRequestAmount$, MorphoSupplyCollateralRequestChain$inboundSchema, MorphoSupplyCollateralRequestChain$outboundSchema, MorphoSupplyCollateralRequestChain$, MorphoSupplyCollateralRequest$inboundSchema, MorphoSupplyCollateralRequest$outboundSchema, MorphoSupplyCollateralRequest$;
38148
38378
  var init_morphosupplycollateralrequest = __esm(() => {
@@ -38199,6 +38429,45 @@ var init_morphosupplycollateralrequest = __esm(() => {
38199
38429
  })(MorphoSupplyCollateralRequest$ ||= {});
38200
38430
  });
38201
38431
 
38432
+ // src/models/components/morphowithdrawcollateralparams.ts
38433
+ var MorphoWithdrawCollateralParamsAmount$inboundSchema, MorphoWithdrawCollateralParamsAmount$outboundSchema, MorphoWithdrawCollateralParamsAmount$, MorphoWithdrawCollateralParams$inboundSchema, MorphoWithdrawCollateralParams$outboundSchema, MorphoWithdrawCollateralParams$;
38434
+ var init_morphowithdrawcollateralparams = __esm(() => {
38435
+ init_lib();
38436
+ init_primitives();
38437
+ MorphoWithdrawCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38438
+ MorphoWithdrawCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38439
+ ((MorphoWithdrawCollateralParamsAmount$) => {
38440
+ MorphoWithdrawCollateralParamsAmount$.inboundSchema = MorphoWithdrawCollateralParamsAmount$inboundSchema;
38441
+ MorphoWithdrawCollateralParamsAmount$.outboundSchema = MorphoWithdrawCollateralParamsAmount$outboundSchema;
38442
+ })(MorphoWithdrawCollateralParamsAmount$ ||= {});
38443
+ MorphoWithdrawCollateralParams$inboundSchema = objectType({
38444
+ amount: unionType([numberType(), stringType()]),
38445
+ unique_market_key: stringType(),
38446
+ on_behalf_of: nullableType(stringType()).optional(),
38447
+ receiver: nullableType(stringType()).optional()
38448
+ }).transform((v2) => {
38449
+ return remap(v2, {
38450
+ unique_market_key: "uniqueMarketKey",
38451
+ on_behalf_of: "onBehalfOf"
38452
+ });
38453
+ });
38454
+ MorphoWithdrawCollateralParams$outboundSchema = objectType({
38455
+ amount: unionType([numberType(), stringType()]),
38456
+ uniqueMarketKey: stringType(),
38457
+ onBehalfOf: nullableType(stringType()).optional(),
38458
+ receiver: nullableType(stringType()).optional()
38459
+ }).transform((v2) => {
38460
+ return remap(v2, {
38461
+ uniqueMarketKey: "unique_market_key",
38462
+ onBehalfOf: "on_behalf_of"
38463
+ });
38464
+ });
38465
+ ((MorphoWithdrawCollateralParams$) => {
38466
+ MorphoWithdrawCollateralParams$.inboundSchema = MorphoWithdrawCollateralParams$inboundSchema;
38467
+ MorphoWithdrawCollateralParams$.outboundSchema = MorphoWithdrawCollateralParams$outboundSchema;
38468
+ })(MorphoWithdrawCollateralParams$ ||= {});
38469
+ });
38470
+
38202
38471
  // src/models/components/morphowithdrawcollateralrequest.ts
38203
38472
  var MorphoWithdrawCollateralRequestChain, MorphoWithdrawCollateralRequestAmount$inboundSchema, MorphoWithdrawCollateralRequestAmount$outboundSchema, MorphoWithdrawCollateralRequestAmount$, MorphoWithdrawCollateralRequestChain$inboundSchema, MorphoWithdrawCollateralRequestChain$outboundSchema, MorphoWithdrawCollateralRequestChain$, MorphoWithdrawCollateralRequest$inboundSchema, MorphoWithdrawCollateralRequest$outboundSchema, MorphoWithdrawCollateralRequest$;
38204
38473
  var init_morphowithdrawcollateralrequest = __esm(() => {
@@ -38252,6 +38521,35 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
38252
38521
  })(MorphoWithdrawCollateralRequest$ ||= {});
38253
38522
  });
38254
38523
 
38524
+ // src/models/components/morphowithdrawparams.ts
38525
+ var MorphoWithdrawParams$inboundSchema, MorphoWithdrawParams$outboundSchema, MorphoWithdrawParams$;
38526
+ var init_morphowithdrawparams = __esm(() => {
38527
+ init_lib();
38528
+ init_primitives();
38529
+ MorphoWithdrawParams$inboundSchema = objectType({
38530
+ vault_address: stringType(),
38531
+ amount: anyType().optional(),
38532
+ receiver: nullableType(stringType()).optional()
38533
+ }).transform((v2) => {
38534
+ return remap(v2, {
38535
+ vault_address: "vaultAddress"
38536
+ });
38537
+ });
38538
+ MorphoWithdrawParams$outboundSchema = objectType({
38539
+ vaultAddress: stringType(),
38540
+ amount: anyType().optional(),
38541
+ receiver: nullableType(stringType()).optional()
38542
+ }).transform((v2) => {
38543
+ return remap(v2, {
38544
+ vaultAddress: "vault_address"
38545
+ });
38546
+ });
38547
+ ((MorphoWithdrawParams$) => {
38548
+ MorphoWithdrawParams$.inboundSchema = MorphoWithdrawParams$inboundSchema;
38549
+ MorphoWithdrawParams$.outboundSchema = MorphoWithdrawParams$outboundSchema;
38550
+ })(MorphoWithdrawParams$ ||= {});
38551
+ });
38552
+
38255
38553
  // src/models/components/morphowithdrawrequest.ts
38256
38554
  var MorphoWithdrawRequestChain, MorphoWithdrawRequestChain$inboundSchema, MorphoWithdrawRequestChain$outboundSchema, MorphoWithdrawRequestChain$, MorphoWithdrawRequest$inboundSchema, MorphoWithdrawRequest$outboundSchema, MorphoWithdrawRequest$;
38257
38555
  var init_morphowithdrawrequest = __esm(() => {
@@ -38311,6 +38609,17 @@ var init_multicallactiontype = __esm(() => {
38311
38609
  AerodromeSlipstreamWithdrawLiquidity: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY",
38312
38610
  AllowanceIncrease: "ALLOWANCE_INCREASE",
38313
38611
  AllowanceIncreaseAny: "ALLOWANCE_INCREASE_ANY",
38612
+ MorphoBorrow: "MORPHO_BORROW",
38613
+ MorphoDeposit: "MORPHO_DEPOSIT",
38614
+ MorphoRepay: "MORPHO_REPAY",
38615
+ MorphoSetVaultAllowance: "MORPHO_SET_VAULT_ALLOWANCE",
38616
+ MorphoSupplyCollateral: "MORPHO_SUPPLY_COLLATERAL",
38617
+ MorphoWithdraw: "MORPHO_WITHDRAW",
38618
+ MorphoWithdrawCollateral: "MORPHO_WITHDRAW_COLLATERAL",
38619
+ SkyBuy: "SKY_BUY",
38620
+ SkyDeposit: "SKY_DEPOSIT",
38621
+ SkySell: "SKY_SELL",
38622
+ SkyWithdraw: "SKY_WITHDRAW",
38314
38623
  TransferErc20: "TRANSFER_ERC20",
38315
38624
  UniswapAddLiquidity: "UNISWAP_ADD_LIQUIDITY",
38316
38625
  UniswapBuyExactly: "UNISWAP_BUY_EXACTLY",
@@ -38328,6 +38637,134 @@ var init_multicallactiontype = __esm(() => {
38328
38637
  })(MulticallActionType$ ||= {});
38329
38638
  });
38330
38639
 
38640
+ // src/models/components/skybuyparams.ts
38641
+ var SkyBuyParamsTokenIn, SkyBuyParamsTokenIn$inboundSchema, SkyBuyParamsTokenIn$outboundSchema, SkyBuyParamsTokenIn$, SkyBuyParamsAmount$inboundSchema, SkyBuyParamsAmount$outboundSchema, SkyBuyParamsAmount$, SkyBuyParams$inboundSchema, SkyBuyParams$outboundSchema, SkyBuyParams$;
38642
+ var init_skybuyparams = __esm(() => {
38643
+ init_lib();
38644
+ init_primitives();
38645
+ SkyBuyParamsTokenIn = {
38646
+ Dai: "DAI",
38647
+ Usdc: "USDC"
38648
+ };
38649
+ SkyBuyParamsTokenIn$inboundSchema = nativeEnumType(SkyBuyParamsTokenIn);
38650
+ SkyBuyParamsTokenIn$outboundSchema = SkyBuyParamsTokenIn$inboundSchema;
38651
+ ((SkyBuyParamsTokenIn$) => {
38652
+ SkyBuyParamsTokenIn$.inboundSchema = SkyBuyParamsTokenIn$inboundSchema;
38653
+ SkyBuyParamsTokenIn$.outboundSchema = SkyBuyParamsTokenIn$outboundSchema;
38654
+ })(SkyBuyParamsTokenIn$ ||= {});
38655
+ SkyBuyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38656
+ SkyBuyParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38657
+ ((SkyBuyParamsAmount$) => {
38658
+ SkyBuyParamsAmount$.inboundSchema = SkyBuyParamsAmount$inboundSchema;
38659
+ SkyBuyParamsAmount$.outboundSchema = SkyBuyParamsAmount$outboundSchema;
38660
+ })(SkyBuyParamsAmount$ ||= {});
38661
+ SkyBuyParams$inboundSchema = objectType({
38662
+ token_in: SkyBuyParamsTokenIn$inboundSchema,
38663
+ amount: unionType([numberType(), stringType()])
38664
+ }).transform((v2) => {
38665
+ return remap(v2, {
38666
+ token_in: "tokenIn"
38667
+ });
38668
+ });
38669
+ SkyBuyParams$outboundSchema = objectType({
38670
+ tokenIn: SkyBuyParamsTokenIn$outboundSchema,
38671
+ amount: unionType([numberType(), stringType()])
38672
+ }).transform((v2) => {
38673
+ return remap(v2, {
38674
+ tokenIn: "token_in"
38675
+ });
38676
+ });
38677
+ ((SkyBuyParams$) => {
38678
+ SkyBuyParams$.inboundSchema = SkyBuyParams$inboundSchema;
38679
+ SkyBuyParams$.outboundSchema = SkyBuyParams$outboundSchema;
38680
+ })(SkyBuyParams$ ||= {});
38681
+ });
38682
+
38683
+ // src/models/components/skydepositparams.ts
38684
+ var SkyDepositParamsAmount$inboundSchema, SkyDepositParamsAmount$outboundSchema, SkyDepositParamsAmount$, SkyDepositParams$inboundSchema, SkyDepositParams$outboundSchema, SkyDepositParams$;
38685
+ var init_skydepositparams = __esm(() => {
38686
+ init_lib();
38687
+ SkyDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38688
+ SkyDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38689
+ ((SkyDepositParamsAmount$) => {
38690
+ SkyDepositParamsAmount$.inboundSchema = SkyDepositParamsAmount$inboundSchema;
38691
+ SkyDepositParamsAmount$.outboundSchema = SkyDepositParamsAmount$outboundSchema;
38692
+ })(SkyDepositParamsAmount$ ||= {});
38693
+ SkyDepositParams$inboundSchema = objectType({
38694
+ amount: unionType([numberType(), stringType()]),
38695
+ receiver: nullableType(stringType()).optional()
38696
+ });
38697
+ SkyDepositParams$outboundSchema = objectType({
38698
+ amount: unionType([numberType(), stringType()]),
38699
+ receiver: nullableType(stringType()).optional()
38700
+ });
38701
+ ((SkyDepositParams$) => {
38702
+ SkyDepositParams$.inboundSchema = SkyDepositParams$inboundSchema;
38703
+ SkyDepositParams$.outboundSchema = SkyDepositParams$outboundSchema;
38704
+ })(SkyDepositParams$ ||= {});
38705
+ });
38706
+
38707
+ // src/models/components/skysellparams.ts
38708
+ var SkySellParamsTokenOut, SkySellParamsTokenOut$inboundSchema, SkySellParamsTokenOut$outboundSchema, SkySellParamsTokenOut$, SkySellParamsAmount$inboundSchema, SkySellParamsAmount$outboundSchema, SkySellParamsAmount$, SkySellParams$inboundSchema, SkySellParams$outboundSchema, SkySellParams$;
38709
+ var init_skysellparams = __esm(() => {
38710
+ init_lib();
38711
+ init_primitives();
38712
+ SkySellParamsTokenOut = {
38713
+ Dai: "DAI",
38714
+ Usdc: "USDC"
38715
+ };
38716
+ SkySellParamsTokenOut$inboundSchema = nativeEnumType(SkySellParamsTokenOut);
38717
+ SkySellParamsTokenOut$outboundSchema = SkySellParamsTokenOut$inboundSchema;
38718
+ ((SkySellParamsTokenOut$) => {
38719
+ SkySellParamsTokenOut$.inboundSchema = SkySellParamsTokenOut$inboundSchema;
38720
+ SkySellParamsTokenOut$.outboundSchema = SkySellParamsTokenOut$outboundSchema;
38721
+ })(SkySellParamsTokenOut$ ||= {});
38722
+ SkySellParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38723
+ SkySellParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38724
+ ((SkySellParamsAmount$) => {
38725
+ SkySellParamsAmount$.inboundSchema = SkySellParamsAmount$inboundSchema;
38726
+ SkySellParamsAmount$.outboundSchema = SkySellParamsAmount$outboundSchema;
38727
+ })(SkySellParamsAmount$ ||= {});
38728
+ SkySellParams$inboundSchema = objectType({
38729
+ token_out: SkySellParamsTokenOut$inboundSchema,
38730
+ amount: unionType([numberType(), stringType()])
38731
+ }).transform((v2) => {
38732
+ return remap(v2, {
38733
+ token_out: "tokenOut"
38734
+ });
38735
+ });
38736
+ SkySellParams$outboundSchema = objectType({
38737
+ tokenOut: SkySellParamsTokenOut$outboundSchema,
38738
+ amount: unionType([numberType(), stringType()])
38739
+ }).transform((v2) => {
38740
+ return remap(v2, {
38741
+ tokenOut: "token_out"
38742
+ });
38743
+ });
38744
+ ((SkySellParams$) => {
38745
+ SkySellParams$.inboundSchema = SkySellParams$inboundSchema;
38746
+ SkySellParams$.outboundSchema = SkySellParams$outboundSchema;
38747
+ })(SkySellParams$ ||= {});
38748
+ });
38749
+
38750
+ // src/models/components/skywithdrawparams.ts
38751
+ var SkyWithdrawParams$inboundSchema, SkyWithdrawParams$outboundSchema, SkyWithdrawParams$;
38752
+ var init_skywithdrawparams = __esm(() => {
38753
+ init_lib();
38754
+ SkyWithdrawParams$inboundSchema = objectType({
38755
+ amount: anyType().optional(),
38756
+ receiver: nullableType(stringType()).optional()
38757
+ });
38758
+ SkyWithdrawParams$outboundSchema = objectType({
38759
+ amount: anyType().optional(),
38760
+ receiver: nullableType(stringType()).optional()
38761
+ });
38762
+ ((SkyWithdrawParams$) => {
38763
+ SkyWithdrawParams$.inboundSchema = SkyWithdrawParams$inboundSchema;
38764
+ SkyWithdrawParams$.outboundSchema = SkyWithdrawParams$outboundSchema;
38765
+ })(SkyWithdrawParams$ ||= {});
38766
+ });
38767
+
38331
38768
  // src/models/components/tokentransfererc20params.ts
38332
38769
  var TokenTransferErc20ParamsAmount$inboundSchema, TokenTransferErc20ParamsAmount$outboundSchema, TokenTransferErc20ParamsAmount$, TokenTransferErc20Params$inboundSchema, TokenTransferErc20Params$outboundSchema, TokenTransferErc20Params$;
38333
38770
  var init_tokentransfererc20params = __esm(() => {
@@ -38692,7 +39129,18 @@ var init_multicallaction = __esm(() => {
38692
39129
  init_aerodromeslipstreamwithdrawliquidityprovisionparams();
38693
39130
  init_increaseallowanceanyparams();
38694
39131
  init_increaseallowanceparams();
39132
+ init_morphoborrowparams();
39133
+ init_morphodepositparams();
39134
+ init_morphorepayparams();
39135
+ init_morphosetvaultallowanceparams();
39136
+ init_morphosupplycollateralparams();
39137
+ init_morphowithdrawcollateralparams();
39138
+ init_morphowithdrawparams();
38695
39139
  init_multicallactiontype();
39140
+ init_skybuyparams();
39141
+ init_skydepositparams();
39142
+ init_skysellparams();
39143
+ init_skywithdrawparams();
38696
39144
  init_tokentransfererc20params();
38697
39145
  init_uniswapbuyexactlyparams();
38698
39146
  init_uniswapincreaseliquidityprovisionparams();
@@ -38704,15 +39152,26 @@ var init_multicallaction = __esm(() => {
38704
39152
  Body$inboundSchema = unionType([
38705
39153
  UnwrapWethParams$inboundSchema,
38706
39154
  WrapEthParams$inboundSchema,
39155
+ MorphoSetVaultAllowanceParams$inboundSchema,
39156
+ SkyBuyParams$inboundSchema,
39157
+ SkySellParams$inboundSchema,
39158
+ SkyDepositParams$inboundSchema,
39159
+ SkyWithdrawParams$inboundSchema,
38707
39160
  AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema,
38708
39161
  UniswapWithdrawLiquidityProvisionParams$inboundSchema,
38709
39162
  AaveSupplyParams$inboundSchema,
38710
39163
  AaveWithdrawParams$inboundSchema,
39164
+ MorphoDepositParams$inboundSchema,
39165
+ MorphoWithdrawParams$inboundSchema,
38711
39166
  TokenTransferErc20Params$inboundSchema,
38712
39167
  IncreaseAllowanceParams$inboundSchema,
38713
39168
  IncreaseAllowanceAnyParams$inboundSchema,
38714
39169
  AaveBorrowParams$inboundSchema,
38715
39170
  AaveRepayParams$inboundSchema,
39171
+ MorphoBorrowParams$inboundSchema,
39172
+ MorphoRepayParams$inboundSchema,
39173
+ MorphoSupplyCollateralParams$inboundSchema,
39174
+ MorphoWithdrawCollateralParams$inboundSchema,
38716
39175
  AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema,
38717
39176
  AerodromeSlipstreamBuyExactlyParams$inboundSchema,
38718
39177
  AerodromeSlipstreamSellExactlyParams$inboundSchema,
@@ -38725,15 +39184,26 @@ var init_multicallaction = __esm(() => {
38725
39184
  Body$outboundSchema = unionType([
38726
39185
  UnwrapWethParams$outboundSchema,
38727
39186
  WrapEthParams$outboundSchema,
39187
+ MorphoSetVaultAllowanceParams$outboundSchema,
39188
+ SkyBuyParams$outboundSchema,
39189
+ SkySellParams$outboundSchema,
39190
+ SkyDepositParams$outboundSchema,
39191
+ SkyWithdrawParams$outboundSchema,
38728
39192
  AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema,
38729
39193
  UniswapWithdrawLiquidityProvisionParams$outboundSchema,
38730
39194
  AaveSupplyParams$outboundSchema,
38731
39195
  AaveWithdrawParams$outboundSchema,
39196
+ MorphoDepositParams$outboundSchema,
39197
+ MorphoWithdrawParams$outboundSchema,
38732
39198
  TokenTransferErc20Params$outboundSchema,
38733
39199
  IncreaseAllowanceParams$outboundSchema,
38734
39200
  IncreaseAllowanceAnyParams$outboundSchema,
38735
39201
  AaveBorrowParams$outboundSchema,
38736
39202
  AaveRepayParams$outboundSchema,
39203
+ MorphoBorrowParams$outboundSchema,
39204
+ MorphoRepayParams$outboundSchema,
39205
+ MorphoSupplyCollateralParams$outboundSchema,
39206
+ MorphoWithdrawCollateralParams$outboundSchema,
38737
39207
  AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema,
38738
39208
  AerodromeSlipstreamBuyExactlyParams$outboundSchema,
38739
39209
  AerodromeSlipstreamSellExactlyParams$outboundSchema,
@@ -38752,15 +39222,26 @@ var init_multicallaction = __esm(() => {
38752
39222
  body: unionType([
38753
39223
  UnwrapWethParams$inboundSchema,
38754
39224
  WrapEthParams$inboundSchema,
39225
+ MorphoSetVaultAllowanceParams$inboundSchema,
39226
+ SkyBuyParams$inboundSchema,
39227
+ SkySellParams$inboundSchema,
39228
+ SkyDepositParams$inboundSchema,
39229
+ SkyWithdrawParams$inboundSchema,
38755
39230
  AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema,
38756
39231
  UniswapWithdrawLiquidityProvisionParams$inboundSchema,
38757
39232
  AaveSupplyParams$inboundSchema,
38758
39233
  AaveWithdrawParams$inboundSchema,
39234
+ MorphoDepositParams$inboundSchema,
39235
+ MorphoWithdrawParams$inboundSchema,
38759
39236
  TokenTransferErc20Params$inboundSchema,
38760
39237
  IncreaseAllowanceParams$inboundSchema,
38761
39238
  IncreaseAllowanceAnyParams$inboundSchema,
38762
39239
  AaveBorrowParams$inboundSchema,
38763
39240
  AaveRepayParams$inboundSchema,
39241
+ MorphoBorrowParams$inboundSchema,
39242
+ MorphoRepayParams$inboundSchema,
39243
+ MorphoSupplyCollateralParams$inboundSchema,
39244
+ MorphoWithdrawCollateralParams$inboundSchema,
38764
39245
  AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema,
38765
39246
  AerodromeSlipstreamBuyExactlyParams$inboundSchema,
38766
39247
  AerodromeSlipstreamSellExactlyParams$inboundSchema,
@@ -38780,15 +39261,26 @@ var init_multicallaction = __esm(() => {
38780
39261
  body: unionType([
38781
39262
  UnwrapWethParams$outboundSchema,
38782
39263
  WrapEthParams$outboundSchema,
39264
+ MorphoSetVaultAllowanceParams$outboundSchema,
39265
+ SkyBuyParams$outboundSchema,
39266
+ SkySellParams$outboundSchema,
39267
+ SkyDepositParams$outboundSchema,
39268
+ SkyWithdrawParams$outboundSchema,
38783
39269
  AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema,
38784
39270
  UniswapWithdrawLiquidityProvisionParams$outboundSchema,
38785
39271
  AaveSupplyParams$outboundSchema,
38786
39272
  AaveWithdrawParams$outboundSchema,
39273
+ MorphoDepositParams$outboundSchema,
39274
+ MorphoWithdrawParams$outboundSchema,
38787
39275
  TokenTransferErc20Params$outboundSchema,
38788
39276
  IncreaseAllowanceParams$outboundSchema,
38789
39277
  IncreaseAllowanceAnyParams$outboundSchema,
38790
39278
  AaveBorrowParams$outboundSchema,
38791
39279
  AaveRepayParams$outboundSchema,
39280
+ MorphoBorrowParams$outboundSchema,
39281
+ MorphoRepayParams$outboundSchema,
39282
+ MorphoSupplyCollateralParams$outboundSchema,
39283
+ MorphoWithdrawCollateralParams$outboundSchema,
38792
39284
  AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema,
38793
39285
  AerodromeSlipstreamBuyExactlyParams$outboundSchema,
38794
39286
  AerodromeSlipstreamSellExactlyParams$outboundSchema,
@@ -38978,20 +39470,20 @@ var init_security2 = __esm(() => {
38978
39470
  });
38979
39471
 
38980
39472
  // src/models/components/skybuyrequest.ts
38981
- var TokenIn, TokenIn$inboundSchema, TokenIn$outboundSchema, TokenIn$, SkyBuyRequestAmount$inboundSchema, SkyBuyRequestAmount$outboundSchema, SkyBuyRequestAmount$, SkyBuyRequest$inboundSchema, SkyBuyRequest$outboundSchema, SkyBuyRequest$;
39473
+ var SkyBuyRequestTokenIn, SkyBuyRequestTokenIn$inboundSchema, SkyBuyRequestTokenIn$outboundSchema, SkyBuyRequestTokenIn$, SkyBuyRequestAmount$inboundSchema, SkyBuyRequestAmount$outboundSchema, SkyBuyRequestAmount$, SkyBuyRequest$inboundSchema, SkyBuyRequest$outboundSchema, SkyBuyRequest$;
38982
39474
  var init_skybuyrequest = __esm(() => {
38983
39475
  init_lib();
38984
39476
  init_primitives();
38985
- TokenIn = {
39477
+ SkyBuyRequestTokenIn = {
38986
39478
  Dai: "DAI",
38987
39479
  Usdc: "USDC"
38988
39480
  };
38989
- TokenIn$inboundSchema = nativeEnumType(TokenIn);
38990
- TokenIn$outboundSchema = TokenIn$inboundSchema;
38991
- ((TokenIn$) => {
38992
- TokenIn$.inboundSchema = TokenIn$inboundSchema;
38993
- TokenIn$.outboundSchema = TokenIn$outboundSchema;
38994
- })(TokenIn$ ||= {});
39481
+ SkyBuyRequestTokenIn$inboundSchema = nativeEnumType(SkyBuyRequestTokenIn);
39482
+ SkyBuyRequestTokenIn$outboundSchema = SkyBuyRequestTokenIn$inboundSchema;
39483
+ ((SkyBuyRequestTokenIn$) => {
39484
+ SkyBuyRequestTokenIn$.inboundSchema = SkyBuyRequestTokenIn$inboundSchema;
39485
+ SkyBuyRequestTokenIn$.outboundSchema = SkyBuyRequestTokenIn$outboundSchema;
39486
+ })(SkyBuyRequestTokenIn$ ||= {});
38995
39487
  SkyBuyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
38996
39488
  SkyBuyRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
38997
39489
  ((SkyBuyRequestAmount$) => {
@@ -38999,7 +39491,7 @@ var init_skybuyrequest = __esm(() => {
38999
39491
  SkyBuyRequestAmount$.outboundSchema = SkyBuyRequestAmount$outboundSchema;
39000
39492
  })(SkyBuyRequestAmount$ ||= {});
39001
39493
  SkyBuyRequest$inboundSchema = objectType({
39002
- token_in: TokenIn$inboundSchema,
39494
+ token_in: SkyBuyRequestTokenIn$inboundSchema,
39003
39495
  amount: unionType([numberType(), stringType()]),
39004
39496
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
39005
39497
  sender: stringType()
@@ -39009,7 +39501,7 @@ var init_skybuyrequest = __esm(() => {
39009
39501
  });
39010
39502
  });
39011
39503
  SkyBuyRequest$outboundSchema = objectType({
39012
- tokenIn: TokenIn$outboundSchema,
39504
+ tokenIn: SkyBuyRequestTokenIn$outboundSchema,
39013
39505
  amount: unionType([numberType(), stringType()]),
39014
39506
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
39015
39507
  sender: stringType()
@@ -39080,20 +39572,20 @@ var init_skydepositrequest = __esm(() => {
39080
39572
  });
39081
39573
 
39082
39574
  // src/models/components/skysellrequest.ts
39083
- var TokenOut, TokenOut$inboundSchema, TokenOut$outboundSchema, TokenOut$, SkySellRequestAmount$inboundSchema, SkySellRequestAmount$outboundSchema, SkySellRequestAmount$, SkySellRequest$inboundSchema, SkySellRequest$outboundSchema, SkySellRequest$;
39575
+ var SkySellRequestTokenOut, SkySellRequestTokenOut$inboundSchema, SkySellRequestTokenOut$outboundSchema, SkySellRequestTokenOut$, SkySellRequestAmount$inboundSchema, SkySellRequestAmount$outboundSchema, SkySellRequestAmount$, SkySellRequest$inboundSchema, SkySellRequest$outboundSchema, SkySellRequest$;
39084
39576
  var init_skysellrequest = __esm(() => {
39085
39577
  init_lib();
39086
39578
  init_primitives();
39087
- TokenOut = {
39579
+ SkySellRequestTokenOut = {
39088
39580
  Dai: "DAI",
39089
39581
  Usdc: "USDC"
39090
39582
  };
39091
- TokenOut$inboundSchema = nativeEnumType(TokenOut);
39092
- TokenOut$outboundSchema = TokenOut$inboundSchema;
39093
- ((TokenOut$) => {
39094
- TokenOut$.inboundSchema = TokenOut$inboundSchema;
39095
- TokenOut$.outboundSchema = TokenOut$outboundSchema;
39096
- })(TokenOut$ ||= {});
39583
+ SkySellRequestTokenOut$inboundSchema = nativeEnumType(SkySellRequestTokenOut);
39584
+ SkySellRequestTokenOut$outboundSchema = SkySellRequestTokenOut$inboundSchema;
39585
+ ((SkySellRequestTokenOut$) => {
39586
+ SkySellRequestTokenOut$.inboundSchema = SkySellRequestTokenOut$inboundSchema;
39587
+ SkySellRequestTokenOut$.outboundSchema = SkySellRequestTokenOut$outboundSchema;
39588
+ })(SkySellRequestTokenOut$ ||= {});
39097
39589
  SkySellRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
39098
39590
  SkySellRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
39099
39591
  ((SkySellRequestAmount$) => {
@@ -39101,7 +39593,7 @@ var init_skysellrequest = __esm(() => {
39101
39593
  SkySellRequestAmount$.outboundSchema = SkySellRequestAmount$outboundSchema;
39102
39594
  })(SkySellRequestAmount$ ||= {});
39103
39595
  SkySellRequest$inboundSchema = objectType({
39104
- token_out: TokenOut$inboundSchema,
39596
+ token_out: SkySellRequestTokenOut$inboundSchema,
39105
39597
  amount: unionType([numberType(), stringType()]),
39106
39598
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
39107
39599
  sender: stringType()
@@ -39111,7 +39603,7 @@ var init_skysellrequest = __esm(() => {
39111
39603
  });
39112
39604
  });
39113
39605
  SkySellRequest$outboundSchema = objectType({
39114
- tokenOut: TokenOut$outboundSchema,
39606
+ tokenOut: SkySellRequestTokenOut$outboundSchema,
39115
39607
  amount: unionType([numberType(), stringType()]),
39116
39608
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
39117
39609
  sender: stringType()
@@ -39917,6 +40409,7 @@ var init_wrapethrequest = __esm(() => {
39917
40409
 
39918
40410
  // src/models/components/index.ts
39919
40411
  var init_components = __esm(() => {
40412
+ init_aaveavgrateresponse();
39920
40413
  init_aaveborrowparams();
39921
40414
  init_aaveborrowrequest();
39922
40415
  init_aavehistoricaltransactionsresponse();
@@ -39962,18 +40455,25 @@ var init_components = __esm(() => {
39962
40455
  init_interestratemode();
39963
40456
  init_liquidationcall();
39964
40457
  init_marketstate();
40458
+ init_morphoborrowparams();
39965
40459
  init_morphoborrowrequest();
39966
40460
  init_morphocheckmarketpositionresponse();
39967
40461
  init_morphocheckvaultpositionresponse();
40462
+ init_morphodepositparams();
39968
40463
  init_morphodepositrequest();
39969
40464
  init_morphogetmarketsresponse();
39970
40465
  init_morphogetvaultsresponse();
39971
40466
  init_morphomarket();
40467
+ init_morphorepayparams();
39972
40468
  init_morphorepayrequest();
40469
+ init_morphosetvaultallowanceparams();
39973
40470
  init_morphosetvaultallowancerequest();
40471
+ init_morphosupplycollateralparams();
39974
40472
  init_morphosupplycollateralrequest();
39975
40473
  init_morphovault();
40474
+ init_morphowithdrawcollateralparams();
39976
40475
  init_morphowithdrawcollateralrequest();
40476
+ init_morphowithdrawparams();
39977
40477
  init_morphowithdrawrequest();
39978
40478
  init_multicallaction();
39979
40479
  init_multicallactiontype();
@@ -39986,10 +40486,14 @@ var init_components = __esm(() => {
39986
40486
  init_reserve();
39987
40487
  init_security2();
39988
40488
  init_signedauthorization();
40489
+ init_skybuyparams();
39989
40490
  init_skybuyrequest();
39990
40491
  init_skycheckpositionresponse();
40492
+ init_skydepositparams();
39991
40493
  init_skydepositrequest();
40494
+ init_skysellparams();
39992
40495
  init_skysellrequest();
40496
+ init_skywithdrawparams();
39993
40497
  init_skywithdrawrequest();
39994
40498
  init_supply();
39995
40499
  init_swapborrowrate();
@@ -40068,134 +40572,87 @@ var init_errors = __esm(() => {
40068
40572
  init_sdkvalidationerror();
40069
40573
  });
40070
40574
 
40071
- // src/types/async.ts
40072
- var APIPromise;
40073
- var init_async = __esm(() => {
40074
- APIPromise = class APIPromise {
40075
- #promise;
40076
- #unwrapped;
40077
- [Symbol.toStringTag] = "APIPromise";
40078
- constructor(p) {
40079
- this.#promise = p instanceof Promise ? p : Promise.resolve(p);
40080
- this.#unwrapped = p instanceof Promise ? this.#promise.then(([value]) => value) : Promise.resolve(p[0]);
40081
- }
40082
- then(onfulfilled, onrejected) {
40083
- return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : undefined, onrejected);
40084
- }
40085
- catch(onrejected) {
40086
- return this.#unwrapped.catch(onrejected);
40087
- }
40088
- finally(onfinally) {
40089
- return this.#unwrapped.finally(onfinally);
40090
- }
40091
- $inspect() {
40092
- return this.#promise;
40093
- }
40575
+ // src/models/operations/aaveavgrate.ts
40576
+ var AaveAvgRateChain, AaveAvgRateToken, AaveAvgRateChain$inboundSchema, AaveAvgRateChain$outboundSchema, AaveAvgRateChain$, AaveAvgRateToken$inboundSchema, AaveAvgRateToken$outboundSchema, AaveAvgRateToken$, AaveAvgRateRequest$inboundSchema, AaveAvgRateRequest$outboundSchema, AaveAvgRateRequest$;
40577
+ var init_aaveavgrate = __esm(() => {
40578
+ init_lib();
40579
+ AaveAvgRateChain = {
40580
+ BaseMainnet: "base:mainnet",
40581
+ EthereumMainnet: "ethereum:mainnet",
40582
+ ArbitrumMainnet: "arbitrum:mainnet"
40094
40583
  };
40095
- });
40096
-
40097
- // src/funcs/aaveV3Borrow.ts
40098
- function aaveV3Borrow(client, request, options) {
40099
- return new APIPromise($do(client, request, options));
40100
- }
40101
- async function $do(client, request, options) {
40102
- const parsed = safeParse(request, (value) => AaveBorrowRequest$outboundSchema.parse(value), "Input validation failed");
40103
- if (!parsed.ok) {
40104
- return [parsed, { status: "invalid" }];
40105
- }
40106
- const payload = parsed.value;
40107
- const body = encodeJSON("body", payload, { explode: true });
40108
- const path = pathToFunc("/v0/aave/borrow")();
40109
- const headers = new Headers(compactMap({
40110
- "Content-Type": "application/json",
40111
- Accept: "application/json"
40112
- }));
40113
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
40114
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
40115
- const requestSecurity = resolveGlobalSecurity(securityInput);
40116
- const context = {
40117
- baseURL: options?.serverURL ?? client._baseURL ?? "",
40118
- operationID: "aave_borrow",
40119
- oAuth2Scopes: [],
40120
- resolvedSecurity: requestSecurity,
40121
- securitySource: client._options.apiKeyAuth,
40122
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
40123
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
40124
- };
40125
- const requestRes = client._createRequest(context, {
40126
- security: requestSecurity,
40127
- method: "POST",
40128
- baseURL: options?.serverURL,
40129
- path,
40130
- headers,
40131
- body,
40132
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
40133
- }, options);
40134
- if (!requestRes.ok) {
40135
- return [requestRes, { status: "invalid" }];
40136
- }
40137
- const req = requestRes.value;
40138
- const doResult = await client._do(req, {
40139
- context,
40140
- errorCodes: ["422", "4XX", "5XX"],
40141
- retryConfig: context.retryConfig,
40142
- retryCodes: context.retryCodes
40143
- });
40144
- if (!doResult.ok) {
40145
- return [doResult, { status: "request-error", request: req }];
40146
- }
40147
- const response = doResult.value;
40148
- const responseFields = {
40149
- HttpMeta: { Response: response, Request: req }
40150
- };
40151
- const [result] = await match(json(200, UnsignedTransaction$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
40152
- if (!result.ok) {
40153
- return [result, { status: "complete", request: req, response }];
40154
- }
40155
- return [result, { status: "complete", request: req, response }];
40156
- }
40157
- var init_aaveV3Borrow = __esm(() => {
40158
- init_encodings();
40159
- init_matchers();
40160
- init_primitives();
40161
- init_schemas();
40162
- init_security();
40163
- init_url();
40164
- init_components();
40165
- init_errors();
40166
- init_async();
40167
- });
40168
-
40169
- // src/mcp-server/tools/aaveV3Borrow.ts
40170
- var args, tool$aaveV3Borrow;
40171
- var init_aaveV3Borrow2 = __esm(() => {
40172
- init_aaveV3Borrow();
40173
- init_components();
40174
- init_tools();
40175
- args = {
40176
- request: AaveBorrowRequest$inboundSchema
40177
- };
40178
- tool$aaveV3Borrow = {
40179
- name: "aave-v3-borrow",
40180
- description: `Borrow
40181
-
40182
- You will pay interest for your borrows.
40183
-
40184
- Price changes in the assets may lead to some or all of your collateral being
40185
- liquidated, if the borrow position becomes unhealthy.`,
40186
- args,
40187
- tool: async (client, args2, ctx) => {
40188
- const [result, apiCall] = await aaveV3Borrow(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
40189
- if (!result.ok) {
40190
- return {
40191
- content: [{ type: "text", text: result.error.message }],
40192
- isError: true
40193
- };
40194
- }
40195
- const value = result.value;
40196
- return formatResult(value, apiCall);
40197
- }
40584
+ AaveAvgRateToken = {
40585
+ OneINCH: "1INCH",
40586
+ Aave: "AAVE",
40587
+ Bal: "BAL",
40588
+ CbBTC: "cbBTC",
40589
+ CbETH: "cbETH",
40590
+ Crv: "CRV",
40591
+ CrvUSD: "crvUSD",
40592
+ Dai: "DAI",
40593
+ Ens: "ENS",
40594
+ ETHx: "ETHx",
40595
+ Frax: "FRAX",
40596
+ Fxs: "FXS",
40597
+ Gho: "GHO",
40598
+ Knc: "KNC",
40599
+ Ldo: "LDO",
40600
+ Link: "LINK",
40601
+ Lusd: "LUSD",
40602
+ Mkr: "MKR",
40603
+ OsETH: "osETH",
40604
+ Pyusd: "PYUSD",
40605
+ RETH: "rETH",
40606
+ Rpl: "RPL",
40607
+ RsETH: "rsETH",
40608
+ SDAI: "sDAI",
40609
+ Snx: "SNX",
40610
+ Stg: "STG",
40611
+ SUSDe: "sUSDe",
40612
+ TBTC: "tBTC",
40613
+ Uni: "UNI",
40614
+ Usdc: "USDC",
40615
+ USDe: "USDe",
40616
+ Usds: "USDS",
40617
+ Usdt: "USDT",
40618
+ Wbtc: "WBTC",
40619
+ WeETH: "weETH",
40620
+ Weth: "WETH",
40621
+ WstETH: "wstETH",
40622
+ Arb: "ARB",
40623
+ Eurs: "EURS",
40624
+ Mai: "MAI",
40625
+ USDCe: "USDCe",
40626
+ Aero: "AERO",
40627
+ Eur: "EUR",
40628
+ Virtual: "VIRTUAL"
40198
40629
  };
40630
+ AaveAvgRateChain$inboundSchema = nativeEnumType(AaveAvgRateChain);
40631
+ AaveAvgRateChain$outboundSchema = AaveAvgRateChain$inboundSchema;
40632
+ ((AaveAvgRateChain$) => {
40633
+ AaveAvgRateChain$.inboundSchema = AaveAvgRateChain$inboundSchema;
40634
+ AaveAvgRateChain$.outboundSchema = AaveAvgRateChain$outboundSchema;
40635
+ })(AaveAvgRateChain$ ||= {});
40636
+ AaveAvgRateToken$inboundSchema = nativeEnumType(AaveAvgRateToken);
40637
+ AaveAvgRateToken$outboundSchema = AaveAvgRateToken$inboundSchema;
40638
+ ((AaveAvgRateToken$) => {
40639
+ AaveAvgRateToken$.inboundSchema = AaveAvgRateToken$inboundSchema;
40640
+ AaveAvgRateToken$.outboundSchema = AaveAvgRateToken$outboundSchema;
40641
+ })(AaveAvgRateToken$ ||= {});
40642
+ AaveAvgRateRequest$inboundSchema = objectType({
40643
+ chain: AaveAvgRateChain$inboundSchema.default("ethereum:mainnet"),
40644
+ token: AaveAvgRateToken$inboundSchema.default("USDC"),
40645
+ days: numberType().int().default(7)
40646
+ });
40647
+ AaveAvgRateRequest$outboundSchema = objectType({
40648
+ chain: AaveAvgRateChain$outboundSchema.default("ethereum:mainnet"),
40649
+ token: AaveAvgRateToken$outboundSchema.default("USDC"),
40650
+ days: numberType().int().default(7)
40651
+ });
40652
+ ((AaveAvgRateRequest$) => {
40653
+ AaveAvgRateRequest$.inboundSchema = AaveAvgRateRequest$inboundSchema;
40654
+ AaveAvgRateRequest$.outboundSchema = AaveAvgRateRequest$outboundSchema;
40655
+ })(AaveAvgRateRequest$ ||= {});
40199
40656
  });
40200
40657
 
40201
40658
  // src/models/operations/aavehistoricaltransactions.ts
@@ -42061,6 +42518,7 @@ var init_uniswapquotesellexactly = __esm(() => {
42061
42518
 
42062
42519
  // src/models/operations/index.ts
42063
42520
  var init_operations = __esm(() => {
42521
+ init_aaveavgrate();
42064
42522
  init_aavehistoricaltransactions();
42065
42523
  init_aaveliquiditychange();
42066
42524
  init_aaverate();
@@ -42090,11 +42548,248 @@ var init_operations = __esm(() => {
42090
42548
  init_uniswapquotesellexactly();
42091
42549
  });
42092
42550
 
42093
- // src/funcs/aaveV3HistoricalTransactions.ts
42094
- function aaveV3HistoricalTransactions(client, request, options) {
42551
+ // src/types/async.ts
42552
+ var APIPromise;
42553
+ var init_async = __esm(() => {
42554
+ APIPromise = class APIPromise {
42555
+ #promise;
42556
+ #unwrapped;
42557
+ [Symbol.toStringTag] = "APIPromise";
42558
+ constructor(p) {
42559
+ this.#promise = p instanceof Promise ? p : Promise.resolve(p);
42560
+ this.#unwrapped = p instanceof Promise ? this.#promise.then(([value]) => value) : Promise.resolve(p[0]);
42561
+ }
42562
+ then(onfulfilled, onrejected) {
42563
+ return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : undefined, onrejected);
42564
+ }
42565
+ catch(onrejected) {
42566
+ return this.#unwrapped.catch(onrejected);
42567
+ }
42568
+ finally(onfinally) {
42569
+ return this.#unwrapped.finally(onfinally);
42570
+ }
42571
+ $inspect() {
42572
+ return this.#promise;
42573
+ }
42574
+ };
42575
+ });
42576
+
42577
+ // src/funcs/aaveV3AvgRate.ts
42578
+ function aaveV3AvgRate(client, request, options) {
42579
+ return new APIPromise($do(client, request, options));
42580
+ }
42581
+ async function $do(client, request, options) {
42582
+ const parsed = safeParse(request, (value) => AaveAvgRateRequest$outboundSchema.parse(value), "Input validation failed");
42583
+ if (!parsed.ok) {
42584
+ return [parsed, { status: "invalid" }];
42585
+ }
42586
+ const payload = parsed.value;
42587
+ const body = null;
42588
+ const path = pathToFunc("/v0/aave/avg_rate/get")();
42589
+ const query = encodeFormQuery({
42590
+ chain: payload.chain,
42591
+ days: payload.days,
42592
+ token: payload.token
42593
+ });
42594
+ const headers = new Headers(compactMap({
42595
+ Accept: "application/json"
42596
+ }));
42597
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
42598
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
42599
+ const requestSecurity = resolveGlobalSecurity(securityInput);
42600
+ const context = {
42601
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
42602
+ operationID: "aave_avg_rate",
42603
+ oAuth2Scopes: [],
42604
+ resolvedSecurity: requestSecurity,
42605
+ securitySource: client._options.apiKeyAuth,
42606
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
42607
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
42608
+ };
42609
+ const requestRes = client._createRequest(context, {
42610
+ security: requestSecurity,
42611
+ method: "GET",
42612
+ baseURL: options?.serverURL,
42613
+ path,
42614
+ headers,
42615
+ query,
42616
+ body,
42617
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
42618
+ }, options);
42619
+ if (!requestRes.ok) {
42620
+ return [requestRes, { status: "invalid" }];
42621
+ }
42622
+ const req = requestRes.value;
42623
+ const doResult = await client._do(req, {
42624
+ context,
42625
+ errorCodes: ["422", "4XX", "5XX"],
42626
+ retryConfig: context.retryConfig,
42627
+ retryCodes: context.retryCodes
42628
+ });
42629
+ if (!doResult.ok) {
42630
+ return [doResult, { status: "request-error", request: req }];
42631
+ }
42632
+ const response = doResult.value;
42633
+ const responseFields = {
42634
+ HttpMeta: { Response: response, Request: req }
42635
+ };
42636
+ const [result] = await match(json(200, AaveAvgRateResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42637
+ if (!result.ok) {
42638
+ return [result, { status: "complete", request: req, response }];
42639
+ }
42640
+ return [result, { status: "complete", request: req, response }];
42641
+ }
42642
+ var init_aaveV3AvgRate = __esm(() => {
42643
+ init_encodings();
42644
+ init_matchers();
42645
+ init_primitives();
42646
+ init_schemas();
42647
+ init_security();
42648
+ init_url();
42649
+ init_components();
42650
+ init_errors();
42651
+ init_operations();
42652
+ init_async();
42653
+ });
42654
+
42655
+ // src/mcp-server/tools/aaveV3AvgRate.ts
42656
+ var args, tool$aaveV3AvgRate;
42657
+ var init_aaveV3AvgRate2 = __esm(() => {
42658
+ init_aaveV3AvgRate();
42659
+ init_operations();
42660
+ init_tools();
42661
+ args = {
42662
+ request: AaveAvgRateRequest$inboundSchema
42663
+ };
42664
+ tool$aaveV3AvgRate = {
42665
+ name: "aave-v3-avg-rate",
42666
+ description: `Average interest rates
42667
+
42668
+ Returns time averaged Interest Rates for Aave Reserves:`,
42669
+ args,
42670
+ tool: async (client, args2, ctx) => {
42671
+ const [result, apiCall] = await aaveV3AvgRate(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42672
+ if (!result.ok) {
42673
+ return {
42674
+ content: [{ type: "text", text: result.error.message }],
42675
+ isError: true
42676
+ };
42677
+ }
42678
+ const value = result.value;
42679
+ return formatResult(value, apiCall);
42680
+ }
42681
+ };
42682
+ });
42683
+
42684
+ // src/funcs/aaveV3Borrow.ts
42685
+ function aaveV3Borrow(client, request, options) {
42095
42686
  return new APIPromise($do2(client, request, options));
42096
42687
  }
42097
42688
  async function $do2(client, request, options) {
42689
+ const parsed = safeParse(request, (value) => AaveBorrowRequest$outboundSchema.parse(value), "Input validation failed");
42690
+ if (!parsed.ok) {
42691
+ return [parsed, { status: "invalid" }];
42692
+ }
42693
+ const payload = parsed.value;
42694
+ const body = encodeJSON("body", payload, { explode: true });
42695
+ const path = pathToFunc("/v0/aave/borrow")();
42696
+ const headers = new Headers(compactMap({
42697
+ "Content-Type": "application/json",
42698
+ Accept: "application/json"
42699
+ }));
42700
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
42701
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
42702
+ const requestSecurity = resolveGlobalSecurity(securityInput);
42703
+ const context = {
42704
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
42705
+ operationID: "aave_borrow",
42706
+ oAuth2Scopes: [],
42707
+ resolvedSecurity: requestSecurity,
42708
+ securitySource: client._options.apiKeyAuth,
42709
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
42710
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
42711
+ };
42712
+ const requestRes = client._createRequest(context, {
42713
+ security: requestSecurity,
42714
+ method: "POST",
42715
+ baseURL: options?.serverURL,
42716
+ path,
42717
+ headers,
42718
+ body,
42719
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
42720
+ }, options);
42721
+ if (!requestRes.ok) {
42722
+ return [requestRes, { status: "invalid" }];
42723
+ }
42724
+ const req = requestRes.value;
42725
+ const doResult = await client._do(req, {
42726
+ context,
42727
+ errorCodes: ["422", "4XX", "5XX"],
42728
+ retryConfig: context.retryConfig,
42729
+ retryCodes: context.retryCodes
42730
+ });
42731
+ if (!doResult.ok) {
42732
+ return [doResult, { status: "request-error", request: req }];
42733
+ }
42734
+ const response = doResult.value;
42735
+ const responseFields = {
42736
+ HttpMeta: { Response: response, Request: req }
42737
+ };
42738
+ const [result] = await match(json(200, UnsignedTransaction$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42739
+ if (!result.ok) {
42740
+ return [result, { status: "complete", request: req, response }];
42741
+ }
42742
+ return [result, { status: "complete", request: req, response }];
42743
+ }
42744
+ var init_aaveV3Borrow = __esm(() => {
42745
+ init_encodings();
42746
+ init_matchers();
42747
+ init_primitives();
42748
+ init_schemas();
42749
+ init_security();
42750
+ init_url();
42751
+ init_components();
42752
+ init_errors();
42753
+ init_async();
42754
+ });
42755
+
42756
+ // src/mcp-server/tools/aaveV3Borrow.ts
42757
+ var args2, tool$aaveV3Borrow;
42758
+ var init_aaveV3Borrow2 = __esm(() => {
42759
+ init_aaveV3Borrow();
42760
+ init_components();
42761
+ init_tools();
42762
+ args2 = {
42763
+ request: AaveBorrowRequest$inboundSchema
42764
+ };
42765
+ tool$aaveV3Borrow = {
42766
+ name: "aave-v3-borrow",
42767
+ description: `Borrow
42768
+
42769
+ You will pay interest for your borrows.
42770
+
42771
+ Price changes in the assets may lead to some or all of your collateral being
42772
+ liquidated, if the borrow position becomes unhealthy.`,
42773
+ args: args2,
42774
+ tool: async (client, args3, ctx) => {
42775
+ const [result, apiCall] = await aaveV3Borrow(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42776
+ if (!result.ok) {
42777
+ return {
42778
+ content: [{ type: "text", text: result.error.message }],
42779
+ isError: true
42780
+ };
42781
+ }
42782
+ const value = result.value;
42783
+ return formatResult(value, apiCall);
42784
+ }
42785
+ };
42786
+ });
42787
+
42788
+ // src/funcs/aaveV3HistoricalTransactions.ts
42789
+ function aaveV3HistoricalTransactions(client, request, options) {
42790
+ return new APIPromise($do3(client, request, options));
42791
+ }
42792
+ async function $do3(client, request, options) {
42098
42793
  const parsed = safeParse(request, (value) => AaveHistoricalTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
42099
42794
  if (!parsed.ok) {
42100
42795
  return [parsed, { status: "invalid" }];
@@ -42170,12 +42865,12 @@ var init_aaveV3HistoricalTransactions = __esm(() => {
42170
42865
  });
42171
42866
 
42172
42867
  // src/mcp-server/tools/aaveV3HistoricalTransactions.ts
42173
- var args2, tool$aaveV3HistoricalTransactions;
42868
+ var args3, tool$aaveV3HistoricalTransactions;
42174
42869
  var init_aaveV3HistoricalTransactions2 = __esm(() => {
42175
42870
  init_aaveV3HistoricalTransactions();
42176
42871
  init_operations();
42177
42872
  init_tools();
42178
- args2 = {
42873
+ args3 = {
42179
42874
  request: AaveHistoricalTransactionsRequest$inboundSchema
42180
42875
  };
42181
42876
  tool$aaveV3HistoricalTransactions = {
@@ -42188,9 +42883,9 @@ It returns a list of transactions including deposits, withdrawals, borrows, and
42188
42883
  repayments. Each transaction includes details such as the token, amount, timestamp,
42189
42884
  and transaction type. This provides a comprehensive view of the user's historical
42190
42885
  activity within the AAVE protocol.`,
42191
- args: args2,
42192
- tool: async (client, args3, ctx) => {
42193
- const [result, apiCall] = await aaveV3HistoricalTransactions(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42886
+ args: args3,
42887
+ tool: async (client, args4, ctx) => {
42888
+ const [result, apiCall] = await aaveV3HistoricalTransactions(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42194
42889
  if (!result.ok) {
42195
42890
  return {
42196
42891
  content: [{ type: "text", text: result.error.message }],
@@ -42205,9 +42900,9 @@ activity within the AAVE protocol.`,
42205
42900
 
42206
42901
  // src/funcs/aaveV3LiquidityChange.ts
42207
42902
  function aaveV3LiquidityChange(client, request, options) {
42208
- return new APIPromise($do3(client, request, options));
42903
+ return new APIPromise($do4(client, request, options));
42209
42904
  }
42210
- async function $do3(client, request, options) {
42905
+ async function $do4(client, request, options) {
42211
42906
  const parsed = safeParse(request, (value) => AaveLiquidityChangeRequest$outboundSchema.parse(value), "Input validation failed");
42212
42907
  if (!parsed.ok) {
42213
42908
  return [parsed, { status: "invalid" }];
@@ -42283,12 +42978,12 @@ var init_aaveV3LiquidityChange = __esm(() => {
42283
42978
  });
42284
42979
 
42285
42980
  // src/mcp-server/tools/aaveV3LiquidityChange.ts
42286
- var args3, tool$aaveV3LiquidityChange;
42981
+ var args4, tool$aaveV3LiquidityChange;
42287
42982
  var init_aaveV3LiquidityChange2 = __esm(() => {
42288
42983
  init_aaveV3LiquidityChange();
42289
42984
  init_operations();
42290
42985
  init_tools();
42291
- args3 = {
42986
+ args4 = {
42292
42987
  request: AaveLiquidityChangeRequest$inboundSchema
42293
42988
  };
42294
42989
  tool$aaveV3LiquidityChange = {
@@ -42306,9 +43001,9 @@ at the start block, a positive liquidity index change will represent accrued
42306
43001
  interest and a profit. If tokens were borrowed at the start block, this debt will
42307
43002
  increase, compound on itself and represent large debt. The reverse in both cases is
42308
43003
  true if the liquidity index is negative.`,
42309
- args: args3,
42310
- tool: async (client, args4, ctx) => {
42311
- const [result, apiCall] = await aaveV3LiquidityChange(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43004
+ args: args4,
43005
+ tool: async (client, args5, ctx) => {
43006
+ const [result, apiCall] = await aaveV3LiquidityChange(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42312
43007
  if (!result.ok) {
42313
43008
  return {
42314
43009
  content: [{ type: "text", text: result.error.message }],
@@ -42323,9 +43018,9 @@ true if the liquidity index is negative.`,
42323
43018
 
42324
43019
  // src/funcs/aaveV3Rate.ts
42325
43020
  function aaveV3Rate(client, request, options) {
42326
- return new APIPromise($do4(client, request, options));
43021
+ return new APIPromise($do5(client, request, options));
42327
43022
  }
42328
- async function $do4(client, request, options) {
43023
+ async function $do5(client, request, options) {
42329
43024
  const parsed = safeParse(request, (value) => AaveRateRequest$outboundSchema.parse(value), "Input validation failed");
42330
43025
  if (!parsed.ok) {
42331
43026
  return [parsed, { status: "invalid" }];
@@ -42399,12 +43094,12 @@ var init_aaveV3Rate = __esm(() => {
42399
43094
  });
42400
43095
 
42401
43096
  // src/mcp-server/tools/aaveV3Rate.ts
42402
- var args4, tool$aaveV3Rate;
43097
+ var args5, tool$aaveV3Rate;
42403
43098
  var init_aaveV3Rate2 = __esm(() => {
42404
43099
  init_aaveV3Rate();
42405
43100
  init_operations();
42406
43101
  init_tools();
42407
- args4 = {
43102
+ args5 = {
42408
43103
  request: AaveRateRequest$inboundSchema
42409
43104
  };
42410
43105
  tool$aaveV3Rate = {
@@ -42425,9 +43120,9 @@ blockchain every time this endpoint is called.
42425
43120
  compounding).
42426
43121
 
42427
43122
  For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.`,
42428
- args: args4,
42429
- tool: async (client, args5, ctx) => {
42430
- const [result, apiCall] = await aaveV3Rate(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43123
+ args: args5,
43124
+ tool: async (client, args6, ctx) => {
43125
+ const [result, apiCall] = await aaveV3Rate(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42431
43126
  if (!result.ok) {
42432
43127
  return {
42433
43128
  content: [{ type: "text", text: result.error.message }],
@@ -42442,9 +43137,9 @@ For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.`
42442
43137
 
42443
43138
  // src/funcs/aaveV3Repay.ts
42444
43139
  function aaveV3Repay(client, request, options) {
42445
- return new APIPromise($do5(client, request, options));
43140
+ return new APIPromise($do6(client, request, options));
42446
43141
  }
42447
- async function $do5(client, request, options) {
43142
+ async function $do6(client, request, options) {
42448
43143
  const parsed = safeParse(request, (value) => AaveRepayRequest$outboundSchema.parse(value), "Input validation failed");
42449
43144
  if (!parsed.ok) {
42450
43145
  return [parsed, { status: "invalid" }];
@@ -42513,12 +43208,12 @@ var init_aaveV3Repay = __esm(() => {
42513
43208
  });
42514
43209
 
42515
43210
  // src/mcp-server/tools/aaveV3Repay.ts
42516
- var args5, tool$aaveV3Repay;
43211
+ var args6, tool$aaveV3Repay;
42517
43212
  var init_aaveV3Repay2 = __esm(() => {
42518
43213
  init_aaveV3Repay();
42519
43214
  init_components();
42520
43215
  init_tools();
42521
- args5 = {
43216
+ args6 = {
42522
43217
  request: AaveRepayRequest$inboundSchema
42523
43218
  };
42524
43219
  tool$aaveV3Repay = {
@@ -42533,9 +43228,9 @@ measure of the safety of their loan position. A higher health factor reduces the
42533
43228
  risk of liquidation, ensuring a more secure borrowing experience. The endpoint
42534
43229
  requires specifying the chain and the details of the repayment transaction,
42535
43230
  including the amount and the asset to be repaid.`,
42536
- args: args5,
42537
- tool: async (client, args6, ctx) => {
42538
- const [result, apiCall] = await aaveV3Repay(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43231
+ args: args6,
43232
+ tool: async (client, args7, ctx) => {
43233
+ const [result, apiCall] = await aaveV3Repay(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42539
43234
  if (!result.ok) {
42540
43235
  return {
42541
43236
  content: [{ type: "text", text: result.error.message }],
@@ -42550,9 +43245,9 @@ including the amount and the asset to be repaid.`,
42550
43245
 
42551
43246
  // src/funcs/aaveV3ReserveOverview.ts
42552
43247
  function aaveV3ReserveOverview(client, request, options) {
42553
- return new APIPromise($do6(client, request, options));
43248
+ return new APIPromise($do7(client, request, options));
42554
43249
  }
42555
- async function $do6(client, request, options) {
43250
+ async function $do7(client, request, options) {
42556
43251
  const parsed = safeParse(request, (value) => AaveReserveOverviewRequest$outboundSchema.parse(value), "Input validation failed");
42557
43252
  if (!parsed.ok) {
42558
43253
  return [parsed, { status: "invalid" }];
@@ -42626,12 +43321,12 @@ var init_aaveV3ReserveOverview = __esm(() => {
42626
43321
  });
42627
43322
 
42628
43323
  // src/mcp-server/tools/aaveV3ReserveOverview.ts
42629
- var args6, tool$aaveV3ReserveOverview;
43324
+ var args7, tool$aaveV3ReserveOverview;
42630
43325
  var init_aaveV3ReserveOverview2 = __esm(() => {
42631
43326
  init_aaveV3ReserveOverview();
42632
43327
  init_operations();
42633
43328
  init_tools();
42634
- args6 = {
43329
+ args7 = {
42635
43330
  request: AaveReserveOverviewRequest$inboundSchema
42636
43331
  };
42637
43332
  tool$aaveV3ReserveOverview = {
@@ -42644,9 +43339,9 @@ Returns key metrics for Aave Reserves:
42644
43339
  - Utilization Ratio
42645
43340
 
42646
43341
  See below for more info:`,
42647
- args: args6,
42648
- tool: async (client, args7, ctx) => {
42649
- const [result, apiCall] = await aaveV3ReserveOverview(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43342
+ args: args7,
43343
+ tool: async (client, args8, ctx) => {
43344
+ const [result, apiCall] = await aaveV3ReserveOverview(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42650
43345
  if (!result.ok) {
42651
43346
  return {
42652
43347
  content: [{ type: "text", text: result.error.message }],
@@ -42661,9 +43356,9 @@ See below for more info:`,
42661
43356
 
42662
43357
  // src/funcs/aaveV3Supply.ts
42663
43358
  function aaveV3Supply(client, request, options) {
42664
- return new APIPromise($do7(client, request, options));
43359
+ return new APIPromise($do8(client, request, options));
42665
43360
  }
42666
- async function $do7(client, request, options) {
43361
+ async function $do8(client, request, options) {
42667
43362
  const parsed = safeParse(request, (value) => AaveSupplyRequest$outboundSchema.parse(value), "Input validation failed");
42668
43363
  if (!parsed.ok) {
42669
43364
  return [parsed, { status: "invalid" }];
@@ -42732,12 +43427,12 @@ var init_aaveV3Supply = __esm(() => {
42732
43427
  });
42733
43428
 
42734
43429
  // src/mcp-server/tools/aaveV3Supply.ts
42735
- var args7, tool$aaveV3Supply;
43430
+ var args8, tool$aaveV3Supply;
42736
43431
  var init_aaveV3Supply2 = __esm(() => {
42737
43432
  init_aaveV3Supply();
42738
43433
  init_components();
42739
43434
  init_tools();
42740
- args7 = {
43435
+ args8 = {
42741
43436
  request: AaveSupplyRequest$inboundSchema
42742
43437
  };
42743
43438
  tool$aaveV3Supply = {
@@ -42753,9 +43448,9 @@ create leverage.
42753
43448
  Overall, this endpoint is a critical component for users looking to maximize their
42754
43449
  asset utility within the AAVEv3 ecosystem, providing both earning potential and
42755
43450
  borrowing flexibility.`,
42756
- args: args7,
42757
- tool: async (client, args8, ctx) => {
42758
- const [result, apiCall] = await aaveV3Supply(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43451
+ args: args8,
43452
+ tool: async (client, args9, ctx) => {
43453
+ const [result, apiCall] = await aaveV3Supply(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42759
43454
  if (!result.ok) {
42760
43455
  return {
42761
43456
  content: [{ type: "text", text: result.error.message }],
@@ -42770,9 +43465,9 @@ borrowing flexibility.`,
42770
43465
 
42771
43466
  // src/funcs/aaveV3TokenPrice.ts
42772
43467
  function aaveV3TokenPrice(client, request, options) {
42773
- return new APIPromise($do8(client, request, options));
43468
+ return new APIPromise($do9(client, request, options));
42774
43469
  }
42775
- async function $do8(client, request, options) {
43470
+ async function $do9(client, request, options) {
42776
43471
  const parsed = safeParse(request, (value) => AaveTokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
42777
43472
  if (!parsed.ok) {
42778
43473
  return [parsed, { status: "invalid" }];
@@ -42846,12 +43541,12 @@ var init_aaveV3TokenPrice = __esm(() => {
42846
43541
  });
42847
43542
 
42848
43543
  // src/mcp-server/tools/aaveV3TokenPrice.ts
42849
- var args8, tool$aaveV3TokenPrice;
43544
+ var args9, tool$aaveV3TokenPrice;
42850
43545
  var init_aaveV3TokenPrice2 = __esm(() => {
42851
43546
  init_aaveV3TokenPrice();
42852
43547
  init_operations();
42853
43548
  init_tools();
42854
- args8 = {
43549
+ args9 = {
42855
43550
  request: AaveTokenPriceRequest$inboundSchema
42856
43551
  };
42857
43552
  tool$aaveV3TokenPrice = {
@@ -42866,9 +43561,9 @@ to-date information. The request requires the token identifier and the blockchai
42866
43561
  network (chain) on which the token resides. The response provides the token price in
42867
43562
  a standardized format, converted from Wei to the base currency decimals defined by
42868
43563
  Aave.`,
42869
- args: args8,
42870
- tool: async (client, args9, ctx) => {
42871
- const [result, apiCall] = await aaveV3TokenPrice(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43564
+ args: args9,
43565
+ tool: async (client, args10, ctx) => {
43566
+ const [result, apiCall] = await aaveV3TokenPrice(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42872
43567
  if (!result.ok) {
42873
43568
  return {
42874
43569
  content: [{ type: "text", text: result.error.message }],
@@ -42883,9 +43578,9 @@ Aave.`,
42883
43578
 
42884
43579
  // src/funcs/aaveV3UserPositionPerToken.ts
42885
43580
  function aaveV3UserPositionPerToken(client, request, options) {
42886
- return new APIPromise($do9(client, request, options));
43581
+ return new APIPromise($do10(client, request, options));
42887
43582
  }
42888
- async function $do9(client, request, options) {
43583
+ async function $do10(client, request, options) {
42889
43584
  const parsed = safeParse(request, (value) => AaveUserPositionPerTokenRequest$outboundSchema.parse(value), "Input validation failed");
42890
43585
  if (!parsed.ok) {
42891
43586
  return [parsed, { status: "invalid" }];
@@ -42960,12 +43655,12 @@ var init_aaveV3UserPositionPerToken = __esm(() => {
42960
43655
  });
42961
43656
 
42962
43657
  // src/mcp-server/tools/aaveV3UserPositionPerToken.ts
42963
- var args9, tool$aaveV3UserPositionPerToken;
43658
+ var args10, tool$aaveV3UserPositionPerToken;
42964
43659
  var init_aaveV3UserPositionPerToken2 = __esm(() => {
42965
43660
  init_aaveV3UserPositionPerToken();
42966
43661
  init_operations();
42967
43662
  init_tools();
42968
- args9 = {
43663
+ args10 = {
42969
43664
  request: AaveUserPositionPerTokenRequest$inboundSchema
42970
43665
  };
42971
43666
  tool$aaveV3UserPositionPerToken = {
@@ -42981,9 +43676,9 @@ stable borrow rate, stable borrow rate for new loans, variable borrow rate, and
42981
43676
  liquidity rate. These metrics are calculated by aggregating data across all open
42982
43677
  positions held by the user for the specified token, offering a detailed view of
42983
43678
  their financial standing within the AAVE ecosystem.`,
42984
- args: args9,
42985
- tool: async (client, args10, ctx) => {
42986
- const [result, apiCall] = await aaveV3UserPositionPerToken(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43679
+ args: args10,
43680
+ tool: async (client, args11, ctx) => {
43681
+ const [result, apiCall] = await aaveV3UserPositionPerToken(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42987
43682
  if (!result.ok) {
42988
43683
  return {
42989
43684
  content: [{ type: "text", text: result.error.message }],
@@ -42998,9 +43693,9 @@ their financial standing within the AAVE ecosystem.`,
42998
43693
 
42999
43694
  // src/funcs/aaveV3UserPositionSummary.ts
43000
43695
  function aaveV3UserPositionSummary(client, request, options) {
43001
- return new APIPromise($do10(client, request, options));
43696
+ return new APIPromise($do11(client, request, options));
43002
43697
  }
43003
- async function $do10(client, request, options) {
43698
+ async function $do11(client, request, options) {
43004
43699
  const parsed = safeParse(request, (value) => AaveUserPositionSummaryRequest$outboundSchema.parse(value), "Input validation failed");
43005
43700
  if (!parsed.ok) {
43006
43701
  return [parsed, { status: "invalid" }];
@@ -43074,12 +43769,12 @@ var init_aaveV3UserPositionSummary = __esm(() => {
43074
43769
  });
43075
43770
 
43076
43771
  // src/mcp-server/tools/aaveV3UserPositionSummary.ts
43077
- var args10, tool$aaveV3UserPositionSummary;
43772
+ var args11, tool$aaveV3UserPositionSummary;
43078
43773
  var init_aaveV3UserPositionSummary2 = __esm(() => {
43079
43774
  init_aaveV3UserPositionSummary();
43080
43775
  init_operations();
43081
43776
  init_tools();
43082
- args10 = {
43777
+ args11 = {
43083
43778
  request: AaveUserPositionSummaryRequest$inboundSchema
43084
43779
  };
43085
43780
  tool$aaveV3UserPositionSummary = {
@@ -43094,9 +43789,9 @@ debt accrued, available borrowing capacity, liquidation threshold, maximum loan-
43094
43789
  value ratio, and the health factor of the user's account. These metrics are
43095
43790
  calculated by aggregating data across all open positions held by the user, offering
43096
43791
  a holistic view of their financial standing within the AAVE ecosystem.`,
43097
- args: args10,
43098
- tool: async (client, args11, ctx) => {
43099
- const [result, apiCall] = await aaveV3UserPositionSummary(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43792
+ args: args11,
43793
+ tool: async (client, args12, ctx) => {
43794
+ const [result, apiCall] = await aaveV3UserPositionSummary(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43100
43795
  if (!result.ok) {
43101
43796
  return {
43102
43797
  content: [{ type: "text", text: result.error.message }],
@@ -43111,9 +43806,9 @@ a holistic view of their financial standing within the AAVE ecosystem.`,
43111
43806
 
43112
43807
  // src/funcs/aaveV3Withdraw.ts
43113
43808
  function aaveV3Withdraw(client, request, options) {
43114
- return new APIPromise($do11(client, request, options));
43809
+ return new APIPromise($do12(client, request, options));
43115
43810
  }
43116
- async function $do11(client, request, options) {
43811
+ async function $do12(client, request, options) {
43117
43812
  const parsed = safeParse(request, (value) => AaveWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
43118
43813
  if (!parsed.ok) {
43119
43814
  return [parsed, { status: "invalid" }];
@@ -43182,12 +43877,12 @@ var init_aaveV3Withdraw = __esm(() => {
43182
43877
  });
43183
43878
 
43184
43879
  // src/mcp-server/tools/aaveV3Withdraw.ts
43185
- var args11, tool$aaveV3Withdraw;
43880
+ var args12, tool$aaveV3Withdraw;
43186
43881
  var init_aaveV3Withdraw2 = __esm(() => {
43187
43882
  init_aaveV3Withdraw();
43188
43883
  init_components();
43189
43884
  init_tools();
43190
- args11 = {
43885
+ args12 = {
43191
43886
  request: AaveWithdrawRequest$inboundSchema
43192
43887
  };
43193
43888
  tool$aaveV3Withdraw = {
@@ -43203,9 +43898,9 @@ for users to carefully consider their outstanding debts and the potential impact
43203
43898
  their liquidation threshold before proceeding with a withdrawal. This endpoint is
43204
43899
  designed to provide a seamless and efficient way to manage your collateral within
43205
43900
  the Aave ecosystem.`,
43206
- args: args11,
43207
- tool: async (client, args12, ctx) => {
43208
- const [result, apiCall] = await aaveV3Withdraw(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43901
+ args: args12,
43902
+ tool: async (client, args13, ctx) => {
43903
+ const [result, apiCall] = await aaveV3Withdraw(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43209
43904
  if (!result.ok) {
43210
43905
  return {
43211
43906
  content: [{ type: "text", text: result.error.message }],
@@ -43220,9 +43915,9 @@ the Aave ecosystem.`,
43220
43915
 
43221
43916
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts
43222
43917
  function aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, request, options) {
43223
- return new APIPromise($do12(client, request, options));
43918
+ return new APIPromise($do13(client, request, options));
43224
43919
  }
43225
- async function $do12(client, request, options) {
43920
+ async function $do13(client, request, options) {
43226
43921
  const parsed = safeParse(request, (value) => AerodromeSlipstreamIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
43227
43922
  if (!parsed.ok) {
43228
43923
  return [parsed, { status: "invalid" }];
@@ -43291,12 +43986,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = __esm(() => {
43291
43986
  });
43292
43987
 
43293
43988
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts
43294
- var args12, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease;
43989
+ var args13, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease;
43295
43990
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease2 = __esm(() => {
43296
43991
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease();
43297
43992
  init_components();
43298
43993
  init_tools();
43299
- args12 = {
43994
+ args13 = {
43300
43995
  request: AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema
43301
43996
  };
43302
43997
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = {
@@ -43314,9 +44009,9 @@ users with updated information about their enhanced position. This functionality
43314
44009
  vital for users aiming to optimize their liquidity provision strategy, enabling them
43315
44010
  to adapt to market conditions and maximize their returns in decentralized finance
43316
44011
  (DeFi) markets.`,
43317
- args: args12,
43318
- tool: async (client, args13, ctx) => {
43319
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44012
+ args: args13,
44013
+ tool: async (client, args14, ctx) => {
44014
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43320
44015
  if (!result.ok) {
43321
44016
  return {
43322
44017
  content: [{ type: "text", text: result.error.message }],
@@ -43331,9 +44026,9 @@ to adapt to market conditions and maximize their returns in decentralized financ
43331
44026
 
43332
44027
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts
43333
44028
  function aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, request, options) {
43334
- return new APIPromise($do13(client, request, options));
44029
+ return new APIPromise($do14(client, request, options));
43335
44030
  }
43336
- async function $do13(client, request, options) {
44031
+ async function $do14(client, request, options) {
43337
44032
  const parsed = safeParse(request, (value) => AerodromeSlipstreamMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
43338
44033
  if (!parsed.ok) {
43339
44034
  return [parsed, { status: "invalid" }];
@@ -43402,12 +44097,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint = __esm(() => {
43402
44097
  });
43403
44098
 
43404
44099
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts
43405
- var args13, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint;
44100
+ var args14, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint;
43406
44101
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint2 = __esm(() => {
43407
44102
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint();
43408
44103
  init_components();
43409
44104
  init_tools();
43410
- args13 = {
44105
+ args14 = {
43411
44106
  request: AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema
43412
44107
  };
43413
44108
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint = {
@@ -43423,9 +44118,9 @@ confirm the successful creation of the LP position, providing users with the
43423
44118
  necessary information to manage their newly minted position. This functionality is
43424
44119
  crucial for users looking to expand their liquidity provision activities, offering
43425
44120
  them the opportunity to engage in decentralized finance (DeFi) markets effectively.`,
43426
- args: args13,
43427
- tool: async (client, args14, ctx) => {
43428
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44121
+ args: args14,
44122
+ tool: async (client, args15, ctx) => {
44123
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43429
44124
  if (!result.ok) {
43430
44125
  return {
43431
44126
  content: [{ type: "text", text: result.error.message }],
@@ -43440,9 +44135,9 @@ them the opportunity to engage in decentralized finance (DeFi) markets effective
43440
44135
 
43441
44136
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts
43442
44137
  function aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, request, options) {
43443
- return new APIPromise($do14(client, request, options));
44138
+ return new APIPromise($do15(client, request, options));
43444
44139
  }
43445
- async function $do14(client, request, options) {
44140
+ async function $do15(client, request, options) {
43446
44141
  const parsed = safeParse(request, (value) => AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
43447
44142
  if (!parsed.ok) {
43448
44143
  return [parsed, { status: "invalid" }];
@@ -43516,12 +44211,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = __esm(() =>
43516
44211
  });
43517
44212
 
43518
44213
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts
43519
- var args14, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions;
44214
+ var args15, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions;
43520
44215
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions2 = __esm(() => {
43521
44216
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions();
43522
44217
  init_operations();
43523
44218
  init_tools();
43524
- args14 = {
44219
+ args15 = {
43525
44220
  request: AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema
43526
44221
  };
43527
44222
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = {
@@ -43537,9 +44232,9 @@ AerodromeLPPositionsInfo, provides a structured representation of the LP positio
43537
44232
  data, ensuring clarity and ease of use. This functionality is essential for users
43538
44233
  managing their liquidity provision activities, enabling them to make informed
43539
44234
  decisions based on their current positions.`,
43540
- args: args14,
43541
- tool: async (client, args15, ctx) => {
43542
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44235
+ args: args15,
44236
+ tool: async (client, args16, ctx) => {
44237
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43543
44238
  if (!result.ok) {
43544
44239
  return {
43545
44240
  content: [{ type: "text", text: result.error.message }],
@@ -43554,9 +44249,9 @@ decisions based on their current positions.`,
43554
44249
 
43555
44250
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts
43556
44251
  function aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, request, options) {
43557
- return new APIPromise($do15(client, request, options));
44252
+ return new APIPromise($do16(client, request, options));
43558
44253
  }
43559
- async function $do15(client, request, options) {
44254
+ async function $do16(client, request, options) {
43560
44255
  const parsed = safeParse(request, (value) => AerodromeSlipstreamWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
43561
44256
  if (!parsed.ok) {
43562
44257
  return [parsed, { status: "invalid" }];
@@ -43625,12 +44320,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = __esm(() => {
43625
44320
  });
43626
44321
 
43627
44322
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts
43628
- var args15, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw;
44323
+ var args16, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw;
43629
44324
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw2 = __esm(() => {
43630
44325
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw();
43631
44326
  init_components();
43632
44327
  init_tools();
43633
- args15 = {
44328
+ args16 = {
43634
44329
  request: AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema
43635
44330
  };
43636
44331
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = {
@@ -43648,9 +44343,9 @@ wish to exit their liquidity provision activities, enabling them to reclaim thei
43648
44343
  assets and potentially reallocate them to other investment opportunities. The
43649
44344
  endpoint ensures a smooth and secure withdrawal process, facilitating users'
43650
44345
  strategic management of their decentralized finance (DeFi) portfolios.`,
43651
- args: args15,
43652
- tool: async (client, args16, ctx) => {
43653
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44346
+ args: args16,
44347
+ tool: async (client, args17, ctx) => {
44348
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43654
44349
  if (!result.ok) {
43655
44350
  return {
43656
44351
  content: [{ type: "text", text: result.error.message }],
@@ -43665,9 +44360,9 @@ strategic management of their decentralized finance (DeFi) portfolios.`,
43665
44360
 
43666
44361
  // src/funcs/aerodromeSlipstreamSlipstreamPoolPrice.ts
43667
44362
  function aerodromeSlipstreamSlipstreamPoolPrice(client, request, options) {
43668
- return new APIPromise($do16(client, request, options));
44363
+ return new APIPromise($do17(client, request, options));
43669
44364
  }
43670
- async function $do16(client, request, options) {
44365
+ async function $do17(client, request, options) {
43671
44366
  const parsed = safeParse(request, (value) => AerodromeSlipstreamPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
43672
44367
  if (!parsed.ok) {
43673
44368
  return [parsed, { status: "invalid" }];
@@ -43743,12 +44438,12 @@ var init_aerodromeSlipstreamSlipstreamPoolPrice = __esm(() => {
43743
44438
  });
43744
44439
 
43745
44440
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamPoolPrice.ts
43746
- var args16, tool$aerodromeSlipstreamSlipstreamPoolPrice;
44441
+ var args17, tool$aerodromeSlipstreamSlipstreamPoolPrice;
43747
44442
  var init_aerodromeSlipstreamSlipstreamPoolPrice2 = __esm(() => {
43748
44443
  init_aerodromeSlipstreamSlipstreamPoolPrice();
43749
44444
  init_operations();
43750
44445
  init_tools();
43751
- args16 = {
44446
+ args17 = {
43752
44447
  request: AerodromeSlipstreamPoolPriceRequest$inboundSchema
43753
44448
  };
43754
44449
  tool$aerodromeSlipstreamSlipstreamPoolPrice = {
@@ -43761,9 +44456,9 @@ you can purchase for 1 token1.
43761
44456
  Note that this is an instantaneous price and may change during any trade. For a more
43762
44457
  accurate representation of the trade ratios between the two assets, consider using
43763
44458
  the quote endpoint.`,
43764
- args: args16,
43765
- tool: async (client, args17, ctx) => {
43766
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamPoolPrice(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44459
+ args: args17,
44460
+ tool: async (client, args18, ctx) => {
44461
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamPoolPrice(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43767
44462
  if (!result.ok) {
43768
44463
  return {
43769
44464
  content: [{ type: "text", text: result.error.message }],
@@ -43778,9 +44473,9 @@ the quote endpoint.`,
43778
44473
 
43779
44474
  // src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts
43780
44475
  function aerodromeSlipstreamSlipstreamSwapBuyExactly(client, request, options) {
43781
- return new APIPromise($do17(client, request, options));
44476
+ return new APIPromise($do18(client, request, options));
43782
44477
  }
43783
- async function $do17(client, request, options) {
44478
+ async function $do18(client, request, options) {
43784
44479
  const parsed = safeParse(request, (value) => AerodromeSlipstreamBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
43785
44480
  if (!parsed.ok) {
43786
44481
  return [parsed, { status: "invalid" }];
@@ -43849,12 +44544,12 @@ var init_aerodromeSlipstreamSlipstreamSwapBuyExactly = __esm(() => {
43849
44544
  });
43850
44545
 
43851
44546
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts
43852
- var args17, tool$aerodromeSlipstreamSlipstreamSwapBuyExactly;
44547
+ var args18, tool$aerodromeSlipstreamSlipstreamSwapBuyExactly;
43853
44548
  var init_aerodromeSlipstreamSlipstreamSwapBuyExactly2 = __esm(() => {
43854
44549
  init_aerodromeSlipstreamSlipstreamSwapBuyExactly();
43855
44550
  init_components();
43856
44551
  init_tools();
43857
- args17 = {
44552
+ args18 = {
43858
44553
  request: AerodromeSlipstreamBuyExactlyRequest$inboundSchema
43859
44554
  };
43860
44555
  tool$aerodromeSlipstreamSlipstreamSwapBuyExactly = {
@@ -43871,9 +44566,9 @@ in mind and are willing to provide the corresponding input token amount. The
43871
44566
  transaction is executed with consideration of current market conditions, including
43872
44567
  liquidity and price impact, ensuring that the trade is completed efficiently and
43873
44568
  effectively.`,
43874
- args: args17,
43875
- tool: async (client, args18, ctx) => {
43876
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapBuyExactly(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44569
+ args: args18,
44570
+ tool: async (client, args19, ctx) => {
44571
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapBuyExactly(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43877
44572
  if (!result.ok) {
43878
44573
  return {
43879
44574
  content: [{ type: "text", text: result.error.message }],
@@ -43888,9 +44583,9 @@ effectively.`,
43888
44583
 
43889
44584
  // src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts
43890
44585
  function aerodromeSlipstreamSlipstreamSwapSellExactly(client, request, options) {
43891
- return new APIPromise($do18(client, request, options));
44586
+ return new APIPromise($do19(client, request, options));
43892
44587
  }
43893
- async function $do18(client, request, options) {
44588
+ async function $do19(client, request, options) {
43894
44589
  const parsed = safeParse(request, (value) => AerodromeSlipstreamSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
43895
44590
  if (!parsed.ok) {
43896
44591
  return [parsed, { status: "invalid" }];
@@ -43959,12 +44654,12 @@ var init_aerodromeSlipstreamSlipstreamSwapSellExactly = __esm(() => {
43959
44654
  });
43960
44655
 
43961
44656
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.ts
43962
- var args18, tool$aerodromeSlipstreamSlipstreamSwapSellExactly;
44657
+ var args19, tool$aerodromeSlipstreamSlipstreamSwapSellExactly;
43963
44658
  var init_aerodromeSlipstreamSlipstreamSwapSellExactly2 = __esm(() => {
43964
44659
  init_aerodromeSlipstreamSlipstreamSwapSellExactly();
43965
44660
  init_components();
43966
44661
  init_tools();
43967
- args18 = {
44662
+ args19 = {
43968
44663
  request: AerodromeSlipstreamSellExactlyRequest$inboundSchema
43969
44664
  };
43970
44665
  tool$aerodromeSlipstreamSlipstreamSwapSellExactly = {
@@ -43980,9 +44675,9 @@ received. The operation ensures that the trade is conducted within the constrain
43980
44675
  of the current market conditions, taking into account the liquidity and price
43981
44676
  impact. This endpoint is suitable for users who want to sell a precise quantity of a
43982
44677
  token and are willing to accept the resulting amount of the other token.`,
43983
- args: args18,
43984
- tool: async (client, args19, ctx) => {
43985
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapSellExactly(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44678
+ args: args19,
44679
+ tool: async (client, args20, ctx) => {
44680
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapSellExactly(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43986
44681
  if (!result.ok) {
43987
44682
  return {
43988
44683
  content: [{ type: "text", text: result.error.message }],
@@ -43997,9 +44692,9 @@ token and are willing to accept the resulting amount of the other token.`,
43997
44692
 
43998
44693
  // src/funcs/morphoAllowance.ts
43999
44694
  function morphoAllowance(client, request, options) {
44000
- return new APIPromise($do19(client, request, options));
44695
+ return new APIPromise($do20(client, request, options));
44001
44696
  }
44002
- async function $do19(client, request, options) {
44697
+ async function $do20(client, request, options) {
44003
44698
  const parsed = safeParse(request, (value) => MorphoSetVaultAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
44004
44699
  if (!parsed.ok) {
44005
44700
  return [parsed, { status: "invalid" }];
@@ -44068,12 +44763,12 @@ var init_morphoAllowance = __esm(() => {
44068
44763
  });
44069
44764
 
44070
44765
  // src/mcp-server/tools/morphoAllowance.ts
44071
- var args19, tool$morphoAllowance;
44766
+ var args20, tool$morphoAllowance;
44072
44767
  var init_morphoAllowance2 = __esm(() => {
44073
44768
  init_morphoAllowance();
44074
44769
  init_components();
44075
44770
  init_tools();
44076
- args19 = {
44771
+ args20 = {
44077
44772
  request: MorphoSetVaultAllowanceRequest$inboundSchema
44078
44773
  };
44079
44774
  tool$morphoAllowance = {
@@ -44085,9 +44780,9 @@ Set an allowance for a Morpho vault. You must set this for at least the amount y
44085
44780
  Each vault has only one associated token that can be deposited.
44086
44781
 
44087
44782
  Use the 'Get Vaults' endpoint to query a list of vaults you can deposit into.`,
44088
- args: args19,
44089
- tool: async (client, args20, ctx) => {
44090
- const [result, apiCall] = await morphoAllowance(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44783
+ args: args20,
44784
+ tool: async (client, args21, ctx) => {
44785
+ const [result, apiCall] = await morphoAllowance(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44091
44786
  if (!result.ok) {
44092
44787
  return {
44093
44788
  content: [{ type: "text", text: result.error.message }],
@@ -44102,9 +44797,9 @@ Use the 'Get Vaults' endpoint to query a list of vaults you can deposit into.`,
44102
44797
 
44103
44798
  // src/funcs/morphoBorrow.ts
44104
44799
  function morphoBorrow(client, request, options) {
44105
- return new APIPromise($do20(client, request, options));
44800
+ return new APIPromise($do21(client, request, options));
44106
44801
  }
44107
- async function $do20(client, request, options) {
44802
+ async function $do21(client, request, options) {
44108
44803
  const parsed = safeParse(request, (value) => MorphoBorrowRequest$outboundSchema.parse(value), "Input validation failed");
44109
44804
  if (!parsed.ok) {
44110
44805
  return [parsed, { status: "invalid" }];
@@ -44173,12 +44868,12 @@ var init_morphoBorrow = __esm(() => {
44173
44868
  });
44174
44869
 
44175
44870
  // src/mcp-server/tools/morphoBorrow.ts
44176
- var args20, tool$morphoBorrow;
44871
+ var args21, tool$morphoBorrow;
44177
44872
  var init_morphoBorrow2 = __esm(() => {
44178
44873
  init_morphoBorrow();
44179
44874
  init_components();
44180
44875
  init_tools();
44181
- args20 = {
44876
+ args21 = {
44182
44877
  request: MorphoBorrowRequest$inboundSchema
44183
44878
  };
44184
44879
  tool$morphoBorrow = {
@@ -44194,9 +44889,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
44194
44889
  loan asset. Each market is isolated (meaning risks are contained within each
44195
44890
  individual market), immutable (cannot be changed after deployment), and will persist
44196
44891
  as long as the blockchain it is deployed on is live.`,
44197
- args: args20,
44198
- tool: async (client, args21, ctx) => {
44199
- const [result, apiCall] = await morphoBorrow(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44892
+ args: args21,
44893
+ tool: async (client, args22, ctx) => {
44894
+ const [result, apiCall] = await morphoBorrow(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44200
44895
  if (!result.ok) {
44201
44896
  return {
44202
44897
  content: [{ type: "text", text: result.error.message }],
@@ -44211,9 +44906,9 @@ as long as the blockchain it is deployed on is live.`,
44211
44906
 
44212
44907
  // src/funcs/morphoDeposit.ts
44213
44908
  function morphoDeposit(client, request, options) {
44214
- return new APIPromise($do21(client, request, options));
44909
+ return new APIPromise($do22(client, request, options));
44215
44910
  }
44216
- async function $do21(client, request, options) {
44911
+ async function $do22(client, request, options) {
44217
44912
  const parsed = safeParse(request, (value) => MorphoDepositRequest$outboundSchema.parse(value), "Input validation failed");
44218
44913
  if (!parsed.ok) {
44219
44914
  return [parsed, { status: "invalid" }];
@@ -44282,12 +44977,12 @@ var init_morphoDeposit = __esm(() => {
44282
44977
  });
44283
44978
 
44284
44979
  // src/mcp-server/tools/morphoDeposit.ts
44285
- var args21, tool$morphoDeposit;
44980
+ var args22, tool$morphoDeposit;
44286
44981
  var init_morphoDeposit2 = __esm(() => {
44287
44982
  init_morphoDeposit();
44288
44983
  init_components();
44289
44984
  init_tools();
44290
- args21 = {
44985
+ args22 = {
44291
44986
  request: MorphoDepositRequest$inboundSchema
44292
44987
  };
44293
44988
  tool$morphoDeposit = {
@@ -44305,9 +45000,9 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
44305
45000
  exposure for all deposited assets so users don't need to make these decisions
44306
45001
  themselves. Users maintain full control over their assets, can monitor the vault's
44307
45002
  state at any time, and withdraw their liquidity at their discretion.`,
44308
- args: args21,
44309
- tool: async (client, args22, ctx) => {
44310
- const [result, apiCall] = await morphoDeposit(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45003
+ args: args22,
45004
+ tool: async (client, args23, ctx) => {
45005
+ const [result, apiCall] = await morphoDeposit(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44311
45006
  if (!result.ok) {
44312
45007
  return {
44313
45008
  content: [{ type: "text", text: result.error.message }],
@@ -44322,9 +45017,9 @@ state at any time, and withdraw their liquidity at their discretion.`,
44322
45017
 
44323
45018
  // src/funcs/morphoMarketPosition.ts
44324
45019
  function morphoMarketPosition(client, request, options) {
44325
- return new APIPromise($do22(client, request, options));
45020
+ return new APIPromise($do23(client, request, options));
44326
45021
  }
44327
- async function $do22(client, request, options) {
45022
+ async function $do23(client, request, options) {
44328
45023
  const parsed = safeParse(request, (value) => MorphoMarketPositionRequest$outboundSchema.parse(value), "Input validation failed");
44329
45024
  if (!parsed.ok) {
44330
45025
  return [parsed, { status: "invalid" }];
@@ -44399,12 +45094,12 @@ var init_morphoMarketPosition = __esm(() => {
44399
45094
  });
44400
45095
 
44401
45096
  // src/mcp-server/tools/morphoMarketPosition.ts
44402
- var args22, tool$morphoMarketPosition;
45097
+ var args23, tool$morphoMarketPosition;
44403
45098
  var init_morphoMarketPosition2 = __esm(() => {
44404
45099
  init_morphoMarketPosition();
44405
45100
  init_operations();
44406
45101
  init_tools();
44407
- args22 = {
45102
+ args23 = {
44408
45103
  request: MorphoMarketPositionRequest$inboundSchema
44409
45104
  };
44410
45105
  tool$morphoMarketPosition = {
@@ -44413,9 +45108,9 @@ var init_morphoMarketPosition2 = __esm(() => {
44413
45108
 
44414
45109
  Check how many shares you've borrowed and the equivalent token amount of a given
44415
45110
  market.`,
44416
- args: args22,
44417
- tool: async (client, args23, ctx) => {
44418
- const [result, apiCall] = await morphoMarketPosition(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45111
+ args: args23,
45112
+ tool: async (client, args24, ctx) => {
45113
+ const [result, apiCall] = await morphoMarketPosition(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44419
45114
  if (!result.ok) {
44420
45115
  return {
44421
45116
  content: [{ type: "text", text: result.error.message }],
@@ -44430,9 +45125,9 @@ market.`,
44430
45125
 
44431
45126
  // src/funcs/morphoMarkets.ts
44432
45127
  function morphoMarkets(client, request, options) {
44433
- return new APIPromise($do23(client, request, options));
45128
+ return new APIPromise($do24(client, request, options));
44434
45129
  }
44435
- async function $do23(client, request, options) {
45130
+ async function $do24(client, request, options) {
44436
45131
  const parsed = safeParse(request, (value) => MorphoMarketsRequest$outboundSchema.parse(value), "Input validation failed");
44437
45132
  if (!parsed.ok) {
44438
45133
  return [parsed, { status: "invalid" }];
@@ -44507,12 +45202,12 @@ var init_morphoMarkets = __esm(() => {
44507
45202
  });
44508
45203
 
44509
45204
  // src/mcp-server/tools/morphoMarkets.ts
44510
- var args23, tool$morphoMarkets;
45205
+ var args24, tool$morphoMarkets;
44511
45206
  var init_morphoMarkets2 = __esm(() => {
44512
45207
  init_morphoMarkets();
44513
45208
  init_operations();
44514
45209
  init_tools();
44515
- args23 = {
45210
+ args24 = {
44516
45211
  request: MorphoMarketsRequest$inboundSchema
44517
45212
  };
44518
45213
  tool$morphoMarkets = {
@@ -44523,9 +45218,9 @@ Query a list of markets you can borrow from.
44523
45218
 
44524
45219
  Each market has one unique token that can be borrowed against one unique token that
44525
45220
  can be used as collateral.`,
44526
- args: args23,
44527
- tool: async (client, args24, ctx) => {
44528
- const [result, apiCall] = await morphoMarkets(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45221
+ args: args24,
45222
+ tool: async (client, args25, ctx) => {
45223
+ const [result, apiCall] = await morphoMarkets(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44529
45224
  if (!result.ok) {
44530
45225
  return {
44531
45226
  content: [{ type: "text", text: result.error.message }],
@@ -44540,9 +45235,9 @@ can be used as collateral.`,
44540
45235
 
44541
45236
  // src/funcs/morphoRepay.ts
44542
45237
  function morphoRepay(client, request, options) {
44543
- return new APIPromise($do24(client, request, options));
45238
+ return new APIPromise($do25(client, request, options));
44544
45239
  }
44545
- async function $do24(client, request, options) {
45240
+ async function $do25(client, request, options) {
44546
45241
  const parsed = safeParse(request, (value) => MorphoRepayRequest$outboundSchema.parse(value), "Input validation failed");
44547
45242
  if (!parsed.ok) {
44548
45243
  return [parsed, { status: "invalid" }];
@@ -44611,12 +45306,12 @@ var init_morphoRepay = __esm(() => {
44611
45306
  });
44612
45307
 
44613
45308
  // src/mcp-server/tools/morphoRepay.ts
44614
- var args24, tool$morphoRepay;
45309
+ var args25, tool$morphoRepay;
44615
45310
  var init_morphoRepay2 = __esm(() => {
44616
45311
  init_morphoRepay();
44617
45312
  init_components();
44618
45313
  init_tools();
44619
- args24 = {
45314
+ args25 = {
44620
45315
  request: MorphoRepayRequest$inboundSchema
44621
45316
  };
44622
45317
  tool$morphoRepay = {
@@ -44629,9 +45324,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
44629
45324
  loan asset. Each market is isolated (meaning risks are contained within each
44630
45325
  individual market), immutable (cannot be changed after deployment), and will persist
44631
45326
  as long as the blockchain it is deployed on is live.`,
44632
- args: args24,
44633
- tool: async (client, args25, ctx) => {
44634
- const [result, apiCall] = await morphoRepay(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45327
+ args: args25,
45328
+ tool: async (client, args26, ctx) => {
45329
+ const [result, apiCall] = await morphoRepay(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44635
45330
  if (!result.ok) {
44636
45331
  return {
44637
45332
  content: [{ type: "text", text: result.error.message }],
@@ -44646,9 +45341,9 @@ as long as the blockchain it is deployed on is live.`,
44646
45341
 
44647
45342
  // src/funcs/morphoSupplyCollateral.ts
44648
45343
  function morphoSupplyCollateral(client, request, options) {
44649
- return new APIPromise($do25(client, request, options));
45344
+ return new APIPromise($do26(client, request, options));
44650
45345
  }
44651
- async function $do25(client, request, options) {
45346
+ async function $do26(client, request, options) {
44652
45347
  const parsed = safeParse(request, (value) => MorphoSupplyCollateralRequest$outboundSchema.parse(value), "Input validation failed");
44653
45348
  if (!parsed.ok) {
44654
45349
  return [parsed, { status: "invalid" }];
@@ -44717,12 +45412,12 @@ var init_morphoSupplyCollateral = __esm(() => {
44717
45412
  });
44718
45413
 
44719
45414
  // src/mcp-server/tools/morphoSupplyCollateral.ts
44720
- var args25, tool$morphoSupplyCollateral;
45415
+ var args26, tool$morphoSupplyCollateral;
44721
45416
  var init_morphoSupplyCollateral2 = __esm(() => {
44722
45417
  init_morphoSupplyCollateral();
44723
45418
  init_components();
44724
45419
  init_tools();
44725
- args25 = {
45420
+ args26 = {
44726
45421
  request: MorphoSupplyCollateralRequest$inboundSchema
44727
45422
  };
44728
45423
  tool$morphoSupplyCollateral = {
@@ -44735,9 +45430,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
44735
45430
  loan asset. Each market is isolated (meaning risks are contained within each
44736
45431
  individual market), immutable (cannot be changed after deployment), and will persist
44737
45432
  as long as the blockchain it is deployed on is live.`,
44738
- args: args25,
44739
- tool: async (client, args26, ctx) => {
44740
- const [result, apiCall] = await morphoSupplyCollateral(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45433
+ args: args26,
45434
+ tool: async (client, args27, ctx) => {
45435
+ const [result, apiCall] = await morphoSupplyCollateral(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44741
45436
  if (!result.ok) {
44742
45437
  return {
44743
45438
  content: [{ type: "text", text: result.error.message }],
@@ -44752,9 +45447,9 @@ as long as the blockchain it is deployed on is live.`,
44752
45447
 
44753
45448
  // src/funcs/morphoVaultPosition.ts
44754
45449
  function morphoVaultPosition(client, request, options) {
44755
- return new APIPromise($do26(client, request, options));
45450
+ return new APIPromise($do27(client, request, options));
44756
45451
  }
44757
- async function $do26(client, request, options) {
45452
+ async function $do27(client, request, options) {
44758
45453
  const parsed = safeParse(request, (value) => MorphoVaultPositionRequest$outboundSchema.parse(value), "Input validation failed");
44759
45454
  if (!parsed.ok) {
44760
45455
  return [parsed, { status: "invalid" }];
@@ -44829,12 +45524,12 @@ var init_morphoVaultPosition = __esm(() => {
44829
45524
  });
44830
45525
 
44831
45526
  // src/mcp-server/tools/morphoVaultPosition.ts
44832
- var args26, tool$morphoVaultPosition;
45527
+ var args27, tool$morphoVaultPosition;
44833
45528
  var init_morphoVaultPosition2 = __esm(() => {
44834
45529
  init_morphoVaultPosition();
44835
45530
  init_operations();
44836
45531
  init_tools();
44837
- args26 = {
45532
+ args27 = {
44838
45533
  request: MorphoVaultPositionRequest$inboundSchema
44839
45534
  };
44840
45535
  tool$morphoVaultPosition = {
@@ -44843,9 +45538,9 @@ var init_morphoVaultPosition2 = __esm(() => {
44843
45538
 
44844
45539
  Check how many shares you own and the equivalent token amount of a given
44845
45540
  vault.`,
44846
- args: args26,
44847
- tool: async (client, args27, ctx) => {
44848
- const [result, apiCall] = await morphoVaultPosition(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45541
+ args: args27,
45542
+ tool: async (client, args28, ctx) => {
45543
+ const [result, apiCall] = await morphoVaultPosition(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44849
45544
  if (!result.ok) {
44850
45545
  return {
44851
45546
  content: [{ type: "text", text: result.error.message }],
@@ -44860,9 +45555,9 @@ vault.`,
44860
45555
 
44861
45556
  // src/funcs/morphoVaults.ts
44862
45557
  function morphoVaults(client, request, options) {
44863
- return new APIPromise($do27(client, request, options));
45558
+ return new APIPromise($do28(client, request, options));
44864
45559
  }
44865
- async function $do27(client, request, options) {
45560
+ async function $do28(client, request, options) {
44866
45561
  const parsed = safeParse(request, (value) => MorphoVaultsRequest$outboundSchema.parse(value), "Input validation failed");
44867
45562
  if (!parsed.ok) {
44868
45563
  return [parsed, { status: "invalid" }];
@@ -44936,12 +45631,12 @@ var init_morphoVaults = __esm(() => {
44936
45631
  });
44937
45632
 
44938
45633
  // src/mcp-server/tools/morphoVaults.ts
44939
- var args27, tool$morphoVaults;
45634
+ var args28, tool$morphoVaults;
44940
45635
  var init_morphoVaults2 = __esm(() => {
44941
45636
  init_morphoVaults();
44942
45637
  init_operations();
44943
45638
  init_tools();
44944
- args27 = {
45639
+ args28 = {
44945
45640
  request: MorphoVaultsRequest$inboundSchema
44946
45641
  };
44947
45642
  tool$morphoVaults = {
@@ -44953,9 +45648,9 @@ Query a list of vaults you can deposit into.
44953
45648
  Each vault has one unique token that can be deposited. In exchange for depositing
44954
45649
  tokens into a vault you receive shares. You earn yield on these shares by their
44955
45650
  exchange value increasing over time.`,
44956
- args: args27,
44957
- tool: async (client, args28, ctx) => {
44958
- const [result, apiCall] = await morphoVaults(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45651
+ args: args28,
45652
+ tool: async (client, args29, ctx) => {
45653
+ const [result, apiCall] = await morphoVaults(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44959
45654
  if (!result.ok) {
44960
45655
  return {
44961
45656
  content: [{ type: "text", text: result.error.message }],
@@ -44970,9 +45665,9 @@ exchange value increasing over time.`,
44970
45665
 
44971
45666
  // src/funcs/morphoWithdraw.ts
44972
45667
  function morphoWithdraw(client, request, options) {
44973
- return new APIPromise($do28(client, request, options));
45668
+ return new APIPromise($do29(client, request, options));
44974
45669
  }
44975
- async function $do28(client, request, options) {
45670
+ async function $do29(client, request, options) {
44976
45671
  const parsed = safeParse(request, (value) => MorphoWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
44977
45672
  if (!parsed.ok) {
44978
45673
  return [parsed, { status: "invalid" }];
@@ -45041,12 +45736,12 @@ var init_morphoWithdraw = __esm(() => {
45041
45736
  });
45042
45737
 
45043
45738
  // src/mcp-server/tools/morphoWithdraw.ts
45044
- var args28, tool$morphoWithdraw;
45739
+ var args29, tool$morphoWithdraw;
45045
45740
  var init_morphoWithdraw2 = __esm(() => {
45046
45741
  init_morphoWithdraw();
45047
45742
  init_components();
45048
45743
  init_tools();
45049
- args28 = {
45744
+ args29 = {
45050
45745
  request: MorphoWithdrawRequest$inboundSchema
45051
45746
  };
45052
45747
  tool$morphoWithdraw = {
@@ -45064,9 +45759,9 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
45064
45759
  exposure for all deposited assets so users don't need to make these decisions
45065
45760
  themselves. Users maintain full control over their assets, can monitor the vault's
45066
45761
  state at any time, and withdraw their liquidity at their discretion.`,
45067
- args: args28,
45068
- tool: async (client, args29, ctx) => {
45069
- const [result, apiCall] = await morphoWithdraw(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45762
+ args: args29,
45763
+ tool: async (client, args30, ctx) => {
45764
+ const [result, apiCall] = await morphoWithdraw(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45070
45765
  if (!result.ok) {
45071
45766
  return {
45072
45767
  content: [{ type: "text", text: result.error.message }],
@@ -45081,9 +45776,9 @@ state at any time, and withdraw their liquidity at their discretion.`,
45081
45776
 
45082
45777
  // src/funcs/morphoWithdrawCollateral.ts
45083
45778
  function morphoWithdrawCollateral(client, request, options) {
45084
- return new APIPromise($do29(client, request, options));
45779
+ return new APIPromise($do30(client, request, options));
45085
45780
  }
45086
- async function $do29(client, request, options) {
45781
+ async function $do30(client, request, options) {
45087
45782
  const parsed = safeParse(request, (value) => MorphoWithdrawCollateralRequest$outboundSchema.parse(value), "Input validation failed");
45088
45783
  if (!parsed.ok) {
45089
45784
  return [parsed, { status: "invalid" }];
@@ -45152,12 +45847,12 @@ var init_morphoWithdrawCollateral = __esm(() => {
45152
45847
  });
45153
45848
 
45154
45849
  // src/mcp-server/tools/morphoWithdrawCollateral.ts
45155
- var args29, tool$morphoWithdrawCollateral;
45850
+ var args30, tool$morphoWithdrawCollateral;
45156
45851
  var init_morphoWithdrawCollateral2 = __esm(() => {
45157
45852
  init_morphoWithdrawCollateral();
45158
45853
  init_components();
45159
45854
  init_tools();
45160
- args29 = {
45855
+ args30 = {
45161
45856
  request: MorphoWithdrawCollateralRequest$inboundSchema
45162
45857
  };
45163
45858
  tool$morphoWithdrawCollateral = {
@@ -45170,9 +45865,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
45170
45865
  loan asset. Each market is isolated (meaning risks are contained within each
45171
45866
  individual market), immutable (cannot be changed after deployment), and will persist
45172
45867
  as long as the blockchain it is deployed on is live.`,
45173
- args: args29,
45174
- tool: async (client, args30, ctx) => {
45175
- const [result, apiCall] = await morphoWithdrawCollateral(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45868
+ args: args30,
45869
+ tool: async (client, args31, ctx) => {
45870
+ const [result, apiCall] = await morphoWithdrawCollateral(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45176
45871
  if (!result.ok) {
45177
45872
  return {
45178
45873
  content: [{ type: "text", text: result.error.message }],
@@ -45187,9 +45882,9 @@ as long as the blockchain it is deployed on is live.`,
45187
45882
 
45188
45883
  // src/funcs/skyBuy.ts
45189
45884
  function skyBuy(client, request, options) {
45190
- return new APIPromise($do30(client, request, options));
45885
+ return new APIPromise($do31(client, request, options));
45191
45886
  }
45192
- async function $do30(client, request, options) {
45887
+ async function $do31(client, request, options) {
45193
45888
  const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
45194
45889
  if (!parsed.ok) {
45195
45890
  return [parsed, { status: "invalid" }];
@@ -45258,12 +45953,12 @@ var init_skyBuy = __esm(() => {
45258
45953
  });
45259
45954
 
45260
45955
  // src/mcp-server/tools/skyBuy.ts
45261
- var args30, tool$skyBuy;
45956
+ var args31, tool$skyBuy;
45262
45957
  var init_skyBuy2 = __esm(() => {
45263
45958
  init_skyBuy();
45264
45959
  init_components();
45265
45960
  init_tools();
45266
- args30 = {
45961
+ args31 = {
45267
45962
  request: SkyBuyRequest$inboundSchema
45268
45963
  };
45269
45964
  tool$skyBuy = {
@@ -45277,9 +45972,9 @@ If buying with DAI, user will need to set an allowance on the DAI contract for t
45277
45972
 
45278
45973
  If buying with USDC, user will need to set an allowance on the USDC contract for the
45279
45974
  'SkyDaiUsdsConverter' contract beforehand.`,
45280
- args: args30,
45281
- tool: async (client, args31, ctx) => {
45282
- const [result, apiCall] = await skyBuy(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45975
+ args: args31,
45976
+ tool: async (client, args32, ctx) => {
45977
+ const [result, apiCall] = await skyBuy(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45283
45978
  if (!result.ok) {
45284
45979
  return {
45285
45980
  content: [{ type: "text", text: result.error.message }],
@@ -45294,9 +45989,9 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
45294
45989
 
45295
45990
  // src/funcs/skyDeposit.ts
45296
45991
  function skyDeposit(client, request, options) {
45297
- return new APIPromise($do31(client, request, options));
45992
+ return new APIPromise($do32(client, request, options));
45298
45993
  }
45299
- async function $do31(client, request, options) {
45994
+ async function $do32(client, request, options) {
45300
45995
  const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
45301
45996
  if (!parsed.ok) {
45302
45997
  return [parsed, { status: "invalid" }];
@@ -45365,12 +46060,12 @@ var init_skyDeposit = __esm(() => {
45365
46060
  });
45366
46061
 
45367
46062
  // src/mcp-server/tools/skyDeposit.ts
45368
- var args31, tool$skyDeposit;
46063
+ var args32, tool$skyDeposit;
45369
46064
  var init_skyDeposit2 = __esm(() => {
45370
46065
  init_skyDeposit();
45371
46066
  init_components();
45372
46067
  init_tools();
45373
- args31 = {
46068
+ args32 = {
45374
46069
  request: SkyDepositRequest$inboundSchema
45375
46070
  };
45376
46071
  tool$skyDeposit = {
@@ -45380,9 +46075,9 @@ var init_skyDeposit2 = __esm(() => {
45380
46075
  Deposit USDS for sUSDS to earn yield.
45381
46076
 
45382
46077
  There are no fees.`,
45383
- args: args31,
45384
- tool: async (client, args32, ctx) => {
45385
- const [result, apiCall] = await skyDeposit(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46078
+ args: args32,
46079
+ tool: async (client, args33, ctx) => {
46080
+ const [result, apiCall] = await skyDeposit(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45386
46081
  if (!result.ok) {
45387
46082
  return {
45388
46083
  content: [{ type: "text", text: result.error.message }],
@@ -45397,9 +46092,9 @@ There are no fees.`,
45397
46092
 
45398
46093
  // src/funcs/skyPosition.ts
45399
46094
  function skyPosition(client, request, options) {
45400
- return new APIPromise($do32(client, request, options));
46095
+ return new APIPromise($do33(client, request, options));
45401
46096
  }
45402
- async function $do32(client, request, options) {
46097
+ async function $do33(client, request, options) {
45403
46098
  const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
45404
46099
  if (!parsed.ok) {
45405
46100
  return [parsed, { status: "invalid" }];
@@ -45473,12 +46168,12 @@ var init_skyPosition = __esm(() => {
45473
46168
  });
45474
46169
 
45475
46170
  // src/mcp-server/tools/skyPosition.ts
45476
- var args32, tool$skyPosition;
46171
+ var args33, tool$skyPosition;
45477
46172
  var init_skyPosition2 = __esm(() => {
45478
46173
  init_skyPosition();
45479
46174
  init_operations();
45480
46175
  init_tools();
45481
- args32 = {
46176
+ args33 = {
45482
46177
  request: SkyPositionRequest$inboundSchema
45483
46178
  };
45484
46179
  tool$skyPosition = {
@@ -45486,9 +46181,9 @@ var init_skyPosition2 = __esm(() => {
45486
46181
  description: `Check USDS Position
45487
46182
 
45488
46183
  Check the USDS overall position.`,
45489
- args: args32,
45490
- tool: async (client, args33, ctx) => {
45491
- const [result, apiCall] = await skyPosition(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46184
+ args: args33,
46185
+ tool: async (client, args34, ctx) => {
46186
+ const [result, apiCall] = await skyPosition(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45492
46187
  if (!result.ok) {
45493
46188
  return {
45494
46189
  content: [{ type: "text", text: result.error.message }],
@@ -45503,9 +46198,9 @@ Check the USDS overall position.`,
45503
46198
 
45504
46199
  // src/funcs/skySell.ts
45505
46200
  function skySell(client, request, options) {
45506
- return new APIPromise($do33(client, request, options));
46201
+ return new APIPromise($do34(client, request, options));
45507
46202
  }
45508
- async function $do33(client, request, options) {
46203
+ async function $do34(client, request, options) {
45509
46204
  const parsed = safeParse(request, (value) => SkySellRequest$outboundSchema.parse(value), "Input validation failed");
45510
46205
  if (!parsed.ok) {
45511
46206
  return [parsed, { status: "invalid" }];
@@ -45574,12 +46269,12 @@ var init_skySell = __esm(() => {
45574
46269
  });
45575
46270
 
45576
46271
  // src/mcp-server/tools/skySell.ts
45577
- var args33, tool$skySell;
46272
+ var args34, tool$skySell;
45578
46273
  var init_skySell2 = __esm(() => {
45579
46274
  init_skySell();
45580
46275
  init_components();
45581
46276
  init_tools();
45582
- args33 = {
46277
+ args34 = {
45583
46278
  request: SkySellRequest$inboundSchema
45584
46279
  };
45585
46280
  tool$skySell = {
@@ -45593,9 +46288,9 @@ If swapping to DAI, user will need to set an allowance on the USDS contract for
45593
46288
 
45594
46289
  If swapping to USDC, user will need to set an allowance on the USDS contract for the
45595
46290
  'SkyUsdcUsdsConverter' contract beforehand.`,
45596
- args: args33,
45597
- tool: async (client, args34, ctx) => {
45598
- const [result, apiCall] = await skySell(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46291
+ args: args34,
46292
+ tool: async (client, args35, ctx) => {
46293
+ const [result, apiCall] = await skySell(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45599
46294
  if (!result.ok) {
45600
46295
  return {
45601
46296
  content: [{ type: "text", text: result.error.message }],
@@ -45610,9 +46305,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
45610
46305
 
45611
46306
  // src/funcs/skyWithdraw.ts
45612
46307
  function skyWithdraw(client, request, options) {
45613
- return new APIPromise($do34(client, request, options));
46308
+ return new APIPromise($do35(client, request, options));
45614
46309
  }
45615
- async function $do34(client, request, options) {
46310
+ async function $do35(client, request, options) {
45616
46311
  const parsed = safeParse(request, (value) => SkyWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
45617
46312
  if (!parsed.ok) {
45618
46313
  return [parsed, { status: "invalid" }];
@@ -45681,12 +46376,12 @@ var init_skyWithdraw = __esm(() => {
45681
46376
  });
45682
46377
 
45683
46378
  // src/mcp-server/tools/skyWithdraw.ts
45684
- var args34, tool$skyWithdraw;
46379
+ var args35, tool$skyWithdraw;
45685
46380
  var init_skyWithdraw2 = __esm(() => {
45686
46381
  init_skyWithdraw();
45687
46382
  init_components();
45688
46383
  init_tools();
45689
- args34 = {
46384
+ args35 = {
45690
46385
  request: SkyWithdrawRequest$inboundSchema
45691
46386
  };
45692
46387
  tool$skyWithdraw = {
@@ -45696,9 +46391,9 @@ var init_skyWithdraw2 = __esm(() => {
45696
46391
  Withdraw USDS for sUSDS to stop earning yield.
45697
46392
 
45698
46393
  There are no fees.`,
45699
- args: args34,
45700
- tool: async (client, args35, ctx) => {
45701
- const [result, apiCall] = await skyWithdraw(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46394
+ args: args35,
46395
+ tool: async (client, args36, ctx) => {
46396
+ const [result, apiCall] = await skyWithdraw(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45702
46397
  if (!result.ok) {
45703
46398
  return {
45704
46399
  content: [{ type: "text", text: result.error.message }],
@@ -45713,9 +46408,9 @@ There are no fees.`,
45713
46408
 
45714
46409
  // src/funcs/tokenAddress.ts
45715
46410
  function tokenAddress(client, request, options) {
45716
- return new APIPromise($do35(client, request, options));
46411
+ return new APIPromise($do36(client, request, options));
45717
46412
  }
45718
- async function $do35(client, request, options) {
46413
+ async function $do36(client, request, options) {
45719
46414
  const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
45720
46415
  if (!parsed.ok) {
45721
46416
  return [parsed, { status: "invalid" }];
@@ -45789,12 +46484,12 @@ var init_tokenAddress = __esm(() => {
45789
46484
  });
45790
46485
 
45791
46486
  // src/mcp-server/tools/tokenAddress.ts
45792
- var args35, tool$tokenAddress;
46487
+ var args36, tool$tokenAddress;
45793
46488
  var init_tokenAddress2 = __esm(() => {
45794
46489
  init_tokenAddress();
45795
46490
  init_operations();
45796
46491
  init_tools();
45797
- args35 = {
46492
+ args36 = {
45798
46493
  request: TokenAddressRequest$inboundSchema
45799
46494
  };
45800
46495
  tool$tokenAddress = {
@@ -45802,9 +46497,9 @@ var init_tokenAddress2 = __esm(() => {
45802
46497
  description: `Token Address
45803
46498
 
45804
46499
  This endpoint retrieves the address for a token supported by us.`,
45805
- args: args35,
45806
- tool: async (client, args36, ctx) => {
45807
- const [result, apiCall] = await tokenAddress(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46500
+ args: args36,
46501
+ tool: async (client, args37, ctx) => {
46502
+ const [result, apiCall] = await tokenAddress(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45808
46503
  if (!result.ok) {
45809
46504
  return {
45810
46505
  content: [{ type: "text", text: result.error.message }],
@@ -45819,9 +46514,9 @@ This endpoint retrieves the address for a token supported by us.`,
45819
46514
 
45820
46515
  // src/funcs/tokenBalance.ts
45821
46516
  function tokenBalance(client, request, options) {
45822
- return new APIPromise($do36(client, request, options));
46517
+ return new APIPromise($do37(client, request, options));
45823
46518
  }
45824
- async function $do36(client, request, options) {
46519
+ async function $do37(client, request, options) {
45825
46520
  const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
45826
46521
  if (!parsed.ok) {
45827
46522
  return [parsed, { status: "invalid" }];
@@ -45896,12 +46591,12 @@ var init_tokenBalance = __esm(() => {
45896
46591
  });
45897
46592
 
45898
46593
  // src/mcp-server/tools/tokenBalance.ts
45899
- var args36, tool$tokenBalance;
46594
+ var args37, tool$tokenBalance;
45900
46595
  var init_tokenBalance2 = __esm(() => {
45901
46596
  init_tokenBalance();
45902
46597
  init_operations();
45903
46598
  init_tools();
45904
- args36 = {
46599
+ args37 = {
45905
46600
  request: TokenBalanceRequest$inboundSchema
45906
46601
  };
45907
46602
  tool$tokenBalance = {
@@ -45909,9 +46604,9 @@ var init_tokenBalance2 = __esm(() => {
45909
46604
  description: `Token Balance
45910
46605
 
45911
46606
  Returns the balance of a specific ERC20 token for a given user address.`,
45912
- args: args36,
45913
- tool: async (client, args37, ctx) => {
45914
- const [result, apiCall] = await tokenBalance(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46607
+ args: args37,
46608
+ tool: async (client, args38, ctx) => {
46609
+ const [result, apiCall] = await tokenBalance(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45915
46610
  if (!result.ok) {
45916
46611
  return {
45917
46612
  content: [{ type: "text", text: result.error.message }],
@@ -45926,9 +46621,9 @@ Returns the balance of a specific ERC20 token for a given user address.`,
45926
46621
 
45927
46622
  // src/funcs/tokenPrice.ts
45928
46623
  function tokenPrice(client, request, options) {
45929
- return new APIPromise($do37(client, request, options));
46624
+ return new APIPromise($do38(client, request, options));
45930
46625
  }
45931
- async function $do37(client, request, options) {
46626
+ async function $do38(client, request, options) {
45932
46627
  const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
45933
46628
  if (!parsed.ok) {
45934
46629
  return [parsed, { status: "invalid" }];
@@ -46002,12 +46697,12 @@ var init_tokenPrice = __esm(() => {
46002
46697
  });
46003
46698
 
46004
46699
  // src/mcp-server/tools/tokenPrice.ts
46005
- var args37, tool$tokenPrice;
46700
+ var args38, tool$tokenPrice;
46006
46701
  var init_tokenPrice2 = __esm(() => {
46007
46702
  init_tokenPrice();
46008
46703
  init_operations();
46009
46704
  init_tools();
46010
- args37 = {
46705
+ args38 = {
46011
46706
  request: TokenPriceRequest$inboundSchema
46012
46707
  };
46013
46708
  tool$tokenPrice = {
@@ -46019,9 +46714,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
46019
46714
  Chainlink is a decentralized oracle that aggregates price data from off-chain
46020
46715
  sources. This ensures the price is tamper-resistant but the price might be stale
46021
46716
  with the update frequency of the oracle.`,
46022
- args: args37,
46023
- tool: async (client, args38, ctx) => {
46024
- const [result, apiCall] = await tokenPrice(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46717
+ args: args38,
46718
+ tool: async (client, args39, ctx) => {
46719
+ const [result, apiCall] = await tokenPrice(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46025
46720
  if (!result.ok) {
46026
46721
  return {
46027
46722
  content: [{ type: "text", text: result.error.message }],
@@ -46036,9 +46731,9 @@ with the update frequency of the oracle.`,
46036
46731
 
46037
46732
  // src/funcs/tokenTransfer.ts
46038
46733
  function tokenTransfer(client, request, options) {
46039
- return new APIPromise($do38(client, request, options));
46734
+ return new APIPromise($do39(client, request, options));
46040
46735
  }
46041
- async function $do38(client, request, options) {
46736
+ async function $do39(client, request, options) {
46042
46737
  const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
46043
46738
  if (!parsed.ok) {
46044
46739
  return [parsed, { status: "invalid" }];
@@ -46107,12 +46802,12 @@ var init_tokenTransfer = __esm(() => {
46107
46802
  });
46108
46803
 
46109
46804
  // src/mcp-server/tools/tokenTransfer.ts
46110
- var args38, tool$tokenTransfer;
46805
+ var args39, tool$tokenTransfer;
46111
46806
  var init_tokenTransfer2 = __esm(() => {
46112
46807
  init_tokenTransfer();
46113
46808
  init_components();
46114
46809
  init_tools();
46115
- args38 = {
46810
+ args39 = {
46116
46811
  request: TokenTransferRequest$inboundSchema
46117
46812
  };
46118
46813
  tool$tokenTransfer = {
@@ -46120,9 +46815,9 @@ var init_tokenTransfer2 = __esm(() => {
46120
46815
  description: `Transfer ETH or ERC20 Tokens
46121
46816
 
46122
46817
  Sends native ETH or ERC20 tokens from the sender's address to another address.`,
46123
- args: args38,
46124
- tool: async (client, args39, ctx) => {
46125
- const [result, apiCall] = await tokenTransfer(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46818
+ args: args39,
46819
+ tool: async (client, args40, ctx) => {
46820
+ const [result, apiCall] = await tokenTransfer(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46126
46821
  if (!result.ok) {
46127
46822
  return {
46128
46823
  content: [{ type: "text", text: result.error.message }],
@@ -46137,9 +46832,9 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
46137
46832
 
46138
46833
  // src/funcs/transactionBatchingAaveLoop.ts
46139
46834
  function transactionBatchingAaveLoop(client, request, options) {
46140
- return new APIPromise($do39(client, request, options));
46835
+ return new APIPromise($do40(client, request, options));
46141
46836
  }
46142
- async function $do39(client, request, options) {
46837
+ async function $do40(client, request, options) {
46143
46838
  const parsed = safeParse(request, (value) => AaveLoopRequest$outboundSchema.parse(value), "Input validation failed");
46144
46839
  if (!parsed.ok) {
46145
46840
  return [parsed, { status: "invalid" }];
@@ -46208,12 +46903,12 @@ var init_transactionBatchingAaveLoop = __esm(() => {
46208
46903
  });
46209
46904
 
46210
46905
  // src/mcp-server/tools/transactionBatchingAaveLoop.ts
46211
- var args39, tool$transactionBatchingAaveLoop;
46906
+ var args40, tool$transactionBatchingAaveLoop;
46212
46907
  var init_transactionBatchingAaveLoop2 = __esm(() => {
46213
46908
  init_transactionBatchingAaveLoop();
46214
46909
  init_components();
46215
46910
  init_tools();
46216
- args39 = {
46911
+ args40 = {
46217
46912
  request: AaveLoopRequest$inboundSchema
46218
46913
  };
46219
46914
  tool$transactionBatchingAaveLoop = {
@@ -46231,9 +46926,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
46231
46926
  - Supplies the swapped tokens
46232
46927
 
46233
46928
  The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
46234
- args: args39,
46235
- tool: async (client, args40, ctx) => {
46236
- const [result, apiCall] = await transactionBatchingAaveLoop(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46929
+ args: args40,
46930
+ tool: async (client, args41, ctx) => {
46931
+ const [result, apiCall] = await transactionBatchingAaveLoop(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46237
46932
  if (!result.ok) {
46238
46933
  return {
46239
46934
  content: [{ type: "text", text: result.error.message }],
@@ -46248,9 +46943,9 @@ The transaction must be authorized using the /authorization endpoint to prevent
46248
46943
 
46249
46944
  // src/funcs/transactionBatchingAuthorization.ts
46250
46945
  function transactionBatchingAuthorization(client, request, options) {
46251
- return new APIPromise($do40(client, request, options));
46946
+ return new APIPromise($do41(client, request, options));
46252
46947
  }
46253
- async function $do40(client, request, options) {
46948
+ async function $do41(client, request, options) {
46254
46949
  const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
46255
46950
  if (!parsed.ok) {
46256
46951
  return [parsed, { status: "invalid" }];
@@ -46319,12 +47014,12 @@ var init_transactionBatchingAuthorization = __esm(() => {
46319
47014
  });
46320
47015
 
46321
47016
  // src/mcp-server/tools/transactionBatchingAuthorization.ts
46322
- var args40, tool$transactionBatchingAuthorization;
47017
+ var args41, tool$transactionBatchingAuthorization;
46323
47018
  var init_transactionBatchingAuthorization2 = __esm(() => {
46324
47019
  init_transactionBatchingAuthorization();
46325
47020
  init_components();
46326
47021
  init_tools();
46327
- args40 = {
47022
+ args41 = {
46328
47023
  request: MulticallAuthorizationRequest$inboundSchema
46329
47024
  };
46330
47025
  tool$transactionBatchingAuthorization = {
@@ -46337,9 +47032,9 @@ This authorization is required to prevent replay attacks and ensure transaction
46337
47032
  ordering when batching multiple actions into a single transaction. The authorization
46338
47033
  includes a nonce and chain ID to guarantee transaction uniqueness and proper network
46339
47034
  targeting.`,
46340
- args: args40,
46341
- tool: async (client, args41, ctx) => {
46342
- const [result, apiCall] = await transactionBatchingAuthorization(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47035
+ args: args41,
47036
+ tool: async (client, args42, ctx) => {
47037
+ const [result, apiCall] = await transactionBatchingAuthorization(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46343
47038
  if (!result.ok) {
46344
47039
  return {
46345
47040
  content: [{ type: "text", text: result.error.message }],
@@ -46354,9 +47049,9 @@ targeting.`,
46354
47049
 
46355
47050
  // src/funcs/transactionBatchingExecute.ts
46356
47051
  function transactionBatchingExecute(client, request, options) {
46357
- return new APIPromise($do41(client, request, options));
47052
+ return new APIPromise($do42(client, request, options));
46358
47053
  }
46359
- async function $do41(client, request, options) {
47054
+ async function $do42(client, request, options) {
46360
47055
  const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
46361
47056
  if (!parsed.ok) {
46362
47057
  return [parsed, { status: "invalid" }];
@@ -46425,12 +47120,12 @@ var init_transactionBatchingExecute = __esm(() => {
46425
47120
  });
46426
47121
 
46427
47122
  // src/mcp-server/tools/transactionBatchingExecute.ts
46428
- var args41, tool$transactionBatchingExecute;
47123
+ var args42, tool$transactionBatchingExecute;
46429
47124
  var init_transactionBatchingExecute2 = __esm(() => {
46430
47125
  init_transactionBatchingExecute();
46431
47126
  init_components();
46432
47127
  init_tools();
46433
- args41 = {
47128
+ args42 = {
46434
47129
  request: MulticallExecuteRequest$inboundSchema
46435
47130
  };
46436
47131
  tool$transactionBatchingExecute = {
@@ -46443,9 +47138,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
46443
47138
  transaction, reducing gas costs and ensuring all operations succeed or fail
46444
47139
  together. The transaction must be authorized using the /authorization endpoint to
46445
47140
  prevent replay attacks.`,
46446
- args: args41,
46447
- tool: async (client, args42, ctx) => {
46448
- const [result, apiCall] = await transactionBatchingExecute(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47141
+ args: args42,
47142
+ tool: async (client, args43, ctx) => {
47143
+ const [result, apiCall] = await transactionBatchingExecute(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46449
47144
  if (!result.ok) {
46450
47145
  return {
46451
47146
  content: [{ type: "text", text: result.error.message }],
@@ -46460,9 +47155,9 @@ prevent replay attacks.`,
46460
47155
 
46461
47156
  // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
46462
47157
  function uniswapV3LiquidityProvisionIncrease(client, request, options) {
46463
- return new APIPromise($do42(client, request, options));
47158
+ return new APIPromise($do43(client, request, options));
46464
47159
  }
46465
- async function $do42(client, request, options) {
47160
+ async function $do43(client, request, options) {
46466
47161
  const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
46467
47162
  if (!parsed.ok) {
46468
47163
  return [parsed, { status: "invalid" }];
@@ -46531,12 +47226,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
46531
47226
  });
46532
47227
 
46533
47228
  // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
46534
- var args42, tool$uniswapV3LiquidityProvisionIncrease;
47229
+ var args43, tool$uniswapV3LiquidityProvisionIncrease;
46535
47230
  var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
46536
47231
  init_uniswapV3LiquidityProvisionIncrease();
46537
47232
  init_components();
46538
47233
  init_tools();
46539
- args42 = {
47234
+ args43 = {
46540
47235
  request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
46541
47236
  };
46542
47237
  tool$uniswapV3LiquidityProvisionIncrease = {
@@ -46552,9 +47247,9 @@ beneficial for users who wish to enhance their potential earnings from trading f
46552
47247
  within the pool. The endpoint requires details such as the token pair, additional
46553
47248
  amount to be added, and any other parameters necessary for the liquidity increase
46554
47249
  process.`,
46555
- args: args42,
46556
- tool: async (client, args43, ctx) => {
46557
- const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47250
+ args: args43,
47251
+ tool: async (client, args44, ctx) => {
47252
+ const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46558
47253
  if (!result.ok) {
46559
47254
  return {
46560
47255
  content: [{ type: "text", text: result.error.message }],
@@ -46569,9 +47264,9 @@ process.`,
46569
47264
 
46570
47265
  // src/funcs/uniswapV3LiquidityProvisionInRange.ts
46571
47266
  function uniswapV3LiquidityProvisionInRange(client, request, options) {
46572
- return new APIPromise($do43(client, request, options));
47267
+ return new APIPromise($do44(client, request, options));
46573
47268
  }
46574
- async function $do43(client, request, options) {
47269
+ async function $do44(client, request, options) {
46575
47270
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
46576
47271
  if (!parsed.ok) {
46577
47272
  return [parsed, { status: "invalid" }];
@@ -46645,12 +47340,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
46645
47340
  });
46646
47341
 
46647
47342
  // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
46648
- var args43, tool$uniswapV3LiquidityProvisionInRange;
47343
+ var args44, tool$uniswapV3LiquidityProvisionInRange;
46649
47344
  var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
46650
47345
  init_uniswapV3LiquidityProvisionInRange();
46651
47346
  init_operations();
46652
47347
  init_tools();
46653
- args43 = {
47348
+ args44 = {
46654
47349
  request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
46655
47350
  };
46656
47351
  tool$uniswapV3LiquidityProvisionInRange = {
@@ -46665,9 +47360,9 @@ position is currently within the tick range where trading occurs. this informati
46665
47360
  is essential for users to monitor the status of their lp positions and ensure that
46666
47361
  they are actively participating in the trading activities within the liquidity pool
46667
47362
  and earning trading fees.`,
46668
- args: args43,
46669
- tool: async (client, args44, ctx) => {
46670
- const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47363
+ args: args44,
47364
+ tool: async (client, args45, ctx) => {
47365
+ const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46671
47366
  if (!result.ok) {
46672
47367
  return {
46673
47368
  content: [{ type: "text", text: result.error.message }],
@@ -46682,9 +47377,9 @@ and earning trading fees.`,
46682
47377
 
46683
47378
  // src/funcs/uniswapV3LiquidityProvisionMint.ts
46684
47379
  function uniswapV3LiquidityProvisionMint(client, request, options) {
46685
- return new APIPromise($do44(client, request, options));
47380
+ return new APIPromise($do45(client, request, options));
46686
47381
  }
46687
- async function $do44(client, request, options) {
47382
+ async function $do45(client, request, options) {
46688
47383
  const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
46689
47384
  if (!parsed.ok) {
46690
47385
  return [parsed, { status: "invalid" }];
@@ -46753,12 +47448,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
46753
47448
  });
46754
47449
 
46755
47450
  // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
46756
- var args44, tool$uniswapV3LiquidityProvisionMint;
47451
+ var args45, tool$uniswapV3LiquidityProvisionMint;
46757
47452
  var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
46758
47453
  init_uniswapV3LiquidityProvisionMint();
46759
47454
  init_components();
46760
47455
  init_tools();
46761
- args44 = {
47456
+ args45 = {
46762
47457
  request: UniswapMintLiquidityProvisionRequest$inboundSchema
46763
47458
  };
46764
47459
  tool$uniswapV3LiquidityProvisionMint = {
@@ -46774,9 +47469,9 @@ This operation is essential for users looking to participate in liquidity provis
46774
47469
  enabling them to earn fees from trades that occur within the pool. The endpoint
46775
47470
  requires details such as the token pair, amount, and any additional parameters
46776
47471
  needed for the minting process.`,
46777
- args: args44,
46778
- tool: async (client, args45, ctx) => {
46779
- const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47472
+ args: args45,
47473
+ tool: async (client, args46, ctx) => {
47474
+ const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46780
47475
  if (!result.ok) {
46781
47476
  return {
46782
47477
  content: [{ type: "text", text: result.error.message }],
@@ -46791,9 +47486,9 @@ needed for the minting process.`,
46791
47486
 
46792
47487
  // src/funcs/uniswapV3LiquidityProvisionPositions.ts
46793
47488
  function uniswapV3LiquidityProvisionPositions(client, request, options) {
46794
- return new APIPromise($do45(client, request, options));
47489
+ return new APIPromise($do46(client, request, options));
46795
47490
  }
46796
- async function $do45(client, request, options) {
47491
+ async function $do46(client, request, options) {
46797
47492
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
46798
47493
  if (!parsed.ok) {
46799
47494
  return [parsed, { status: "invalid" }];
@@ -46867,12 +47562,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
46867
47562
  });
46868
47563
 
46869
47564
  // src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
46870
- var args45, tool$uniswapV3LiquidityProvisionPositions;
47565
+ var args46, tool$uniswapV3LiquidityProvisionPositions;
46871
47566
  var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
46872
47567
  init_uniswapV3LiquidityProvisionPositions();
46873
47568
  init_operations();
46874
47569
  init_tools();
46875
- args45 = {
47570
+ args46 = {
46876
47571
  request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
46877
47572
  };
46878
47573
  tool$uniswapV3LiquidityProvisionPositions = {
@@ -46886,9 +47581,9 @@ Users can query this endpoint to obtain detailed information about their LP
46886
47581
  positions, including the total number of positions and relevant metadata. This
46887
47582
  information is crucial for users to manage and analyze their liquidity provision
46888
47583
  activities effectively.`,
46889
- args: args45,
46890
- tool: async (client, args46, ctx) => {
46891
- const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47584
+ args: args46,
47585
+ tool: async (client, args47, ctx) => {
47586
+ const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46892
47587
  if (!result.ok) {
46893
47588
  return {
46894
47589
  content: [{ type: "text", text: result.error.message }],
@@ -46903,9 +47598,9 @@ activities effectively.`,
46903
47598
 
46904
47599
  // src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
46905
47600
  function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
46906
- return new APIPromise($do46(client, request, options));
47601
+ return new APIPromise($do47(client, request, options));
46907
47602
  }
46908
- async function $do46(client, request, options) {
47603
+ async function $do47(client, request, options) {
46909
47604
  const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
46910
47605
  if (!parsed.ok) {
46911
47606
  return [parsed, { status: "invalid" }];
@@ -46974,12 +47669,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
46974
47669
  });
46975
47670
 
46976
47671
  // src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
46977
- var args46, tool$uniswapV3LiquidityProvisionWithdraw;
47672
+ var args47, tool$uniswapV3LiquidityProvisionWithdraw;
46978
47673
  var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
46979
47674
  init_uniswapV3LiquidityProvisionWithdraw();
46980
47675
  init_components();
46981
47676
  init_tools();
46982
- args46 = {
47677
+ args47 = {
46983
47678
  request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
46984
47679
  };
46985
47680
  tool$uniswapV3LiquidityProvisionWithdraw = {
@@ -46996,9 +47691,9 @@ pools or investments. The endpoint requires details such as the token pair, the
46996
47691
  amount to be withdrawn, and any additional parameters needed for the withdrawal
46997
47692
  process. Users should ensure they meet any protocol requirements or conditions
46998
47693
  before initiating a withdrawal to avoid potential issues or penalties.`,
46999
- args: args46,
47000
- tool: async (client, args47, ctx) => {
47001
- const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47694
+ args: args47,
47695
+ tool: async (client, args48, ctx) => {
47696
+ const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47002
47697
  if (!result.ok) {
47003
47698
  return {
47004
47699
  content: [{ type: "text", text: result.error.message }],
@@ -47013,9 +47708,9 @@ before initiating a withdrawal to avoid potential issues or penalties.`,
47013
47708
 
47014
47709
  // src/funcs/uniswapV3PoolPrice.ts
47015
47710
  function uniswapV3PoolPrice(client, request, options) {
47016
- return new APIPromise($do47(client, request, options));
47711
+ return new APIPromise($do48(client, request, options));
47017
47712
  }
47018
- async function $do47(client, request, options) {
47713
+ async function $do48(client, request, options) {
47019
47714
  const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
47020
47715
  if (!parsed.ok) {
47021
47716
  return [parsed, { status: "invalid" }];
@@ -47091,12 +47786,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
47091
47786
  });
47092
47787
 
47093
47788
  // src/mcp-server/tools/uniswapV3PoolPrice.ts
47094
- var args47, tool$uniswapV3PoolPrice;
47789
+ var args48, tool$uniswapV3PoolPrice;
47095
47790
  var init_uniswapV3PoolPrice2 = __esm(() => {
47096
47791
  init_uniswapV3PoolPrice();
47097
47792
  init_operations();
47098
47793
  init_tools();
47099
- args47 = {
47794
+ args48 = {
47100
47795
  request: UniswapPoolPriceRequest$inboundSchema
47101
47796
  };
47102
47797
  tool$uniswapV3PoolPrice = {
@@ -47106,9 +47801,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
47106
47801
  This endpoint calculates the price of a token in a Uniswap pool.
47107
47802
 
47108
47803
  The price is calculated based on the current pool state and the specified fee tier.`,
47109
- args: args47,
47110
- tool: async (client, args48, ctx) => {
47111
- const [result, apiCall] = await uniswapV3PoolPrice(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47804
+ args: args48,
47805
+ tool: async (client, args49, ctx) => {
47806
+ const [result, apiCall] = await uniswapV3PoolPrice(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47112
47807
  if (!result.ok) {
47113
47808
  return {
47114
47809
  content: [{ type: "text", text: result.error.message }],
@@ -47123,9 +47818,9 @@ The price is calculated based on the current pool state and the specified fee ti
47123
47818
 
47124
47819
  // src/funcs/uniswapV3QuoteBuyExactly.ts
47125
47820
  function uniswapV3QuoteBuyExactly(client, request, options) {
47126
- return new APIPromise($do48(client, request, options));
47821
+ return new APIPromise($do49(client, request, options));
47127
47822
  }
47128
- async function $do48(client, request, options) {
47823
+ async function $do49(client, request, options) {
47129
47824
  const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
47130
47825
  if (!parsed.ok) {
47131
47826
  return [parsed, { status: "invalid" }];
@@ -47202,12 +47897,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
47202
47897
  });
47203
47898
 
47204
47899
  // src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
47205
- var args48, tool$uniswapV3QuoteBuyExactly;
47900
+ var args49, tool$uniswapV3QuoteBuyExactly;
47206
47901
  var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
47207
47902
  init_uniswapV3QuoteBuyExactly();
47208
47903
  init_operations();
47209
47904
  init_tools();
47210
- args48 = {
47905
+ args49 = {
47211
47906
  request: UniswapQuoteBuyExactlyRequest$inboundSchema
47212
47907
  };
47213
47908
  tool$uniswapV3QuoteBuyExactly = {
@@ -47219,9 +47914,9 @@ specified amount of output tokens from a Uniswap pool.
47219
47914
 
47220
47915
  It also provides the resulting price after the transaction. The calculation takes
47221
47916
  into account the current pool state and the specified fee tier.`,
47222
- args: args48,
47223
- tool: async (client, args49, ctx) => {
47224
- const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47917
+ args: args49,
47918
+ tool: async (client, args50, ctx) => {
47919
+ const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47225
47920
  if (!result.ok) {
47226
47921
  return {
47227
47922
  content: [{ type: "text", text: result.error.message }],
@@ -47236,9 +47931,9 @@ into account the current pool state and the specified fee tier.`,
47236
47931
 
47237
47932
  // src/funcs/uniswapV3QuoteSellExactly.ts
47238
47933
  function uniswapV3QuoteSellExactly(client, request, options) {
47239
- return new APIPromise($do49(client, request, options));
47934
+ return new APIPromise($do50(client, request, options));
47240
47935
  }
47241
- async function $do49(client, request, options) {
47936
+ async function $do50(client, request, options) {
47242
47937
  const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
47243
47938
  if (!parsed.ok) {
47244
47939
  return [parsed, { status: "invalid" }];
@@ -47315,12 +48010,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
47315
48010
  });
47316
48011
 
47317
48012
  // src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
47318
- var args49, tool$uniswapV3QuoteSellExactly;
48013
+ var args50, tool$uniswapV3QuoteSellExactly;
47319
48014
  var init_uniswapV3QuoteSellExactly2 = __esm(() => {
47320
48015
  init_uniswapV3QuoteSellExactly();
47321
48016
  init_operations();
47322
48017
  init_tools();
47323
- args49 = {
48018
+ args50 = {
47324
48019
  request: UniswapQuoteSellExactlyRequest$inboundSchema
47325
48020
  };
47326
48021
  tool$uniswapV3QuoteSellExactly = {
@@ -47332,9 +48027,9 @@ specified amount of output tokens from a Uniswap pool.
47332
48027
 
47333
48028
  It also provides the resulting price after the transaction. The calculation takes
47334
48029
  into account the current pool state and the specified fee tier.`,
47335
- args: args49,
47336
- tool: async (client, args50, ctx) => {
47337
- const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48030
+ args: args50,
48031
+ tool: async (client, args51, ctx) => {
48032
+ const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47338
48033
  if (!result.ok) {
47339
48034
  return {
47340
48035
  content: [{ type: "text", text: result.error.message }],
@@ -47349,9 +48044,9 @@ into account the current pool state and the specified fee tier.`,
47349
48044
 
47350
48045
  // src/funcs/uniswapV3SwapBuyExactly.ts
47351
48046
  function uniswapV3SwapBuyExactly(client, request, options) {
47352
- return new APIPromise($do50(client, request, options));
48047
+ return new APIPromise($do51(client, request, options));
47353
48048
  }
47354
- async function $do50(client, request, options) {
48049
+ async function $do51(client, request, options) {
47355
48050
  const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
47356
48051
  if (!parsed.ok) {
47357
48052
  return [parsed, { status: "invalid" }];
@@ -47420,12 +48115,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
47420
48115
  });
47421
48116
 
47422
48117
  // src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
47423
- var args50, tool$uniswapV3SwapBuyExactly;
48118
+ var args51, tool$uniswapV3SwapBuyExactly;
47424
48119
  var init_uniswapV3SwapBuyExactly2 = __esm(() => {
47425
48120
  init_uniswapV3SwapBuyExactly();
47426
48121
  init_components();
47427
48122
  init_tools();
47428
- args50 = {
48123
+ args51 = {
47429
48124
  request: UniswapBuyExactlyRequest$inboundSchema
47430
48125
  };
47431
48126
  tool$uniswapV3SwapBuyExactly = {
@@ -47439,9 +48134,9 @@ The transaction is executed on the specified blockchain network, and the user mu
47439
48134
  provide the necessary transaction details, including the token to buy, the token to
47440
48135
  pay with, and the exact amount to receive. If the token being paid with is WETH and
47441
48136
  needs to be wrapped, the appropriate amount will be wrapped automatically.`,
47442
- args: args50,
47443
- tool: async (client, args51, ctx) => {
47444
- const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48137
+ args: args51,
48138
+ tool: async (client, args52, ctx) => {
48139
+ const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47445
48140
  if (!result.ok) {
47446
48141
  return {
47447
48142
  content: [{ type: "text", text: result.error.message }],
@@ -47456,9 +48151,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.`,
47456
48151
 
47457
48152
  // src/funcs/uniswapV3SwapSellExactly.ts
47458
48153
  function uniswapV3SwapSellExactly(client, request, options) {
47459
- return new APIPromise($do51(client, request, options));
48154
+ return new APIPromise($do52(client, request, options));
47460
48155
  }
47461
- async function $do51(client, request, options) {
48156
+ async function $do52(client, request, options) {
47462
48157
  const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
47463
48158
  if (!parsed.ok) {
47464
48159
  return [parsed, { status: "invalid" }];
@@ -47527,12 +48222,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
47527
48222
  });
47528
48223
 
47529
48224
  // src/mcp-server/tools/uniswapV3SwapSellExactly.ts
47530
- var args51, tool$uniswapV3SwapSellExactly;
48225
+ var args52, tool$uniswapV3SwapSellExactly;
47531
48226
  var init_uniswapV3SwapSellExactly2 = __esm(() => {
47532
48227
  init_uniswapV3SwapSellExactly();
47533
48228
  init_components();
47534
48229
  init_tools();
47535
- args51 = {
48230
+ args52 = {
47536
48231
  request: UniswapSellExactlyRequest$inboundSchema
47537
48232
  };
47538
48233
  tool$uniswapV3SwapSellExactly = {
@@ -47546,9 +48241,9 @@ The transaction is executed on the specified blockchain network, and the user mu
47546
48241
  provide the necessary transaction details, including the token to sell, the token to
47547
48242
  receive, and the amount to sell. If the token being sold is WETH and needs to be
47548
48243
  wrapped, the appropriate amount will be wrapped automatically.`,
47549
- args: args51,
47550
- tool: async (client, args52, ctx) => {
47551
- const [result, apiCall] = await uniswapV3SwapSellExactly(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48244
+ args: args52,
48245
+ tool: async (client, args53, ctx) => {
48246
+ const [result, apiCall] = await uniswapV3SwapSellExactly(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47552
48247
  if (!result.ok) {
47553
48248
  return {
47554
48249
  content: [{ type: "text", text: result.error.message }],
@@ -47563,9 +48258,9 @@ wrapped, the appropriate amount will be wrapped automatically.`,
47563
48258
 
47564
48259
  // src/funcs/universalAllowance.ts
47565
48260
  function universalAllowance(client, request, options) {
47566
- return new APIPromise($do52(client, request, options));
48261
+ return new APIPromise($do53(client, request, options));
47567
48262
  }
47568
- async function $do52(client, request, options) {
48263
+ async function $do53(client, request, options) {
47569
48264
  const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
47570
48265
  if (!parsed.ok) {
47571
48266
  return [parsed, { status: "invalid" }];
@@ -47641,12 +48336,12 @@ var init_universalAllowance = __esm(() => {
47641
48336
  });
47642
48337
 
47643
48338
  // src/mcp-server/tools/universalAllowance.ts
47644
- var args52, tool$universalAllowance;
48339
+ var args53, tool$universalAllowance;
47645
48340
  var init_universalAllowance2 = __esm(() => {
47646
48341
  init_universalAllowance();
47647
48342
  init_operations();
47648
48343
  init_tools();
47649
- args52 = {
48344
+ args53 = {
47650
48345
  request: GenericAllowanceRequest$inboundSchema
47651
48346
  };
47652
48347
  tool$universalAllowance = {
@@ -47660,9 +48355,9 @@ tokens on their behalf.
47660
48355
  This is a crucial step before engaging in any transactions or operations within
47661
48356
  these protocols, ensuring that the protocol has the necessary permissions to manage
47662
48357
  the user's tokens securely and efficiently.`,
47663
- args: args52,
47664
- tool: async (client, args53, ctx) => {
47665
- const [result, apiCall] = await universalAllowance(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48358
+ args: args53,
48359
+ tool: async (client, args54, ctx) => {
48360
+ const [result, apiCall] = await universalAllowance(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47666
48361
  if (!result.ok) {
47667
48362
  return {
47668
48363
  content: [{ type: "text", text: result.error.message }],
@@ -47677,9 +48372,9 @@ the user's tokens securely and efficiently.`,
47677
48372
 
47678
48373
  // src/funcs/universalAllowanceSet.ts
47679
48374
  function universalAllowanceSet(client, request, options) {
47680
- return new APIPromise($do53(client, request, options));
48375
+ return new APIPromise($do54(client, request, options));
47681
48376
  }
47682
- async function $do53(client, request, options) {
48377
+ async function $do54(client, request, options) {
47683
48378
  const parsed = safeParse(request, (value) => IncreaseAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
47684
48379
  if (!parsed.ok) {
47685
48380
  return [parsed, { status: "invalid" }];
@@ -47748,12 +48443,12 @@ var init_universalAllowanceSet = __esm(() => {
47748
48443
  });
47749
48444
 
47750
48445
  // src/mcp-server/tools/universalAllowanceSet.ts
47751
- var args53, tool$universalAllowanceSet;
48446
+ var args54, tool$universalAllowanceSet;
47752
48447
  var init_universalAllowanceSet2 = __esm(() => {
47753
48448
  init_universalAllowanceSet();
47754
48449
  init_components();
47755
48450
  init_tools();
47756
- args53 = {
48451
+ args54 = {
47757
48452
  request: IncreaseAllowanceRequest$inboundSchema
47758
48453
  };
47759
48454
  tool$universalAllowanceSet = {
@@ -47767,9 +48462,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
47767
48462
  This operation is crucial for ensuring that the protocol can manage the user's
47768
48463
  tokens securely and efficiently, enabling seamless transactions and operations
47769
48464
  within the DeFi ecosystem.`,
47770
- args: args53,
47771
- tool: async (client, args54, ctx) => {
47772
- const [result, apiCall] = await universalAllowanceSet(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48465
+ args: args54,
48466
+ tool: async (client, args55, ctx) => {
48467
+ const [result, apiCall] = await universalAllowanceSet(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47773
48468
  if (!result.ok) {
47774
48469
  return {
47775
48470
  content: [{ type: "text", text: result.error.message }],
@@ -47784,9 +48479,9 @@ within the DeFi ecosystem.`,
47784
48479
 
47785
48480
  // src/funcs/universalEns.ts
47786
48481
  function universalEns(client, request, options) {
47787
- return new APIPromise($do54(client, request, options));
48482
+ return new APIPromise($do55(client, request, options));
47788
48483
  }
47789
- async function $do54(client, request, options) {
48484
+ async function $do55(client, request, options) {
47790
48485
  const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
47791
48486
  if (!parsed.ok) {
47792
48487
  return [parsed, { status: "invalid" }];
@@ -47860,12 +48555,12 @@ var init_universalEns = __esm(() => {
47860
48555
  });
47861
48556
 
47862
48557
  // src/mcp-server/tools/universalEns.ts
47863
- var args54, tool$universalEns;
48558
+ var args55, tool$universalEns;
47864
48559
  var init_universalEns2 = __esm(() => {
47865
48560
  init_universalEns();
47866
48561
  init_operations();
47867
48562
  init_tools();
47868
- args54 = {
48563
+ args55 = {
47869
48564
  request: GenericEnsRequest$inboundSchema
47870
48565
  };
47871
48566
  tool$universalEns = {
@@ -47876,9 +48571,9 @@ An ENS name is a string ending in \`.eth\`.
47876
48571
 
47877
48572
  E.g. \`vitalik.eth\`. This endpoint can be used to
47878
48573
  query the actual ethereum wallet address behind the ENS name.`,
47879
- args: args54,
47880
- tool: async (client, args55, ctx) => {
47881
- const [result, apiCall] = await universalEns(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48574
+ args: args55,
48575
+ tool: async (client, args56, ctx) => {
48576
+ const [result, apiCall] = await universalEns(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47882
48577
  if (!result.ok) {
47883
48578
  return {
47884
48579
  content: [{ type: "text", text: result.error.message }],
@@ -47893,9 +48588,9 @@ query the actual ethereum wallet address behind the ENS name.`,
47893
48588
 
47894
48589
  // src/funcs/universalPortfolio.ts
47895
48590
  function universalPortfolio(client, request, options) {
47896
- return new APIPromise($do55(client, request, options));
48591
+ return new APIPromise($do56(client, request, options));
47897
48592
  }
47898
- async function $do55(client, request, options) {
48593
+ async function $do56(client, request, options) {
47899
48594
  const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
47900
48595
  if (!parsed.ok) {
47901
48596
  return [parsed, { status: "invalid" }];
@@ -47969,12 +48664,12 @@ var init_universalPortfolio = __esm(() => {
47969
48664
  });
47970
48665
 
47971
48666
  // src/mcp-server/tools/universalPortfolio.ts
47972
- var args55, tool$universalPortfolio;
48667
+ var args56, tool$universalPortfolio;
47973
48668
  var init_universalPortfolio2 = __esm(() => {
47974
48669
  init_universalPortfolio();
47975
48670
  init_operations();
47976
48671
  init_tools();
47977
- args55 = {
48672
+ args56 = {
47978
48673
  request: GenericPortfolioRequest$inboundSchema
47979
48674
  };
47980
48675
  tool$universalPortfolio = {
@@ -47985,9 +48680,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
47985
48680
 
47986
48681
  This includes the total value of the portfolio in USD and a breakdown of token
47987
48682
  balances, including their respective values and quantities.`,
47988
- args: args55,
47989
- tool: async (client, args56, ctx) => {
47990
- const [result, apiCall] = await universalPortfolio(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48683
+ args: args56,
48684
+ tool: async (client, args57, ctx) => {
48685
+ const [result, apiCall] = await universalPortfolio(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47991
48686
  if (!result.ok) {
47992
48687
  return {
47993
48688
  content: [{ type: "text", text: result.error.message }],
@@ -48002,9 +48697,9 @@ balances, including their respective values and quantities.`,
48002
48697
 
48003
48698
  // src/funcs/universalSupportedTokens.ts
48004
48699
  function universalSupportedTokens(client, request, options) {
48005
- return new APIPromise($do56(client, request, options));
48700
+ return new APIPromise($do57(client, request, options));
48006
48701
  }
48007
- async function $do56(client, request, options) {
48702
+ async function $do57(client, request, options) {
48008
48703
  const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
48009
48704
  if (!parsed.ok) {
48010
48705
  return [parsed, { status: "invalid" }];
@@ -48077,12 +48772,12 @@ var init_universalSupportedTokens = __esm(() => {
48077
48772
  });
48078
48773
 
48079
48774
  // src/mcp-server/tools/universalSupportedTokens.ts
48080
- var args56, tool$universalSupportedTokens;
48775
+ var args57, tool$universalSupportedTokens;
48081
48776
  var init_universalSupportedTokens2 = __esm(() => {
48082
48777
  init_universalSupportedTokens();
48083
48778
  init_operations();
48084
48779
  init_tools();
48085
- args56 = {
48780
+ args57 = {
48086
48781
  request: GenericSupportedTokensRequest$inboundSchema
48087
48782
  };
48088
48783
  tool$universalSupportedTokens = {
@@ -48090,9 +48785,9 @@ var init_universalSupportedTokens2 = __esm(() => {
48090
48785
  description: `List supported tokens
48091
48786
 
48092
48787
  Get the list of supported tokens on a chain by the Compass API.`,
48093
- args: args56,
48094
- tool: async (client, args57, ctx) => {
48095
- const [result, apiCall] = await universalSupportedTokens(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48788
+ args: args57,
48789
+ tool: async (client, args58, ctx) => {
48790
+ const [result, apiCall] = await universalSupportedTokens(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48096
48791
  if (!result.ok) {
48097
48792
  return {
48098
48793
  content: [{ type: "text", text: result.error.message }],
@@ -48107,9 +48802,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
48107
48802
 
48108
48803
  // src/funcs/universalUnwrapWeth.ts
48109
48804
  function universalUnwrapWeth(client, request, options) {
48110
- return new APIPromise($do57(client, request, options));
48805
+ return new APIPromise($do58(client, request, options));
48111
48806
  }
48112
- async function $do57(client, request, options) {
48807
+ async function $do58(client, request, options) {
48113
48808
  const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
48114
48809
  if (!parsed.ok) {
48115
48810
  return [parsed, { status: "invalid" }];
@@ -48178,12 +48873,12 @@ var init_universalUnwrapWeth = __esm(() => {
48178
48873
  });
48179
48874
 
48180
48875
  // src/mcp-server/tools/universalUnwrapWeth.ts
48181
- var args57, tool$universalUnwrapWeth;
48876
+ var args58, tool$universalUnwrapWeth;
48182
48877
  var init_universalUnwrapWeth2 = __esm(() => {
48183
48878
  init_universalUnwrapWeth();
48184
48879
  init_components();
48185
48880
  init_tools();
48186
- args57 = {
48881
+ args58 = {
48187
48882
  request: UnwrapWethRequest$inboundSchema
48188
48883
  };
48189
48884
  tool$universalUnwrapWeth = {
@@ -48192,9 +48887,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
48192
48887
 
48193
48888
  Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
48194
48889
  can be used for gas and other native purposes.`,
48195
- args: args57,
48196
- tool: async (client, args58, ctx) => {
48197
- const [result, apiCall] = await universalUnwrapWeth(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48890
+ args: args58,
48891
+ tool: async (client, args59, ctx) => {
48892
+ const [result, apiCall] = await universalUnwrapWeth(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48198
48893
  if (!result.ok) {
48199
48894
  return {
48200
48895
  content: [{ type: "text", text: result.error.message }],
@@ -48209,9 +48904,9 @@ can be used for gas and other native purposes.`,
48209
48904
 
48210
48905
  // src/funcs/universalVisualizePortfolio.ts
48211
48906
  function universalVisualizePortfolio(client, request, options) {
48212
- return new APIPromise($do58(client, request, options));
48907
+ return new APIPromise($do59(client, request, options));
48213
48908
  }
48214
- async function $do58(client, request, options) {
48909
+ async function $do59(client, request, options) {
48215
48910
  const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
48216
48911
  if (!parsed.ok) {
48217
48912
  return [parsed, { status: "invalid" }];
@@ -48285,12 +48980,12 @@ var init_universalVisualizePortfolio = __esm(() => {
48285
48980
  });
48286
48981
 
48287
48982
  // src/mcp-server/tools/universalVisualizePortfolio.ts
48288
- var args58, tool$universalVisualizePortfolio;
48983
+ var args59, tool$universalVisualizePortfolio;
48289
48984
  var init_universalVisualizePortfolio2 = __esm(() => {
48290
48985
  init_universalVisualizePortfolio();
48291
48986
  init_operations();
48292
48987
  init_tools();
48293
- args58 = {
48988
+ args59 = {
48294
48989
  request: GenericVisualizePortfolioRequest$inboundSchema
48295
48990
  };
48296
48991
  tool$universalVisualizePortfolio = {
@@ -48302,9 +48997,9 @@ Generate a visual representation of the token portfolio for a wallet address.
48302
48997
  The response is an SVG image of a pie chart depicting the relative distribution of
48303
48998
  tokens held, colored and labeled with token symbols, percentages and token values in
48304
48999
  USD.`,
48305
- args: args58,
48306
- tool: async (client, args59, ctx) => {
48307
- const [result, apiCall] = await universalVisualizePortfolio(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49000
+ args: args59,
49001
+ tool: async (client, args60, ctx) => {
49002
+ const [result, apiCall] = await universalVisualizePortfolio(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48308
49003
  if (!result.ok) {
48309
49004
  return {
48310
49005
  content: [{ type: "text", text: result.error.message }],
@@ -48319,9 +49014,9 @@ USD.`,
48319
49014
 
48320
49015
  // src/funcs/universalWrapEth.ts
48321
49016
  function universalWrapEth(client, request, options) {
48322
- return new APIPromise($do59(client, request, options));
49017
+ return new APIPromise($do60(client, request, options));
48323
49018
  }
48324
- async function $do59(client, request, options) {
49019
+ async function $do60(client, request, options) {
48325
49020
  const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
48326
49021
  if (!parsed.ok) {
48327
49022
  return [parsed, { status: "invalid" }];
@@ -48390,12 +49085,12 @@ var init_universalWrapEth = __esm(() => {
48390
49085
  });
48391
49086
 
48392
49087
  // src/mcp-server/tools/universalWrapEth.ts
48393
- var args59, tool$universalWrapEth;
49088
+ var args60, tool$universalWrapEth;
48394
49089
  var init_universalWrapEth2 = __esm(() => {
48395
49090
  init_universalWrapEth();
48396
49091
  init_components();
48397
49092
  init_tools();
48398
- args59 = {
49093
+ args60 = {
48399
49094
  request: WrapEthRequest$inboundSchema
48400
49095
  };
48401
49096
  tool$universalWrapEth = {
@@ -48404,9 +49099,9 @@ var init_universalWrapEth2 = __esm(() => {
48404
49099
 
48405
49100
  Wrapping ETH creates an ERC-20 compliant form of ETH that is typically needed for
48406
49101
  it to be traded on DeFi protocols.`,
48407
- args: args59,
48408
- tool: async (client, args60, ctx) => {
48409
- const [result, apiCall] = await universalWrapEth(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49102
+ args: args60,
49103
+ tool: async (client, args61, ctx) => {
49104
+ const [result, apiCall] = await universalWrapEth(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48410
49105
  if (!result.ok) {
48411
49106
  return {
48412
49107
  content: [{ type: "text", text: result.error.message }],
@@ -48423,7 +49118,7 @@ it to be traded on DeFi protocols.`,
48423
49118
  function createMCPServer(deps) {
48424
49119
  const server = new McpServer({
48425
49120
  name: "CompassApiSDK",
48426
- version: "0.0.27"
49121
+ version: "0.0.29"
48427
49122
  });
48428
49123
  const client = new CompassApiSDKCore({
48429
49124
  apiKeyAuth: deps.apiKeyAuth,
@@ -48437,6 +49132,7 @@ function createMCPServer(deps) {
48437
49132
  const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
48438
49133
  const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
48439
49134
  const register = { tool, resource, resourceTemplate, prompt };
49135
+ tool(tool$aaveV3AvgRate);
48440
49136
  tool(tool$aaveV3ReserveOverview);
48441
49137
  tool(tool$aaveV3Rate);
48442
49138
  tool(tool$aaveV3TokenPrice);
@@ -48503,6 +49199,7 @@ var init_server2 = __esm(() => {
48503
49199
  init_core();
48504
49200
  init_resources();
48505
49201
  init_tools();
49202
+ init_aaveV3AvgRate2();
48506
49203
  init_aaveV3Borrow2();
48507
49204
  init_aaveV3HistoricalTransactions2();
48508
49205
  init_aaveV3LiquidityChange2();
@@ -49752,7 +50449,7 @@ var routes = an({
49752
50449
  var app = He(routes, {
49753
50450
  name: "mcp",
49754
50451
  versionInfo: {
49755
- currentVersion: "0.0.27"
50452
+ currentVersion: "0.0.29"
49756
50453
  }
49757
50454
  });
49758
50455
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -49760,5 +50457,5 @@ export {
49760
50457
  app
49761
50458
  };
49762
50459
 
49763
- //# debugId=D1C83EDD5EDEBFF164756E2164756E21
50460
+ //# debugId=ED986B8E995A266764756E2164756E21
49764
50461
  //# sourceMappingURL=mcp-server.js.map