@compass-labs/api-sdk 0.0.16 → 0.0.18

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 (237) hide show
  1. package/README.md +2 -0
  2. package/bin/mcp-server.js +898 -447
  3. package/bin/mcp-server.js.map +29 -13
  4. package/dist/commonjs/funcs/aaveV3HistoricalTransactions.d.ts +23 -0
  5. package/dist/commonjs/funcs/aaveV3HistoricalTransactions.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/aaveV3HistoricalTransactions.js +128 -0
  7. package/dist/commonjs/funcs/aaveV3HistoricalTransactions.js.map +1 -0
  8. package/dist/commonjs/lib/config.d.ts +2 -2
  9. package/dist/commonjs/lib/config.js +2 -2
  10. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  11. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  12. package/dist/commonjs/mcp-server/server.js +3 -1
  13. package/dist/commonjs/mcp-server/server.js.map +1 -1
  14. package/dist/commonjs/mcp-server/tools/aaveV3HistoricalTransactions.d.ts +8 -0
  15. package/dist/commonjs/mcp-server/tools/aaveV3HistoricalTransactions.d.ts.map +1 -0
  16. package/dist/commonjs/mcp-server/tools/aaveV3HistoricalTransactions.js +69 -0
  17. package/dist/commonjs/mcp-server/tools/aaveV3HistoricalTransactions.js.map +1 -0
  18. package/dist/commonjs/models/components/aavehistoricaltransactionbase.d.ts +57 -0
  19. package/dist/commonjs/models/components/aavehistoricaltransactionbase.d.ts.map +1 -0
  20. package/dist/commonjs/models/components/aavehistoricaltransactionbase.js +97 -0
  21. package/dist/commonjs/models/components/aavehistoricaltransactionbase.js.map +1 -0
  22. package/dist/commonjs/models/components/aavehistoricaltransactionsresponse.d.ts +39 -0
  23. package/dist/commonjs/models/components/aavehistoricaltransactionsresponse.d.ts.map +1 -0
  24. package/dist/commonjs/models/components/aavehistoricaltransactionsresponse.js +76 -0
  25. package/dist/commonjs/models/components/aavehistoricaltransactionsresponse.js.map +1 -0
  26. package/dist/commonjs/models/components/action.d.ts +43 -0
  27. package/dist/commonjs/models/components/action.d.ts.map +1 -0
  28. package/dist/commonjs/models/components/action.js +66 -0
  29. package/dist/commonjs/models/components/action.js.map +1 -0
  30. package/dist/commonjs/models/components/borrow.d.ts +42 -0
  31. package/dist/commonjs/models/components/borrow.d.ts.map +1 -0
  32. package/dist/commonjs/models/components/borrow.js +83 -0
  33. package/dist/commonjs/models/components/borrow.js.map +1 -0
  34. package/dist/commonjs/models/components/collateralreserve.d.ts +31 -0
  35. package/dist/commonjs/models/components/collateralreserve.d.ts.map +1 -0
  36. package/dist/commonjs/models/components/collateralreserve.js +71 -0
  37. package/dist/commonjs/models/components/collateralreserve.js.map +1 -0
  38. package/dist/commonjs/models/components/index.d.ts +13 -0
  39. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/components/index.js +13 -0
  41. package/dist/commonjs/models/components/index.js.map +1 -1
  42. package/dist/commonjs/models/components/liquidationcall.d.ts +41 -0
  43. package/dist/commonjs/models/components/liquidationcall.d.ts.map +1 -0
  44. package/dist/commonjs/models/components/liquidationcall.js +81 -0
  45. package/dist/commonjs/models/components/liquidationcall.js.map +1 -0
  46. package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts +2 -0
  47. package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts.map +1 -1
  48. package/dist/commonjs/models/components/multicallauthorizationrequest.js.map +1 -1
  49. package/dist/commonjs/models/components/principalreserve.d.ts +31 -0
  50. package/dist/commonjs/models/components/principalreserve.d.ts.map +1 -0
  51. package/dist/commonjs/models/components/principalreserve.js +71 -0
  52. package/dist/commonjs/models/components/principalreserve.js.map +1 -0
  53. package/dist/commonjs/models/components/redeemunderlying.d.ts +34 -0
  54. package/dist/commonjs/models/components/redeemunderlying.d.ts.map +1 -0
  55. package/dist/commonjs/models/components/redeemunderlying.js +74 -0
  56. package/dist/commonjs/models/components/redeemunderlying.js.map +1 -0
  57. package/dist/commonjs/models/components/repay.d.ts +34 -0
  58. package/dist/commonjs/models/components/repay.d.ts.map +1 -0
  59. package/dist/commonjs/models/components/repay.js +75 -0
  60. package/dist/commonjs/models/components/repay.js.map +1 -0
  61. package/dist/commonjs/models/components/reserve.d.ts +31 -0
  62. package/dist/commonjs/models/components/reserve.d.ts.map +1 -0
  63. package/dist/commonjs/models/components/reserve.js +71 -0
  64. package/dist/commonjs/models/components/reserve.js.map +1 -0
  65. package/dist/commonjs/models/components/supply.d.ts +34 -0
  66. package/dist/commonjs/models/components/supply.d.ts.map +1 -0
  67. package/dist/commonjs/models/components/supply.js +75 -0
  68. package/dist/commonjs/models/components/supply.js.map +1 -0
  69. package/dist/commonjs/models/components/swapborrowrate.d.ts +38 -0
  70. package/dist/commonjs/models/components/swapborrowrate.d.ts.map +1 -0
  71. package/dist/commonjs/models/components/swapborrowrate.js +78 -0
  72. package/dist/commonjs/models/components/swapborrowrate.js.map +1 -0
  73. package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts +3 -27
  74. package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  75. package/dist/commonjs/models/components/uniswapbuyexactlyparams.js +5 -28
  76. package/dist/commonjs/models/components/uniswapbuyexactlyparams.js.map +1 -1
  77. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts +3 -27
  78. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  79. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js +5 -28
  80. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  81. package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts +18 -42
  82. package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
  83. package/dist/commonjs/models/components/uniswapsellexactlyparams.js +22 -47
  84. package/dist/commonjs/models/components/uniswapsellexactlyparams.js.map +1 -1
  85. package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts +18 -42
  86. package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
  87. package/dist/commonjs/models/components/uniswapsellexactlyrequest.js +22 -47
  88. package/dist/commonjs/models/components/uniswapsellexactlyrequest.js.map +1 -1
  89. package/dist/commonjs/models/components/usageascollateral.d.ts +34 -0
  90. package/dist/commonjs/models/components/usageascollateral.d.ts.map +1 -0
  91. package/dist/commonjs/models/components/usageascollateral.js +74 -0
  92. package/dist/commonjs/models/components/usageascollateral.js.map +1 -0
  93. package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts +73 -0
  94. package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts.map +1 -0
  95. package/dist/commonjs/models/operations/aavehistoricaltransactions.js +107 -0
  96. package/dist/commonjs/models/operations/aavehistoricaltransactions.js.map +1 -0
  97. package/dist/commonjs/models/operations/index.d.ts +1 -0
  98. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  99. package/dist/commonjs/models/operations/index.js +1 -0
  100. package/dist/commonjs/models/operations/index.js.map +1 -1
  101. package/dist/commonjs/sdk/aavev3.d.ts +12 -0
  102. package/dist/commonjs/sdk/aavev3.d.ts.map +1 -1
  103. package/dist/commonjs/sdk/aavev3.js +15 -0
  104. package/dist/commonjs/sdk/aavev3.js.map +1 -1
  105. package/dist/esm/funcs/aaveV3HistoricalTransactions.d.ts +23 -0
  106. package/dist/esm/funcs/aaveV3HistoricalTransactions.d.ts.map +1 -0
  107. package/dist/esm/funcs/aaveV3HistoricalTransactions.js +92 -0
  108. package/dist/esm/funcs/aaveV3HistoricalTransactions.js.map +1 -0
  109. package/dist/esm/lib/config.d.ts +2 -2
  110. package/dist/esm/lib/config.js +2 -2
  111. package/dist/esm/mcp-server/mcp-server.js +1 -1
  112. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  113. package/dist/esm/mcp-server/server.js +3 -1
  114. package/dist/esm/mcp-server/server.js.map +1 -1
  115. package/dist/esm/mcp-server/tools/aaveV3HistoricalTransactions.d.ts +8 -0
  116. package/dist/esm/mcp-server/tools/aaveV3HistoricalTransactions.d.ts.map +1 -0
  117. package/dist/esm/mcp-server/tools/aaveV3HistoricalTransactions.js +33 -0
  118. package/dist/esm/mcp-server/tools/aaveV3HistoricalTransactions.js.map +1 -0
  119. package/dist/esm/models/components/aavehistoricaltransactionbase.d.ts +57 -0
  120. package/dist/esm/models/components/aavehistoricaltransactionbase.d.ts.map +1 -0
  121. package/dist/esm/models/components/aavehistoricaltransactionbase.js +59 -0
  122. package/dist/esm/models/components/aavehistoricaltransactionbase.js.map +1 -0
  123. package/dist/esm/models/components/aavehistoricaltransactionsresponse.d.ts +39 -0
  124. package/dist/esm/models/components/aavehistoricaltransactionsresponse.d.ts.map +1 -0
  125. package/dist/esm/models/components/aavehistoricaltransactionsresponse.js +38 -0
  126. package/dist/esm/models/components/aavehistoricaltransactionsresponse.js.map +1 -0
  127. package/dist/esm/models/components/action.d.ts +43 -0
  128. package/dist/esm/models/components/action.d.ts.map +1 -0
  129. package/dist/esm/models/components/action.js +30 -0
  130. package/dist/esm/models/components/action.js.map +1 -0
  131. package/dist/esm/models/components/borrow.d.ts +42 -0
  132. package/dist/esm/models/components/borrow.d.ts.map +1 -0
  133. package/dist/esm/models/components/borrow.js +45 -0
  134. package/dist/esm/models/components/borrow.js.map +1 -0
  135. package/dist/esm/models/components/collateralreserve.d.ts +31 -0
  136. package/dist/esm/models/components/collateralreserve.d.ts.map +1 -0
  137. package/dist/esm/models/components/collateralreserve.js +33 -0
  138. package/dist/esm/models/components/collateralreserve.js.map +1 -0
  139. package/dist/esm/models/components/index.d.ts +13 -0
  140. package/dist/esm/models/components/index.d.ts.map +1 -1
  141. package/dist/esm/models/components/index.js +13 -0
  142. package/dist/esm/models/components/index.js.map +1 -1
  143. package/dist/esm/models/components/liquidationcall.d.ts +41 -0
  144. package/dist/esm/models/components/liquidationcall.d.ts.map +1 -0
  145. package/dist/esm/models/components/liquidationcall.js +43 -0
  146. package/dist/esm/models/components/liquidationcall.js.map +1 -0
  147. package/dist/esm/models/components/multicallauthorizationrequest.d.ts +2 -0
  148. package/dist/esm/models/components/multicallauthorizationrequest.d.ts.map +1 -1
  149. package/dist/esm/models/components/multicallauthorizationrequest.js.map +1 -1
  150. package/dist/esm/models/components/principalreserve.d.ts +31 -0
  151. package/dist/esm/models/components/principalreserve.d.ts.map +1 -0
  152. package/dist/esm/models/components/principalreserve.js +33 -0
  153. package/dist/esm/models/components/principalreserve.js.map +1 -0
  154. package/dist/esm/models/components/redeemunderlying.d.ts +34 -0
  155. package/dist/esm/models/components/redeemunderlying.d.ts.map +1 -0
  156. package/dist/esm/models/components/redeemunderlying.js +36 -0
  157. package/dist/esm/models/components/redeemunderlying.js.map +1 -0
  158. package/dist/esm/models/components/repay.d.ts +34 -0
  159. package/dist/esm/models/components/repay.d.ts.map +1 -0
  160. package/dist/esm/models/components/repay.js +37 -0
  161. package/dist/esm/models/components/repay.js.map +1 -0
  162. package/dist/esm/models/components/reserve.d.ts +31 -0
  163. package/dist/esm/models/components/reserve.d.ts.map +1 -0
  164. package/dist/esm/models/components/reserve.js +33 -0
  165. package/dist/esm/models/components/reserve.js.map +1 -0
  166. package/dist/esm/models/components/supply.d.ts +34 -0
  167. package/dist/esm/models/components/supply.d.ts.map +1 -0
  168. package/dist/esm/models/components/supply.js +37 -0
  169. package/dist/esm/models/components/supply.js.map +1 -0
  170. package/dist/esm/models/components/swapborrowrate.d.ts +38 -0
  171. package/dist/esm/models/components/swapborrowrate.d.ts.map +1 -0
  172. package/dist/esm/models/components/swapborrowrate.js +40 -0
  173. package/dist/esm/models/components/swapborrowrate.js.map +1 -0
  174. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts +3 -27
  175. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  176. package/dist/esm/models/components/uniswapbuyexactlyparams.js +4 -25
  177. package/dist/esm/models/components/uniswapbuyexactlyparams.js.map +1 -1
  178. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +3 -27
  179. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  180. package/dist/esm/models/components/uniswapbuyexactlyrequest.js +4 -25
  181. package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  182. package/dist/esm/models/components/uniswapsellexactlyparams.d.ts +18 -42
  183. package/dist/esm/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
  184. package/dist/esm/models/components/uniswapsellexactlyparams.js +19 -42
  185. package/dist/esm/models/components/uniswapsellexactlyparams.js.map +1 -1
  186. package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts +18 -42
  187. package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
  188. package/dist/esm/models/components/uniswapsellexactlyrequest.js +19 -42
  189. package/dist/esm/models/components/uniswapsellexactlyrequest.js.map +1 -1
  190. package/dist/esm/models/components/usageascollateral.d.ts +34 -0
  191. package/dist/esm/models/components/usageascollateral.d.ts.map +1 -0
  192. package/dist/esm/models/components/usageascollateral.js +36 -0
  193. package/dist/esm/models/components/usageascollateral.js.map +1 -0
  194. package/dist/esm/models/operations/aavehistoricaltransactions.d.ts +73 -0
  195. package/dist/esm/models/operations/aavehistoricaltransactions.d.ts.map +1 -0
  196. package/dist/esm/models/operations/aavehistoricaltransactions.js +69 -0
  197. package/dist/esm/models/operations/aavehistoricaltransactions.js.map +1 -0
  198. package/dist/esm/models/operations/index.d.ts +1 -0
  199. package/dist/esm/models/operations/index.d.ts.map +1 -1
  200. package/dist/esm/models/operations/index.js +1 -0
  201. package/dist/esm/models/operations/index.js.map +1 -1
  202. package/dist/esm/sdk/aavev3.d.ts +12 -0
  203. package/dist/esm/sdk/aavev3.d.ts.map +1 -1
  204. package/dist/esm/sdk/aavev3.js +15 -0
  205. package/dist/esm/sdk/aavev3.js.map +1 -1
  206. package/docs/sdks/aavev3/README.md +85 -0
  207. package/docs/sdks/transactionbatching/README.md +2 -2
  208. package/docs/sdks/uniswapv3/README.md +6 -6
  209. package/jsr.json +1 -1
  210. package/package.json +1 -1
  211. package/src/funcs/aaveV3HistoricalTransactions.ts +177 -0
  212. package/src/lib/config.ts +2 -2
  213. package/src/mcp-server/mcp-server.ts +1 -1
  214. package/src/mcp-server/server.ts +3 -1
  215. package/src/mcp-server/tools/aaveV3HistoricalTransactions.ts +42 -0
  216. package/src/models/components/aavehistoricaltransactionbase.ts +155 -0
  217. package/src/models/components/aavehistoricaltransactionsresponse.ts +91 -0
  218. package/src/models/components/action.ts +36 -0
  219. package/src/models/components/borrow.ts +89 -0
  220. package/src/models/components/collateralreserve.ts +70 -0
  221. package/src/models/components/index.ts +13 -0
  222. package/src/models/components/liquidationcall.ts +96 -0
  223. package/src/models/components/multicallauthorizationrequest.ts +2 -0
  224. package/src/models/components/principalreserve.ts +70 -0
  225. package/src/models/components/redeemunderlying.ts +80 -0
  226. package/src/models/components/repay.ts +73 -0
  227. package/src/models/components/reserve.ts +63 -0
  228. package/src/models/components/supply.ts +73 -0
  229. package/src/models/components/swapborrowrate.ts +84 -0
  230. package/src/models/components/uniswapbuyexactlyparams.ts +7 -66
  231. package/src/models/components/uniswapbuyexactlyrequest.ts +7 -71
  232. package/src/models/components/uniswapsellexactlyparams.ts +33 -99
  233. package/src/models/components/uniswapsellexactlyrequest.ts +33 -103
  234. package/src/models/components/usageascollateral.ts +80 -0
  235. package/src/models/operations/aavehistoricaltransactions.ts +136 -0
  236. package/src/models/operations/index.ts +1 -0
  237. package/src/sdk/aavev3.ts +23 -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.16",
34188
+ sdkVersion: "0.0.18",
34189
34189
  genVersion: "2.597.9",
34190
- userAgent: "speakeasy-sdk/typescript 0.0.16 2.597.9 0.0.1 @compass-labs/api-sdk"
34190
+ userAgent: "speakeasy-sdk/typescript 0.0.18 2.597.9 0.0.1 @compass-labs/api-sdk"
34191
34191
  };
34192
34192
  });
34193
34193
 
@@ -35688,6 +35688,314 @@ var init_aaveborrowrequest = __esm(() => {
35688
35688
  })(AaveBorrowRequest$ ||= {});
35689
35689
  });
35690
35690
 
35691
+ // src/models/components/action.ts
35692
+ var Action, Action$inboundSchema, Action$outboundSchema, Action$;
35693
+ var init_action = __esm(() => {
35694
+ init_lib();
35695
+ Action = {
35696
+ Supply: "supply",
35697
+ RedeemUnderlying: "redeemUnderlying",
35698
+ Borrow: "borrow",
35699
+ UsageAsCollateral: "usageAsCollateral",
35700
+ Repay: "repay",
35701
+ SwapBorrowRate: "swapBorrowRate",
35702
+ LiquidationCall: "liquidationCall"
35703
+ };
35704
+ Action$inboundSchema = nativeEnumType(Action);
35705
+ Action$outboundSchema = Action$inboundSchema;
35706
+ ((Action$) => {
35707
+ Action$.inboundSchema = Action$inboundSchema;
35708
+ Action$.outboundSchema = Action$outboundSchema;
35709
+ })(Action$ ||= {});
35710
+ });
35711
+
35712
+ // src/models/components/reserve.ts
35713
+ var Reserve$inboundSchema, Reserve$outboundSchema, Reserve$;
35714
+ var init_reserve = __esm(() => {
35715
+ init_lib();
35716
+ Reserve$inboundSchema = objectType({
35717
+ symbol: stringType(),
35718
+ decimals: numberType().int()
35719
+ });
35720
+ Reserve$outboundSchema = objectType({
35721
+ symbol: stringType(),
35722
+ decimals: numberType().int()
35723
+ });
35724
+ ((Reserve$) => {
35725
+ Reserve$.inboundSchema = Reserve$inboundSchema;
35726
+ Reserve$.outboundSchema = Reserve$outboundSchema;
35727
+ })(Reserve$ ||= {});
35728
+ });
35729
+
35730
+ // src/models/components/borrow.ts
35731
+ var Borrow$inboundSchema, Borrow$outboundSchema, Borrow$;
35732
+ var init_borrow = __esm(() => {
35733
+ init_lib();
35734
+ init_reserve();
35735
+ Borrow$inboundSchema = objectType({
35736
+ amount: stringType(),
35737
+ borrowRateMode: stringType(),
35738
+ borrowRate: stringType(),
35739
+ stableTokenDebt: stringType(),
35740
+ variableTokenDebt: stringType(),
35741
+ reserve: Reserve$inboundSchema,
35742
+ assetPriceUSD: stringType()
35743
+ });
35744
+ Borrow$outboundSchema = objectType({
35745
+ amount: stringType(),
35746
+ borrowRateMode: stringType(),
35747
+ borrowRate: stringType(),
35748
+ stableTokenDebt: stringType(),
35749
+ variableTokenDebt: stringType(),
35750
+ reserve: Reserve$outboundSchema,
35751
+ assetPriceUSD: stringType()
35752
+ });
35753
+ ((Borrow$) => {
35754
+ Borrow$.inboundSchema = Borrow$inboundSchema;
35755
+ Borrow$.outboundSchema = Borrow$outboundSchema;
35756
+ })(Borrow$ ||= {});
35757
+ });
35758
+
35759
+ // src/models/components/collateralreserve.ts
35760
+ var CollateralReserve$inboundSchema, CollateralReserve$outboundSchema, CollateralReserve$;
35761
+ var init_collateralreserve = __esm(() => {
35762
+ init_lib();
35763
+ CollateralReserve$inboundSchema = objectType({
35764
+ symbol: stringType(),
35765
+ decimals: numberType().int()
35766
+ });
35767
+ CollateralReserve$outboundSchema = objectType({
35768
+ symbol: stringType(),
35769
+ decimals: numberType().int()
35770
+ });
35771
+ ((CollateralReserve$) => {
35772
+ CollateralReserve$.inboundSchema = CollateralReserve$inboundSchema;
35773
+ CollateralReserve$.outboundSchema = CollateralReserve$outboundSchema;
35774
+ })(CollateralReserve$ ||= {});
35775
+ });
35776
+
35777
+ // src/models/components/principalreserve.ts
35778
+ var PrincipalReserve$inboundSchema, PrincipalReserve$outboundSchema, PrincipalReserve$;
35779
+ var init_principalreserve = __esm(() => {
35780
+ init_lib();
35781
+ PrincipalReserve$inboundSchema = objectType({
35782
+ symbol: stringType(),
35783
+ decimals: numberType().int()
35784
+ });
35785
+ PrincipalReserve$outboundSchema = objectType({
35786
+ symbol: stringType(),
35787
+ decimals: numberType().int()
35788
+ });
35789
+ ((PrincipalReserve$) => {
35790
+ PrincipalReserve$.inboundSchema = PrincipalReserve$inboundSchema;
35791
+ PrincipalReserve$.outboundSchema = PrincipalReserve$outboundSchema;
35792
+ })(PrincipalReserve$ ||= {});
35793
+ });
35794
+
35795
+ // src/models/components/liquidationcall.ts
35796
+ var LiquidationCall$inboundSchema, LiquidationCall$outboundSchema, LiquidationCall$;
35797
+ var init_liquidationcall = __esm(() => {
35798
+ init_lib();
35799
+ init_collateralreserve();
35800
+ init_principalreserve();
35801
+ LiquidationCall$inboundSchema = objectType({
35802
+ collateralAmount: stringType(),
35803
+ collateralReserve: CollateralReserve$inboundSchema,
35804
+ principalAmount: stringType(),
35805
+ principalReserve: PrincipalReserve$inboundSchema,
35806
+ collateralAssetPriceUSD: stringType(),
35807
+ borrowAssetPriceUSD: stringType()
35808
+ });
35809
+ LiquidationCall$outboundSchema = objectType({
35810
+ collateralAmount: stringType(),
35811
+ collateralReserve: CollateralReserve$outboundSchema,
35812
+ principalAmount: stringType(),
35813
+ principalReserve: PrincipalReserve$outboundSchema,
35814
+ collateralAssetPriceUSD: stringType(),
35815
+ borrowAssetPriceUSD: stringType()
35816
+ });
35817
+ ((LiquidationCall$) => {
35818
+ LiquidationCall$.inboundSchema = LiquidationCall$inboundSchema;
35819
+ LiquidationCall$.outboundSchema = LiquidationCall$outboundSchema;
35820
+ })(LiquidationCall$ ||= {});
35821
+ });
35822
+
35823
+ // src/models/components/redeemunderlying.ts
35824
+ var RedeemUnderlying$inboundSchema, RedeemUnderlying$outboundSchema, RedeemUnderlying$;
35825
+ var init_redeemunderlying = __esm(() => {
35826
+ init_lib();
35827
+ init_reserve();
35828
+ RedeemUnderlying$inboundSchema = objectType({
35829
+ amount: stringType(),
35830
+ reserve: Reserve$inboundSchema,
35831
+ assetPriceUSD: stringType()
35832
+ });
35833
+ RedeemUnderlying$outboundSchema = objectType({
35834
+ amount: stringType(),
35835
+ reserve: Reserve$outboundSchema,
35836
+ assetPriceUSD: stringType()
35837
+ });
35838
+ ((RedeemUnderlying$) => {
35839
+ RedeemUnderlying$.inboundSchema = RedeemUnderlying$inboundSchema;
35840
+ RedeemUnderlying$.outboundSchema = RedeemUnderlying$outboundSchema;
35841
+ })(RedeemUnderlying$ ||= {});
35842
+ });
35843
+
35844
+ // src/models/components/repay.ts
35845
+ var Repay$inboundSchema, Repay$outboundSchema, Repay$;
35846
+ var init_repay = __esm(() => {
35847
+ init_lib();
35848
+ init_reserve();
35849
+ Repay$inboundSchema = objectType({
35850
+ amount: stringType(),
35851
+ reserve: Reserve$inboundSchema,
35852
+ assetPriceUSD: stringType()
35853
+ });
35854
+ Repay$outboundSchema = objectType({
35855
+ amount: stringType(),
35856
+ reserve: Reserve$outboundSchema,
35857
+ assetPriceUSD: stringType()
35858
+ });
35859
+ ((Repay$) => {
35860
+ Repay$.inboundSchema = Repay$inboundSchema;
35861
+ Repay$.outboundSchema = Repay$outboundSchema;
35862
+ })(Repay$ ||= {});
35863
+ });
35864
+
35865
+ // src/models/components/supply.ts
35866
+ var Supply$inboundSchema, Supply$outboundSchema, Supply$;
35867
+ var init_supply = __esm(() => {
35868
+ init_lib();
35869
+ init_reserve();
35870
+ Supply$inboundSchema = objectType({
35871
+ amount: stringType(),
35872
+ reserve: Reserve$inboundSchema,
35873
+ assetPriceUSD: stringType()
35874
+ });
35875
+ Supply$outboundSchema = objectType({
35876
+ amount: stringType(),
35877
+ reserve: Reserve$outboundSchema,
35878
+ assetPriceUSD: stringType()
35879
+ });
35880
+ ((Supply$) => {
35881
+ Supply$.inboundSchema = Supply$inboundSchema;
35882
+ Supply$.outboundSchema = Supply$outboundSchema;
35883
+ })(Supply$ ||= {});
35884
+ });
35885
+
35886
+ // src/models/components/swapborrowrate.ts
35887
+ var SwapBorrowRate$inboundSchema, SwapBorrowRate$outboundSchema, SwapBorrowRate$;
35888
+ var init_swapborrowrate = __esm(() => {
35889
+ init_lib();
35890
+ init_reserve();
35891
+ SwapBorrowRate$inboundSchema = objectType({
35892
+ borrowRateModeFrom: stringType(),
35893
+ borrowRateModeTo: stringType(),
35894
+ variableBorrowRate: stringType(),
35895
+ stableBorrowRate: stringType(),
35896
+ reserve: Reserve$inboundSchema
35897
+ });
35898
+ SwapBorrowRate$outboundSchema = objectType({
35899
+ borrowRateModeFrom: stringType(),
35900
+ borrowRateModeTo: stringType(),
35901
+ variableBorrowRate: stringType(),
35902
+ stableBorrowRate: stringType(),
35903
+ reserve: Reserve$outboundSchema
35904
+ });
35905
+ ((SwapBorrowRate$) => {
35906
+ SwapBorrowRate$.inboundSchema = SwapBorrowRate$inboundSchema;
35907
+ SwapBorrowRate$.outboundSchema = SwapBorrowRate$outboundSchema;
35908
+ })(SwapBorrowRate$ ||= {});
35909
+ });
35910
+
35911
+ // src/models/components/usageascollateral.ts
35912
+ var UsageAsCollateral$inboundSchema, UsageAsCollateral$outboundSchema, UsageAsCollateral$;
35913
+ var init_usageascollateral = __esm(() => {
35914
+ init_lib();
35915
+ init_reserve();
35916
+ UsageAsCollateral$inboundSchema = objectType({
35917
+ fromState: stringType(),
35918
+ toState: stringType(),
35919
+ reserve: Reserve$inboundSchema
35920
+ });
35921
+ UsageAsCollateral$outboundSchema = objectType({
35922
+ fromState: stringType(),
35923
+ toState: stringType(),
35924
+ reserve: Reserve$outboundSchema
35925
+ });
35926
+ ((UsageAsCollateral$) => {
35927
+ UsageAsCollateral$.inboundSchema = UsageAsCollateral$inboundSchema;
35928
+ UsageAsCollateral$.outboundSchema = UsageAsCollateral$outboundSchema;
35929
+ })(UsageAsCollateral$ ||= {});
35930
+ });
35931
+
35932
+ // src/models/components/aavehistoricaltransactionbase.ts
35933
+ var AaveHistoricalTransactionBase$inboundSchema, AaveHistoricalTransactionBase$outboundSchema, AaveHistoricalTransactionBase$;
35934
+ var init_aavehistoricaltransactionbase = __esm(() => {
35935
+ init_lib();
35936
+ init_action();
35937
+ init_borrow();
35938
+ init_liquidationcall();
35939
+ init_redeemunderlying();
35940
+ init_repay();
35941
+ init_supply();
35942
+ init_swapborrowrate();
35943
+ init_usageascollateral();
35944
+ AaveHistoricalTransactionBase$inboundSchema = objectType({
35945
+ id: stringType(),
35946
+ timestamp: numberType().int(),
35947
+ txHash: stringType(),
35948
+ action: Action$inboundSchema,
35949
+ supply: nullableType(Supply$inboundSchema).optional(),
35950
+ redeemUnderlying: nullableType(RedeemUnderlying$inboundSchema).optional(),
35951
+ borrow: nullableType(Borrow$inboundSchema).optional(),
35952
+ usageAsCollateral: nullableType(UsageAsCollateral$inboundSchema).optional(),
35953
+ repay: nullableType(Repay$inboundSchema).optional(),
35954
+ swapBorrowRate: nullableType(SwapBorrowRate$inboundSchema).optional(),
35955
+ liquidationCall: nullableType(LiquidationCall$inboundSchema).optional()
35956
+ });
35957
+ AaveHistoricalTransactionBase$outboundSchema = objectType({
35958
+ id: stringType(),
35959
+ timestamp: numberType().int(),
35960
+ txHash: stringType(),
35961
+ action: Action$outboundSchema,
35962
+ supply: nullableType(Supply$outboundSchema).optional(),
35963
+ redeemUnderlying: nullableType(RedeemUnderlying$outboundSchema).optional(),
35964
+ borrow: nullableType(Borrow$outboundSchema).optional(),
35965
+ usageAsCollateral: nullableType(UsageAsCollateral$outboundSchema).optional(),
35966
+ repay: nullableType(Repay$outboundSchema).optional(),
35967
+ swapBorrowRate: nullableType(SwapBorrowRate$outboundSchema).optional(),
35968
+ liquidationCall: nullableType(LiquidationCall$outboundSchema).optional()
35969
+ });
35970
+ ((AaveHistoricalTransactionBase$) => {
35971
+ AaveHistoricalTransactionBase$.inboundSchema = AaveHistoricalTransactionBase$inboundSchema;
35972
+ AaveHistoricalTransactionBase$.outboundSchema = AaveHistoricalTransactionBase$outboundSchema;
35973
+ })(AaveHistoricalTransactionBase$ ||= {});
35974
+ });
35975
+
35976
+ // src/models/components/aavehistoricaltransactionsresponse.ts
35977
+ var AaveHistoricalTransactionsResponse$inboundSchema, AaveHistoricalTransactionsResponse$outboundSchema, AaveHistoricalTransactionsResponse$;
35978
+ var init_aavehistoricaltransactionsresponse = __esm(() => {
35979
+ init_lib();
35980
+ init_aavehistoricaltransactionbase();
35981
+ AaveHistoricalTransactionsResponse$inboundSchema = objectType({
35982
+ total: numberType().int(),
35983
+ offset: numberType().int(),
35984
+ limit: numberType().int(),
35985
+ transactions: arrayType(AaveHistoricalTransactionBase$inboundSchema)
35986
+ });
35987
+ AaveHistoricalTransactionsResponse$outboundSchema = objectType({
35988
+ total: numberType().int(),
35989
+ offset: numberType().int(),
35990
+ limit: numberType().int(),
35991
+ transactions: arrayType(AaveHistoricalTransactionBase$outboundSchema)
35992
+ });
35993
+ ((AaveHistoricalTransactionsResponse$) => {
35994
+ AaveHistoricalTransactionsResponse$.inboundSchema = AaveHistoricalTransactionsResponse$inboundSchema;
35995
+ AaveHistoricalTransactionsResponse$.outboundSchema = AaveHistoricalTransactionsResponse$outboundSchema;
35996
+ })(AaveHistoricalTransactionsResponse$ ||= {});
35997
+ });
35998
+
35691
35999
  // src/models/components/aaveliquiditychangeresponse.ts
35692
36000
  var AaveLiquidityChangeResponse$inboundSchema, AaveLiquidityChangeResponse$outboundSchema, AaveLiquidityChangeResponse$;
35693
36001
  var init_aaveliquiditychangeresponse = __esm(() => {
@@ -38167,7 +38475,7 @@ var init_tokentransfererc20params = __esm(() => {
38167
38475
  });
38168
38476
 
38169
38477
  // src/models/components/uniswapbuyexactlyparams.ts
38170
- var UniswapBuyExactlyParamsAmountOut$inboundSchema, UniswapBuyExactlyParamsAmountOut$outboundSchema, UniswapBuyExactlyParamsAmountOut$, UniswapBuyExactlyParamsAmountInMaximum$inboundSchema, UniswapBuyExactlyParamsAmountInMaximum$outboundSchema, UniswapBuyExactlyParamsAmountInMaximum$, UniswapBuyExactlyParams$inboundSchema, UniswapBuyExactlyParams$outboundSchema, UniswapBuyExactlyParams$;
38478
+ var UniswapBuyExactlyParamsAmountOut$inboundSchema, UniswapBuyExactlyParamsAmountOut$outboundSchema, UniswapBuyExactlyParamsAmountOut$, UniswapBuyExactlyParams$inboundSchema, UniswapBuyExactlyParams$outboundSchema, UniswapBuyExactlyParams$;
38171
38479
  var init_uniswapbuyexactlyparams = __esm(() => {
38172
38480
  init_lib();
38173
38481
  init_primitives();
@@ -38179,25 +38487,19 @@ var init_uniswapbuyexactlyparams = __esm(() => {
38179
38487
  UniswapBuyExactlyParamsAmountOut$.inboundSchema = UniswapBuyExactlyParamsAmountOut$inboundSchema;
38180
38488
  UniswapBuyExactlyParamsAmountOut$.outboundSchema = UniswapBuyExactlyParamsAmountOut$outboundSchema;
38181
38489
  })(UniswapBuyExactlyParamsAmountOut$ ||= {});
38182
- UniswapBuyExactlyParamsAmountInMaximum$inboundSchema = unionType([numberType(), stringType()]);
38183
- UniswapBuyExactlyParamsAmountInMaximum$outboundSchema = unionType([numberType(), stringType()]);
38184
- ((UniswapBuyExactlyParamsAmountInMaximum$) => {
38185
- UniswapBuyExactlyParamsAmountInMaximum$.inboundSchema = UniswapBuyExactlyParamsAmountInMaximum$inboundSchema;
38186
- UniswapBuyExactlyParamsAmountInMaximum$.outboundSchema = UniswapBuyExactlyParamsAmountInMaximum$outboundSchema;
38187
- })(UniswapBuyExactlyParamsAmountInMaximum$ ||= {});
38188
38490
  UniswapBuyExactlyParams$inboundSchema = objectType({
38189
38491
  token_in: TokenEnum$inboundSchema,
38190
38492
  token_out: TokenEnum$inboundSchema,
38191
38493
  fee: FeeEnum$inboundSchema,
38192
38494
  amount_out: unionType([numberType(), stringType()]),
38193
- amount_in_maximum: unionType([numberType(), stringType()]),
38495
+ max_slippage_percent: numberType(),
38194
38496
  wrap_eth: booleanType().default(false)
38195
38497
  }).transform((v2) => {
38196
38498
  return remap(v2, {
38197
38499
  token_in: "tokenIn",
38198
38500
  token_out: "tokenOut",
38199
38501
  amount_out: "amountOut",
38200
- amount_in_maximum: "amountInMaximum",
38502
+ max_slippage_percent: "maxSlippagePercent",
38201
38503
  wrap_eth: "wrapEth"
38202
38504
  });
38203
38505
  });
@@ -38206,14 +38508,14 @@ var init_uniswapbuyexactlyparams = __esm(() => {
38206
38508
  tokenOut: TokenEnum$outboundSchema,
38207
38509
  fee: FeeEnum$outboundSchema,
38208
38510
  amountOut: unionType([numberType(), stringType()]),
38209
- amountInMaximum: unionType([numberType(), stringType()]),
38511
+ maxSlippagePercent: numberType(),
38210
38512
  wrapEth: booleanType().default(false)
38211
38513
  }).transform((v2) => {
38212
38514
  return remap(v2, {
38213
38515
  tokenIn: "token_in",
38214
38516
  tokenOut: "token_out",
38215
38517
  amountOut: "amount_out",
38216
- amountInMaximum: "amount_in_maximum",
38518
+ maxSlippagePercent: "max_slippage_percent",
38217
38519
  wrapEth: "wrap_eth"
38218
38520
  });
38219
38521
  });
@@ -38368,37 +38670,30 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
38368
38670
  });
38369
38671
 
38370
38672
  // src/models/components/uniswapsellexactlyparams.ts
38371
- var UniswapSellExactlyParamsAmountIn$inboundSchema, UniswapSellExactlyParamsAmountIn$outboundSchema, UniswapSellExactlyParamsAmountIn$, UniswapSellExactlyParamsAmountOutMinimum$inboundSchema, UniswapSellExactlyParamsAmountOutMinimum$outboundSchema, UniswapSellExactlyParamsAmountOutMinimum$, UniswapSellExactlyParams$inboundSchema, UniswapSellExactlyParams$outboundSchema, UniswapSellExactlyParams$;
38673
+ var UniswapSellExactlyParamsAmount$inboundSchema, UniswapSellExactlyParamsAmount$outboundSchema, UniswapSellExactlyParamsAmount$, UniswapSellExactlyParams$inboundSchema, UniswapSellExactlyParams$outboundSchema, UniswapSellExactlyParams$;
38372
38674
  var init_uniswapsellexactlyparams = __esm(() => {
38373
38675
  init_lib();
38374
38676
  init_primitives();
38375
38677
  init_feeenum();
38376
38678
  init_tokenenum();
38377
- UniswapSellExactlyParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
38378
- UniswapSellExactlyParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
38379
- ((UniswapSellExactlyParamsAmountIn$) => {
38380
- UniswapSellExactlyParamsAmountIn$.inboundSchema = UniswapSellExactlyParamsAmountIn$inboundSchema;
38381
- UniswapSellExactlyParamsAmountIn$.outboundSchema = UniswapSellExactlyParamsAmountIn$outboundSchema;
38382
- })(UniswapSellExactlyParamsAmountIn$ ||= {});
38383
- UniswapSellExactlyParamsAmountOutMinimum$inboundSchema = unionType([numberType(), stringType()]);
38384
- UniswapSellExactlyParamsAmountOutMinimum$outboundSchema = unionType([numberType(), stringType()]);
38385
- ((UniswapSellExactlyParamsAmountOutMinimum$) => {
38386
- UniswapSellExactlyParamsAmountOutMinimum$.inboundSchema = UniswapSellExactlyParamsAmountOutMinimum$inboundSchema;
38387
- UniswapSellExactlyParamsAmountOutMinimum$.outboundSchema = UniswapSellExactlyParamsAmountOutMinimum$outboundSchema;
38388
- })(UniswapSellExactlyParamsAmountOutMinimum$ ||= {});
38679
+ UniswapSellExactlyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38680
+ UniswapSellExactlyParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38681
+ ((UniswapSellExactlyParamsAmount$) => {
38682
+ UniswapSellExactlyParamsAmount$.inboundSchema = UniswapSellExactlyParamsAmount$inboundSchema;
38683
+ UniswapSellExactlyParamsAmount$.outboundSchema = UniswapSellExactlyParamsAmount$outboundSchema;
38684
+ })(UniswapSellExactlyParamsAmount$ ||= {});
38389
38685
  UniswapSellExactlyParams$inboundSchema = objectType({
38390
38686
  token_in: TokenEnum$inboundSchema,
38391
38687
  token_out: TokenEnum$inboundSchema,
38392
38688
  fee: FeeEnum$inboundSchema,
38393
- amount_in: unionType([numberType(), stringType()]),
38394
- amount_out_minimum: unionType([numberType(), stringType()]).optional(),
38689
+ amount: unionType([numberType(), stringType()]),
38690
+ max_slippage_percent: numberType(),
38395
38691
  wrap_eth: booleanType().default(false)
38396
38692
  }).transform((v2) => {
38397
38693
  return remap(v2, {
38398
38694
  token_in: "tokenIn",
38399
38695
  token_out: "tokenOut",
38400
- amount_in: "amountIn",
38401
- amount_out_minimum: "amountOutMinimum",
38696
+ max_slippage_percent: "maxSlippagePercent",
38402
38697
  wrap_eth: "wrapEth"
38403
38698
  });
38404
38699
  });
@@ -38406,15 +38701,14 @@ var init_uniswapsellexactlyparams = __esm(() => {
38406
38701
  tokenIn: TokenEnum$outboundSchema,
38407
38702
  tokenOut: TokenEnum$outboundSchema,
38408
38703
  fee: FeeEnum$outboundSchema,
38409
- amountIn: unionType([numberType(), stringType()]),
38410
- amountOutMinimum: unionType([numberType(), stringType()]).optional(),
38704
+ amount: unionType([numberType(), stringType()]),
38705
+ maxSlippagePercent: numberType(),
38411
38706
  wrapEth: booleanType().default(false)
38412
38707
  }).transform((v2) => {
38413
38708
  return remap(v2, {
38414
38709
  tokenIn: "token_in",
38415
38710
  tokenOut: "token_out",
38416
- amountIn: "amount_in",
38417
- amountOutMinimum: "amount_out_minimum",
38711
+ maxSlippagePercent: "max_slippage_percent",
38418
38712
  wrapEth: "wrap_eth"
38419
38713
  });
38420
38714
  });
@@ -39182,7 +39476,7 @@ var init_tokentransferrequest = __esm(() => {
39182
39476
  });
39183
39477
 
39184
39478
  // src/models/components/uniswapbuyexactlyrequest.ts
39185
- var UniswapBuyExactlyRequestAmountOut$inboundSchema, UniswapBuyExactlyRequestAmountOut$outboundSchema, UniswapBuyExactlyRequestAmountOut$, UniswapBuyExactlyRequestAmountInMaximum$inboundSchema, UniswapBuyExactlyRequestAmountInMaximum$outboundSchema, UniswapBuyExactlyRequestAmountInMaximum$, UniswapBuyExactlyRequest$inboundSchema, UniswapBuyExactlyRequest$outboundSchema, UniswapBuyExactlyRequest$;
39479
+ var UniswapBuyExactlyRequestAmountOut$inboundSchema, UniswapBuyExactlyRequestAmountOut$outboundSchema, UniswapBuyExactlyRequestAmountOut$, UniswapBuyExactlyRequest$inboundSchema, UniswapBuyExactlyRequest$outboundSchema, UniswapBuyExactlyRequest$;
39186
39480
  var init_uniswapbuyexactlyrequest = __esm(() => {
39187
39481
  init_lib();
39188
39482
  init_primitives();
@@ -39195,18 +39489,12 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
39195
39489
  UniswapBuyExactlyRequestAmountOut$.inboundSchema = UniswapBuyExactlyRequestAmountOut$inboundSchema;
39196
39490
  UniswapBuyExactlyRequestAmountOut$.outboundSchema = UniswapBuyExactlyRequestAmountOut$outboundSchema;
39197
39491
  })(UniswapBuyExactlyRequestAmountOut$ ||= {});
39198
- UniswapBuyExactlyRequestAmountInMaximum$inboundSchema = unionType([numberType(), stringType()]);
39199
- UniswapBuyExactlyRequestAmountInMaximum$outboundSchema = unionType([numberType(), stringType()]);
39200
- ((UniswapBuyExactlyRequestAmountInMaximum$) => {
39201
- UniswapBuyExactlyRequestAmountInMaximum$.inboundSchema = UniswapBuyExactlyRequestAmountInMaximum$inboundSchema;
39202
- UniswapBuyExactlyRequestAmountInMaximum$.outboundSchema = UniswapBuyExactlyRequestAmountInMaximum$outboundSchema;
39203
- })(UniswapBuyExactlyRequestAmountInMaximum$ ||= {});
39204
39492
  UniswapBuyExactlyRequest$inboundSchema = objectType({
39205
39493
  token_in: TokenEnum$inboundSchema,
39206
39494
  token_out: TokenEnum$inboundSchema,
39207
39495
  fee: FeeEnum$inboundSchema,
39208
39496
  amount_out: unionType([numberType(), stringType()]),
39209
- amount_in_maximum: unionType([numberType(), stringType()]),
39497
+ max_slippage_percent: numberType(),
39210
39498
  wrap_eth: booleanType().default(false),
39211
39499
  chain: Chain$inboundSchema,
39212
39500
  sender: stringType()
@@ -39215,7 +39503,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
39215
39503
  token_in: "tokenIn",
39216
39504
  token_out: "tokenOut",
39217
39505
  amount_out: "amountOut",
39218
- amount_in_maximum: "amountInMaximum",
39506
+ max_slippage_percent: "maxSlippagePercent",
39219
39507
  wrap_eth: "wrapEth"
39220
39508
  });
39221
39509
  });
@@ -39224,7 +39512,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
39224
39512
  tokenOut: TokenEnum$outboundSchema,
39225
39513
  fee: FeeEnum$outboundSchema,
39226
39514
  amountOut: unionType([numberType(), stringType()]),
39227
- amountInMaximum: unionType([numberType(), stringType()]),
39515
+ maxSlippagePercent: numberType(),
39228
39516
  wrapEth: booleanType().default(false),
39229
39517
  chain: Chain$outboundSchema,
39230
39518
  sender: stringType()
@@ -39233,7 +39521,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
39233
39521
  tokenIn: "token_in",
39234
39522
  tokenOut: "token_out",
39235
39523
  amountOut: "amount_out",
39236
- amountInMaximum: "amount_in_maximum",
39524
+ maxSlippagePercent: "max_slippage_percent",
39237
39525
  wrapEth: "wrap_eth"
39238
39526
  });
39239
39527
  });
@@ -39560,31 +39848,25 @@ var init_uniswappoolpriceresponse = __esm(() => {
39560
39848
  });
39561
39849
 
39562
39850
  // src/models/components/uniswapsellexactlyrequest.ts
39563
- var UniswapSellExactlyRequestAmountIn$inboundSchema, UniswapSellExactlyRequestAmountIn$outboundSchema, UniswapSellExactlyRequestAmountIn$, UniswapSellExactlyRequestAmountOutMinimum$inboundSchema, UniswapSellExactlyRequestAmountOutMinimum$outboundSchema, UniswapSellExactlyRequestAmountOutMinimum$, UniswapSellExactlyRequest$inboundSchema, UniswapSellExactlyRequest$outboundSchema, UniswapSellExactlyRequest$;
39851
+ var UniswapSellExactlyRequestAmount$inboundSchema, UniswapSellExactlyRequestAmount$outboundSchema, UniswapSellExactlyRequestAmount$, UniswapSellExactlyRequest$inboundSchema, UniswapSellExactlyRequest$outboundSchema, UniswapSellExactlyRequest$;
39564
39852
  var init_uniswapsellexactlyrequest = __esm(() => {
39565
39853
  init_lib();
39566
39854
  init_primitives();
39567
39855
  init_chain();
39568
39856
  init_feeenum();
39569
39857
  init_tokenenum();
39570
- UniswapSellExactlyRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
39571
- UniswapSellExactlyRequestAmountIn$outboundSchema = unionType([numberType(), stringType()]);
39572
- ((UniswapSellExactlyRequestAmountIn$) => {
39573
- UniswapSellExactlyRequestAmountIn$.inboundSchema = UniswapSellExactlyRequestAmountIn$inboundSchema;
39574
- UniswapSellExactlyRequestAmountIn$.outboundSchema = UniswapSellExactlyRequestAmountIn$outboundSchema;
39575
- })(UniswapSellExactlyRequestAmountIn$ ||= {});
39576
- UniswapSellExactlyRequestAmountOutMinimum$inboundSchema = unionType([numberType(), stringType()]);
39577
- UniswapSellExactlyRequestAmountOutMinimum$outboundSchema = unionType([numberType(), stringType()]);
39578
- ((UniswapSellExactlyRequestAmountOutMinimum$) => {
39579
- UniswapSellExactlyRequestAmountOutMinimum$.inboundSchema = UniswapSellExactlyRequestAmountOutMinimum$inboundSchema;
39580
- UniswapSellExactlyRequestAmountOutMinimum$.outboundSchema = UniswapSellExactlyRequestAmountOutMinimum$outboundSchema;
39581
- })(UniswapSellExactlyRequestAmountOutMinimum$ ||= {});
39858
+ UniswapSellExactlyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
39859
+ UniswapSellExactlyRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
39860
+ ((UniswapSellExactlyRequestAmount$) => {
39861
+ UniswapSellExactlyRequestAmount$.inboundSchema = UniswapSellExactlyRequestAmount$inboundSchema;
39862
+ UniswapSellExactlyRequestAmount$.outboundSchema = UniswapSellExactlyRequestAmount$outboundSchema;
39863
+ })(UniswapSellExactlyRequestAmount$ ||= {});
39582
39864
  UniswapSellExactlyRequest$inboundSchema = objectType({
39583
39865
  token_in: TokenEnum$inboundSchema,
39584
39866
  token_out: TokenEnum$inboundSchema,
39585
39867
  fee: FeeEnum$inboundSchema,
39586
- amount_in: unionType([numberType(), stringType()]),
39587
- amount_out_minimum: unionType([numberType(), stringType()]).optional(),
39868
+ amount: unionType([numberType(), stringType()]),
39869
+ max_slippage_percent: numberType(),
39588
39870
  wrap_eth: booleanType().default(false),
39589
39871
  chain: Chain$inboundSchema,
39590
39872
  sender: stringType()
@@ -39592,8 +39874,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
39592
39874
  return remap(v2, {
39593
39875
  token_in: "tokenIn",
39594
39876
  token_out: "tokenOut",
39595
- amount_in: "amountIn",
39596
- amount_out_minimum: "amountOutMinimum",
39877
+ max_slippage_percent: "maxSlippagePercent",
39597
39878
  wrap_eth: "wrapEth"
39598
39879
  });
39599
39880
  });
@@ -39601,8 +39882,8 @@ var init_uniswapsellexactlyrequest = __esm(() => {
39601
39882
  tokenIn: TokenEnum$outboundSchema,
39602
39883
  tokenOut: TokenEnum$outboundSchema,
39603
39884
  fee: FeeEnum$outboundSchema,
39604
- amountIn: unionType([numberType(), stringType()]),
39605
- amountOutMinimum: unionType([numberType(), stringType()]).optional(),
39885
+ amount: unionType([numberType(), stringType()]),
39886
+ maxSlippagePercent: numberType(),
39606
39887
  wrapEth: booleanType().default(false),
39607
39888
  chain: Chain$outboundSchema,
39608
39889
  sender: stringType()
@@ -39610,8 +39891,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
39610
39891
  return remap(v2, {
39611
39892
  tokenIn: "token_in",
39612
39893
  tokenOut: "token_out",
39613
- amountIn: "amount_in",
39614
- amountOutMinimum: "amount_out_minimum",
39894
+ maxSlippagePercent: "max_slippage_percent",
39615
39895
  wrapEth: "wrap_eth"
39616
39896
  });
39617
39897
  });
@@ -39841,6 +40121,8 @@ var init_wrapethrequest = __esm(() => {
39841
40121
  var init_components = __esm(() => {
39842
40122
  init_aaveborrowparams();
39843
40123
  init_aaveborrowrequest();
40124
+ init_aavehistoricaltransactionbase();
40125
+ init_aavehistoricaltransactionsresponse();
39844
40126
  init_aaveliquiditychangeresponse();
39845
40127
  init_aaverepayparams();
39846
40128
  init_aaverepayrequest();
@@ -39851,6 +40133,7 @@ var init_components = __esm(() => {
39851
40133
  init_aaveuserpositionsummaryresponse();
39852
40134
  init_aavewithdrawparams();
39853
40135
  init_aavewithdrawrequest();
40136
+ init_action();
39854
40137
  init_aerodromeaddliquidityethparams();
39855
40138
  init_aerodromeaddliquidityparams();
39856
40139
  init_aerodromelppositionsresponse();
@@ -39872,8 +40155,10 @@ var init_components = __esm(() => {
39872
40155
  init_aerodromeswaptokenforethparams();
39873
40156
  init_aerodromeswaptokensparams();
39874
40157
  init_allowanceinforesponse();
40158
+ init_borrow();
39875
40159
  init_chain();
39876
40160
  init_chaininfo();
40161
+ init_collateralreserve();
39877
40162
  init_compassapibackendmodelsmorphoreadresponsegetmarketsasset();
39878
40163
  init_compassapibackendmodelsmorphoreadresponsegetvaultsasset();
39879
40164
  init_contractname();
@@ -39884,6 +40169,7 @@ var init_components = __esm(() => {
39884
40169
  init_increaseallowanceparams();
39885
40170
  init_increaseallowancerequest();
39886
40171
  init_interestratemode();
40172
+ init_liquidationcall();
39887
40173
  init_marketstate();
39888
40174
  init_morphoborrowrequest();
39889
40175
  init_morphocheckmarketpositionresponse();
@@ -39904,6 +40190,10 @@ var init_components = __esm(() => {
39904
40190
  init_multicallauthorizationresponse();
39905
40191
  init_multicallexecuterequest();
39906
40192
  init_portfolio();
40193
+ init_principalreserve();
40194
+ init_redeemunderlying();
40195
+ init_repay();
40196
+ init_reserve();
39907
40197
  init_security2();
39908
40198
  init_signedauthorization();
39909
40199
  init_skybuyrequest();
@@ -39911,6 +40201,8 @@ var init_components = __esm(() => {
39911
40201
  init_skydepositrequest();
39912
40202
  init_skysellrequest();
39913
40203
  init_skywithdrawrequest();
40204
+ init_supply();
40205
+ init_swapborrowrate();
39914
40206
  init_tokenaddressresponse();
39915
40207
  init_tokenbalance();
39916
40208
  init_tokenbalanceresponse();
@@ -39939,6 +40231,7 @@ var init_components = __esm(() => {
39939
40231
  init_unsignedtransaction();
39940
40232
  init_unwrapwethparams();
39941
40233
  init_unwrapwethrequest();
40234
+ init_usageascollateral();
39942
40235
  init_validationerror();
39943
40236
  init_vaultstate();
39944
40237
  init_weeklyapys();
@@ -40115,6 +40408,48 @@ liquidated, if the borrow position becomes unhealthy.`,
40115
40408
  };
40116
40409
  });
40117
40410
 
40411
+ // src/models/operations/aavehistoricaltransactions.ts
40412
+ var AaveHistoricalTransactionsChain, AaveHistoricalTransactionsChain$inboundSchema, AaveHistoricalTransactionsChain$outboundSchema, AaveHistoricalTransactionsChain$, AaveHistoricalTransactionsRequest$inboundSchema, AaveHistoricalTransactionsRequest$outboundSchema, AaveHistoricalTransactionsRequest$;
40413
+ var init_aavehistoricaltransactions = __esm(() => {
40414
+ init_lib();
40415
+ init_primitives();
40416
+ AaveHistoricalTransactionsChain = {
40417
+ BaseMainnet: "base:mainnet",
40418
+ EthereumMainnet: "ethereum:mainnet",
40419
+ ArbitrumMainnet: "arbitrum:mainnet"
40420
+ };
40421
+ AaveHistoricalTransactionsChain$inboundSchema = nativeEnumType(AaveHistoricalTransactionsChain);
40422
+ AaveHistoricalTransactionsChain$outboundSchema = AaveHistoricalTransactionsChain$inboundSchema;
40423
+ ((AaveHistoricalTransactionsChain$) => {
40424
+ AaveHistoricalTransactionsChain$.inboundSchema = AaveHistoricalTransactionsChain$inboundSchema;
40425
+ AaveHistoricalTransactionsChain$.outboundSchema = AaveHistoricalTransactionsChain$outboundSchema;
40426
+ })(AaveHistoricalTransactionsChain$ ||= {});
40427
+ AaveHistoricalTransactionsRequest$inboundSchema = objectType({
40428
+ offset: numberType().int().default(0),
40429
+ limit: numberType().int().default(100),
40430
+ chain: AaveHistoricalTransactionsChain$inboundSchema.default("arbitrum:mainnet"),
40431
+ user_address: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
40432
+ }).transform((v2) => {
40433
+ return remap(v2, {
40434
+ user_address: "userAddress"
40435
+ });
40436
+ });
40437
+ AaveHistoricalTransactionsRequest$outboundSchema = objectType({
40438
+ offset: numberType().int().default(0),
40439
+ limit: numberType().int().default(100),
40440
+ chain: AaveHistoricalTransactionsChain$outboundSchema.default("arbitrum:mainnet"),
40441
+ userAddress: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")
40442
+ }).transform((v2) => {
40443
+ return remap(v2, {
40444
+ userAddress: "user_address"
40445
+ });
40446
+ });
40447
+ ((AaveHistoricalTransactionsRequest$) => {
40448
+ AaveHistoricalTransactionsRequest$.inboundSchema = AaveHistoricalTransactionsRequest$inboundSchema;
40449
+ AaveHistoricalTransactionsRequest$.outboundSchema = AaveHistoricalTransactionsRequest$outboundSchema;
40450
+ })(AaveHistoricalTransactionsRequest$ ||= {});
40451
+ });
40452
+
40118
40453
  // src/models/operations/aaveliquiditychange.ts
40119
40454
  var AaveLiquidityChangeChain, AaveLiquidityChangeToken, AaveLiquidityChangeChain$inboundSchema, AaveLiquidityChangeChain$outboundSchema, AaveLiquidityChangeChain$, AaveLiquidityChangeToken$inboundSchema, AaveLiquidityChangeToken$outboundSchema, AaveLiquidityChangeToken$, AaveLiquidityChangeRequest$inboundSchema, AaveLiquidityChangeRequest$outboundSchema, AaveLiquidityChangeRequest$;
40120
40455
  var init_aaveliquiditychange = __esm(() => {
@@ -41778,6 +42113,7 @@ var init_uniswapquotesellexactly = __esm(() => {
41778
42113
 
41779
42114
  // src/models/operations/index.ts
41780
42115
  var init_operations = __esm(() => {
42116
+ init_aavehistoricaltransactions();
41781
42117
  init_aaveliquiditychange();
41782
42118
  init_aavetokenprice();
41783
42119
  init_aaveuserpositionpertoken();
@@ -41804,11 +42140,124 @@ var init_operations = __esm(() => {
41804
42140
  init_uniswapquotesellexactly();
41805
42141
  });
41806
42142
 
41807
- // src/funcs/aaveV3LiquidityChange.ts
41808
- function aaveV3LiquidityChange(client, request, options) {
42143
+ // src/funcs/aaveV3HistoricalTransactions.ts
42144
+ function aaveV3HistoricalTransactions(client, request, options) {
41809
42145
  return new APIPromise($do2(client, request, options));
41810
42146
  }
41811
42147
  async function $do2(client, request, options) {
42148
+ const parsed = safeParse(request, (value) => AaveHistoricalTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
42149
+ if (!parsed.ok) {
42150
+ return [parsed, { status: "invalid" }];
42151
+ }
42152
+ const payload = parsed.value;
42153
+ const body = null;
42154
+ const path = pathToFunc("/v0/aave/historical_transactions/get")();
42155
+ const query = encodeFormQuery({
42156
+ chain: payload.chain,
42157
+ limit: payload.limit,
42158
+ offset: payload.offset,
42159
+ user_address: payload.user_address
42160
+ });
42161
+ const headers = new Headers(compactMap({
42162
+ Accept: "application/json"
42163
+ }));
42164
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
42165
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
42166
+ const requestSecurity = resolveGlobalSecurity(securityInput);
42167
+ const context = {
42168
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
42169
+ operationID: "aave_historical_transactions",
42170
+ oAuth2Scopes: [],
42171
+ resolvedSecurity: requestSecurity,
42172
+ securitySource: client._options.apiKeyAuth,
42173
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
42174
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
42175
+ };
42176
+ const requestRes = client._createRequest(context, {
42177
+ security: requestSecurity,
42178
+ method: "GET",
42179
+ baseURL: options?.serverURL,
42180
+ path,
42181
+ headers,
42182
+ query,
42183
+ body,
42184
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
42185
+ }, options);
42186
+ if (!requestRes.ok) {
42187
+ return [requestRes, { status: "invalid" }];
42188
+ }
42189
+ const req = requestRes.value;
42190
+ const doResult = await client._do(req, {
42191
+ context,
42192
+ errorCodes: ["422", "4XX", "5XX"],
42193
+ retryConfig: context.retryConfig,
42194
+ retryCodes: context.retryCodes
42195
+ });
42196
+ if (!doResult.ok) {
42197
+ return [doResult, { status: "request-error", request: req }];
42198
+ }
42199
+ const response = doResult.value;
42200
+ const responseFields = {
42201
+ HttpMeta: { Response: response, Request: req }
42202
+ };
42203
+ const [result] = await match(json(200, AaveHistoricalTransactionsResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42204
+ if (!result.ok) {
42205
+ return [result, { status: "complete", request: req, response }];
42206
+ }
42207
+ return [result, { status: "complete", request: req, response }];
42208
+ }
42209
+ var init_aaveV3HistoricalTransactions = __esm(() => {
42210
+ init_encodings();
42211
+ init_matchers();
42212
+ init_primitives();
42213
+ init_schemas();
42214
+ init_security();
42215
+ init_url();
42216
+ init_components();
42217
+ init_errors();
42218
+ init_operations();
42219
+ init_async();
42220
+ });
42221
+
42222
+ // src/mcp-server/tools/aaveV3HistoricalTransactions.ts
42223
+ var args2, tool$aaveV3HistoricalTransactions;
42224
+ var init_aaveV3HistoricalTransactions2 = __esm(() => {
42225
+ init_aaveV3HistoricalTransactions();
42226
+ init_operations();
42227
+ init_tools();
42228
+ args2 = {
42229
+ request: AaveHistoricalTransactionsRequest$inboundSchema
42230
+ };
42231
+ tool$aaveV3HistoricalTransactions = {
42232
+ name: "aave-v3-historical-transactions",
42233
+ description: `Historical transactions
42234
+
42235
+ This endpoint retrieves historical transactions for a user on the AAVE platform.
42236
+
42237
+ It returns a list of transactions including deposits, withdrawals, borrows, and
42238
+ repayments. Each transaction includes details such as the token, amount, timestamp,
42239
+ and transaction type. This provides a comprehensive view of the user's historical
42240
+ activity within the AAVE protocol.`,
42241
+ args: args2,
42242
+ tool: async (client, args3, ctx) => {
42243
+ const [result, apiCall] = await aaveV3HistoricalTransactions(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42244
+ if (!result.ok) {
42245
+ return {
42246
+ content: [{ type: "text", text: result.error.message }],
42247
+ isError: true
42248
+ };
42249
+ }
42250
+ const value = result.value;
42251
+ return formatResult(value, apiCall);
42252
+ }
42253
+ };
42254
+ });
42255
+
42256
+ // src/funcs/aaveV3LiquidityChange.ts
42257
+ function aaveV3LiquidityChange(client, request, options) {
42258
+ return new APIPromise($do3(client, request, options));
42259
+ }
42260
+ async function $do3(client, request, options) {
41812
42261
  const parsed = safeParse(request, (value) => AaveLiquidityChangeRequest$outboundSchema.parse(value), "Input validation failed");
41813
42262
  if (!parsed.ok) {
41814
42263
  return [parsed, { status: "invalid" }];
@@ -41884,12 +42333,12 @@ var init_aaveV3LiquidityChange = __esm(() => {
41884
42333
  });
41885
42334
 
41886
42335
  // src/mcp-server/tools/aaveV3LiquidityChange.ts
41887
- var args2, tool$aaveV3LiquidityChange;
42336
+ var args3, tool$aaveV3LiquidityChange;
41888
42337
  var init_aaveV3LiquidityChange2 = __esm(() => {
41889
42338
  init_aaveV3LiquidityChange();
41890
42339
  init_operations();
41891
42340
  init_tools();
41892
- args2 = {
42341
+ args3 = {
41893
42342
  request: AaveLiquidityChangeRequest$inboundSchema
41894
42343
  };
41895
42344
  tool$aaveV3LiquidityChange = {
@@ -41907,9 +42356,9 @@ at the start block, a positive liquidity index change will represent accrued
41907
42356
  interest and a profit. If tokens were borrowed at the start block, this debt will
41908
42357
  increase, compound on itself and represent large debt. The reverse in both cases is
41909
42358
  true if the liquidity index is negative.`,
41910
- args: args2,
41911
- tool: async (client, args3, ctx) => {
41912
- const [result, apiCall] = await aaveV3LiquidityChange(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42359
+ args: args3,
42360
+ tool: async (client, args4, ctx) => {
42361
+ const [result, apiCall] = await aaveV3LiquidityChange(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
41913
42362
  if (!result.ok) {
41914
42363
  return {
41915
42364
  content: [{ type: "text", text: result.error.message }],
@@ -41924,9 +42373,9 @@ true if the liquidity index is negative.`,
41924
42373
 
41925
42374
  // src/funcs/aaveV3Repay.ts
41926
42375
  function aaveV3Repay(client, request, options) {
41927
- return new APIPromise($do3(client, request, options));
42376
+ return new APIPromise($do4(client, request, options));
41928
42377
  }
41929
- async function $do3(client, request, options) {
42378
+ async function $do4(client, request, options) {
41930
42379
  const parsed = safeParse(request, (value) => AaveRepayRequest$outboundSchema.parse(value), "Input validation failed");
41931
42380
  if (!parsed.ok) {
41932
42381
  return [parsed, { status: "invalid" }];
@@ -41995,12 +42444,12 @@ var init_aaveV3Repay = __esm(() => {
41995
42444
  });
41996
42445
 
41997
42446
  // src/mcp-server/tools/aaveV3Repay.ts
41998
- var args3, tool$aaveV3Repay;
42447
+ var args4, tool$aaveV3Repay;
41999
42448
  var init_aaveV3Repay2 = __esm(() => {
42000
42449
  init_aaveV3Repay();
42001
42450
  init_components();
42002
42451
  init_tools();
42003
- args3 = {
42452
+ args4 = {
42004
42453
  request: AaveRepayRequest$inboundSchema
42005
42454
  };
42006
42455
  tool$aaveV3Repay = {
@@ -42015,9 +42464,9 @@ measure of the safety of their loan position. A higher health factor reduces the
42015
42464
  risk of liquidation, ensuring a more secure borrowing experience. The endpoint
42016
42465
  requires specifying the chain and the details of the repayment transaction,
42017
42466
  including the amount and the asset to be repaid.`,
42018
- args: args3,
42019
- tool: async (client, args4, ctx) => {
42020
- const [result, apiCall] = await aaveV3Repay(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42467
+ args: args4,
42468
+ tool: async (client, args5, ctx) => {
42469
+ const [result, apiCall] = await aaveV3Repay(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42021
42470
  if (!result.ok) {
42022
42471
  return {
42023
42472
  content: [{ type: "text", text: result.error.message }],
@@ -42032,9 +42481,9 @@ including the amount and the asset to be repaid.`,
42032
42481
 
42033
42482
  // src/funcs/aaveV3Supply.ts
42034
42483
  function aaveV3Supply(client, request, options) {
42035
- return new APIPromise($do4(client, request, options));
42484
+ return new APIPromise($do5(client, request, options));
42036
42485
  }
42037
- async function $do4(client, request, options) {
42486
+ async function $do5(client, request, options) {
42038
42487
  const parsed = safeParse(request, (value) => AaveSupplyRequest$outboundSchema.parse(value), "Input validation failed");
42039
42488
  if (!parsed.ok) {
42040
42489
  return [parsed, { status: "invalid" }];
@@ -42103,12 +42552,12 @@ var init_aaveV3Supply = __esm(() => {
42103
42552
  });
42104
42553
 
42105
42554
  // src/mcp-server/tools/aaveV3Supply.ts
42106
- var args4, tool$aaveV3Supply;
42555
+ var args5, tool$aaveV3Supply;
42107
42556
  var init_aaveV3Supply2 = __esm(() => {
42108
42557
  init_aaveV3Supply();
42109
42558
  init_components();
42110
42559
  init_tools();
42111
- args4 = {
42560
+ args5 = {
42112
42561
  request: AaveSupplyRequest$inboundSchema
42113
42562
  };
42114
42563
  tool$aaveV3Supply = {
@@ -42124,9 +42573,9 @@ create leverage.
42124
42573
  Overall, this endpoint is a critical component for users looking to maximize their
42125
42574
  asset utility within the AAVEv3 ecosystem, providing both earning potential and
42126
42575
  borrowing flexibility.`,
42127
- args: args4,
42128
- tool: async (client, args5, ctx) => {
42129
- const [result, apiCall] = await aaveV3Supply(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42576
+ args: args5,
42577
+ tool: async (client, args6, ctx) => {
42578
+ const [result, apiCall] = await aaveV3Supply(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42130
42579
  if (!result.ok) {
42131
42580
  return {
42132
42581
  content: [{ type: "text", text: result.error.message }],
@@ -42141,9 +42590,9 @@ borrowing flexibility.`,
42141
42590
 
42142
42591
  // src/funcs/aaveV3TokenPrice.ts
42143
42592
  function aaveV3TokenPrice(client, request, options) {
42144
- return new APIPromise($do5(client, request, options));
42593
+ return new APIPromise($do6(client, request, options));
42145
42594
  }
42146
- async function $do5(client, request, options) {
42595
+ async function $do6(client, request, options) {
42147
42596
  const parsed = safeParse(request, (value) => AaveTokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
42148
42597
  if (!parsed.ok) {
42149
42598
  return [parsed, { status: "invalid" }];
@@ -42217,12 +42666,12 @@ var init_aaveV3TokenPrice = __esm(() => {
42217
42666
  });
42218
42667
 
42219
42668
  // src/mcp-server/tools/aaveV3TokenPrice.ts
42220
- var args5, tool$aaveV3TokenPrice;
42669
+ var args6, tool$aaveV3TokenPrice;
42221
42670
  var init_aaveV3TokenPrice2 = __esm(() => {
42222
42671
  init_aaveV3TokenPrice();
42223
42672
  init_operations();
42224
42673
  init_tools();
42225
- args5 = {
42674
+ args6 = {
42226
42675
  request: AaveTokenPriceRequest$inboundSchema
42227
42676
  };
42228
42677
  tool$aaveV3TokenPrice = {
@@ -42237,9 +42686,9 @@ to-date information. The request requires the token identifier and the blockchai
42237
42686
  network (chain) on which the token resides. The response provides the token price in
42238
42687
  a standardized format, converted from Wei to the base currency decimals defined by
42239
42688
  Aave.`,
42240
- args: args5,
42241
- tool: async (client, args6, ctx) => {
42242
- const [result, apiCall] = await aaveV3TokenPrice(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42689
+ args: args6,
42690
+ tool: async (client, args7, ctx) => {
42691
+ const [result, apiCall] = await aaveV3TokenPrice(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42243
42692
  if (!result.ok) {
42244
42693
  return {
42245
42694
  content: [{ type: "text", text: result.error.message }],
@@ -42254,9 +42703,9 @@ Aave.`,
42254
42703
 
42255
42704
  // src/funcs/aaveV3UserPositionPerToken.ts
42256
42705
  function aaveV3UserPositionPerToken(client, request, options) {
42257
- return new APIPromise($do6(client, request, options));
42706
+ return new APIPromise($do7(client, request, options));
42258
42707
  }
42259
- async function $do6(client, request, options) {
42708
+ async function $do7(client, request, options) {
42260
42709
  const parsed = safeParse(request, (value) => AaveUserPositionPerTokenRequest$outboundSchema.parse(value), "Input validation failed");
42261
42710
  if (!parsed.ok) {
42262
42711
  return [parsed, { status: "invalid" }];
@@ -42331,12 +42780,12 @@ var init_aaveV3UserPositionPerToken = __esm(() => {
42331
42780
  });
42332
42781
 
42333
42782
  // src/mcp-server/tools/aaveV3UserPositionPerToken.ts
42334
- var args6, tool$aaveV3UserPositionPerToken;
42783
+ var args7, tool$aaveV3UserPositionPerToken;
42335
42784
  var init_aaveV3UserPositionPerToken2 = __esm(() => {
42336
42785
  init_aaveV3UserPositionPerToken();
42337
42786
  init_operations();
42338
42787
  init_tools();
42339
- args6 = {
42788
+ args7 = {
42340
42789
  request: AaveUserPositionPerTokenRequest$inboundSchema
42341
42790
  };
42342
42791
  tool$aaveV3UserPositionPerToken = {
@@ -42352,9 +42801,9 @@ stable borrow rate, stable borrow rate for new loans, variable borrow rate, and
42352
42801
  liquidity rate. These metrics are calculated by aggregating data across all open
42353
42802
  positions held by the user for the specified token, offering a detailed view of
42354
42803
  their financial standing within the AAVE ecosystem.`,
42355
- args: args6,
42356
- tool: async (client, args7, ctx) => {
42357
- const [result, apiCall] = await aaveV3UserPositionPerToken(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42804
+ args: args7,
42805
+ tool: async (client, args8, ctx) => {
42806
+ const [result, apiCall] = await aaveV3UserPositionPerToken(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42358
42807
  if (!result.ok) {
42359
42808
  return {
42360
42809
  content: [{ type: "text", text: result.error.message }],
@@ -42369,9 +42818,9 @@ their financial standing within the AAVE ecosystem.`,
42369
42818
 
42370
42819
  // src/funcs/aaveV3UserPositionSummary.ts
42371
42820
  function aaveV3UserPositionSummary(client, request, options) {
42372
- return new APIPromise($do7(client, request, options));
42821
+ return new APIPromise($do8(client, request, options));
42373
42822
  }
42374
- async function $do7(client, request, options) {
42823
+ async function $do8(client, request, options) {
42375
42824
  const parsed = safeParse(request, (value) => AaveUserPositionSummaryRequest$outboundSchema.parse(value), "Input validation failed");
42376
42825
  if (!parsed.ok) {
42377
42826
  return [parsed, { status: "invalid" }];
@@ -42445,12 +42894,12 @@ var init_aaveV3UserPositionSummary = __esm(() => {
42445
42894
  });
42446
42895
 
42447
42896
  // src/mcp-server/tools/aaveV3UserPositionSummary.ts
42448
- var args7, tool$aaveV3UserPositionSummary;
42897
+ var args8, tool$aaveV3UserPositionSummary;
42449
42898
  var init_aaveV3UserPositionSummary2 = __esm(() => {
42450
42899
  init_aaveV3UserPositionSummary();
42451
42900
  init_operations();
42452
42901
  init_tools();
42453
- args7 = {
42902
+ args8 = {
42454
42903
  request: AaveUserPositionSummaryRequest$inboundSchema
42455
42904
  };
42456
42905
  tool$aaveV3UserPositionSummary = {
@@ -42465,9 +42914,9 @@ debt accrued, available borrowing capacity, liquidation threshold, maximum loan-
42465
42914
  value ratio, and the health factor of the user's account. These metrics are
42466
42915
  calculated by aggregating data across all open positions held by the user, offering
42467
42916
  a holistic view of their financial standing within the AAVE ecosystem.`,
42468
- args: args7,
42469
- tool: async (client, args8, ctx) => {
42470
- const [result, apiCall] = await aaveV3UserPositionSummary(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42917
+ args: args8,
42918
+ tool: async (client, args9, ctx) => {
42919
+ const [result, apiCall] = await aaveV3UserPositionSummary(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42471
42920
  if (!result.ok) {
42472
42921
  return {
42473
42922
  content: [{ type: "text", text: result.error.message }],
@@ -42482,9 +42931,9 @@ a holistic view of their financial standing within the AAVE ecosystem.`,
42482
42931
 
42483
42932
  // src/funcs/aaveV3Withdraw.ts
42484
42933
  function aaveV3Withdraw(client, request, options) {
42485
- return new APIPromise($do8(client, request, options));
42934
+ return new APIPromise($do9(client, request, options));
42486
42935
  }
42487
- async function $do8(client, request, options) {
42936
+ async function $do9(client, request, options) {
42488
42937
  const parsed = safeParse(request, (value) => AaveWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
42489
42938
  if (!parsed.ok) {
42490
42939
  return [parsed, { status: "invalid" }];
@@ -42553,12 +43002,12 @@ var init_aaveV3Withdraw = __esm(() => {
42553
43002
  });
42554
43003
 
42555
43004
  // src/mcp-server/tools/aaveV3Withdraw.ts
42556
- var args8, tool$aaveV3Withdraw;
43005
+ var args9, tool$aaveV3Withdraw;
42557
43006
  var init_aaveV3Withdraw2 = __esm(() => {
42558
43007
  init_aaveV3Withdraw();
42559
43008
  init_components();
42560
43009
  init_tools();
42561
- args8 = {
43010
+ args9 = {
42562
43011
  request: AaveWithdrawRequest$inboundSchema
42563
43012
  };
42564
43013
  tool$aaveV3Withdraw = {
@@ -42574,9 +43023,9 @@ for users to carefully consider their outstanding debts and the potential impact
42574
43023
  their liquidation threshold before proceeding with a withdrawal. This endpoint is
42575
43024
  designed to provide a seamless and efficient way to manage your collateral within
42576
43025
  the Aave ecosystem.`,
42577
- args: args8,
42578
- tool: async (client, args9, ctx) => {
42579
- const [result, apiCall] = await aaveV3Withdraw(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43026
+ args: args9,
43027
+ tool: async (client, args10, ctx) => {
43028
+ const [result, apiCall] = await aaveV3Withdraw(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42580
43029
  if (!result.ok) {
42581
43030
  return {
42582
43031
  content: [{ type: "text", text: result.error.message }],
@@ -42591,9 +43040,9 @@ the Aave ecosystem.`,
42591
43040
 
42592
43041
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts
42593
43042
  function aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, request, options) {
42594
- return new APIPromise($do9(client, request, options));
43043
+ return new APIPromise($do10(client, request, options));
42595
43044
  }
42596
- async function $do9(client, request, options) {
43045
+ async function $do10(client, request, options) {
42597
43046
  const parsed = safeParse(request, (value) => AerodromeSlipstreamIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
42598
43047
  if (!parsed.ok) {
42599
43048
  return [parsed, { status: "invalid" }];
@@ -42662,12 +43111,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = __esm(() => {
42662
43111
  });
42663
43112
 
42664
43113
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts
42665
- var args9, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease;
43114
+ var args10, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease;
42666
43115
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease2 = __esm(() => {
42667
43116
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease();
42668
43117
  init_components();
42669
43118
  init_tools();
42670
- args9 = {
43119
+ args10 = {
42671
43120
  request: AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema
42672
43121
  };
42673
43122
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = {
@@ -42685,9 +43134,9 @@ users with updated information about their enhanced position. This functionality
42685
43134
  vital for users aiming to optimize their liquidity provision strategy, enabling them
42686
43135
  to adapt to market conditions and maximize their returns in decentralized finance
42687
43136
  (DeFi) markets.`,
42688
- args: args9,
42689
- tool: async (client, args10, ctx) => {
42690
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43137
+ args: args10,
43138
+ tool: async (client, args11, ctx) => {
43139
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42691
43140
  if (!result.ok) {
42692
43141
  return {
42693
43142
  content: [{ type: "text", text: result.error.message }],
@@ -42702,9 +43151,9 @@ to adapt to market conditions and maximize their returns in decentralized financ
42702
43151
 
42703
43152
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts
42704
43153
  function aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, request, options) {
42705
- return new APIPromise($do10(client, request, options));
43154
+ return new APIPromise($do11(client, request, options));
42706
43155
  }
42707
- async function $do10(client, request, options) {
43156
+ async function $do11(client, request, options) {
42708
43157
  const parsed = safeParse(request, (value) => AerodromeSlipstreamMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
42709
43158
  if (!parsed.ok) {
42710
43159
  return [parsed, { status: "invalid" }];
@@ -42773,12 +43222,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint = __esm(() => {
42773
43222
  });
42774
43223
 
42775
43224
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts
42776
- var args10, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint;
43225
+ var args11, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint;
42777
43226
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint2 = __esm(() => {
42778
43227
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint();
42779
43228
  init_components();
42780
43229
  init_tools();
42781
- args10 = {
43230
+ args11 = {
42782
43231
  request: AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema
42783
43232
  };
42784
43233
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint = {
@@ -42794,9 +43243,9 @@ confirm the successful creation of the LP position, providing users with the
42794
43243
  necessary information to manage their newly minted position. This functionality is
42795
43244
  crucial for users looking to expand their liquidity provision activities, offering
42796
43245
  them the opportunity to engage in decentralized finance (DeFi) markets effectively.`,
42797
- args: args10,
42798
- tool: async (client, args11, ctx) => {
42799
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43246
+ args: args11,
43247
+ tool: async (client, args12, ctx) => {
43248
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42800
43249
  if (!result.ok) {
42801
43250
  return {
42802
43251
  content: [{ type: "text", text: result.error.message }],
@@ -42811,9 +43260,9 @@ them the opportunity to engage in decentralized finance (DeFi) markets effective
42811
43260
 
42812
43261
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts
42813
43262
  function aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, request, options) {
42814
- return new APIPromise($do11(client, request, options));
43263
+ return new APIPromise($do12(client, request, options));
42815
43264
  }
42816
- async function $do11(client, request, options) {
43265
+ async function $do12(client, request, options) {
42817
43266
  const parsed = safeParse(request, (value) => AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
42818
43267
  if (!parsed.ok) {
42819
43268
  return [parsed, { status: "invalid" }];
@@ -42887,12 +43336,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = __esm(() =>
42887
43336
  });
42888
43337
 
42889
43338
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts
42890
- var args11, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions;
43339
+ var args12, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions;
42891
43340
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions2 = __esm(() => {
42892
43341
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions();
42893
43342
  init_operations();
42894
43343
  init_tools();
42895
- args11 = {
43344
+ args12 = {
42896
43345
  request: AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema
42897
43346
  };
42898
43347
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = {
@@ -42908,9 +43357,9 @@ AerodromeLPPositionsInfo, provides a structured representation of the LP positio
42908
43357
  data, ensuring clarity and ease of use. This functionality is essential for users
42909
43358
  managing their liquidity provision activities, enabling them to make informed
42910
43359
  decisions based on their current positions.`,
42911
- args: args11,
42912
- tool: async (client, args12, ctx) => {
42913
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43360
+ args: args12,
43361
+ tool: async (client, args13, ctx) => {
43362
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42914
43363
  if (!result.ok) {
42915
43364
  return {
42916
43365
  content: [{ type: "text", text: result.error.message }],
@@ -42925,9 +43374,9 @@ decisions based on their current positions.`,
42925
43374
 
42926
43375
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts
42927
43376
  function aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, request, options) {
42928
- return new APIPromise($do12(client, request, options));
43377
+ return new APIPromise($do13(client, request, options));
42929
43378
  }
42930
- async function $do12(client, request, options) {
43379
+ async function $do13(client, request, options) {
42931
43380
  const parsed = safeParse(request, (value) => AerodromeSlipstreamWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
42932
43381
  if (!parsed.ok) {
42933
43382
  return [parsed, { status: "invalid" }];
@@ -42996,12 +43445,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = __esm(() => {
42996
43445
  });
42997
43446
 
42998
43447
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts
42999
- var args12, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw;
43448
+ var args13, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw;
43000
43449
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw2 = __esm(() => {
43001
43450
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw();
43002
43451
  init_components();
43003
43452
  init_tools();
43004
- args12 = {
43453
+ args13 = {
43005
43454
  request: AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema
43006
43455
  };
43007
43456
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = {
@@ -43019,9 +43468,9 @@ wish to exit their liquidity provision activities, enabling them to reclaim thei
43019
43468
  assets and potentially reallocate them to other investment opportunities. The
43020
43469
  endpoint ensures a smooth and secure withdrawal process, facilitating users'
43021
43470
  strategic management of their decentralized finance (DeFi) portfolios.`,
43022
- args: args12,
43023
- tool: async (client, args13, ctx) => {
43024
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43471
+ args: args13,
43472
+ tool: async (client, args14, ctx) => {
43473
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43025
43474
  if (!result.ok) {
43026
43475
  return {
43027
43476
  content: [{ type: "text", text: result.error.message }],
@@ -43036,9 +43485,9 @@ strategic management of their decentralized finance (DeFi) portfolios.`,
43036
43485
 
43037
43486
  // src/funcs/aerodromeSlipstreamSlipstreamPoolPrice.ts
43038
43487
  function aerodromeSlipstreamSlipstreamPoolPrice(client, request, options) {
43039
- return new APIPromise($do13(client, request, options));
43488
+ return new APIPromise($do14(client, request, options));
43040
43489
  }
43041
- async function $do13(client, request, options) {
43490
+ async function $do14(client, request, options) {
43042
43491
  const parsed = safeParse(request, (value) => AerodromeSlipstreamPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
43043
43492
  if (!parsed.ok) {
43044
43493
  return [parsed, { status: "invalid" }];
@@ -43114,12 +43563,12 @@ var init_aerodromeSlipstreamSlipstreamPoolPrice = __esm(() => {
43114
43563
  });
43115
43564
 
43116
43565
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamPoolPrice.ts
43117
- var args13, tool$aerodromeSlipstreamSlipstreamPoolPrice;
43566
+ var args14, tool$aerodromeSlipstreamSlipstreamPoolPrice;
43118
43567
  var init_aerodromeSlipstreamSlipstreamPoolPrice2 = __esm(() => {
43119
43568
  init_aerodromeSlipstreamSlipstreamPoolPrice();
43120
43569
  init_operations();
43121
43570
  init_tools();
43122
- args13 = {
43571
+ args14 = {
43123
43572
  request: AerodromeSlipstreamPoolPriceRequest$inboundSchema
43124
43573
  };
43125
43574
  tool$aerodromeSlipstreamSlipstreamPoolPrice = {
@@ -43132,9 +43581,9 @@ you can purchase for 1 token1.
43132
43581
  Note that this is an instantaneous price and may change during any trade. For a more
43133
43582
  accurate representation of the trade ratios between the two assets, consider using
43134
43583
  the quote endpoint.`,
43135
- args: args13,
43136
- tool: async (client, args14, ctx) => {
43137
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamPoolPrice(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43584
+ args: args14,
43585
+ tool: async (client, args15, ctx) => {
43586
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamPoolPrice(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43138
43587
  if (!result.ok) {
43139
43588
  return {
43140
43589
  content: [{ type: "text", text: result.error.message }],
@@ -43149,9 +43598,9 @@ the quote endpoint.`,
43149
43598
 
43150
43599
  // src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts
43151
43600
  function aerodromeSlipstreamSlipstreamSwapBuyExactly(client, request, options) {
43152
- return new APIPromise($do14(client, request, options));
43601
+ return new APIPromise($do15(client, request, options));
43153
43602
  }
43154
- async function $do14(client, request, options) {
43603
+ async function $do15(client, request, options) {
43155
43604
  const parsed = safeParse(request, (value) => AerodromeSlipstreamBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
43156
43605
  if (!parsed.ok) {
43157
43606
  return [parsed, { status: "invalid" }];
@@ -43220,12 +43669,12 @@ var init_aerodromeSlipstreamSlipstreamSwapBuyExactly = __esm(() => {
43220
43669
  });
43221
43670
 
43222
43671
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts
43223
- var args14, tool$aerodromeSlipstreamSlipstreamSwapBuyExactly;
43672
+ var args15, tool$aerodromeSlipstreamSlipstreamSwapBuyExactly;
43224
43673
  var init_aerodromeSlipstreamSlipstreamSwapBuyExactly2 = __esm(() => {
43225
43674
  init_aerodromeSlipstreamSlipstreamSwapBuyExactly();
43226
43675
  init_components();
43227
43676
  init_tools();
43228
- args14 = {
43677
+ args15 = {
43229
43678
  request: AerodromeSlipstreamBuyExactlyRequest$inboundSchema
43230
43679
  };
43231
43680
  tool$aerodromeSlipstreamSlipstreamSwapBuyExactly = {
@@ -43242,9 +43691,9 @@ in mind and are willing to provide the corresponding input token amount. The
43242
43691
  transaction is executed with consideration of current market conditions, including
43243
43692
  liquidity and price impact, ensuring that the trade is completed efficiently and
43244
43693
  effectively.`,
43245
- args: args14,
43246
- tool: async (client, args15, ctx) => {
43247
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapBuyExactly(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43694
+ args: args15,
43695
+ tool: async (client, args16, ctx) => {
43696
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapBuyExactly(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43248
43697
  if (!result.ok) {
43249
43698
  return {
43250
43699
  content: [{ type: "text", text: result.error.message }],
@@ -43259,9 +43708,9 @@ effectively.`,
43259
43708
 
43260
43709
  // src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts
43261
43710
  function aerodromeSlipstreamSlipstreamSwapSellExactly(client, request, options) {
43262
- return new APIPromise($do15(client, request, options));
43711
+ return new APIPromise($do16(client, request, options));
43263
43712
  }
43264
- async function $do15(client, request, options) {
43713
+ async function $do16(client, request, options) {
43265
43714
  const parsed = safeParse(request, (value) => AerodromeSlipstreamSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
43266
43715
  if (!parsed.ok) {
43267
43716
  return [parsed, { status: "invalid" }];
@@ -43330,12 +43779,12 @@ var init_aerodromeSlipstreamSlipstreamSwapSellExactly = __esm(() => {
43330
43779
  });
43331
43780
 
43332
43781
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.ts
43333
- var args15, tool$aerodromeSlipstreamSlipstreamSwapSellExactly;
43782
+ var args16, tool$aerodromeSlipstreamSlipstreamSwapSellExactly;
43334
43783
  var init_aerodromeSlipstreamSlipstreamSwapSellExactly2 = __esm(() => {
43335
43784
  init_aerodromeSlipstreamSlipstreamSwapSellExactly();
43336
43785
  init_components();
43337
43786
  init_tools();
43338
- args15 = {
43787
+ args16 = {
43339
43788
  request: AerodromeSlipstreamSellExactlyRequest$inboundSchema
43340
43789
  };
43341
43790
  tool$aerodromeSlipstreamSlipstreamSwapSellExactly = {
@@ -43351,9 +43800,9 @@ received. The operation ensures that the trade is conducted within the constrain
43351
43800
  of the current market conditions, taking into account the liquidity and price
43352
43801
  impact. This endpoint is suitable for users who want to sell a precise quantity of a
43353
43802
  token and are willing to accept the resulting amount of the other token.`,
43354
- args: args15,
43355
- tool: async (client, args16, ctx) => {
43356
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapSellExactly(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43803
+ args: args16,
43804
+ tool: async (client, args17, ctx) => {
43805
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapSellExactly(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43357
43806
  if (!result.ok) {
43358
43807
  return {
43359
43808
  content: [{ type: "text", text: result.error.message }],
@@ -43368,9 +43817,9 @@ token and are willing to accept the resulting amount of the other token.`,
43368
43817
 
43369
43818
  // src/funcs/morphoAllowance.ts
43370
43819
  function morphoAllowance(client, request, options) {
43371
- return new APIPromise($do16(client, request, options));
43820
+ return new APIPromise($do17(client, request, options));
43372
43821
  }
43373
- async function $do16(client, request, options) {
43822
+ async function $do17(client, request, options) {
43374
43823
  const parsed = safeParse(request, (value) => MorphoSetVaultAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
43375
43824
  if (!parsed.ok) {
43376
43825
  return [parsed, { status: "invalid" }];
@@ -43439,12 +43888,12 @@ var init_morphoAllowance = __esm(() => {
43439
43888
  });
43440
43889
 
43441
43890
  // src/mcp-server/tools/morphoAllowance.ts
43442
- var args16, tool$morphoAllowance;
43891
+ var args17, tool$morphoAllowance;
43443
43892
  var init_morphoAllowance2 = __esm(() => {
43444
43893
  init_morphoAllowance();
43445
43894
  init_components();
43446
43895
  init_tools();
43447
- args16 = {
43896
+ args17 = {
43448
43897
  request: MorphoSetVaultAllowanceRequest$inboundSchema
43449
43898
  };
43450
43899
  tool$morphoAllowance = {
@@ -43456,9 +43905,9 @@ Set an allowance for a Morpho vault. You must set this for at least the amount y
43456
43905
  Each vault has only one associated token that can be deposited.
43457
43906
 
43458
43907
  Use the 'Get Vaults' endpoint to query a list of vaults you can deposit into.`,
43459
- args: args16,
43460
- tool: async (client, args17, ctx) => {
43461
- const [result, apiCall] = await morphoAllowance(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43908
+ args: args17,
43909
+ tool: async (client, args18, ctx) => {
43910
+ const [result, apiCall] = await morphoAllowance(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43462
43911
  if (!result.ok) {
43463
43912
  return {
43464
43913
  content: [{ type: "text", text: result.error.message }],
@@ -43473,9 +43922,9 @@ Use the 'Get Vaults' endpoint to query a list of vaults you can deposit into.`,
43473
43922
 
43474
43923
  // src/funcs/morphoBorrow.ts
43475
43924
  function morphoBorrow(client, request, options) {
43476
- return new APIPromise($do17(client, request, options));
43925
+ return new APIPromise($do18(client, request, options));
43477
43926
  }
43478
- async function $do17(client, request, options) {
43927
+ async function $do18(client, request, options) {
43479
43928
  const parsed = safeParse(request, (value) => MorphoBorrowRequest$outboundSchema.parse(value), "Input validation failed");
43480
43929
  if (!parsed.ok) {
43481
43930
  return [parsed, { status: "invalid" }];
@@ -43544,12 +43993,12 @@ var init_morphoBorrow = __esm(() => {
43544
43993
  });
43545
43994
 
43546
43995
  // src/mcp-server/tools/morphoBorrow.ts
43547
- var args17, tool$morphoBorrow;
43996
+ var args18, tool$morphoBorrow;
43548
43997
  var init_morphoBorrow2 = __esm(() => {
43549
43998
  init_morphoBorrow();
43550
43999
  init_components();
43551
44000
  init_tools();
43552
- args17 = {
44001
+ args18 = {
43553
44002
  request: MorphoBorrowRequest$inboundSchema
43554
44003
  };
43555
44004
  tool$morphoBorrow = {
@@ -43565,9 +44014,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
43565
44014
  loan asset. Each market is isolated (meaning risks are contained within each
43566
44015
  individual market), immutable (cannot be changed after deployment), and will persist
43567
44016
  as long as the blockchain it is deployed on is live.`,
43568
- args: args17,
43569
- tool: async (client, args18, ctx) => {
43570
- const [result, apiCall] = await morphoBorrow(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44017
+ args: args18,
44018
+ tool: async (client, args19, ctx) => {
44019
+ const [result, apiCall] = await morphoBorrow(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43571
44020
  if (!result.ok) {
43572
44021
  return {
43573
44022
  content: [{ type: "text", text: result.error.message }],
@@ -43582,9 +44031,9 @@ as long as the blockchain it is deployed on is live.`,
43582
44031
 
43583
44032
  // src/funcs/morphoDeposit.ts
43584
44033
  function morphoDeposit(client, request, options) {
43585
- return new APIPromise($do18(client, request, options));
44034
+ return new APIPromise($do19(client, request, options));
43586
44035
  }
43587
- async function $do18(client, request, options) {
44036
+ async function $do19(client, request, options) {
43588
44037
  const parsed = safeParse(request, (value) => MorphoDepositRequest$outboundSchema.parse(value), "Input validation failed");
43589
44038
  if (!parsed.ok) {
43590
44039
  return [parsed, { status: "invalid" }];
@@ -43653,12 +44102,12 @@ var init_morphoDeposit = __esm(() => {
43653
44102
  });
43654
44103
 
43655
44104
  // src/mcp-server/tools/morphoDeposit.ts
43656
- var args18, tool$morphoDeposit;
44105
+ var args19, tool$morphoDeposit;
43657
44106
  var init_morphoDeposit2 = __esm(() => {
43658
44107
  init_morphoDeposit();
43659
44108
  init_components();
43660
44109
  init_tools();
43661
- args18 = {
44110
+ args19 = {
43662
44111
  request: MorphoDepositRequest$inboundSchema
43663
44112
  };
43664
44113
  tool$morphoDeposit = {
@@ -43676,9 +44125,9 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
43676
44125
  exposure for all deposited assets so users don't need to make these decisions
43677
44126
  themselves. Users maintain full control over their assets, can monitor the vault's
43678
44127
  state at any time, and withdraw their liquidity at their discretion.`,
43679
- args: args18,
43680
- tool: async (client, args19, ctx) => {
43681
- const [result, apiCall] = await morphoDeposit(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44128
+ args: args19,
44129
+ tool: async (client, args20, ctx) => {
44130
+ const [result, apiCall] = await morphoDeposit(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43682
44131
  if (!result.ok) {
43683
44132
  return {
43684
44133
  content: [{ type: "text", text: result.error.message }],
@@ -43693,9 +44142,9 @@ state at any time, and withdraw their liquidity at their discretion.`,
43693
44142
 
43694
44143
  // src/funcs/morphoMarketPosition.ts
43695
44144
  function morphoMarketPosition(client, request, options) {
43696
- return new APIPromise($do19(client, request, options));
44145
+ return new APIPromise($do20(client, request, options));
43697
44146
  }
43698
- async function $do19(client, request, options) {
44147
+ async function $do20(client, request, options) {
43699
44148
  const parsed = safeParse(request, (value) => MorphoMarketPositionRequest$outboundSchema.parse(value), "Input validation failed");
43700
44149
  if (!parsed.ok) {
43701
44150
  return [parsed, { status: "invalid" }];
@@ -43770,12 +44219,12 @@ var init_morphoMarketPosition = __esm(() => {
43770
44219
  });
43771
44220
 
43772
44221
  // src/mcp-server/tools/morphoMarketPosition.ts
43773
- var args19, tool$morphoMarketPosition;
44222
+ var args20, tool$morphoMarketPosition;
43774
44223
  var init_morphoMarketPosition2 = __esm(() => {
43775
44224
  init_morphoMarketPosition();
43776
44225
  init_operations();
43777
44226
  init_tools();
43778
- args19 = {
44227
+ args20 = {
43779
44228
  request: MorphoMarketPositionRequest$inboundSchema
43780
44229
  };
43781
44230
  tool$morphoMarketPosition = {
@@ -43784,9 +44233,9 @@ var init_morphoMarketPosition2 = __esm(() => {
43784
44233
 
43785
44234
  Check how many shares you've borrowed and the equivalent token amount of a given
43786
44235
  market.`,
43787
- args: args19,
43788
- tool: async (client, args20, ctx) => {
43789
- const [result, apiCall] = await morphoMarketPosition(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44236
+ args: args20,
44237
+ tool: async (client, args21, ctx) => {
44238
+ const [result, apiCall] = await morphoMarketPosition(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43790
44239
  if (!result.ok) {
43791
44240
  return {
43792
44241
  content: [{ type: "text", text: result.error.message }],
@@ -43801,9 +44250,9 @@ market.`,
43801
44250
 
43802
44251
  // src/funcs/morphoMarkets.ts
43803
44252
  function morphoMarkets(client, request, options) {
43804
- return new APIPromise($do20(client, request, options));
44253
+ return new APIPromise($do21(client, request, options));
43805
44254
  }
43806
- async function $do20(client, request, options) {
44255
+ async function $do21(client, request, options) {
43807
44256
  const parsed = safeParse(request, (value) => MorphoMarketsRequest$outboundSchema.parse(value), "Input validation failed");
43808
44257
  if (!parsed.ok) {
43809
44258
  return [parsed, { status: "invalid" }];
@@ -43878,12 +44327,12 @@ var init_morphoMarkets = __esm(() => {
43878
44327
  });
43879
44328
 
43880
44329
  // src/mcp-server/tools/morphoMarkets.ts
43881
- var args20, tool$morphoMarkets;
44330
+ var args21, tool$morphoMarkets;
43882
44331
  var init_morphoMarkets2 = __esm(() => {
43883
44332
  init_morphoMarkets();
43884
44333
  init_operations();
43885
44334
  init_tools();
43886
- args20 = {
44335
+ args21 = {
43887
44336
  request: MorphoMarketsRequest$inboundSchema
43888
44337
  };
43889
44338
  tool$morphoMarkets = {
@@ -43894,9 +44343,9 @@ Query a list of markets you can borrow from.
43894
44343
 
43895
44344
  Each market has one unique token that can be borrowed against one unique token that
43896
44345
  can be used as collateral.`,
43897
- args: args20,
43898
- tool: async (client, args21, ctx) => {
43899
- const [result, apiCall] = await morphoMarkets(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44346
+ args: args21,
44347
+ tool: async (client, args22, ctx) => {
44348
+ const [result, apiCall] = await morphoMarkets(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43900
44349
  if (!result.ok) {
43901
44350
  return {
43902
44351
  content: [{ type: "text", text: result.error.message }],
@@ -43911,9 +44360,9 @@ can be used as collateral.`,
43911
44360
 
43912
44361
  // src/funcs/morphoRepay.ts
43913
44362
  function morphoRepay(client, request, options) {
43914
- return new APIPromise($do21(client, request, options));
44363
+ return new APIPromise($do22(client, request, options));
43915
44364
  }
43916
- async function $do21(client, request, options) {
44365
+ async function $do22(client, request, options) {
43917
44366
  const parsed = safeParse(request, (value) => MorphoRepayRequest$outboundSchema.parse(value), "Input validation failed");
43918
44367
  if (!parsed.ok) {
43919
44368
  return [parsed, { status: "invalid" }];
@@ -43982,12 +44431,12 @@ var init_morphoRepay = __esm(() => {
43982
44431
  });
43983
44432
 
43984
44433
  // src/mcp-server/tools/morphoRepay.ts
43985
- var args21, tool$morphoRepay;
44434
+ var args22, tool$morphoRepay;
43986
44435
  var init_morphoRepay2 = __esm(() => {
43987
44436
  init_morphoRepay();
43988
44437
  init_components();
43989
44438
  init_tools();
43990
- args21 = {
44439
+ args22 = {
43991
44440
  request: MorphoRepayRequest$inboundSchema
43992
44441
  };
43993
44442
  tool$morphoRepay = {
@@ -44000,9 +44449,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
44000
44449
  loan asset. Each market is isolated (meaning risks are contained within each
44001
44450
  individual market), immutable (cannot be changed after deployment), and will persist
44002
44451
  as long as the blockchain it is deployed on is live.`,
44003
- args: args21,
44004
- tool: async (client, args22, ctx) => {
44005
- const [result, apiCall] = await morphoRepay(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44452
+ args: args22,
44453
+ tool: async (client, args23, ctx) => {
44454
+ const [result, apiCall] = await morphoRepay(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44006
44455
  if (!result.ok) {
44007
44456
  return {
44008
44457
  content: [{ type: "text", text: result.error.message }],
@@ -44017,9 +44466,9 @@ as long as the blockchain it is deployed on is live.`,
44017
44466
 
44018
44467
  // src/funcs/morphoSupplyCollateral.ts
44019
44468
  function morphoSupplyCollateral(client, request, options) {
44020
- return new APIPromise($do22(client, request, options));
44469
+ return new APIPromise($do23(client, request, options));
44021
44470
  }
44022
- async function $do22(client, request, options) {
44471
+ async function $do23(client, request, options) {
44023
44472
  const parsed = safeParse(request, (value) => MorphoSupplyCollateralRequest$outboundSchema.parse(value), "Input validation failed");
44024
44473
  if (!parsed.ok) {
44025
44474
  return [parsed, { status: "invalid" }];
@@ -44088,12 +44537,12 @@ var init_morphoSupplyCollateral = __esm(() => {
44088
44537
  });
44089
44538
 
44090
44539
  // src/mcp-server/tools/morphoSupplyCollateral.ts
44091
- var args22, tool$morphoSupplyCollateral;
44540
+ var args23, tool$morphoSupplyCollateral;
44092
44541
  var init_morphoSupplyCollateral2 = __esm(() => {
44093
44542
  init_morphoSupplyCollateral();
44094
44543
  init_components();
44095
44544
  init_tools();
44096
- args22 = {
44545
+ args23 = {
44097
44546
  request: MorphoSupplyCollateralRequest$inboundSchema
44098
44547
  };
44099
44548
  tool$morphoSupplyCollateral = {
@@ -44106,9 +44555,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
44106
44555
  loan asset. Each market is isolated (meaning risks are contained within each
44107
44556
  individual market), immutable (cannot be changed after deployment), and will persist
44108
44557
  as long as the blockchain it is deployed on is live.`,
44109
- args: args22,
44110
- tool: async (client, args23, ctx) => {
44111
- const [result, apiCall] = await morphoSupplyCollateral(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44558
+ args: args23,
44559
+ tool: async (client, args24, ctx) => {
44560
+ const [result, apiCall] = await morphoSupplyCollateral(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44112
44561
  if (!result.ok) {
44113
44562
  return {
44114
44563
  content: [{ type: "text", text: result.error.message }],
@@ -44123,9 +44572,9 @@ as long as the blockchain it is deployed on is live.`,
44123
44572
 
44124
44573
  // src/funcs/morphoVaultPosition.ts
44125
44574
  function morphoVaultPosition(client, request, options) {
44126
- return new APIPromise($do23(client, request, options));
44575
+ return new APIPromise($do24(client, request, options));
44127
44576
  }
44128
- async function $do23(client, request, options) {
44577
+ async function $do24(client, request, options) {
44129
44578
  const parsed = safeParse(request, (value) => MorphoVaultPositionRequest$outboundSchema.parse(value), "Input validation failed");
44130
44579
  if (!parsed.ok) {
44131
44580
  return [parsed, { status: "invalid" }];
@@ -44200,12 +44649,12 @@ var init_morphoVaultPosition = __esm(() => {
44200
44649
  });
44201
44650
 
44202
44651
  // src/mcp-server/tools/morphoVaultPosition.ts
44203
- var args23, tool$morphoVaultPosition;
44652
+ var args24, tool$morphoVaultPosition;
44204
44653
  var init_morphoVaultPosition2 = __esm(() => {
44205
44654
  init_morphoVaultPosition();
44206
44655
  init_operations();
44207
44656
  init_tools();
44208
- args23 = {
44657
+ args24 = {
44209
44658
  request: MorphoVaultPositionRequest$inboundSchema
44210
44659
  };
44211
44660
  tool$morphoVaultPosition = {
@@ -44214,9 +44663,9 @@ var init_morphoVaultPosition2 = __esm(() => {
44214
44663
 
44215
44664
  Check how many shares you own and the equivalent token amount of a given
44216
44665
  vault.`,
44217
- args: args23,
44218
- tool: async (client, args24, ctx) => {
44219
- const [result, apiCall] = await morphoVaultPosition(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44666
+ args: args24,
44667
+ tool: async (client, args25, ctx) => {
44668
+ const [result, apiCall] = await morphoVaultPosition(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44220
44669
  if (!result.ok) {
44221
44670
  return {
44222
44671
  content: [{ type: "text", text: result.error.message }],
@@ -44231,9 +44680,9 @@ vault.`,
44231
44680
 
44232
44681
  // src/funcs/morphoVaults.ts
44233
44682
  function morphoVaults(client, request, options) {
44234
- return new APIPromise($do24(client, request, options));
44683
+ return new APIPromise($do25(client, request, options));
44235
44684
  }
44236
- async function $do24(client, request, options) {
44685
+ async function $do25(client, request, options) {
44237
44686
  const parsed = safeParse(request, (value) => MorphoVaultsRequest$outboundSchema.parse(value), "Input validation failed");
44238
44687
  if (!parsed.ok) {
44239
44688
  return [parsed, { status: "invalid" }];
@@ -44307,12 +44756,12 @@ var init_morphoVaults = __esm(() => {
44307
44756
  });
44308
44757
 
44309
44758
  // src/mcp-server/tools/morphoVaults.ts
44310
- var args24, tool$morphoVaults;
44759
+ var args25, tool$morphoVaults;
44311
44760
  var init_morphoVaults2 = __esm(() => {
44312
44761
  init_morphoVaults();
44313
44762
  init_operations();
44314
44763
  init_tools();
44315
- args24 = {
44764
+ args25 = {
44316
44765
  request: MorphoVaultsRequest$inboundSchema
44317
44766
  };
44318
44767
  tool$morphoVaults = {
@@ -44324,9 +44773,9 @@ Query a list of vaults you can deposit into.
44324
44773
  Each vault has one unique token that can be deposited. In exchange for depositing
44325
44774
  tokens into a vault you receive shares. You earn yield on these shares by their
44326
44775
  exchange value increasing over time.`,
44327
- args: args24,
44328
- tool: async (client, args25, ctx) => {
44329
- const [result, apiCall] = await morphoVaults(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44776
+ args: args25,
44777
+ tool: async (client, args26, ctx) => {
44778
+ const [result, apiCall] = await morphoVaults(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44330
44779
  if (!result.ok) {
44331
44780
  return {
44332
44781
  content: [{ type: "text", text: result.error.message }],
@@ -44341,9 +44790,9 @@ exchange value increasing over time.`,
44341
44790
 
44342
44791
  // src/funcs/morphoWithdraw.ts
44343
44792
  function morphoWithdraw(client, request, options) {
44344
- return new APIPromise($do25(client, request, options));
44793
+ return new APIPromise($do26(client, request, options));
44345
44794
  }
44346
- async function $do25(client, request, options) {
44795
+ async function $do26(client, request, options) {
44347
44796
  const parsed = safeParse(request, (value) => MorphoWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
44348
44797
  if (!parsed.ok) {
44349
44798
  return [parsed, { status: "invalid" }];
@@ -44412,12 +44861,12 @@ var init_morphoWithdraw = __esm(() => {
44412
44861
  });
44413
44862
 
44414
44863
  // src/mcp-server/tools/morphoWithdraw.ts
44415
- var args25, tool$morphoWithdraw;
44864
+ var args26, tool$morphoWithdraw;
44416
44865
  var init_morphoWithdraw2 = __esm(() => {
44417
44866
  init_morphoWithdraw();
44418
44867
  init_components();
44419
44868
  init_tools();
44420
- args25 = {
44869
+ args26 = {
44421
44870
  request: MorphoWithdrawRequest$inboundSchema
44422
44871
  };
44423
44872
  tool$morphoWithdraw = {
@@ -44435,9 +44884,9 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
44435
44884
  exposure for all deposited assets so users don't need to make these decisions
44436
44885
  themselves. Users maintain full control over their assets, can monitor the vault's
44437
44886
  state at any time, and withdraw their liquidity at their discretion.`,
44438
- args: args25,
44439
- tool: async (client, args26, ctx) => {
44440
- const [result, apiCall] = await morphoWithdraw(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44887
+ args: args26,
44888
+ tool: async (client, args27, ctx) => {
44889
+ const [result, apiCall] = await morphoWithdraw(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44441
44890
  if (!result.ok) {
44442
44891
  return {
44443
44892
  content: [{ type: "text", text: result.error.message }],
@@ -44452,9 +44901,9 @@ state at any time, and withdraw their liquidity at their discretion.`,
44452
44901
 
44453
44902
  // src/funcs/morphoWithdrawCollateral.ts
44454
44903
  function morphoWithdrawCollateral(client, request, options) {
44455
- return new APIPromise($do26(client, request, options));
44904
+ return new APIPromise($do27(client, request, options));
44456
44905
  }
44457
- async function $do26(client, request, options) {
44906
+ async function $do27(client, request, options) {
44458
44907
  const parsed = safeParse(request, (value) => MorphoWithdrawCollateralRequest$outboundSchema.parse(value), "Input validation failed");
44459
44908
  if (!parsed.ok) {
44460
44909
  return [parsed, { status: "invalid" }];
@@ -44523,12 +44972,12 @@ var init_morphoWithdrawCollateral = __esm(() => {
44523
44972
  });
44524
44973
 
44525
44974
  // src/mcp-server/tools/morphoWithdrawCollateral.ts
44526
- var args26, tool$morphoWithdrawCollateral;
44975
+ var args27, tool$morphoWithdrawCollateral;
44527
44976
  var init_morphoWithdrawCollateral2 = __esm(() => {
44528
44977
  init_morphoWithdrawCollateral();
44529
44978
  init_components();
44530
44979
  init_tools();
44531
- args26 = {
44980
+ args27 = {
44532
44981
  request: MorphoWithdrawCollateralRequest$inboundSchema
44533
44982
  };
44534
44983
  tool$morphoWithdrawCollateral = {
@@ -44541,9 +44990,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
44541
44990
  loan asset. Each market is isolated (meaning risks are contained within each
44542
44991
  individual market), immutable (cannot be changed after deployment), and will persist
44543
44992
  as long as the blockchain it is deployed on is live.`,
44544
- args: args26,
44545
- tool: async (client, args27, ctx) => {
44546
- const [result, apiCall] = await morphoWithdrawCollateral(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44993
+ args: args27,
44994
+ tool: async (client, args28, ctx) => {
44995
+ const [result, apiCall] = await morphoWithdrawCollateral(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44547
44996
  if (!result.ok) {
44548
44997
  return {
44549
44998
  content: [{ type: "text", text: result.error.message }],
@@ -44558,9 +45007,9 @@ as long as the blockchain it is deployed on is live.`,
44558
45007
 
44559
45008
  // src/funcs/skyBuy.ts
44560
45009
  function skyBuy(client, request, options) {
44561
- return new APIPromise($do27(client, request, options));
45010
+ return new APIPromise($do28(client, request, options));
44562
45011
  }
44563
- async function $do27(client, request, options) {
45012
+ async function $do28(client, request, options) {
44564
45013
  const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
44565
45014
  if (!parsed.ok) {
44566
45015
  return [parsed, { status: "invalid" }];
@@ -44629,12 +45078,12 @@ var init_skyBuy = __esm(() => {
44629
45078
  });
44630
45079
 
44631
45080
  // src/mcp-server/tools/skyBuy.ts
44632
- var args27, tool$skyBuy;
45081
+ var args28, tool$skyBuy;
44633
45082
  var init_skyBuy2 = __esm(() => {
44634
45083
  init_skyBuy();
44635
45084
  init_components();
44636
45085
  init_tools();
44637
- args27 = {
45086
+ args28 = {
44638
45087
  request: SkyBuyRequest$inboundSchema
44639
45088
  };
44640
45089
  tool$skyBuy = {
@@ -44644,9 +45093,9 @@ var init_skyBuy2 = __esm(() => {
44644
45093
  Buy USDS with DAI or USDC on a 1:1 basis.
44645
45094
 
44646
45095
  There are no fees.`,
44647
- args: args27,
44648
- tool: async (client, args28, ctx) => {
44649
- const [result, apiCall] = await skyBuy(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45096
+ args: args28,
45097
+ tool: async (client, args29, ctx) => {
45098
+ const [result, apiCall] = await skyBuy(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44650
45099
  if (!result.ok) {
44651
45100
  return {
44652
45101
  content: [{ type: "text", text: result.error.message }],
@@ -44661,9 +45110,9 @@ There are no fees.`,
44661
45110
 
44662
45111
  // src/funcs/skyDeposit.ts
44663
45112
  function skyDeposit(client, request, options) {
44664
- return new APIPromise($do28(client, request, options));
45113
+ return new APIPromise($do29(client, request, options));
44665
45114
  }
44666
- async function $do28(client, request, options) {
45115
+ async function $do29(client, request, options) {
44667
45116
  const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
44668
45117
  if (!parsed.ok) {
44669
45118
  return [parsed, { status: "invalid" }];
@@ -44732,12 +45181,12 @@ var init_skyDeposit = __esm(() => {
44732
45181
  });
44733
45182
 
44734
45183
  // src/mcp-server/tools/skyDeposit.ts
44735
- var args28, tool$skyDeposit;
45184
+ var args29, tool$skyDeposit;
44736
45185
  var init_skyDeposit2 = __esm(() => {
44737
45186
  init_skyDeposit();
44738
45187
  init_components();
44739
45188
  init_tools();
44740
- args28 = {
45189
+ args29 = {
44741
45190
  request: SkyDepositRequest$inboundSchema
44742
45191
  };
44743
45192
  tool$skyDeposit = {
@@ -44747,9 +45196,9 @@ var init_skyDeposit2 = __esm(() => {
44747
45196
  Deposit USDS for sUSDS to earn yield.
44748
45197
 
44749
45198
  There are no fees.`,
44750
- args: args28,
44751
- tool: async (client, args29, ctx) => {
44752
- const [result, apiCall] = await skyDeposit(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45199
+ args: args29,
45200
+ tool: async (client, args30, ctx) => {
45201
+ const [result, apiCall] = await skyDeposit(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44753
45202
  if (!result.ok) {
44754
45203
  return {
44755
45204
  content: [{ type: "text", text: result.error.message }],
@@ -44764,9 +45213,9 @@ There are no fees.`,
44764
45213
 
44765
45214
  // src/funcs/skyPosition.ts
44766
45215
  function skyPosition(client, request, options) {
44767
- return new APIPromise($do29(client, request, options));
45216
+ return new APIPromise($do30(client, request, options));
44768
45217
  }
44769
- async function $do29(client, request, options) {
45218
+ async function $do30(client, request, options) {
44770
45219
  const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
44771
45220
  if (!parsed.ok) {
44772
45221
  return [parsed, { status: "invalid" }];
@@ -44840,12 +45289,12 @@ var init_skyPosition = __esm(() => {
44840
45289
  });
44841
45290
 
44842
45291
  // src/mcp-server/tools/skyPosition.ts
44843
- var args29, tool$skyPosition;
45292
+ var args30, tool$skyPosition;
44844
45293
  var init_skyPosition2 = __esm(() => {
44845
45294
  init_skyPosition();
44846
45295
  init_operations();
44847
45296
  init_tools();
44848
- args29 = {
45297
+ args30 = {
44849
45298
  request: SkyPositionRequest$inboundSchema
44850
45299
  };
44851
45300
  tool$skyPosition = {
@@ -44853,9 +45302,9 @@ var init_skyPosition2 = __esm(() => {
44853
45302
  description: `Check USDS Position
44854
45303
 
44855
45304
  Check the USDS overall position.`,
44856
- args: args29,
44857
- tool: async (client, args30, ctx) => {
44858
- const [result, apiCall] = await skyPosition(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45305
+ args: args30,
45306
+ tool: async (client, args31, ctx) => {
45307
+ const [result, apiCall] = await skyPosition(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44859
45308
  if (!result.ok) {
44860
45309
  return {
44861
45310
  content: [{ type: "text", text: result.error.message }],
@@ -44870,9 +45319,9 @@ Check the USDS overall position.`,
44870
45319
 
44871
45320
  // src/funcs/skySell.ts
44872
45321
  function skySell(client, request, options) {
44873
- return new APIPromise($do30(client, request, options));
45322
+ return new APIPromise($do31(client, request, options));
44874
45323
  }
44875
- async function $do30(client, request, options) {
45324
+ async function $do31(client, request, options) {
44876
45325
  const parsed = safeParse(request, (value) => SkySellRequest$outboundSchema.parse(value), "Input validation failed");
44877
45326
  if (!parsed.ok) {
44878
45327
  return [parsed, { status: "invalid" }];
@@ -44941,12 +45390,12 @@ var init_skySell = __esm(() => {
44941
45390
  });
44942
45391
 
44943
45392
  // src/mcp-server/tools/skySell.ts
44944
- var args30, tool$skySell;
45393
+ var args31, tool$skySell;
44945
45394
  var init_skySell2 = __esm(() => {
44946
45395
  init_skySell();
44947
45396
  init_components();
44948
45397
  init_tools();
44949
- args30 = {
45398
+ args31 = {
44950
45399
  request: SkySellRequest$inboundSchema
44951
45400
  };
44952
45401
  tool$skySell = {
@@ -44956,9 +45405,9 @@ var init_skySell2 = __esm(() => {
44956
45405
  Sell USDS for DAI or USDC on a 1:1 basis.
44957
45406
 
44958
45407
  There are no fees.`,
44959
- args: args30,
44960
- tool: async (client, args31, ctx) => {
44961
- const [result, apiCall] = await skySell(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45408
+ args: args31,
45409
+ tool: async (client, args32, ctx) => {
45410
+ const [result, apiCall] = await skySell(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44962
45411
  if (!result.ok) {
44963
45412
  return {
44964
45413
  content: [{ type: "text", text: result.error.message }],
@@ -44973,9 +45422,9 @@ There are no fees.`,
44973
45422
 
44974
45423
  // src/funcs/skyWithdraw.ts
44975
45424
  function skyWithdraw(client, request, options) {
44976
- return new APIPromise($do31(client, request, options));
45425
+ return new APIPromise($do32(client, request, options));
44977
45426
  }
44978
- async function $do31(client, request, options) {
45427
+ async function $do32(client, request, options) {
44979
45428
  const parsed = safeParse(request, (value) => SkyWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
44980
45429
  if (!parsed.ok) {
44981
45430
  return [parsed, { status: "invalid" }];
@@ -45044,12 +45493,12 @@ var init_skyWithdraw = __esm(() => {
45044
45493
  });
45045
45494
 
45046
45495
  // src/mcp-server/tools/skyWithdraw.ts
45047
- var args31, tool$skyWithdraw;
45496
+ var args32, tool$skyWithdraw;
45048
45497
  var init_skyWithdraw2 = __esm(() => {
45049
45498
  init_skyWithdraw();
45050
45499
  init_components();
45051
45500
  init_tools();
45052
- args31 = {
45501
+ args32 = {
45053
45502
  request: SkyWithdrawRequest$inboundSchema
45054
45503
  };
45055
45504
  tool$skyWithdraw = {
@@ -45059,9 +45508,9 @@ var init_skyWithdraw2 = __esm(() => {
45059
45508
  Withdraw USDS for sUSDS to stop earning yield.
45060
45509
 
45061
45510
  There are no fees.`,
45062
- args: args31,
45063
- tool: async (client, args32, ctx) => {
45064
- const [result, apiCall] = await skyWithdraw(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45511
+ args: args32,
45512
+ tool: async (client, args33, ctx) => {
45513
+ const [result, apiCall] = await skyWithdraw(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45065
45514
  if (!result.ok) {
45066
45515
  return {
45067
45516
  content: [{ type: "text", text: result.error.message }],
@@ -45076,9 +45525,9 @@ There are no fees.`,
45076
45525
 
45077
45526
  // src/funcs/tokenAddress.ts
45078
45527
  function tokenAddress(client, request, options) {
45079
- return new APIPromise($do32(client, request, options));
45528
+ return new APIPromise($do33(client, request, options));
45080
45529
  }
45081
- async function $do32(client, request, options) {
45530
+ async function $do33(client, request, options) {
45082
45531
  const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
45083
45532
  if (!parsed.ok) {
45084
45533
  return [parsed, { status: "invalid" }];
@@ -45152,12 +45601,12 @@ var init_tokenAddress = __esm(() => {
45152
45601
  });
45153
45602
 
45154
45603
  // src/mcp-server/tools/tokenAddress.ts
45155
- var args32, tool$tokenAddress;
45604
+ var args33, tool$tokenAddress;
45156
45605
  var init_tokenAddress2 = __esm(() => {
45157
45606
  init_tokenAddress();
45158
45607
  init_operations();
45159
45608
  init_tools();
45160
- args32 = {
45609
+ args33 = {
45161
45610
  request: TokenAddressRequest$inboundSchema
45162
45611
  };
45163
45612
  tool$tokenAddress = {
@@ -45165,9 +45614,9 @@ var init_tokenAddress2 = __esm(() => {
45165
45614
  description: `Token Address
45166
45615
 
45167
45616
  This endpoint retrieves the address for a token supported by us.`,
45168
- args: args32,
45169
- tool: async (client, args33, ctx) => {
45170
- const [result, apiCall] = await tokenAddress(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45617
+ args: args33,
45618
+ tool: async (client, args34, ctx) => {
45619
+ const [result, apiCall] = await tokenAddress(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45171
45620
  if (!result.ok) {
45172
45621
  return {
45173
45622
  content: [{ type: "text", text: result.error.message }],
@@ -45182,9 +45631,9 @@ This endpoint retrieves the address for a token supported by us.`,
45182
45631
 
45183
45632
  // src/funcs/tokenBalance.ts
45184
45633
  function tokenBalance(client, request, options) {
45185
- return new APIPromise($do33(client, request, options));
45634
+ return new APIPromise($do34(client, request, options));
45186
45635
  }
45187
- async function $do33(client, request, options) {
45636
+ async function $do34(client, request, options) {
45188
45637
  const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
45189
45638
  if (!parsed.ok) {
45190
45639
  return [parsed, { status: "invalid" }];
@@ -45259,12 +45708,12 @@ var init_tokenBalance = __esm(() => {
45259
45708
  });
45260
45709
 
45261
45710
  // src/mcp-server/tools/tokenBalance.ts
45262
- var args33, tool$tokenBalance;
45711
+ var args34, tool$tokenBalance;
45263
45712
  var init_tokenBalance2 = __esm(() => {
45264
45713
  init_tokenBalance();
45265
45714
  init_operations();
45266
45715
  init_tools();
45267
- args33 = {
45716
+ args34 = {
45268
45717
  request: TokenBalanceRequest$inboundSchema
45269
45718
  };
45270
45719
  tool$tokenBalance = {
@@ -45272,9 +45721,9 @@ var init_tokenBalance2 = __esm(() => {
45272
45721
  description: `Token Balance
45273
45722
 
45274
45723
  Returns the balance of a specific ERC20 token for a given user address.`,
45275
- args: args33,
45276
- tool: async (client, args34, ctx) => {
45277
- const [result, apiCall] = await tokenBalance(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45724
+ args: args34,
45725
+ tool: async (client, args35, ctx) => {
45726
+ const [result, apiCall] = await tokenBalance(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45278
45727
  if (!result.ok) {
45279
45728
  return {
45280
45729
  content: [{ type: "text", text: result.error.message }],
@@ -45289,9 +45738,9 @@ Returns the balance of a specific ERC20 token for a given user address.`,
45289
45738
 
45290
45739
  // src/funcs/tokenPrice.ts
45291
45740
  function tokenPrice(client, request, options) {
45292
- return new APIPromise($do34(client, request, options));
45741
+ return new APIPromise($do35(client, request, options));
45293
45742
  }
45294
- async function $do34(client, request, options) {
45743
+ async function $do35(client, request, options) {
45295
45744
  const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
45296
45745
  if (!parsed.ok) {
45297
45746
  return [parsed, { status: "invalid" }];
@@ -45365,12 +45814,12 @@ var init_tokenPrice = __esm(() => {
45365
45814
  });
45366
45815
 
45367
45816
  // src/mcp-server/tools/tokenPrice.ts
45368
- var args34, tool$tokenPrice;
45817
+ var args35, tool$tokenPrice;
45369
45818
  var init_tokenPrice2 = __esm(() => {
45370
45819
  init_tokenPrice();
45371
45820
  init_operations();
45372
45821
  init_tools();
45373
- args34 = {
45822
+ args35 = {
45374
45823
  request: TokenPriceRequest$inboundSchema
45375
45824
  };
45376
45825
  tool$tokenPrice = {
@@ -45382,9 +45831,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
45382
45831
  Chainlink is a decentralized oracle that aggregates price data from off-chain
45383
45832
  sources. This ensures the price is tamper-resistant but the price might be stale
45384
45833
  with the update frequency of the oracle.`,
45385
- args: args34,
45386
- tool: async (client, args35, ctx) => {
45387
- const [result, apiCall] = await tokenPrice(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45834
+ args: args35,
45835
+ tool: async (client, args36, ctx) => {
45836
+ const [result, apiCall] = await tokenPrice(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45388
45837
  if (!result.ok) {
45389
45838
  return {
45390
45839
  content: [{ type: "text", text: result.error.message }],
@@ -45399,9 +45848,9 @@ with the update frequency of the oracle.`,
45399
45848
 
45400
45849
  // src/funcs/tokenTransfer.ts
45401
45850
  function tokenTransfer(client, request, options) {
45402
- return new APIPromise($do35(client, request, options));
45851
+ return new APIPromise($do36(client, request, options));
45403
45852
  }
45404
- async function $do35(client, request, options) {
45853
+ async function $do36(client, request, options) {
45405
45854
  const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
45406
45855
  if (!parsed.ok) {
45407
45856
  return [parsed, { status: "invalid" }];
@@ -45470,12 +45919,12 @@ var init_tokenTransfer = __esm(() => {
45470
45919
  });
45471
45920
 
45472
45921
  // src/mcp-server/tools/tokenTransfer.ts
45473
- var args35, tool$tokenTransfer;
45922
+ var args36, tool$tokenTransfer;
45474
45923
  var init_tokenTransfer2 = __esm(() => {
45475
45924
  init_tokenTransfer();
45476
45925
  init_components();
45477
45926
  init_tools();
45478
- args35 = {
45927
+ args36 = {
45479
45928
  request: TokenTransferRequest$inboundSchema
45480
45929
  };
45481
45930
  tool$tokenTransfer = {
@@ -45483,9 +45932,9 @@ var init_tokenTransfer2 = __esm(() => {
45483
45932
  description: `Transfer ETH or ERC20 Tokens
45484
45933
 
45485
45934
  Sends native ETH or ERC20 tokens from the sender's address to another address.`,
45486
- args: args35,
45487
- tool: async (client, args36, ctx) => {
45488
- const [result, apiCall] = await tokenTransfer(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45935
+ args: args36,
45936
+ tool: async (client, args37, ctx) => {
45937
+ const [result, apiCall] = await tokenTransfer(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45489
45938
  if (!result.ok) {
45490
45939
  return {
45491
45940
  content: [{ type: "text", text: result.error.message }],
@@ -45500,9 +45949,9 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
45500
45949
 
45501
45950
  // src/funcs/transactionBatchingAuthorization.ts
45502
45951
  function transactionBatchingAuthorization(client, request, options) {
45503
- return new APIPromise($do36(client, request, options));
45952
+ return new APIPromise($do37(client, request, options));
45504
45953
  }
45505
- async function $do36(client, request, options) {
45954
+ async function $do37(client, request, options) {
45506
45955
  const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
45507
45956
  if (!parsed.ok) {
45508
45957
  return [parsed, { status: "invalid" }];
@@ -45571,12 +46020,12 @@ var init_transactionBatchingAuthorization = __esm(() => {
45571
46020
  });
45572
46021
 
45573
46022
  // src/mcp-server/tools/transactionBatchingAuthorization.ts
45574
- var args36, tool$transactionBatchingAuthorization;
46023
+ var args37, tool$transactionBatchingAuthorization;
45575
46024
  var init_transactionBatchingAuthorization2 = __esm(() => {
45576
46025
  init_transactionBatchingAuthorization();
45577
46026
  init_components();
45578
46027
  init_tools();
45579
- args36 = {
46028
+ args37 = {
45580
46029
  request: MulticallAuthorizationRequest$inboundSchema
45581
46030
  };
45582
46031
  tool$transactionBatchingAuthorization = {
@@ -45589,9 +46038,9 @@ This authorization is required to prevent replay attacks and ensure transaction
45589
46038
  ordering when batching multiple actions into a single transaction. The authorization
45590
46039
  includes a nonce and chain ID to guarantee transaction uniqueness and proper network
45591
46040
  targeting.`,
45592
- args: args36,
45593
- tool: async (client, args37, ctx) => {
45594
- const [result, apiCall] = await transactionBatchingAuthorization(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46041
+ args: args37,
46042
+ tool: async (client, args38, ctx) => {
46043
+ const [result, apiCall] = await transactionBatchingAuthorization(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45595
46044
  if (!result.ok) {
45596
46045
  return {
45597
46046
  content: [{ type: "text", text: result.error.message }],
@@ -45606,9 +46055,9 @@ targeting.`,
45606
46055
 
45607
46056
  // src/funcs/transactionBatchingExecute.ts
45608
46057
  function transactionBatchingExecute(client, request, options) {
45609
- return new APIPromise($do37(client, request, options));
46058
+ return new APIPromise($do38(client, request, options));
45610
46059
  }
45611
- async function $do37(client, request, options) {
46060
+ async function $do38(client, request, options) {
45612
46061
  const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
45613
46062
  if (!parsed.ok) {
45614
46063
  return [parsed, { status: "invalid" }];
@@ -45677,12 +46126,12 @@ var init_transactionBatchingExecute = __esm(() => {
45677
46126
  });
45678
46127
 
45679
46128
  // src/mcp-server/tools/transactionBatchingExecute.ts
45680
- var args37, tool$transactionBatchingExecute;
46129
+ var args38, tool$transactionBatchingExecute;
45681
46130
  var init_transactionBatchingExecute2 = __esm(() => {
45682
46131
  init_transactionBatchingExecute();
45683
46132
  init_components();
45684
46133
  init_tools();
45685
- args37 = {
46134
+ args38 = {
45686
46135
  request: MulticallExecuteRequest$inboundSchema
45687
46136
  };
45688
46137
  tool$transactionBatchingExecute = {
@@ -45695,9 +46144,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
45695
46144
  transaction, reducing gas costs and ensuring all operations succeed or fail
45696
46145
  together. The transaction must be authorized using the /authorization endpoint to
45697
46146
  prevent replay attacks.`,
45698
- args: args37,
45699
- tool: async (client, args38, ctx) => {
45700
- const [result, apiCall] = await transactionBatchingExecute(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46147
+ args: args38,
46148
+ tool: async (client, args39, ctx) => {
46149
+ const [result, apiCall] = await transactionBatchingExecute(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45701
46150
  if (!result.ok) {
45702
46151
  return {
45703
46152
  content: [{ type: "text", text: result.error.message }],
@@ -45712,9 +46161,9 @@ prevent replay attacks.`,
45712
46161
 
45713
46162
  // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
45714
46163
  function uniswapV3LiquidityProvisionIncrease(client, request, options) {
45715
- return new APIPromise($do38(client, request, options));
46164
+ return new APIPromise($do39(client, request, options));
45716
46165
  }
45717
- async function $do38(client, request, options) {
46166
+ async function $do39(client, request, options) {
45718
46167
  const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
45719
46168
  if (!parsed.ok) {
45720
46169
  return [parsed, { status: "invalid" }];
@@ -45783,12 +46232,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
45783
46232
  });
45784
46233
 
45785
46234
  // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
45786
- var args38, tool$uniswapV3LiquidityProvisionIncrease;
46235
+ var args39, tool$uniswapV3LiquidityProvisionIncrease;
45787
46236
  var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
45788
46237
  init_uniswapV3LiquidityProvisionIncrease();
45789
46238
  init_components();
45790
46239
  init_tools();
45791
- args38 = {
46240
+ args39 = {
45792
46241
  request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
45793
46242
  };
45794
46243
  tool$uniswapV3LiquidityProvisionIncrease = {
@@ -45804,9 +46253,9 @@ beneficial for users who wish to enhance their potential earnings from trading f
45804
46253
  within the pool. The endpoint requires details such as the token pair, additional
45805
46254
  amount to be added, and any other parameters necessary for the liquidity increase
45806
46255
  process.`,
45807
- args: args38,
45808
- tool: async (client, args39, ctx) => {
45809
- const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46256
+ args: args39,
46257
+ tool: async (client, args40, ctx) => {
46258
+ const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45810
46259
  if (!result.ok) {
45811
46260
  return {
45812
46261
  content: [{ type: "text", text: result.error.message }],
@@ -45821,9 +46270,9 @@ process.`,
45821
46270
 
45822
46271
  // src/funcs/uniswapV3LiquidityProvisionInRange.ts
45823
46272
  function uniswapV3LiquidityProvisionInRange(client, request, options) {
45824
- return new APIPromise($do39(client, request, options));
46273
+ return new APIPromise($do40(client, request, options));
45825
46274
  }
45826
- async function $do39(client, request, options) {
46275
+ async function $do40(client, request, options) {
45827
46276
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
45828
46277
  if (!parsed.ok) {
45829
46278
  return [parsed, { status: "invalid" }];
@@ -45897,12 +46346,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
45897
46346
  });
45898
46347
 
45899
46348
  // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
45900
- var args39, tool$uniswapV3LiquidityProvisionInRange;
46349
+ var args40, tool$uniswapV3LiquidityProvisionInRange;
45901
46350
  var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
45902
46351
  init_uniswapV3LiquidityProvisionInRange();
45903
46352
  init_operations();
45904
46353
  init_tools();
45905
- args39 = {
46354
+ args40 = {
45906
46355
  request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
45907
46356
  };
45908
46357
  tool$uniswapV3LiquidityProvisionInRange = {
@@ -45917,9 +46366,9 @@ position is currently within the tick range where trading occurs. this informati
45917
46366
  is essential for users to monitor the status of their lp positions and ensure that
45918
46367
  they are actively participating in the trading activities within the liquidity pool
45919
46368
  and earning trading fees.`,
45920
- args: args39,
45921
- tool: async (client, args40, ctx) => {
45922
- const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46369
+ args: args40,
46370
+ tool: async (client, args41, ctx) => {
46371
+ const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45923
46372
  if (!result.ok) {
45924
46373
  return {
45925
46374
  content: [{ type: "text", text: result.error.message }],
@@ -45934,9 +46383,9 @@ and earning trading fees.`,
45934
46383
 
45935
46384
  // src/funcs/uniswapV3LiquidityProvisionMint.ts
45936
46385
  function uniswapV3LiquidityProvisionMint(client, request, options) {
45937
- return new APIPromise($do40(client, request, options));
46386
+ return new APIPromise($do41(client, request, options));
45938
46387
  }
45939
- async function $do40(client, request, options) {
46388
+ async function $do41(client, request, options) {
45940
46389
  const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
45941
46390
  if (!parsed.ok) {
45942
46391
  return [parsed, { status: "invalid" }];
@@ -46005,12 +46454,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
46005
46454
  });
46006
46455
 
46007
46456
  // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
46008
- var args40, tool$uniswapV3LiquidityProvisionMint;
46457
+ var args41, tool$uniswapV3LiquidityProvisionMint;
46009
46458
  var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
46010
46459
  init_uniswapV3LiquidityProvisionMint();
46011
46460
  init_components();
46012
46461
  init_tools();
46013
- args40 = {
46462
+ args41 = {
46014
46463
  request: UniswapMintLiquidityProvisionRequest$inboundSchema
46015
46464
  };
46016
46465
  tool$uniswapV3LiquidityProvisionMint = {
@@ -46026,9 +46475,9 @@ This operation is essential for users looking to participate in liquidity provis
46026
46475
  enabling them to earn fees from trades that occur within the pool. The endpoint
46027
46476
  requires details such as the token pair, amount, and any additional parameters
46028
46477
  needed for the minting process.`,
46029
- args: args40,
46030
- tool: async (client, args41, ctx) => {
46031
- const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46478
+ args: args41,
46479
+ tool: async (client, args42, ctx) => {
46480
+ const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46032
46481
  if (!result.ok) {
46033
46482
  return {
46034
46483
  content: [{ type: "text", text: result.error.message }],
@@ -46043,9 +46492,9 @@ needed for the minting process.`,
46043
46492
 
46044
46493
  // src/funcs/uniswapV3LiquidityProvisionPositions.ts
46045
46494
  function uniswapV3LiquidityProvisionPositions(client, request, options) {
46046
- return new APIPromise($do41(client, request, options));
46495
+ return new APIPromise($do42(client, request, options));
46047
46496
  }
46048
- async function $do41(client, request, options) {
46497
+ async function $do42(client, request, options) {
46049
46498
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
46050
46499
  if (!parsed.ok) {
46051
46500
  return [parsed, { status: "invalid" }];
@@ -46119,12 +46568,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
46119
46568
  });
46120
46569
 
46121
46570
  // src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
46122
- var args41, tool$uniswapV3LiquidityProvisionPositions;
46571
+ var args42, tool$uniswapV3LiquidityProvisionPositions;
46123
46572
  var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
46124
46573
  init_uniswapV3LiquidityProvisionPositions();
46125
46574
  init_operations();
46126
46575
  init_tools();
46127
- args41 = {
46576
+ args42 = {
46128
46577
  request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
46129
46578
  };
46130
46579
  tool$uniswapV3LiquidityProvisionPositions = {
@@ -46138,9 +46587,9 @@ Users can query this endpoint to obtain detailed information about their LP
46138
46587
  positions, including the total number of positions and relevant metadata. This
46139
46588
  information is crucial for users to manage and analyze their liquidity provision
46140
46589
  activities effectively.`,
46141
- args: args41,
46142
- tool: async (client, args42, ctx) => {
46143
- const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46590
+ args: args42,
46591
+ tool: async (client, args43, ctx) => {
46592
+ const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46144
46593
  if (!result.ok) {
46145
46594
  return {
46146
46595
  content: [{ type: "text", text: result.error.message }],
@@ -46155,9 +46604,9 @@ activities effectively.`,
46155
46604
 
46156
46605
  // src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
46157
46606
  function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
46158
- return new APIPromise($do42(client, request, options));
46607
+ return new APIPromise($do43(client, request, options));
46159
46608
  }
46160
- async function $do42(client, request, options) {
46609
+ async function $do43(client, request, options) {
46161
46610
  const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
46162
46611
  if (!parsed.ok) {
46163
46612
  return [parsed, { status: "invalid" }];
@@ -46226,12 +46675,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
46226
46675
  });
46227
46676
 
46228
46677
  // src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
46229
- var args42, tool$uniswapV3LiquidityProvisionWithdraw;
46678
+ var args43, tool$uniswapV3LiquidityProvisionWithdraw;
46230
46679
  var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
46231
46680
  init_uniswapV3LiquidityProvisionWithdraw();
46232
46681
  init_components();
46233
46682
  init_tools();
46234
- args42 = {
46683
+ args43 = {
46235
46684
  request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
46236
46685
  };
46237
46686
  tool$uniswapV3LiquidityProvisionWithdraw = {
@@ -46248,9 +46697,9 @@ pools or investments. The endpoint requires details such as the token pair, the
46248
46697
  amount to be withdrawn, and any additional parameters needed for the withdrawal
46249
46698
  process. Users should ensure they meet any protocol requirements or conditions
46250
46699
  before initiating a withdrawal to avoid potential issues or penalties.`,
46251
- args: args42,
46252
- tool: async (client, args43, ctx) => {
46253
- const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46700
+ args: args43,
46701
+ tool: async (client, args44, ctx) => {
46702
+ const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46254
46703
  if (!result.ok) {
46255
46704
  return {
46256
46705
  content: [{ type: "text", text: result.error.message }],
@@ -46265,9 +46714,9 @@ before initiating a withdrawal to avoid potential issues or penalties.`,
46265
46714
 
46266
46715
  // src/funcs/uniswapV3PoolPrice.ts
46267
46716
  function uniswapV3PoolPrice(client, request, options) {
46268
- return new APIPromise($do43(client, request, options));
46717
+ return new APIPromise($do44(client, request, options));
46269
46718
  }
46270
- async function $do43(client, request, options) {
46719
+ async function $do44(client, request, options) {
46271
46720
  const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
46272
46721
  if (!parsed.ok) {
46273
46722
  return [parsed, { status: "invalid" }];
@@ -46343,12 +46792,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
46343
46792
  });
46344
46793
 
46345
46794
  // src/mcp-server/tools/uniswapV3PoolPrice.ts
46346
- var args43, tool$uniswapV3PoolPrice;
46795
+ var args44, tool$uniswapV3PoolPrice;
46347
46796
  var init_uniswapV3PoolPrice2 = __esm(() => {
46348
46797
  init_uniswapV3PoolPrice();
46349
46798
  init_operations();
46350
46799
  init_tools();
46351
- args43 = {
46800
+ args44 = {
46352
46801
  request: UniswapPoolPriceRequest$inboundSchema
46353
46802
  };
46354
46803
  tool$uniswapV3PoolPrice = {
@@ -46358,9 +46807,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
46358
46807
  This endpoint calculates the price of a token in a Uniswap pool.
46359
46808
 
46360
46809
  The price is calculated based on the current pool state and the specified fee tier.`,
46361
- args: args43,
46362
- tool: async (client, args44, ctx) => {
46363
- const [result, apiCall] = await uniswapV3PoolPrice(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46810
+ args: args44,
46811
+ tool: async (client, args45, ctx) => {
46812
+ const [result, apiCall] = await uniswapV3PoolPrice(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46364
46813
  if (!result.ok) {
46365
46814
  return {
46366
46815
  content: [{ type: "text", text: result.error.message }],
@@ -46375,9 +46824,9 @@ The price is calculated based on the current pool state and the specified fee ti
46375
46824
 
46376
46825
  // src/funcs/uniswapV3QuoteBuyExactly.ts
46377
46826
  function uniswapV3QuoteBuyExactly(client, request, options) {
46378
- return new APIPromise($do44(client, request, options));
46827
+ return new APIPromise($do45(client, request, options));
46379
46828
  }
46380
- async function $do44(client, request, options) {
46829
+ async function $do45(client, request, options) {
46381
46830
  const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
46382
46831
  if (!parsed.ok) {
46383
46832
  return [parsed, { status: "invalid" }];
@@ -46454,12 +46903,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
46454
46903
  });
46455
46904
 
46456
46905
  // src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
46457
- var args44, tool$uniswapV3QuoteBuyExactly;
46906
+ var args45, tool$uniswapV3QuoteBuyExactly;
46458
46907
  var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
46459
46908
  init_uniswapV3QuoteBuyExactly();
46460
46909
  init_operations();
46461
46910
  init_tools();
46462
- args44 = {
46911
+ args45 = {
46463
46912
  request: UniswapQuoteBuyExactlyRequest$inboundSchema
46464
46913
  };
46465
46914
  tool$uniswapV3QuoteBuyExactly = {
@@ -46471,9 +46920,9 @@ specified amount of output tokens from a Uniswap pool.
46471
46920
 
46472
46921
  It also provides the resulting price after the transaction. The calculation takes
46473
46922
  into account the current pool state and the specified fee tier.`,
46474
- args: args44,
46475
- tool: async (client, args45, ctx) => {
46476
- const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46923
+ args: args45,
46924
+ tool: async (client, args46, ctx) => {
46925
+ const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46477
46926
  if (!result.ok) {
46478
46927
  return {
46479
46928
  content: [{ type: "text", text: result.error.message }],
@@ -46488,9 +46937,9 @@ into account the current pool state and the specified fee tier.`,
46488
46937
 
46489
46938
  // src/funcs/uniswapV3QuoteSellExactly.ts
46490
46939
  function uniswapV3QuoteSellExactly(client, request, options) {
46491
- return new APIPromise($do45(client, request, options));
46940
+ return new APIPromise($do46(client, request, options));
46492
46941
  }
46493
- async function $do45(client, request, options) {
46942
+ async function $do46(client, request, options) {
46494
46943
  const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
46495
46944
  if (!parsed.ok) {
46496
46945
  return [parsed, { status: "invalid" }];
@@ -46567,12 +47016,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
46567
47016
  });
46568
47017
 
46569
47018
  // src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
46570
- var args45, tool$uniswapV3QuoteSellExactly;
47019
+ var args46, tool$uniswapV3QuoteSellExactly;
46571
47020
  var init_uniswapV3QuoteSellExactly2 = __esm(() => {
46572
47021
  init_uniswapV3QuoteSellExactly();
46573
47022
  init_operations();
46574
47023
  init_tools();
46575
- args45 = {
47024
+ args46 = {
46576
47025
  request: UniswapQuoteSellExactlyRequest$inboundSchema
46577
47026
  };
46578
47027
  tool$uniswapV3QuoteSellExactly = {
@@ -46584,9 +47033,9 @@ specified amount of output tokens from a Uniswap pool.
46584
47033
 
46585
47034
  It also provides the resulting price after the transaction. The calculation takes
46586
47035
  into account the current pool state and the specified fee tier.`,
46587
- args: args45,
46588
- tool: async (client, args46, ctx) => {
46589
- const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47036
+ args: args46,
47037
+ tool: async (client, args47, ctx) => {
47038
+ const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46590
47039
  if (!result.ok) {
46591
47040
  return {
46592
47041
  content: [{ type: "text", text: result.error.message }],
@@ -46601,9 +47050,9 @@ into account the current pool state and the specified fee tier.`,
46601
47050
 
46602
47051
  // src/funcs/uniswapV3SwapBuyExactly.ts
46603
47052
  function uniswapV3SwapBuyExactly(client, request, options) {
46604
- return new APIPromise($do46(client, request, options));
47053
+ return new APIPromise($do47(client, request, options));
46605
47054
  }
46606
- async function $do46(client, request, options) {
47055
+ async function $do47(client, request, options) {
46607
47056
  const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
46608
47057
  if (!parsed.ok) {
46609
47058
  return [parsed, { status: "invalid" }];
@@ -46672,12 +47121,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
46672
47121
  });
46673
47122
 
46674
47123
  // src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
46675
- var args46, tool$uniswapV3SwapBuyExactly;
47124
+ var args47, tool$uniswapV3SwapBuyExactly;
46676
47125
  var init_uniswapV3SwapBuyExactly2 = __esm(() => {
46677
47126
  init_uniswapV3SwapBuyExactly();
46678
47127
  init_components();
46679
47128
  init_tools();
46680
- args46 = {
47129
+ args47 = {
46681
47130
  request: UniswapBuyExactlyRequest$inboundSchema
46682
47131
  };
46683
47132
  tool$uniswapV3SwapBuyExactly = {
@@ -46691,9 +47140,9 @@ The transaction is executed on the specified blockchain network, and the user mu
46691
47140
  provide the necessary transaction details, including the token to buy, the token to
46692
47141
  pay with, and the exact amount to receive. If the token being paid with is WETH and
46693
47142
  needs to be wrapped, the appropriate amount will be wrapped automatically.`,
46694
- args: args46,
46695
- tool: async (client, args47, ctx) => {
46696
- const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47143
+ args: args47,
47144
+ tool: async (client, args48, ctx) => {
47145
+ const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46697
47146
  if (!result.ok) {
46698
47147
  return {
46699
47148
  content: [{ type: "text", text: result.error.message }],
@@ -46708,9 +47157,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.`,
46708
47157
 
46709
47158
  // src/funcs/uniswapV3SwapSellExactly.ts
46710
47159
  function uniswapV3SwapSellExactly(client, request, options) {
46711
- return new APIPromise($do47(client, request, options));
47160
+ return new APIPromise($do48(client, request, options));
46712
47161
  }
46713
- async function $do47(client, request, options) {
47162
+ async function $do48(client, request, options) {
46714
47163
  const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
46715
47164
  if (!parsed.ok) {
46716
47165
  return [parsed, { status: "invalid" }];
@@ -46779,12 +47228,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
46779
47228
  });
46780
47229
 
46781
47230
  // src/mcp-server/tools/uniswapV3SwapSellExactly.ts
46782
- var args47, tool$uniswapV3SwapSellExactly;
47231
+ var args48, tool$uniswapV3SwapSellExactly;
46783
47232
  var init_uniswapV3SwapSellExactly2 = __esm(() => {
46784
47233
  init_uniswapV3SwapSellExactly();
46785
47234
  init_components();
46786
47235
  init_tools();
46787
- args47 = {
47236
+ args48 = {
46788
47237
  request: UniswapSellExactlyRequest$inboundSchema
46789
47238
  };
46790
47239
  tool$uniswapV3SwapSellExactly = {
@@ -46798,9 +47247,9 @@ The transaction is executed on the specified blockchain network, and the user mu
46798
47247
  provide the necessary transaction details, including the token to sell, the token to
46799
47248
  receive, and the amount to sell. If the token being sold is WETH and needs to be
46800
47249
  wrapped, the appropriate amount will be wrapped automatically.`,
46801
- args: args47,
46802
- tool: async (client, args48, ctx) => {
46803
- const [result, apiCall] = await uniswapV3SwapSellExactly(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47250
+ args: args48,
47251
+ tool: async (client, args49, ctx) => {
47252
+ const [result, apiCall] = await uniswapV3SwapSellExactly(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46804
47253
  if (!result.ok) {
46805
47254
  return {
46806
47255
  content: [{ type: "text", text: result.error.message }],
@@ -46815,9 +47264,9 @@ wrapped, the appropriate amount will be wrapped automatically.`,
46815
47264
 
46816
47265
  // src/funcs/universalAllowance.ts
46817
47266
  function universalAllowance(client, request, options) {
46818
- return new APIPromise($do48(client, request, options));
47267
+ return new APIPromise($do49(client, request, options));
46819
47268
  }
46820
- async function $do48(client, request, options) {
47269
+ async function $do49(client, request, options) {
46821
47270
  const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
46822
47271
  if (!parsed.ok) {
46823
47272
  return [parsed, { status: "invalid" }];
@@ -46893,12 +47342,12 @@ var init_universalAllowance = __esm(() => {
46893
47342
  });
46894
47343
 
46895
47344
  // src/mcp-server/tools/universalAllowance.ts
46896
- var args48, tool$universalAllowance;
47345
+ var args49, tool$universalAllowance;
46897
47346
  var init_universalAllowance2 = __esm(() => {
46898
47347
  init_universalAllowance();
46899
47348
  init_operations();
46900
47349
  init_tools();
46901
- args48 = {
47350
+ args49 = {
46902
47351
  request: GenericAllowanceRequest$inboundSchema
46903
47352
  };
46904
47353
  tool$universalAllowance = {
@@ -46912,9 +47361,9 @@ tokens on their behalf.
46912
47361
  This is a crucial step before engaging in any transactions or operations within
46913
47362
  these protocols, ensuring that the protocol has the necessary permissions to manage
46914
47363
  the user's tokens securely and efficiently.`,
46915
- args: args48,
46916
- tool: async (client, args49, ctx) => {
46917
- const [result, apiCall] = await universalAllowance(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47364
+ args: args49,
47365
+ tool: async (client, args50, ctx) => {
47366
+ const [result, apiCall] = await universalAllowance(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46918
47367
  if (!result.ok) {
46919
47368
  return {
46920
47369
  content: [{ type: "text", text: result.error.message }],
@@ -46929,9 +47378,9 @@ the user's tokens securely and efficiently.`,
46929
47378
 
46930
47379
  // src/funcs/universalAllowanceSet.ts
46931
47380
  function universalAllowanceSet(client, request, options) {
46932
- return new APIPromise($do49(client, request, options));
47381
+ return new APIPromise($do50(client, request, options));
46933
47382
  }
46934
- async function $do49(client, request, options) {
47383
+ async function $do50(client, request, options) {
46935
47384
  const parsed = safeParse(request, (value) => IncreaseAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
46936
47385
  if (!parsed.ok) {
46937
47386
  return [parsed, { status: "invalid" }];
@@ -47000,12 +47449,12 @@ var init_universalAllowanceSet = __esm(() => {
47000
47449
  });
47001
47450
 
47002
47451
  // src/mcp-server/tools/universalAllowanceSet.ts
47003
- var args49, tool$universalAllowanceSet;
47452
+ var args50, tool$universalAllowanceSet;
47004
47453
  var init_universalAllowanceSet2 = __esm(() => {
47005
47454
  init_universalAllowanceSet();
47006
47455
  init_components();
47007
47456
  init_tools();
47008
- args49 = {
47457
+ args50 = {
47009
47458
  request: IncreaseAllowanceRequest$inboundSchema
47010
47459
  };
47011
47460
  tool$universalAllowanceSet = {
@@ -47019,9 +47468,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
47019
47468
  This operation is crucial for ensuring that the protocol can manage the user's
47020
47469
  tokens securely and efficiently, enabling seamless transactions and operations
47021
47470
  within the DeFi ecosystem.`,
47022
- args: args49,
47023
- tool: async (client, args50, ctx) => {
47024
- const [result, apiCall] = await universalAllowanceSet(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47471
+ args: args50,
47472
+ tool: async (client, args51, ctx) => {
47473
+ const [result, apiCall] = await universalAllowanceSet(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47025
47474
  if (!result.ok) {
47026
47475
  return {
47027
47476
  content: [{ type: "text", text: result.error.message }],
@@ -47036,9 +47485,9 @@ within the DeFi ecosystem.`,
47036
47485
 
47037
47486
  // src/funcs/universalEns.ts
47038
47487
  function universalEns(client, request, options) {
47039
- return new APIPromise($do50(client, request, options));
47488
+ return new APIPromise($do51(client, request, options));
47040
47489
  }
47041
- async function $do50(client, request, options) {
47490
+ async function $do51(client, request, options) {
47042
47491
  const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
47043
47492
  if (!parsed.ok) {
47044
47493
  return [parsed, { status: "invalid" }];
@@ -47112,12 +47561,12 @@ var init_universalEns = __esm(() => {
47112
47561
  });
47113
47562
 
47114
47563
  // src/mcp-server/tools/universalEns.ts
47115
- var args50, tool$universalEns;
47564
+ var args51, tool$universalEns;
47116
47565
  var init_universalEns2 = __esm(() => {
47117
47566
  init_universalEns();
47118
47567
  init_operations();
47119
47568
  init_tools();
47120
- args50 = {
47569
+ args51 = {
47121
47570
  request: GenericEnsRequest$inboundSchema
47122
47571
  };
47123
47572
  tool$universalEns = {
@@ -47128,9 +47577,9 @@ An ENS name is a string ending in \`.eth\`.
47128
47577
 
47129
47578
  E.g. \`vitalik.eth\`. This endpoint can be used to
47130
47579
  query the actual ethereum wallet address behind the ENS name.`,
47131
- args: args50,
47132
- tool: async (client, args51, ctx) => {
47133
- const [result, apiCall] = await universalEns(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47580
+ args: args51,
47581
+ tool: async (client, args52, ctx) => {
47582
+ const [result, apiCall] = await universalEns(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47134
47583
  if (!result.ok) {
47135
47584
  return {
47136
47585
  content: [{ type: "text", text: result.error.message }],
@@ -47145,9 +47594,9 @@ query the actual ethereum wallet address behind the ENS name.`,
47145
47594
 
47146
47595
  // src/funcs/universalPortfolio.ts
47147
47596
  function universalPortfolio(client, request, options) {
47148
- return new APIPromise($do51(client, request, options));
47597
+ return new APIPromise($do52(client, request, options));
47149
47598
  }
47150
- async function $do51(client, request, options) {
47599
+ async function $do52(client, request, options) {
47151
47600
  const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
47152
47601
  if (!parsed.ok) {
47153
47602
  return [parsed, { status: "invalid" }];
@@ -47221,12 +47670,12 @@ var init_universalPortfolio = __esm(() => {
47221
47670
  });
47222
47671
 
47223
47672
  // src/mcp-server/tools/universalPortfolio.ts
47224
- var args51, tool$universalPortfolio;
47673
+ var args52, tool$universalPortfolio;
47225
47674
  var init_universalPortfolio2 = __esm(() => {
47226
47675
  init_universalPortfolio();
47227
47676
  init_operations();
47228
47677
  init_tools();
47229
- args51 = {
47678
+ args52 = {
47230
47679
  request: GenericPortfolioRequest$inboundSchema
47231
47680
  };
47232
47681
  tool$universalPortfolio = {
@@ -47237,9 +47686,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
47237
47686
 
47238
47687
  This includes the total value of the portfolio in USD and a breakdown of token
47239
47688
  balances, including their respective values and quantities.`,
47240
- args: args51,
47241
- tool: async (client, args52, ctx) => {
47242
- const [result, apiCall] = await universalPortfolio(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47689
+ args: args52,
47690
+ tool: async (client, args53, ctx) => {
47691
+ const [result, apiCall] = await universalPortfolio(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47243
47692
  if (!result.ok) {
47244
47693
  return {
47245
47694
  content: [{ type: "text", text: result.error.message }],
@@ -47254,9 +47703,9 @@ balances, including their respective values and quantities.`,
47254
47703
 
47255
47704
  // src/funcs/universalSupportedTokens.ts
47256
47705
  function universalSupportedTokens(client, request, options) {
47257
- return new APIPromise($do52(client, request, options));
47706
+ return new APIPromise($do53(client, request, options));
47258
47707
  }
47259
- async function $do52(client, request, options) {
47708
+ async function $do53(client, request, options) {
47260
47709
  const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
47261
47710
  if (!parsed.ok) {
47262
47711
  return [parsed, { status: "invalid" }];
@@ -47329,12 +47778,12 @@ var init_universalSupportedTokens = __esm(() => {
47329
47778
  });
47330
47779
 
47331
47780
  // src/mcp-server/tools/universalSupportedTokens.ts
47332
- var args52, tool$universalSupportedTokens;
47781
+ var args53, tool$universalSupportedTokens;
47333
47782
  var init_universalSupportedTokens2 = __esm(() => {
47334
47783
  init_universalSupportedTokens();
47335
47784
  init_operations();
47336
47785
  init_tools();
47337
- args52 = {
47786
+ args53 = {
47338
47787
  request: GenericSupportedTokensRequest$inboundSchema
47339
47788
  };
47340
47789
  tool$universalSupportedTokens = {
@@ -47342,9 +47791,9 @@ var init_universalSupportedTokens2 = __esm(() => {
47342
47791
  description: `List supported tokens
47343
47792
 
47344
47793
  Get the list of supported tokens on a chain by the Compass API.`,
47345
- args: args52,
47346
- tool: async (client, args53, ctx) => {
47347
- const [result, apiCall] = await universalSupportedTokens(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47794
+ args: args53,
47795
+ tool: async (client, args54, ctx) => {
47796
+ const [result, apiCall] = await universalSupportedTokens(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47348
47797
  if (!result.ok) {
47349
47798
  return {
47350
47799
  content: [{ type: "text", text: result.error.message }],
@@ -47359,9 +47808,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
47359
47808
 
47360
47809
  // src/funcs/universalUnwrapWeth.ts
47361
47810
  function universalUnwrapWeth(client, request, options) {
47362
- return new APIPromise($do53(client, request, options));
47811
+ return new APIPromise($do54(client, request, options));
47363
47812
  }
47364
- async function $do53(client, request, options) {
47813
+ async function $do54(client, request, options) {
47365
47814
  const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
47366
47815
  if (!parsed.ok) {
47367
47816
  return [parsed, { status: "invalid" }];
@@ -47430,12 +47879,12 @@ var init_universalUnwrapWeth = __esm(() => {
47430
47879
  });
47431
47880
 
47432
47881
  // src/mcp-server/tools/universalUnwrapWeth.ts
47433
- var args53, tool$universalUnwrapWeth;
47882
+ var args54, tool$universalUnwrapWeth;
47434
47883
  var init_universalUnwrapWeth2 = __esm(() => {
47435
47884
  init_universalUnwrapWeth();
47436
47885
  init_components();
47437
47886
  init_tools();
47438
- args53 = {
47887
+ args54 = {
47439
47888
  request: UnwrapWethRequest$inboundSchema
47440
47889
  };
47441
47890
  tool$universalUnwrapWeth = {
@@ -47444,9 +47893,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
47444
47893
 
47445
47894
  Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
47446
47895
  can be used for gas and other native purposes.`,
47447
- args: args53,
47448
- tool: async (client, args54, ctx) => {
47449
- const [result, apiCall] = await universalUnwrapWeth(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47896
+ args: args54,
47897
+ tool: async (client, args55, ctx) => {
47898
+ const [result, apiCall] = await universalUnwrapWeth(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47450
47899
  if (!result.ok) {
47451
47900
  return {
47452
47901
  content: [{ type: "text", text: result.error.message }],
@@ -47461,9 +47910,9 @@ can be used for gas and other native purposes.`,
47461
47910
 
47462
47911
  // src/funcs/universalVisualizePortfolio.ts
47463
47912
  function universalVisualizePortfolio(client, request, options) {
47464
- return new APIPromise($do54(client, request, options));
47913
+ return new APIPromise($do55(client, request, options));
47465
47914
  }
47466
- async function $do54(client, request, options) {
47915
+ async function $do55(client, request, options) {
47467
47916
  const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
47468
47917
  if (!parsed.ok) {
47469
47918
  return [parsed, { status: "invalid" }];
@@ -47537,12 +47986,12 @@ var init_universalVisualizePortfolio = __esm(() => {
47537
47986
  });
47538
47987
 
47539
47988
  // src/mcp-server/tools/universalVisualizePortfolio.ts
47540
- var args54, tool$universalVisualizePortfolio;
47989
+ var args55, tool$universalVisualizePortfolio;
47541
47990
  var init_universalVisualizePortfolio2 = __esm(() => {
47542
47991
  init_universalVisualizePortfolio();
47543
47992
  init_operations();
47544
47993
  init_tools();
47545
- args54 = {
47994
+ args55 = {
47546
47995
  request: GenericVisualizePortfolioRequest$inboundSchema
47547
47996
  };
47548
47997
  tool$universalVisualizePortfolio = {
@@ -47554,9 +48003,9 @@ Generate a visual representation of the token portfolio for a wallet address.
47554
48003
  The response is an SVG image of a pie chart depicting the relative distribution of
47555
48004
  tokens held, colored and labeled with token symbols, percentages and token values in
47556
48005
  USD.`,
47557
- args: args54,
47558
- tool: async (client, args55, ctx) => {
47559
- const [result, apiCall] = await universalVisualizePortfolio(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48006
+ args: args55,
48007
+ tool: async (client, args56, ctx) => {
48008
+ const [result, apiCall] = await universalVisualizePortfolio(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47560
48009
  if (!result.ok) {
47561
48010
  return {
47562
48011
  content: [{ type: "text", text: result.error.message }],
@@ -47571,9 +48020,9 @@ USD.`,
47571
48020
 
47572
48021
  // src/funcs/universalWrapEth.ts
47573
48022
  function universalWrapEth(client, request, options) {
47574
- return new APIPromise($do55(client, request, options));
48023
+ return new APIPromise($do56(client, request, options));
47575
48024
  }
47576
- async function $do55(client, request, options) {
48025
+ async function $do56(client, request, options) {
47577
48026
  const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
47578
48027
  if (!parsed.ok) {
47579
48028
  return [parsed, { status: "invalid" }];
@@ -47642,12 +48091,12 @@ var init_universalWrapEth = __esm(() => {
47642
48091
  });
47643
48092
 
47644
48093
  // src/mcp-server/tools/universalWrapEth.ts
47645
- var args55, tool$universalWrapEth;
48094
+ var args56, tool$universalWrapEth;
47646
48095
  var init_universalWrapEth2 = __esm(() => {
47647
48096
  init_universalWrapEth();
47648
48097
  init_components();
47649
48098
  init_tools();
47650
- args55 = {
48099
+ args56 = {
47651
48100
  request: WrapEthRequest$inboundSchema
47652
48101
  };
47653
48102
  tool$universalWrapEth = {
@@ -47656,9 +48105,9 @@ var init_universalWrapEth2 = __esm(() => {
47656
48105
 
47657
48106
  Wrapping ETH creates an ERC-20 compliant form of ETH that is typically needed for
47658
48107
  it to be traded on DeFi protocols.`,
47659
- args: args55,
47660
- tool: async (client, args56, ctx) => {
47661
- const [result, apiCall] = await universalWrapEth(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48108
+ args: args56,
48109
+ tool: async (client, args57, ctx) => {
48110
+ const [result, apiCall] = await universalWrapEth(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47662
48111
  if (!result.ok) {
47663
48112
  return {
47664
48113
  content: [{ type: "text", text: result.error.message }],
@@ -47675,7 +48124,7 @@ it to be traded on DeFi protocols.`,
47675
48124
  function createMCPServer(deps) {
47676
48125
  const server = new McpServer({
47677
48126
  name: "CompassApiSDK",
47678
- version: "0.0.16"
48127
+ version: "0.0.18"
47679
48128
  });
47680
48129
  const client = new CompassApiSDKCore({
47681
48130
  apiKeyAuth: deps.apiKeyAuth,
@@ -47693,6 +48142,7 @@ function createMCPServer(deps) {
47693
48142
  tool(tool$aaveV3LiquidityChange);
47694
48143
  tool(tool$aaveV3UserPositionSummary);
47695
48144
  tool(tool$aaveV3UserPositionPerToken);
48145
+ tool(tool$aaveV3HistoricalTransactions);
47696
48146
  tool(tool$aaveV3Supply);
47697
48147
  tool(tool$aaveV3Borrow);
47698
48148
  tool(tool$aaveV3Repay);
@@ -47752,6 +48202,7 @@ var init_server2 = __esm(() => {
47752
48202
  init_resources();
47753
48203
  init_tools();
47754
48204
  init_aaveV3Borrow2();
48205
+ init_aaveV3HistoricalTransactions2();
47755
48206
  init_aaveV3LiquidityChange2();
47756
48207
  init_aaveV3Repay2();
47757
48208
  init_aaveV3Supply2();
@@ -48996,7 +49447,7 @@ var routes = an({
48996
49447
  var app = He(routes, {
48997
49448
  name: "mcp",
48998
49449
  versionInfo: {
48999
- currentVersion: "0.0.16"
49450
+ currentVersion: "0.0.18"
49000
49451
  }
49001
49452
  });
49002
49453
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -49004,5 +49455,5 @@ export {
49004
49455
  app
49005
49456
  };
49006
49457
 
49007
- //# debugId=6D3B5AF01397B17964756E2164756E21
49458
+ //# debugId=E3D4372FBBC4C6DE64756E2164756E21
49008
49459
  //# sourceMappingURL=mcp-server.js.map