@compass-labs/api-sdk 0.0.11 → 0.0.13

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 (464) hide show
  1. package/README.md +14 -1
  2. package/bin/mcp-server.js +1120 -304
  3. package/bin/mcp-server.js.map +53 -37
  4. package/dist/commonjs/funcs/skyBuy.d.ts +19 -0
  5. package/dist/commonjs/funcs/skyBuy.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/skyBuy.js +118 -0
  7. package/dist/commonjs/funcs/skyBuy.js.map +1 -0
  8. package/dist/commonjs/funcs/skyDeposit.d.ts +19 -0
  9. package/dist/commonjs/funcs/skyDeposit.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/skyDeposit.js +118 -0
  11. package/dist/commonjs/funcs/skyDeposit.js.map +1 -0
  12. package/dist/commonjs/funcs/skyPosition.d.ts +18 -0
  13. package/dist/commonjs/funcs/skyPosition.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/skyPosition.js +121 -0
  15. package/dist/commonjs/funcs/skyPosition.js.map +1 -0
  16. package/dist/commonjs/funcs/skySell.d.ts +19 -0
  17. package/dist/commonjs/funcs/skySell.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/skySell.js +118 -0
  19. package/dist/commonjs/funcs/skySell.js.map +1 -0
  20. package/dist/commonjs/funcs/skyWithdraw.d.ts +19 -0
  21. package/dist/commonjs/funcs/skyWithdraw.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/skyWithdraw.js +118 -0
  23. package/dist/commonjs/funcs/skyWithdraw.js.map +1 -0
  24. package/dist/commonjs/lib/config.d.ts +3 -3
  25. package/dist/commonjs/lib/config.d.ts.map +1 -1
  26. package/dist/commonjs/lib/config.js +4 -4
  27. package/dist/commonjs/lib/config.js.map +1 -1
  28. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  29. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  30. package/dist/commonjs/mcp-server/server.js +11 -1
  31. package/dist/commonjs/mcp-server/server.js.map +1 -1
  32. package/dist/commonjs/mcp-server/tools/skyBuy.d.ts +8 -0
  33. package/dist/commonjs/mcp-server/tools/skyBuy.d.ts.map +1 -0
  34. package/dist/commonjs/mcp-server/tools/skyBuy.js +66 -0
  35. package/dist/commonjs/mcp-server/tools/skyBuy.js.map +1 -0
  36. package/dist/commonjs/mcp-server/tools/skyDeposit.d.ts +8 -0
  37. package/dist/commonjs/mcp-server/tools/skyDeposit.d.ts.map +1 -0
  38. package/dist/commonjs/mcp-server/tools/skyDeposit.js +66 -0
  39. package/dist/commonjs/mcp-server/tools/skyDeposit.js.map +1 -0
  40. package/dist/commonjs/mcp-server/tools/skyPosition.d.ts +8 -0
  41. package/dist/commonjs/mcp-server/tools/skyPosition.d.ts.map +1 -0
  42. package/dist/commonjs/mcp-server/tools/skyPosition.js +64 -0
  43. package/dist/commonjs/mcp-server/tools/skyPosition.js.map +1 -0
  44. package/dist/commonjs/mcp-server/tools/skySell.d.ts +8 -0
  45. package/dist/commonjs/mcp-server/tools/skySell.d.ts.map +1 -0
  46. package/dist/commonjs/mcp-server/tools/skySell.js +66 -0
  47. package/dist/commonjs/mcp-server/tools/skySell.js.map +1 -0
  48. package/dist/commonjs/mcp-server/tools/skyWithdraw.d.ts +8 -0
  49. package/dist/commonjs/mcp-server/tools/skyWithdraw.d.ts.map +1 -0
  50. package/dist/commonjs/mcp-server/tools/skyWithdraw.js +66 -0
  51. package/dist/commonjs/mcp-server/tools/skyWithdraw.js.map +1 -0
  52. package/dist/commonjs/models/components/chain.d.ts +9 -0
  53. package/dist/commonjs/models/components/chain.d.ts.map +1 -1
  54. package/dist/commonjs/models/components/chain.js +3 -0
  55. package/dist/commonjs/models/components/chain.js.map +1 -1
  56. package/dist/commonjs/models/components/contractname.d.ts +9 -0
  57. package/dist/commonjs/models/components/contractname.d.ts.map +1 -1
  58. package/dist/commonjs/models/components/contractname.js +3 -0
  59. package/dist/commonjs/models/components/contractname.js.map +1 -1
  60. package/dist/commonjs/models/components/increaseallowanceparams.d.ts +9 -0
  61. package/dist/commonjs/models/components/increaseallowanceparams.d.ts.map +1 -1
  62. package/dist/commonjs/models/components/increaseallowanceparams.js +3 -0
  63. package/dist/commonjs/models/components/increaseallowanceparams.js.map +1 -1
  64. package/dist/commonjs/models/components/increaseallowancerequest.d.ts +9 -0
  65. package/dist/commonjs/models/components/increaseallowancerequest.d.ts.map +1 -1
  66. package/dist/commonjs/models/components/increaseallowancerequest.js +3 -0
  67. package/dist/commonjs/models/components/increaseallowancerequest.js.map +1 -1
  68. package/dist/commonjs/models/components/index.d.ts +5 -0
  69. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  70. package/dist/commonjs/models/components/index.js +5 -0
  71. package/dist/commonjs/models/components/index.js.map +1 -1
  72. package/dist/commonjs/models/components/multicallactiontype.d.ts +54 -54
  73. package/dist/commonjs/models/components/multicallactiontype.js +18 -18
  74. package/dist/commonjs/models/components/multicallactiontype.js.map +1 -1
  75. package/dist/commonjs/models/components/multicallauthorizationresponse.d.ts +1 -1
  76. package/dist/commonjs/models/components/multicallauthorizationresponse.d.ts.map +1 -1
  77. package/dist/commonjs/models/components/multicallauthorizationresponse.js +2 -2
  78. package/dist/commonjs/models/components/multicallauthorizationresponse.js.map +1 -1
  79. package/dist/commonjs/models/components/skybuyrequest.d.ts +100 -0
  80. package/dist/commonjs/models/components/skybuyrequest.d.ts.map +1 -0
  81. package/dist/commonjs/models/components/skybuyrequest.js +130 -0
  82. package/dist/commonjs/models/components/skybuyrequest.js.map +1 -0
  83. package/dist/commonjs/models/components/skycheckpositionresponse.d.ts +34 -0
  84. package/dist/commonjs/models/components/skycheckpositionresponse.d.ts.map +1 -0
  85. package/dist/commonjs/models/components/skycheckpositionresponse.js +80 -0
  86. package/dist/commonjs/models/components/skycheckpositionresponse.js.map +1 -0
  87. package/dist/commonjs/models/components/skydepositrequest.d.ts +68 -0
  88. package/dist/commonjs/models/components/skydepositrequest.d.ts.map +1 -0
  89. package/dist/commonjs/models/components/skydepositrequest.js +98 -0
  90. package/dist/commonjs/models/components/skydepositrequest.js.map +1 -0
  91. package/dist/commonjs/models/components/skysellrequest.d.ts +100 -0
  92. package/dist/commonjs/models/components/skysellrequest.d.ts.map +1 -0
  93. package/dist/commonjs/models/components/skysellrequest.js +130 -0
  94. package/dist/commonjs/models/components/skysellrequest.js.map +1 -0
  95. package/dist/commonjs/models/components/skywithdrawrequest.d.ts +44 -0
  96. package/dist/commonjs/models/components/skywithdrawrequest.d.ts.map +1 -0
  97. package/dist/commonjs/models/components/skywithdrawrequest.js +75 -0
  98. package/dist/commonjs/models/components/skywithdrawrequest.js.map +1 -0
  99. package/dist/commonjs/models/operations/aaveliquiditychange.d.ts +9 -0
  100. package/dist/commonjs/models/operations/aaveliquiditychange.d.ts.map +1 -1
  101. package/dist/commonjs/models/operations/aaveliquiditychange.js +3 -0
  102. package/dist/commonjs/models/operations/aaveliquiditychange.js.map +1 -1
  103. package/dist/commonjs/models/operations/aavetokenprice.d.ts +9 -0
  104. package/dist/commonjs/models/operations/aavetokenprice.d.ts.map +1 -1
  105. package/dist/commonjs/models/operations/aavetokenprice.js +3 -0
  106. package/dist/commonjs/models/operations/aavetokenprice.js.map +1 -1
  107. package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts +9 -0
  108. package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
  109. package/dist/commonjs/models/operations/aaveuserpositionpertoken.js +3 -0
  110. package/dist/commonjs/models/operations/aaveuserpositionpertoken.js.map +1 -1
  111. package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts +9 -0
  112. package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
  113. package/dist/commonjs/models/operations/aaveuserpositionsummary.js +3 -0
  114. package/dist/commonjs/models/operations/aaveuserpositionsummary.js.map +1 -1
  115. package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +9 -0
  116. package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
  117. package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +3 -0
  118. package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
  119. package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts +9 -0
  120. package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
  121. package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js +3 -0
  122. package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
  123. package/dist/commonjs/models/operations/genericallowance.d.ts +18 -0
  124. package/dist/commonjs/models/operations/genericallowance.d.ts.map +1 -1
  125. package/dist/commonjs/models/operations/genericallowance.js +6 -0
  126. package/dist/commonjs/models/operations/genericallowance.js.map +1 -1
  127. package/dist/commonjs/models/operations/genericens.d.ts +9 -0
  128. package/dist/commonjs/models/operations/genericens.d.ts.map +1 -1
  129. package/dist/commonjs/models/operations/genericens.js +3 -0
  130. package/dist/commonjs/models/operations/genericens.js.map +1 -1
  131. package/dist/commonjs/models/operations/genericportfolio.d.ts +9 -0
  132. package/dist/commonjs/models/operations/genericportfolio.d.ts.map +1 -1
  133. package/dist/commonjs/models/operations/genericportfolio.js +3 -0
  134. package/dist/commonjs/models/operations/genericportfolio.js.map +1 -1
  135. package/dist/commonjs/models/operations/genericsupportedtokens.d.ts +9 -0
  136. package/dist/commonjs/models/operations/genericsupportedtokens.d.ts.map +1 -1
  137. package/dist/commonjs/models/operations/genericsupportedtokens.js +3 -0
  138. package/dist/commonjs/models/operations/genericsupportedtokens.js.map +1 -1
  139. package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts +9 -0
  140. package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
  141. package/dist/commonjs/models/operations/genericvisualizeportfolio.js +3 -0
  142. package/dist/commonjs/models/operations/genericvisualizeportfolio.js.map +1 -1
  143. package/dist/commonjs/models/operations/index.d.ts +1 -0
  144. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  145. package/dist/commonjs/models/operations/index.js +1 -0
  146. package/dist/commonjs/models/operations/index.js.map +1 -1
  147. package/dist/commonjs/models/operations/morphomarketposition.d.ts +9 -0
  148. package/dist/commonjs/models/operations/morphomarketposition.d.ts.map +1 -1
  149. package/dist/commonjs/models/operations/morphomarketposition.js +3 -0
  150. package/dist/commonjs/models/operations/morphomarketposition.js.map +1 -1
  151. package/dist/commonjs/models/operations/morphomarkets.d.ts +9 -0
  152. package/dist/commonjs/models/operations/morphomarkets.d.ts.map +1 -1
  153. package/dist/commonjs/models/operations/morphomarkets.js +3 -0
  154. package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
  155. package/dist/commonjs/models/operations/morphovaultposition.d.ts +9 -0
  156. package/dist/commonjs/models/operations/morphovaultposition.d.ts.map +1 -1
  157. package/dist/commonjs/models/operations/morphovaultposition.js +3 -0
  158. package/dist/commonjs/models/operations/morphovaultposition.js.map +1 -1
  159. package/dist/commonjs/models/operations/morphovaults.d.ts +9 -0
  160. package/dist/commonjs/models/operations/morphovaults.d.ts.map +1 -1
  161. package/dist/commonjs/models/operations/morphovaults.js +3 -0
  162. package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
  163. package/dist/commonjs/models/operations/skyposition.d.ts +31 -0
  164. package/dist/commonjs/models/operations/skyposition.d.ts.map +1 -0
  165. package/dist/commonjs/models/operations/skyposition.js +80 -0
  166. package/dist/commonjs/models/operations/skyposition.js.map +1 -0
  167. package/dist/commonjs/models/operations/tokenaddress.d.ts +9 -0
  168. package/dist/commonjs/models/operations/tokenaddress.d.ts.map +1 -1
  169. package/dist/commonjs/models/operations/tokenaddress.js +3 -0
  170. package/dist/commonjs/models/operations/tokenaddress.js.map +1 -1
  171. package/dist/commonjs/models/operations/tokenbalance.d.ts +9 -0
  172. package/dist/commonjs/models/operations/tokenbalance.d.ts.map +1 -1
  173. package/dist/commonjs/models/operations/tokenbalance.js +3 -0
  174. package/dist/commonjs/models/operations/tokenbalance.js.map +1 -1
  175. package/dist/commonjs/models/operations/tokenprice.d.ts +9 -0
  176. package/dist/commonjs/models/operations/tokenprice.d.ts.map +1 -1
  177. package/dist/commonjs/models/operations/tokenprice.js +3 -0
  178. package/dist/commonjs/models/operations/tokenprice.js.map +1 -1
  179. package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts +9 -0
  180. package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
  181. package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js +3 -0
  182. package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
  183. package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts +9 -0
  184. package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
  185. package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js +3 -0
  186. package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
  187. package/dist/commonjs/models/operations/uniswappoolprice.d.ts +9 -0
  188. package/dist/commonjs/models/operations/uniswappoolprice.d.ts.map +1 -1
  189. package/dist/commonjs/models/operations/uniswappoolprice.js +3 -0
  190. package/dist/commonjs/models/operations/uniswappoolprice.js.map +1 -1
  191. package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts +9 -0
  192. package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
  193. package/dist/commonjs/models/operations/uniswapquotebuyexactly.js +3 -0
  194. package/dist/commonjs/models/operations/uniswapquotebuyexactly.js.map +1 -1
  195. package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts +9 -0
  196. package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
  197. package/dist/commonjs/models/operations/uniswapquotesellexactly.js +3 -0
  198. package/dist/commonjs/models/operations/uniswapquotesellexactly.js.map +1 -1
  199. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  200. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  201. package/dist/commonjs/sdk/sdk.js +4 -0
  202. package/dist/commonjs/sdk/sdk.js.map +1 -1
  203. package/dist/commonjs/sdk/sky.d.ts +49 -0
  204. package/dist/commonjs/sdk/sky.d.ts.map +1 -0
  205. package/dist/commonjs/sdk/sky.js +70 -0
  206. package/dist/commonjs/sdk/sky.js.map +1 -0
  207. package/dist/esm/funcs/skyBuy.d.ts +19 -0
  208. package/dist/esm/funcs/skyBuy.d.ts.map +1 -0
  209. package/dist/esm/funcs/skyBuy.js +82 -0
  210. package/dist/esm/funcs/skyBuy.js.map +1 -0
  211. package/dist/esm/funcs/skyDeposit.d.ts +19 -0
  212. package/dist/esm/funcs/skyDeposit.d.ts.map +1 -0
  213. package/dist/esm/funcs/skyDeposit.js +82 -0
  214. package/dist/esm/funcs/skyDeposit.js.map +1 -0
  215. package/dist/esm/funcs/skyPosition.d.ts +18 -0
  216. package/dist/esm/funcs/skyPosition.d.ts.map +1 -0
  217. package/dist/esm/funcs/skyPosition.js +85 -0
  218. package/dist/esm/funcs/skyPosition.js.map +1 -0
  219. package/dist/esm/funcs/skySell.d.ts +19 -0
  220. package/dist/esm/funcs/skySell.d.ts.map +1 -0
  221. package/dist/esm/funcs/skySell.js +82 -0
  222. package/dist/esm/funcs/skySell.js.map +1 -0
  223. package/dist/esm/funcs/skyWithdraw.d.ts +19 -0
  224. package/dist/esm/funcs/skyWithdraw.d.ts.map +1 -0
  225. package/dist/esm/funcs/skyWithdraw.js +82 -0
  226. package/dist/esm/funcs/skyWithdraw.js.map +1 -0
  227. package/dist/esm/lib/config.d.ts +3 -3
  228. package/dist/esm/lib/config.d.ts.map +1 -1
  229. package/dist/esm/lib/config.js +4 -4
  230. package/dist/esm/lib/config.js.map +1 -1
  231. package/dist/esm/mcp-server/mcp-server.js +1 -1
  232. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  233. package/dist/esm/mcp-server/server.js +11 -1
  234. package/dist/esm/mcp-server/server.js.map +1 -1
  235. package/dist/esm/mcp-server/tools/skyBuy.d.ts +8 -0
  236. package/dist/esm/mcp-server/tools/skyBuy.d.ts.map +1 -0
  237. package/dist/esm/mcp-server/tools/skyBuy.js +30 -0
  238. package/dist/esm/mcp-server/tools/skyBuy.js.map +1 -0
  239. package/dist/esm/mcp-server/tools/skyDeposit.d.ts +8 -0
  240. package/dist/esm/mcp-server/tools/skyDeposit.d.ts.map +1 -0
  241. package/dist/esm/mcp-server/tools/skyDeposit.js +30 -0
  242. package/dist/esm/mcp-server/tools/skyDeposit.js.map +1 -0
  243. package/dist/esm/mcp-server/tools/skyPosition.d.ts +8 -0
  244. package/dist/esm/mcp-server/tools/skyPosition.d.ts.map +1 -0
  245. package/dist/esm/mcp-server/tools/skyPosition.js +28 -0
  246. package/dist/esm/mcp-server/tools/skyPosition.js.map +1 -0
  247. package/dist/esm/mcp-server/tools/skySell.d.ts +8 -0
  248. package/dist/esm/mcp-server/tools/skySell.d.ts.map +1 -0
  249. package/dist/esm/mcp-server/tools/skySell.js +30 -0
  250. package/dist/esm/mcp-server/tools/skySell.js.map +1 -0
  251. package/dist/esm/mcp-server/tools/skyWithdraw.d.ts +8 -0
  252. package/dist/esm/mcp-server/tools/skyWithdraw.d.ts.map +1 -0
  253. package/dist/esm/mcp-server/tools/skyWithdraw.js +30 -0
  254. package/dist/esm/mcp-server/tools/skyWithdraw.js.map +1 -0
  255. package/dist/esm/models/components/chain.d.ts +9 -0
  256. package/dist/esm/models/components/chain.d.ts.map +1 -1
  257. package/dist/esm/models/components/chain.js +3 -0
  258. package/dist/esm/models/components/chain.js.map +1 -1
  259. package/dist/esm/models/components/contractname.d.ts +9 -0
  260. package/dist/esm/models/components/contractname.d.ts.map +1 -1
  261. package/dist/esm/models/components/contractname.js +3 -0
  262. package/dist/esm/models/components/contractname.js.map +1 -1
  263. package/dist/esm/models/components/increaseallowanceparams.d.ts +9 -0
  264. package/dist/esm/models/components/increaseallowanceparams.d.ts.map +1 -1
  265. package/dist/esm/models/components/increaseallowanceparams.js +3 -0
  266. package/dist/esm/models/components/increaseallowanceparams.js.map +1 -1
  267. package/dist/esm/models/components/increaseallowancerequest.d.ts +9 -0
  268. package/dist/esm/models/components/increaseallowancerequest.d.ts.map +1 -1
  269. package/dist/esm/models/components/increaseallowancerequest.js +3 -0
  270. package/dist/esm/models/components/increaseallowancerequest.js.map +1 -1
  271. package/dist/esm/models/components/index.d.ts +5 -0
  272. package/dist/esm/models/components/index.d.ts.map +1 -1
  273. package/dist/esm/models/components/index.js +5 -0
  274. package/dist/esm/models/components/index.js.map +1 -1
  275. package/dist/esm/models/components/multicallactiontype.d.ts +54 -54
  276. package/dist/esm/models/components/multicallactiontype.js +18 -18
  277. package/dist/esm/models/components/multicallactiontype.js.map +1 -1
  278. package/dist/esm/models/components/multicallauthorizationresponse.d.ts +1 -1
  279. package/dist/esm/models/components/multicallauthorizationresponse.d.ts.map +1 -1
  280. package/dist/esm/models/components/multicallauthorizationresponse.js +2 -2
  281. package/dist/esm/models/components/multicallauthorizationresponse.js.map +1 -1
  282. package/dist/esm/models/components/skybuyrequest.d.ts +100 -0
  283. package/dist/esm/models/components/skybuyrequest.d.ts.map +1 -0
  284. package/dist/esm/models/components/skybuyrequest.js +90 -0
  285. package/dist/esm/models/components/skybuyrequest.js.map +1 -0
  286. package/dist/esm/models/components/skycheckpositionresponse.d.ts +34 -0
  287. package/dist/esm/models/components/skycheckpositionresponse.d.ts.map +1 -0
  288. package/dist/esm/models/components/skycheckpositionresponse.js +42 -0
  289. package/dist/esm/models/components/skycheckpositionresponse.js.map +1 -0
  290. package/dist/esm/models/components/skydepositrequest.d.ts +68 -0
  291. package/dist/esm/models/components/skydepositrequest.d.ts.map +1 -0
  292. package/dist/esm/models/components/skydepositrequest.js +58 -0
  293. package/dist/esm/models/components/skydepositrequest.js.map +1 -0
  294. package/dist/esm/models/components/skysellrequest.d.ts +100 -0
  295. package/dist/esm/models/components/skysellrequest.d.ts.map +1 -0
  296. package/dist/esm/models/components/skysellrequest.js +90 -0
  297. package/dist/esm/models/components/skysellrequest.js.map +1 -0
  298. package/dist/esm/models/components/skywithdrawrequest.d.ts +44 -0
  299. package/dist/esm/models/components/skywithdrawrequest.d.ts.map +1 -0
  300. package/dist/esm/models/components/skywithdrawrequest.js +37 -0
  301. package/dist/esm/models/components/skywithdrawrequest.js.map +1 -0
  302. package/dist/esm/models/operations/aaveliquiditychange.d.ts +9 -0
  303. package/dist/esm/models/operations/aaveliquiditychange.d.ts.map +1 -1
  304. package/dist/esm/models/operations/aaveliquiditychange.js +3 -0
  305. package/dist/esm/models/operations/aaveliquiditychange.js.map +1 -1
  306. package/dist/esm/models/operations/aavetokenprice.d.ts +9 -0
  307. package/dist/esm/models/operations/aavetokenprice.d.ts.map +1 -1
  308. package/dist/esm/models/operations/aavetokenprice.js +3 -0
  309. package/dist/esm/models/operations/aavetokenprice.js.map +1 -1
  310. package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts +9 -0
  311. package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
  312. package/dist/esm/models/operations/aaveuserpositionpertoken.js +3 -0
  313. package/dist/esm/models/operations/aaveuserpositionpertoken.js.map +1 -1
  314. package/dist/esm/models/operations/aaveuserpositionsummary.d.ts +9 -0
  315. package/dist/esm/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
  316. package/dist/esm/models/operations/aaveuserpositionsummary.js +3 -0
  317. package/dist/esm/models/operations/aaveuserpositionsummary.js.map +1 -1
  318. package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +9 -0
  319. package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
  320. package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js +3 -0
  321. package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
  322. package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts +9 -0
  323. package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
  324. package/dist/esm/models/operations/aerodromeslipstreampoolprice.js +3 -0
  325. package/dist/esm/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
  326. package/dist/esm/models/operations/genericallowance.d.ts +18 -0
  327. package/dist/esm/models/operations/genericallowance.d.ts.map +1 -1
  328. package/dist/esm/models/operations/genericallowance.js +6 -0
  329. package/dist/esm/models/operations/genericallowance.js.map +1 -1
  330. package/dist/esm/models/operations/genericens.d.ts +9 -0
  331. package/dist/esm/models/operations/genericens.d.ts.map +1 -1
  332. package/dist/esm/models/operations/genericens.js +3 -0
  333. package/dist/esm/models/operations/genericens.js.map +1 -1
  334. package/dist/esm/models/operations/genericportfolio.d.ts +9 -0
  335. package/dist/esm/models/operations/genericportfolio.d.ts.map +1 -1
  336. package/dist/esm/models/operations/genericportfolio.js +3 -0
  337. package/dist/esm/models/operations/genericportfolio.js.map +1 -1
  338. package/dist/esm/models/operations/genericsupportedtokens.d.ts +9 -0
  339. package/dist/esm/models/operations/genericsupportedtokens.d.ts.map +1 -1
  340. package/dist/esm/models/operations/genericsupportedtokens.js +3 -0
  341. package/dist/esm/models/operations/genericsupportedtokens.js.map +1 -1
  342. package/dist/esm/models/operations/genericvisualizeportfolio.d.ts +9 -0
  343. package/dist/esm/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
  344. package/dist/esm/models/operations/genericvisualizeportfolio.js +3 -0
  345. package/dist/esm/models/operations/genericvisualizeportfolio.js.map +1 -1
  346. package/dist/esm/models/operations/index.d.ts +1 -0
  347. package/dist/esm/models/operations/index.d.ts.map +1 -1
  348. package/dist/esm/models/operations/index.js +1 -0
  349. package/dist/esm/models/operations/index.js.map +1 -1
  350. package/dist/esm/models/operations/morphomarketposition.d.ts +9 -0
  351. package/dist/esm/models/operations/morphomarketposition.d.ts.map +1 -1
  352. package/dist/esm/models/operations/morphomarketposition.js +3 -0
  353. package/dist/esm/models/operations/morphomarketposition.js.map +1 -1
  354. package/dist/esm/models/operations/morphomarkets.d.ts +9 -0
  355. package/dist/esm/models/operations/morphomarkets.d.ts.map +1 -1
  356. package/dist/esm/models/operations/morphomarkets.js +3 -0
  357. package/dist/esm/models/operations/morphomarkets.js.map +1 -1
  358. package/dist/esm/models/operations/morphovaultposition.d.ts +9 -0
  359. package/dist/esm/models/operations/morphovaultposition.d.ts.map +1 -1
  360. package/dist/esm/models/operations/morphovaultposition.js +3 -0
  361. package/dist/esm/models/operations/morphovaultposition.js.map +1 -1
  362. package/dist/esm/models/operations/morphovaults.d.ts +9 -0
  363. package/dist/esm/models/operations/morphovaults.d.ts.map +1 -1
  364. package/dist/esm/models/operations/morphovaults.js +3 -0
  365. package/dist/esm/models/operations/morphovaults.js.map +1 -1
  366. package/dist/esm/models/operations/skyposition.d.ts +31 -0
  367. package/dist/esm/models/operations/skyposition.d.ts.map +1 -0
  368. package/dist/esm/models/operations/skyposition.js +42 -0
  369. package/dist/esm/models/operations/skyposition.js.map +1 -0
  370. package/dist/esm/models/operations/tokenaddress.d.ts +9 -0
  371. package/dist/esm/models/operations/tokenaddress.d.ts.map +1 -1
  372. package/dist/esm/models/operations/tokenaddress.js +3 -0
  373. package/dist/esm/models/operations/tokenaddress.js.map +1 -1
  374. package/dist/esm/models/operations/tokenbalance.d.ts +9 -0
  375. package/dist/esm/models/operations/tokenbalance.d.ts.map +1 -1
  376. package/dist/esm/models/operations/tokenbalance.js +3 -0
  377. package/dist/esm/models/operations/tokenbalance.js.map +1 -1
  378. package/dist/esm/models/operations/tokenprice.d.ts +9 -0
  379. package/dist/esm/models/operations/tokenprice.d.ts.map +1 -1
  380. package/dist/esm/models/operations/tokenprice.js +3 -0
  381. package/dist/esm/models/operations/tokenprice.js.map +1 -1
  382. package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts +9 -0
  383. package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
  384. package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js +3 -0
  385. package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
  386. package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts +9 -0
  387. package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
  388. package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js +3 -0
  389. package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
  390. package/dist/esm/models/operations/uniswappoolprice.d.ts +9 -0
  391. package/dist/esm/models/operations/uniswappoolprice.d.ts.map +1 -1
  392. package/dist/esm/models/operations/uniswappoolprice.js +3 -0
  393. package/dist/esm/models/operations/uniswappoolprice.js.map +1 -1
  394. package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts +9 -0
  395. package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
  396. package/dist/esm/models/operations/uniswapquotebuyexactly.js +3 -0
  397. package/dist/esm/models/operations/uniswapquotebuyexactly.js.map +1 -1
  398. package/dist/esm/models/operations/uniswapquotesellexactly.d.ts +9 -0
  399. package/dist/esm/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
  400. package/dist/esm/models/operations/uniswapquotesellexactly.js +3 -0
  401. package/dist/esm/models/operations/uniswapquotesellexactly.js.map +1 -1
  402. package/dist/esm/sdk/sdk.d.ts +3 -0
  403. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  404. package/dist/esm/sdk/sdk.js +4 -0
  405. package/dist/esm/sdk/sdk.js.map +1 -1
  406. package/dist/esm/sdk/sky.d.ts +49 -0
  407. package/dist/esm/sdk/sky.d.ts.map +1 -0
  408. package/dist/esm/sdk/sky.js +66 -0
  409. package/dist/esm/sdk/sky.js.map +1 -0
  410. package/docs/sdks/sky/README.md +417 -0
  411. package/jsr.json +1 -1
  412. package/package.json +1 -1
  413. package/src/funcs/skyBuy.ts +165 -0
  414. package/src/funcs/skyDeposit.ts +165 -0
  415. package/src/funcs/skyPosition.ts +169 -0
  416. package/src/funcs/skySell.ts +165 -0
  417. package/src/funcs/skyWithdraw.ts +165 -0
  418. package/src/lib/config.ts +4 -4
  419. package/src/mcp-server/mcp-server.ts +1 -1
  420. package/src/mcp-server/server.ts +11 -1
  421. package/src/mcp-server/tools/skyBuy.ts +39 -0
  422. package/src/mcp-server/tools/skyDeposit.ts +39 -0
  423. package/src/mcp-server/tools/skyPosition.ts +37 -0
  424. package/src/mcp-server/tools/skySell.ts +39 -0
  425. package/src/mcp-server/tools/skyWithdraw.ts +39 -0
  426. package/src/models/components/chain.ts +3 -0
  427. package/src/models/components/contractname.ts +3 -0
  428. package/src/models/components/increaseallowanceparams.ts +3 -0
  429. package/src/models/components/increaseallowancerequest.ts +3 -0
  430. package/src/models/components/index.ts +5 -0
  431. package/src/models/components/multicallactiontype.ts +18 -18
  432. package/src/models/components/multicallauthorizationresponse.ts +3 -3
  433. package/src/models/components/skybuyrequest.ts +177 -0
  434. package/src/models/components/skycheckpositionresponse.ts +82 -0
  435. package/src/models/components/skydepositrequest.ts +140 -0
  436. package/src/models/components/skysellrequest.ts +177 -0
  437. package/src/models/components/skywithdrawrequest.ts +87 -0
  438. package/src/models/operations/aaveliquiditychange.ts +3 -0
  439. package/src/models/operations/aavetokenprice.ts +3 -0
  440. package/src/models/operations/aaveuserpositionpertoken.ts +3 -0
  441. package/src/models/operations/aaveuserpositionsummary.ts +3 -0
  442. package/src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts +3 -0
  443. package/src/models/operations/aerodromeslipstreampoolprice.ts +3 -0
  444. package/src/models/operations/genericallowance.ts +6 -0
  445. package/src/models/operations/genericens.ts +3 -0
  446. package/src/models/operations/genericportfolio.ts +3 -0
  447. package/src/models/operations/genericsupportedtokens.ts +3 -0
  448. package/src/models/operations/genericvisualizeportfolio.ts +3 -0
  449. package/src/models/operations/index.ts +1 -0
  450. package/src/models/operations/morphomarketposition.ts +3 -0
  451. package/src/models/operations/morphomarkets.ts +3 -0
  452. package/src/models/operations/morphovaultposition.ts +3 -0
  453. package/src/models/operations/morphovaults.ts +3 -0
  454. package/src/models/operations/skyposition.ts +81 -0
  455. package/src/models/operations/tokenaddress.ts +3 -0
  456. package/src/models/operations/tokenbalance.ts +3 -0
  457. package/src/models/operations/tokenprice.ts +3 -0
  458. package/src/models/operations/uniswapliquidityprovisioninrange.ts +3 -0
  459. package/src/models/operations/uniswapliquidityprovisionpositions.ts +3 -0
  460. package/src/models/operations/uniswappoolprice.ts +3 -0
  461. package/src/models/operations/uniswapquotebuyexactly.ts +3 -0
  462. package/src/models/operations/uniswapquotesellexactly.ts +3 -0
  463. package/src/sdk/sdk.ts +6 -0
  464. package/src/sdk/sky.ts +108 -0
package/bin/mcp-server.js CHANGED
@@ -34180,14 +34180,14 @@ var ServerList, SDK_METADATA;
34180
34180
  var init_config = __esm(() => {
34181
34181
  init_url();
34182
34182
  ServerList = [
34183
- "https://api.compasslabs.ai"
34183
+ "http://0.0.0.0:80"
34184
34184
  ];
34185
34185
  SDK_METADATA = {
34186
34186
  language: "typescript",
34187
34187
  openapiDocVersion: "0.0.1",
34188
- sdkVersion: "0.0.11",
34188
+ sdkVersion: "0.0.13",
34189
34189
  genVersion: "2.596.2",
34190
- userAgent: "speakeasy-sdk/typescript 0.0.11 2.596.2 0.0.1 @compass-labs/api-sdk"
34190
+ userAgent: "speakeasy-sdk/typescript 0.0.13 2.596.2 0.0.1 @compass-labs/api-sdk"
34191
34191
  };
34192
34192
  });
34193
34193
 
@@ -35632,7 +35632,10 @@ var init_chain = __esm(() => {
35632
35632
  Chain = {
35633
35633
  BaseMainnet: "base:mainnet",
35634
35634
  EthereumMainnet: "ethereum:mainnet",
35635
- ArbitrumMainnet: "arbitrum:mainnet"
35635
+ ArbitrumMainnet: "arbitrum:mainnet",
35636
+ EthereumLocal: "ethereum:local",
35637
+ ArbitrumLocal: "arbitrum:local",
35638
+ BaseLocal: "base:local"
35636
35639
  };
35637
35640
  Chain$inboundSchema = nativeEnumType(Chain);
35638
35641
  Chain$outboundSchema = Chain$inboundSchema;
@@ -37335,6 +37338,9 @@ var init_contractname = __esm(() => {
37335
37338
  Morpho: "Morpho",
37336
37339
  MorphoVault: "MorphoVault",
37337
37340
  MorphoOracle: "MorphoOracle",
37341
+ SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
37342
+ SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
37343
+ SkyUsdsVault: "SkyUsdsVault",
37338
37344
  Multicall: "Multicall"
37339
37345
  };
37340
37346
  ContractName$inboundSchema = nativeEnumType(ContractName);
@@ -37456,7 +37462,10 @@ var init_increaseallowanceparams = __esm(() => {
37456
37462
  AerodromeSlipstreamNonfungiblePositionManager: "AerodromeSlipstreamNonfungiblePositionManager",
37457
37463
  UniswapV3Router: "UniswapV3Router",
37458
37464
  UniswapV3NFTPositionManager: "UniswapV3NFTPositionManager",
37459
- Morpho: "Morpho"
37465
+ Morpho: "Morpho",
37466
+ SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
37467
+ SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
37468
+ SkyUsdsVault: "SkyUsdsVault"
37460
37469
  };
37461
37470
  IncreaseAllowanceParamsContractName$inboundSchema = nativeEnumType(IncreaseAllowanceParamsContractName);
37462
37471
  IncreaseAllowanceParamsContractName$outboundSchema = IncreaseAllowanceParamsContractName$inboundSchema;
@@ -37508,7 +37517,10 @@ var init_increaseallowancerequest = __esm(() => {
37508
37517
  AerodromeSlipstreamNonfungiblePositionManager: "AerodromeSlipstreamNonfungiblePositionManager",
37509
37518
  UniswapV3Router: "UniswapV3Router",
37510
37519
  UniswapV3NFTPositionManager: "UniswapV3NFTPositionManager",
37511
- Morpho: "Morpho"
37520
+ Morpho: "Morpho",
37521
+ SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
37522
+ SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
37523
+ SkyUsdsVault: "SkyUsdsVault"
37512
37524
  };
37513
37525
  IncreaseAllowanceRequestContractName$inboundSchema = nativeEnumType(IncreaseAllowanceRequestContractName);
37514
37526
  IncreaseAllowanceRequestContractName$outboundSchema = IncreaseAllowanceRequestContractName$inboundSchema;
@@ -38095,32 +38107,32 @@ var MulticallActionType, MulticallActionType$inboundSchema, MulticallActionType$
38095
38107
  var init_multicallactiontype = __esm(() => {
38096
38108
  init_lib();
38097
38109
  MulticallActionType = {
38110
+ WrapEth: "WRAP_ETH",
38111
+ AerodromeBasicSwapEthForToken: "AERODROME_BASIC_SWAP_ETH_FOR_TOKEN",
38098
38112
  AllowanceIncreaseAny: "ALLOWANCE_INCREASE_ANY",
38099
- TransferErc20: "TRANSFER_ERC20",
38100
- UniswapMintLiquidity: "UNISWAP_MINT_LIQUIDITY",
38101
- AaveBorrow: "AAVE_BORROW",
38113
+ UniswapWithdrawLiquidity: "UNISWAP_WITHDRAW_LIQUIDITY",
38102
38114
  AerodromeBasicRemoveLiquidity: "AERODROME_BASIC_REMOVE_LIQUIDITY",
38103
38115
  AerodromeSlipstreamWithdrawLiquidity: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY",
38104
- UniswapWithdrawLiquidity: "UNISWAP_WITHDRAW_LIQUIDITY",
38116
+ AerodromeSlipstreamSellExactly: "AERODROME_SLIPSTREAM_SELL_EXACTLY",
38105
38117
  UniswapBuyExactly: "UNISWAP_BUY_EXACTLY",
38106
- AerodromeSlipstreamBuyExactly: "AERODROME_SLIPSTREAM_BUY_EXACTLY",
38107
- AaveSupply: "AAVE_SUPPLY",
38108
- AerodromeBasicAddLiquidity: "AERODROME_BASIC_ADD_LIQUIDITY",
38109
- AaveRepay: "AAVE_REPAY",
38110
- UnwrapWeth: "UNWRAP_WETH",
38111
- UniswapSellExactly: "UNISWAP_SELL_EXACTLY",
38112
- AerodromeBasicRemoveLiquidityEth: "AERODROME_BASIC_REMOVE_LIQUIDITY_ETH",
38113
- UniswapAddLiquidity: "UNISWAP_ADD_LIQUIDITY",
38114
- AerodromeBasicSwapToken: "AERODROME_BASIC_SWAP_TOKEN",
38115
38118
  AaveWithdraw: "AAVE_WITHDRAW",
38116
- AerodromeBasicAddLiquidityEth: "AERODROME_BASIC_ADD_LIQUIDITY_ETH",
38117
- AerodromeSlipstreamSellExactly: "AERODROME_SLIPSTREAM_SELL_EXACTLY",
38119
+ UniswapMintLiquidity: "UNISWAP_MINT_LIQUIDITY",
38118
38120
  AerodromeBasicSwapTokenForEth: "AERODROME_BASIC_SWAP_TOKEN_FOR_ETH",
38121
+ AerodromeSlipstreamMintLiquidity: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY",
38122
+ UniswapSellExactly: "UNISWAP_SELL_EXACTLY",
38123
+ AaveBorrow: "AAVE_BORROW",
38124
+ AaveSupply: "AAVE_SUPPLY",
38125
+ AerodromeSlipstreamBuyExactly: "AERODROME_SLIPSTREAM_BUY_EXACTLY",
38126
+ TransferErc20: "TRANSFER_ERC20",
38119
38127
  AllowanceIncrease: "ALLOWANCE_INCREASE",
38120
- AerodromeBasicSwapEthForToken: "AERODROME_BASIC_SWAP_ETH_FOR_TOKEN",
38128
+ AerodromeBasicRemoveLiquidityEth: "AERODROME_BASIC_REMOVE_LIQUIDITY_ETH",
38121
38129
  AerodromeSlipstreamIncreaseLiquidity: "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY",
38122
- WrapEth: "WRAP_ETH",
38123
- AerodromeSlipstreamMintLiquidity: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY"
38130
+ UnwrapWeth: "UNWRAP_WETH",
38131
+ AerodromeBasicSwapToken: "AERODROME_BASIC_SWAP_TOKEN",
38132
+ AerodromeBasicAddLiquidityEth: "AERODROME_BASIC_ADD_LIQUIDITY_ETH",
38133
+ AerodromeBasicAddLiquidity: "AERODROME_BASIC_ADD_LIQUIDITY",
38134
+ UniswapAddLiquidity: "UNISWAP_ADD_LIQUIDITY",
38135
+ AaveRepay: "AAVE_REPAY"
38124
38136
  };
38125
38137
  MulticallActionType$inboundSchema = nativeEnumType(MulticallActionType);
38126
38138
  MulticallActionType$outboundSchema = MulticallActionType$inboundSchema;
@@ -38687,12 +38699,12 @@ var init_multicallauthorizationresponse = __esm(() => {
38687
38699
  init_lib();
38688
38700
  MulticallAuthorizationResponse$inboundSchema = objectType({
38689
38701
  nonce: numberType().int(),
38690
- address: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
38702
+ address: stringType(),
38691
38703
  chainId: numberType().int()
38692
38704
  });
38693
38705
  MulticallAuthorizationResponse$outboundSchema = objectType({
38694
38706
  nonce: numberType().int(),
38695
- address: stringType().default("0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"),
38707
+ address: stringType(),
38696
38708
  chainId: numberType().int()
38697
38709
  });
38698
38710
  ((MulticallAuthorizationResponse$) => {
@@ -38874,6 +38886,177 @@ var init_security2 = __esm(() => {
38874
38886
  })(Security$ ||= {});
38875
38887
  });
38876
38888
 
38889
+ // src/models/components/skybuyrequest.ts
38890
+ var TokenIn, TokenIn$inboundSchema, TokenIn$outboundSchema, TokenIn$, SkyBuyRequestAmount$inboundSchema, SkyBuyRequestAmount$outboundSchema, SkyBuyRequestAmount$, SkyBuyRequest$inboundSchema, SkyBuyRequest$outboundSchema, SkyBuyRequest$;
38891
+ var init_skybuyrequest = __esm(() => {
38892
+ init_lib();
38893
+ init_primitives();
38894
+ TokenIn = {
38895
+ Dai: "DAI",
38896
+ Usdc: "USDC"
38897
+ };
38898
+ TokenIn$inboundSchema = nativeEnumType(TokenIn);
38899
+ TokenIn$outboundSchema = TokenIn$inboundSchema;
38900
+ ((TokenIn$) => {
38901
+ TokenIn$.inboundSchema = TokenIn$inboundSchema;
38902
+ TokenIn$.outboundSchema = TokenIn$outboundSchema;
38903
+ })(TokenIn$ ||= {});
38904
+ SkyBuyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
38905
+ SkyBuyRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
38906
+ ((SkyBuyRequestAmount$) => {
38907
+ SkyBuyRequestAmount$.inboundSchema = SkyBuyRequestAmount$inboundSchema;
38908
+ SkyBuyRequestAmount$.outboundSchema = SkyBuyRequestAmount$outboundSchema;
38909
+ })(SkyBuyRequestAmount$ ||= {});
38910
+ SkyBuyRequest$inboundSchema = objectType({
38911
+ token_in: TokenIn$inboundSchema,
38912
+ amount: unionType([numberType(), stringType()]),
38913
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
38914
+ sender: stringType()
38915
+ }).transform((v2) => {
38916
+ return remap(v2, {
38917
+ token_in: "tokenIn"
38918
+ });
38919
+ });
38920
+ SkyBuyRequest$outboundSchema = objectType({
38921
+ tokenIn: TokenIn$outboundSchema,
38922
+ amount: unionType([numberType(), stringType()]),
38923
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
38924
+ sender: stringType()
38925
+ }).transform((v2) => {
38926
+ return remap(v2, {
38927
+ tokenIn: "token_in"
38928
+ });
38929
+ });
38930
+ ((SkyBuyRequest$) => {
38931
+ SkyBuyRequest$.inboundSchema = SkyBuyRequest$inboundSchema;
38932
+ SkyBuyRequest$.outboundSchema = SkyBuyRequest$outboundSchema;
38933
+ })(SkyBuyRequest$ ||= {});
38934
+ });
38935
+
38936
+ // src/models/components/skycheckpositionresponse.ts
38937
+ var SkyCheckPositionResponse$inboundSchema, SkyCheckPositionResponse$outboundSchema, SkyCheckPositionResponse$;
38938
+ var init_skycheckpositionresponse = __esm(() => {
38939
+ init_lib();
38940
+ init_primitives();
38941
+ SkyCheckPositionResponse$inboundSchema = objectType({
38942
+ usds_value_of_deposits: stringType(),
38943
+ shares: numberType().int()
38944
+ }).transform((v2) => {
38945
+ return remap(v2, {
38946
+ usds_value_of_deposits: "usdsValueOfDeposits"
38947
+ });
38948
+ });
38949
+ SkyCheckPositionResponse$outboundSchema = objectType({
38950
+ usdsValueOfDeposits: stringType(),
38951
+ shares: numberType().int()
38952
+ }).transform((v2) => {
38953
+ return remap(v2, {
38954
+ usdsValueOfDeposits: "usds_value_of_deposits"
38955
+ });
38956
+ });
38957
+ ((SkyCheckPositionResponse$) => {
38958
+ SkyCheckPositionResponse$.inboundSchema = SkyCheckPositionResponse$inboundSchema;
38959
+ SkyCheckPositionResponse$.outboundSchema = SkyCheckPositionResponse$outboundSchema;
38960
+ })(SkyCheckPositionResponse$ ||= {});
38961
+ });
38962
+
38963
+ // src/models/components/skydepositrequest.ts
38964
+ var SkyDepositRequestAmount$inboundSchema, SkyDepositRequestAmount$outboundSchema, SkyDepositRequestAmount$, SkyDepositRequest$inboundSchema, SkyDepositRequest$outboundSchema, SkyDepositRequest$;
38965
+ var init_skydepositrequest = __esm(() => {
38966
+ init_lib();
38967
+ SkyDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
38968
+ SkyDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
38969
+ ((SkyDepositRequestAmount$) => {
38970
+ SkyDepositRequestAmount$.inboundSchema = SkyDepositRequestAmount$inboundSchema;
38971
+ SkyDepositRequestAmount$.outboundSchema = SkyDepositRequestAmount$outboundSchema;
38972
+ })(SkyDepositRequestAmount$ ||= {});
38973
+ SkyDepositRequest$inboundSchema = objectType({
38974
+ amount: unionType([numberType(), stringType()]),
38975
+ receiver: nullableType(stringType()).optional(),
38976
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
38977
+ sender: stringType()
38978
+ });
38979
+ SkyDepositRequest$outboundSchema = objectType({
38980
+ amount: unionType([numberType(), stringType()]),
38981
+ receiver: nullableType(stringType()).optional(),
38982
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
38983
+ sender: stringType()
38984
+ });
38985
+ ((SkyDepositRequest$) => {
38986
+ SkyDepositRequest$.inboundSchema = SkyDepositRequest$inboundSchema;
38987
+ SkyDepositRequest$.outboundSchema = SkyDepositRequest$outboundSchema;
38988
+ })(SkyDepositRequest$ ||= {});
38989
+ });
38990
+
38991
+ // src/models/components/skysellrequest.ts
38992
+ var TokenOut, TokenOut$inboundSchema, TokenOut$outboundSchema, TokenOut$, SkySellRequestAmount$inboundSchema, SkySellRequestAmount$outboundSchema, SkySellRequestAmount$, SkySellRequest$inboundSchema, SkySellRequest$outboundSchema, SkySellRequest$;
38993
+ var init_skysellrequest = __esm(() => {
38994
+ init_lib();
38995
+ init_primitives();
38996
+ TokenOut = {
38997
+ Dai: "DAI",
38998
+ Usdc: "USDC"
38999
+ };
39000
+ TokenOut$inboundSchema = nativeEnumType(TokenOut);
39001
+ TokenOut$outboundSchema = TokenOut$inboundSchema;
39002
+ ((TokenOut$) => {
39003
+ TokenOut$.inboundSchema = TokenOut$inboundSchema;
39004
+ TokenOut$.outboundSchema = TokenOut$outboundSchema;
39005
+ })(TokenOut$ ||= {});
39006
+ SkySellRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
39007
+ SkySellRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
39008
+ ((SkySellRequestAmount$) => {
39009
+ SkySellRequestAmount$.inboundSchema = SkySellRequestAmount$inboundSchema;
39010
+ SkySellRequestAmount$.outboundSchema = SkySellRequestAmount$outboundSchema;
39011
+ })(SkySellRequestAmount$ ||= {});
39012
+ SkySellRequest$inboundSchema = objectType({
39013
+ token_out: TokenOut$inboundSchema,
39014
+ amount: unionType([numberType(), stringType()]),
39015
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
39016
+ sender: stringType()
39017
+ }).transform((v2) => {
39018
+ return remap(v2, {
39019
+ token_out: "tokenOut"
39020
+ });
39021
+ });
39022
+ SkySellRequest$outboundSchema = objectType({
39023
+ tokenOut: TokenOut$outboundSchema,
39024
+ amount: unionType([numberType(), stringType()]),
39025
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
39026
+ sender: stringType()
39027
+ }).transform((v2) => {
39028
+ return remap(v2, {
39029
+ tokenOut: "token_out"
39030
+ });
39031
+ });
39032
+ ((SkySellRequest$) => {
39033
+ SkySellRequest$.inboundSchema = SkySellRequest$inboundSchema;
39034
+ SkySellRequest$.outboundSchema = SkySellRequest$outboundSchema;
39035
+ })(SkySellRequest$ ||= {});
39036
+ });
39037
+
39038
+ // src/models/components/skywithdrawrequest.ts
39039
+ var SkyWithdrawRequest$inboundSchema, SkyWithdrawRequest$outboundSchema, SkyWithdrawRequest$;
39040
+ var init_skywithdrawrequest = __esm(() => {
39041
+ init_lib();
39042
+ SkyWithdrawRequest$inboundSchema = objectType({
39043
+ amount: anyType().optional(),
39044
+ receiver: nullableType(stringType()).optional(),
39045
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
39046
+ sender: stringType()
39047
+ });
39048
+ SkyWithdrawRequest$outboundSchema = objectType({
39049
+ amount: anyType().optional(),
39050
+ receiver: nullableType(stringType()).optional(),
39051
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
39052
+ sender: stringType()
39053
+ });
39054
+ ((SkyWithdrawRequest$) => {
39055
+ SkyWithdrawRequest$.inboundSchema = SkyWithdrawRequest$inboundSchema;
39056
+ SkyWithdrawRequest$.outboundSchema = SkyWithdrawRequest$outboundSchema;
39057
+ })(SkyWithdrawRequest$ ||= {});
39058
+ });
39059
+
38877
39060
  // src/models/components/tokenaddressresponse.ts
38878
39061
  var TokenAddressResponse$inboundSchema, TokenAddressResponse$outboundSchema, TokenAddressResponse$;
38879
39062
  var init_tokenaddressresponse = __esm(() => {
@@ -39726,6 +39909,11 @@ var init_components = __esm(() => {
39726
39909
  init_portfolio();
39727
39910
  init_security2();
39728
39911
  init_signedauthorization();
39912
+ init_skybuyrequest();
39913
+ init_skycheckpositionresponse();
39914
+ init_skydepositrequest();
39915
+ init_skysellrequest();
39916
+ init_skywithdrawrequest();
39729
39917
  init_tokenaddressresponse();
39730
39918
  init_tokenbalance();
39731
39919
  init_tokenbalanceresponse();
@@ -39938,7 +40126,10 @@ var init_aaveliquiditychange = __esm(() => {
39938
40126
  AaveLiquidityChangeChain = {
39939
40127
  BaseMainnet: "base:mainnet",
39940
40128
  EthereumMainnet: "ethereum:mainnet",
39941
- ArbitrumMainnet: "arbitrum:mainnet"
40129
+ ArbitrumMainnet: "arbitrum:mainnet",
40130
+ EthereumLocal: "ethereum:local",
40131
+ ArbitrumLocal: "arbitrum:local",
40132
+ BaseLocal: "base:local"
39942
40133
  };
39943
40134
  AaveLiquidityChangeToken = {
39944
40135
  OneINCH: "1INCH",
@@ -40033,7 +40224,10 @@ var init_aavetokenprice = __esm(() => {
40033
40224
  AaveTokenPriceChain = {
40034
40225
  BaseMainnet: "base:mainnet",
40035
40226
  EthereumMainnet: "ethereum:mainnet",
40036
- ArbitrumMainnet: "arbitrum:mainnet"
40227
+ ArbitrumMainnet: "arbitrum:mainnet",
40228
+ EthereumLocal: "ethereum:local",
40229
+ ArbitrumLocal: "arbitrum:local",
40230
+ BaseLocal: "base:local"
40037
40231
  };
40038
40232
  AaveTokenPriceToken = {
40039
40233
  OneINCH: "1INCH",
@@ -40114,7 +40308,10 @@ var init_aaveuserpositionpertoken = __esm(() => {
40114
40308
  AaveUserPositionPerTokenChain = {
40115
40309
  BaseMainnet: "base:mainnet",
40116
40310
  EthereumMainnet: "ethereum:mainnet",
40117
- ArbitrumMainnet: "arbitrum:mainnet"
40311
+ ArbitrumMainnet: "arbitrum:mainnet",
40312
+ EthereumLocal: "ethereum:local",
40313
+ ArbitrumLocal: "arbitrum:local",
40314
+ BaseLocal: "base:local"
40118
40315
  };
40119
40316
  AaveUserPositionPerTokenToken = {
40120
40317
  OneINCH: "1INCH",
@@ -40197,7 +40394,10 @@ var init_aaveuserpositionsummary = __esm(() => {
40197
40394
  AaveUserPositionSummaryChain = {
40198
40395
  BaseMainnet: "base:mainnet",
40199
40396
  EthereumMainnet: "ethereum:mainnet",
40200
- ArbitrumMainnet: "arbitrum:mainnet"
40397
+ ArbitrumMainnet: "arbitrum:mainnet",
40398
+ EthereumLocal: "ethereum:local",
40399
+ ArbitrumLocal: "arbitrum:local",
40400
+ BaseLocal: "base:local"
40201
40401
  };
40202
40402
  AaveUserPositionSummaryChain$inboundSchema = nativeEnumType(AaveUserPositionSummaryChain);
40203
40403
  AaveUserPositionSummaryChain$outboundSchema = AaveUserPositionSummaryChain$inboundSchema;
@@ -40226,7 +40426,10 @@ var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
40226
40426
  AerodromeSlipstreamLiquidityProvisionPositionsChain = {
40227
40427
  BaseMainnet: "base:mainnet",
40228
40428
  EthereumMainnet: "ethereum:mainnet",
40229
- ArbitrumMainnet: "arbitrum:mainnet"
40429
+ ArbitrumMainnet: "arbitrum:mainnet",
40430
+ EthereumLocal: "ethereum:local",
40431
+ ArbitrumLocal: "arbitrum:local",
40432
+ BaseLocal: "base:local"
40230
40433
  };
40231
40434
  AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema = nativeEnumType(AerodromeSlipstreamLiquidityProvisionPositionsChain);
40232
40435
  AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema = AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema;
@@ -40256,7 +40459,10 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
40256
40459
  AerodromeSlipstreamPoolPriceChain = {
40257
40460
  BaseMainnet: "base:mainnet",
40258
40461
  EthereumMainnet: "ethereum:mainnet",
40259
- ArbitrumMainnet: "arbitrum:mainnet"
40462
+ ArbitrumMainnet: "arbitrum:mainnet",
40463
+ EthereumLocal: "ethereum:local",
40464
+ ArbitrumLocal: "arbitrum:local",
40465
+ BaseLocal: "base:local"
40260
40466
  };
40261
40467
  AerodromeSlipstreamPoolPriceTokenInToken = {
40262
40468
  OneINCH: "1INCH",
@@ -40406,7 +40612,10 @@ var init_genericallowance = __esm(() => {
40406
40612
  GenericAllowanceChain = {
40407
40613
  BaseMainnet: "base:mainnet",
40408
40614
  EthereumMainnet: "ethereum:mainnet",
40409
- ArbitrumMainnet: "arbitrum:mainnet"
40615
+ ArbitrumMainnet: "arbitrum:mainnet",
40616
+ EthereumLocal: "ethereum:local",
40617
+ ArbitrumLocal: "arbitrum:local",
40618
+ BaseLocal: "base:local"
40410
40619
  };
40411
40620
  GenericAllowanceToken = {
40412
40621
  OneINCH: "1INCH",
@@ -40461,7 +40670,10 @@ var init_genericallowance = __esm(() => {
40461
40670
  AerodromeSlipstreamNonfungiblePositionManager: "AerodromeSlipstreamNonfungiblePositionManager",
40462
40671
  UniswapV3Router: "UniswapV3Router",
40463
40672
  UniswapV3NFTPositionManager: "UniswapV3NFTPositionManager",
40464
- Morpho: "Morpho"
40673
+ Morpho: "Morpho",
40674
+ SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
40675
+ SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
40676
+ SkyUsdsVault: "SkyUsdsVault"
40465
40677
  };
40466
40678
  GenericAllowanceChain$inboundSchema = nativeEnumType(GenericAllowanceChain);
40467
40679
  GenericAllowanceChain$outboundSchema = GenericAllowanceChain$inboundSchema;
@@ -40515,7 +40727,10 @@ var init_genericens = __esm(() => {
40515
40727
  GenericEnsChain = {
40516
40728
  BaseMainnet: "base:mainnet",
40517
40729
  EthereumMainnet: "ethereum:mainnet",
40518
- ArbitrumMainnet: "arbitrum:mainnet"
40730
+ ArbitrumMainnet: "arbitrum:mainnet",
40731
+ EthereumLocal: "ethereum:local",
40732
+ ArbitrumLocal: "arbitrum:local",
40733
+ BaseLocal: "base:local"
40519
40734
  };
40520
40735
  GenericEnsChain$inboundSchema = nativeEnumType(GenericEnsChain);
40521
40736
  GenericEnsChain$outboundSchema = GenericEnsChain$inboundSchema;
@@ -40552,7 +40767,10 @@ var init_genericportfolio = __esm(() => {
40552
40767
  GenericPortfolioChain = {
40553
40768
  BaseMainnet: "base:mainnet",
40554
40769
  EthereumMainnet: "ethereum:mainnet",
40555
- ArbitrumMainnet: "arbitrum:mainnet"
40770
+ ArbitrumMainnet: "arbitrum:mainnet",
40771
+ EthereumLocal: "ethereum:local",
40772
+ ArbitrumLocal: "arbitrum:local",
40773
+ BaseLocal: "base:local"
40556
40774
  };
40557
40775
  GenericPortfolioChain$inboundSchema = nativeEnumType(GenericPortfolioChain);
40558
40776
  GenericPortfolioChain$outboundSchema = GenericPortfolioChain$inboundSchema;
@@ -40581,7 +40799,10 @@ var init_genericsupportedtokens = __esm(() => {
40581
40799
  GenericSupportedTokensChain = {
40582
40800
  BaseMainnet: "base:mainnet",
40583
40801
  EthereumMainnet: "ethereum:mainnet",
40584
- ArbitrumMainnet: "arbitrum:mainnet"
40802
+ ArbitrumMainnet: "arbitrum:mainnet",
40803
+ EthereumLocal: "ethereum:local",
40804
+ ArbitrumLocal: "arbitrum:local",
40805
+ BaseLocal: "base:local"
40585
40806
  };
40586
40807
  GenericSupportedTokensChain$inboundSchema = nativeEnumType(GenericSupportedTokensChain);
40587
40808
  GenericSupportedTokensChain$outboundSchema = GenericSupportedTokensChain$inboundSchema;
@@ -40608,7 +40829,10 @@ var init_genericvisualizeportfolio = __esm(() => {
40608
40829
  GenericVisualizePortfolioChain = {
40609
40830
  BaseMainnet: "base:mainnet",
40610
40831
  EthereumMainnet: "ethereum:mainnet",
40611
- ArbitrumMainnet: "arbitrum:mainnet"
40832
+ ArbitrumMainnet: "arbitrum:mainnet",
40833
+ EthereumLocal: "ethereum:local",
40834
+ ArbitrumLocal: "arbitrum:local",
40835
+ BaseLocal: "base:local"
40612
40836
  };
40613
40837
  GenericVisualizePortfolioChain$inboundSchema = nativeEnumType(GenericVisualizePortfolioChain);
40614
40838
  GenericVisualizePortfolioChain$outboundSchema = GenericVisualizePortfolioChain$inboundSchema;
@@ -40638,7 +40862,10 @@ var init_morphomarketposition = __esm(() => {
40638
40862
  MorphoMarketPositionChain = {
40639
40863
  BaseMainnet: "base:mainnet",
40640
40864
  EthereumMainnet: "ethereum:mainnet",
40641
- ArbitrumMainnet: "arbitrum:mainnet"
40865
+ ArbitrumMainnet: "arbitrum:mainnet",
40866
+ EthereumLocal: "ethereum:local",
40867
+ ArbitrumLocal: "arbitrum:local",
40868
+ BaseLocal: "base:local"
40642
40869
  };
40643
40870
  MorphoMarketPositionChain$inboundSchema = nativeEnumType(MorphoMarketPositionChain);
40644
40871
  MorphoMarketPositionChain$outboundSchema = MorphoMarketPositionChain$inboundSchema;
@@ -40680,7 +40907,10 @@ var init_morphomarkets = __esm(() => {
40680
40907
  MorphoMarketsChain = {
40681
40908
  BaseMainnet: "base:mainnet",
40682
40909
  EthereumMainnet: "ethereum:mainnet",
40683
- ArbitrumMainnet: "arbitrum:mainnet"
40910
+ ArbitrumMainnet: "arbitrum:mainnet",
40911
+ EthereumLocal: "ethereum:local",
40912
+ ArbitrumLocal: "arbitrum:local",
40913
+ BaseLocal: "base:local"
40684
40914
  };
40685
40915
  MorphoMarketsChain$inboundSchema = nativeEnumType(MorphoMarketsChain);
40686
40916
  MorphoMarketsChain$outboundSchema = MorphoMarketsChain$inboundSchema;
@@ -40722,7 +40952,10 @@ var init_morphovaultposition = __esm(() => {
40722
40952
  MorphoVaultPositionChain = {
40723
40953
  BaseMainnet: "base:mainnet",
40724
40954
  EthereumMainnet: "ethereum:mainnet",
40725
- ArbitrumMainnet: "arbitrum:mainnet"
40955
+ ArbitrumMainnet: "arbitrum:mainnet",
40956
+ EthereumLocal: "ethereum:local",
40957
+ ArbitrumLocal: "arbitrum:local",
40958
+ BaseLocal: "base:local"
40726
40959
  };
40727
40960
  MorphoVaultPositionChain$inboundSchema = nativeEnumType(MorphoVaultPositionChain);
40728
40961
  MorphoVaultPositionChain$outboundSchema = MorphoVaultPositionChain$inboundSchema;
@@ -40764,7 +40997,10 @@ var init_morphovaults = __esm(() => {
40764
40997
  MorphoVaultsChain = {
40765
40998
  BaseMainnet: "base:mainnet",
40766
40999
  EthereumMainnet: "ethereum:mainnet",
40767
- ArbitrumMainnet: "arbitrum:mainnet"
41000
+ ArbitrumMainnet: "arbitrum:mainnet",
41001
+ EthereumLocal: "ethereum:local",
41002
+ ArbitrumLocal: "arbitrum:local",
41003
+ BaseLocal: "base:local"
40768
41004
  };
40769
41005
  MorphoVaultsChain$inboundSchema = nativeEnumType(MorphoVaultsChain);
40770
41006
  MorphoVaultsChain$outboundSchema = MorphoVaultsChain$inboundSchema;
@@ -40794,6 +41030,33 @@ var init_morphovaults = __esm(() => {
40794
41030
  })(MorphoVaultsRequest$ ||= {});
40795
41031
  });
40796
41032
 
41033
+ // src/models/operations/skyposition.ts
41034
+ var SkyPositionRequest$inboundSchema, SkyPositionRequest$outboundSchema, SkyPositionRequest$;
41035
+ var init_skyposition = __esm(() => {
41036
+ init_lib();
41037
+ init_primitives();
41038
+ SkyPositionRequest$inboundSchema = objectType({
41039
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41040
+ user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
41041
+ }).transform((v2) => {
41042
+ return remap(v2, {
41043
+ user_address: "userAddress"
41044
+ });
41045
+ });
41046
+ SkyPositionRequest$outboundSchema = objectType({
41047
+ chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41048
+ userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
41049
+ }).transform((v2) => {
41050
+ return remap(v2, {
41051
+ userAddress: "user_address"
41052
+ });
41053
+ });
41054
+ ((SkyPositionRequest$) => {
41055
+ SkyPositionRequest$.inboundSchema = SkyPositionRequest$inboundSchema;
41056
+ SkyPositionRequest$.outboundSchema = SkyPositionRequest$outboundSchema;
41057
+ })(SkyPositionRequest$ ||= {});
41058
+ });
41059
+
40797
41060
  // src/models/operations/tokenaddress.ts
40798
41061
  var TokenAddressChain, TokenAddressToken, TokenAddressChain$inboundSchema, TokenAddressChain$outboundSchema, TokenAddressChain$, TokenAddressToken$inboundSchema, TokenAddressToken$outboundSchema, TokenAddressToken$, TokenAddressRequest$inboundSchema, TokenAddressRequest$outboundSchema, TokenAddressRequest$;
40799
41062
  var init_tokenaddress = __esm(() => {
@@ -40801,7 +41064,10 @@ var init_tokenaddress = __esm(() => {
40801
41064
  TokenAddressChain = {
40802
41065
  BaseMainnet: "base:mainnet",
40803
41066
  EthereumMainnet: "ethereum:mainnet",
40804
- ArbitrumMainnet: "arbitrum:mainnet"
41067
+ ArbitrumMainnet: "arbitrum:mainnet",
41068
+ EthereumLocal: "ethereum:local",
41069
+ ArbitrumLocal: "arbitrum:local",
41070
+ BaseLocal: "base:local"
40805
41071
  };
40806
41072
  TokenAddressToken = {
40807
41073
  OneINCH: "1INCH",
@@ -40883,7 +41149,10 @@ var init_tokenbalance2 = __esm(() => {
40883
41149
  TokenBalanceChain = {
40884
41150
  BaseMainnet: "base:mainnet",
40885
41151
  EthereumMainnet: "ethereum:mainnet",
40886
- ArbitrumMainnet: "arbitrum:mainnet"
41152
+ ArbitrumMainnet: "arbitrum:mainnet",
41153
+ EthereumLocal: "ethereum:local",
41154
+ ArbitrumLocal: "arbitrum:local",
41155
+ BaseLocal: "base:local"
40887
41156
  };
40888
41157
  TokenBalanceChain$inboundSchema = nativeEnumType(TokenBalanceChain);
40889
41158
  TokenBalanceChain$outboundSchema = TokenBalanceChain$inboundSchema;
@@ -40920,7 +41189,10 @@ var init_tokenprice = __esm(() => {
40920
41189
  TokenPriceChain = {
40921
41190
  BaseMainnet: "base:mainnet",
40922
41191
  EthereumMainnet: "ethereum:mainnet",
40923
- ArbitrumMainnet: "arbitrum:mainnet"
41192
+ ArbitrumMainnet: "arbitrum:mainnet",
41193
+ EthereumLocal: "ethereum:local",
41194
+ ArbitrumLocal: "arbitrum:local",
41195
+ BaseLocal: "base:local"
40924
41196
  };
40925
41197
  TokenPriceToken = {
40926
41198
  OneINCH: "1INCH",
@@ -41002,7 +41274,10 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
41002
41274
  UniswapLiquidityProvisionInRangeChain = {
41003
41275
  BaseMainnet: "base:mainnet",
41004
41276
  EthereumMainnet: "ethereum:mainnet",
41005
- ArbitrumMainnet: "arbitrum:mainnet"
41277
+ ArbitrumMainnet: "arbitrum:mainnet",
41278
+ EthereumLocal: "ethereum:local",
41279
+ ArbitrumLocal: "arbitrum:local",
41280
+ BaseLocal: "base:local"
41006
41281
  };
41007
41282
  UniswapLiquidityProvisionInRangeChain$inboundSchema = nativeEnumType(UniswapLiquidityProvisionInRangeChain);
41008
41283
  UniswapLiquidityProvisionInRangeChain$outboundSchema = UniswapLiquidityProvisionInRangeChain$inboundSchema;
@@ -41039,7 +41314,10 @@ var init_uniswapliquidityprovisionpositions = __esm(() => {
41039
41314
  UniswapLiquidityProvisionPositionsChain = {
41040
41315
  BaseMainnet: "base:mainnet",
41041
41316
  EthereumMainnet: "ethereum:mainnet",
41042
- ArbitrumMainnet: "arbitrum:mainnet"
41317
+ ArbitrumMainnet: "arbitrum:mainnet",
41318
+ EthereumLocal: "ethereum:local",
41319
+ ArbitrumLocal: "arbitrum:local",
41320
+ BaseLocal: "base:local"
41043
41321
  };
41044
41322
  UniswapLiquidityProvisionPositionsChain$inboundSchema = nativeEnumType(UniswapLiquidityProvisionPositionsChain);
41045
41323
  UniswapLiquidityProvisionPositionsChain$outboundSchema = UniswapLiquidityProvisionPositionsChain$inboundSchema;
@@ -41069,7 +41347,10 @@ var init_uniswappoolprice = __esm(() => {
41069
41347
  UniswapPoolPriceChain = {
41070
41348
  BaseMainnet: "base:mainnet",
41071
41349
  EthereumMainnet: "ethereum:mainnet",
41072
- ArbitrumMainnet: "arbitrum:mainnet"
41350
+ ArbitrumMainnet: "arbitrum:mainnet",
41351
+ EthereumLocal: "ethereum:local",
41352
+ ArbitrumLocal: "arbitrum:local",
41353
+ BaseLocal: "base:local"
41073
41354
  };
41074
41355
  UniswapPoolPriceTokenInToken = {
41075
41356
  OneINCH: "1INCH",
@@ -41229,7 +41510,10 @@ var init_uniswapquotebuyexactly = __esm(() => {
41229
41510
  UniswapQuoteBuyExactlyChain = {
41230
41511
  BaseMainnet: "base:mainnet",
41231
41512
  EthereumMainnet: "ethereum:mainnet",
41232
- ArbitrumMainnet: "arbitrum:mainnet"
41513
+ ArbitrumMainnet: "arbitrum:mainnet",
41514
+ EthereumLocal: "ethereum:local",
41515
+ ArbitrumLocal: "arbitrum:local",
41516
+ BaseLocal: "base:local"
41233
41517
  };
41234
41518
  UniswapQuoteBuyExactlyTokenInToken = {
41235
41519
  OneINCH: "1INCH",
@@ -41399,7 +41683,10 @@ var init_uniswapquotesellexactly = __esm(() => {
41399
41683
  UniswapQuoteSellExactlyChain = {
41400
41684
  BaseMainnet: "base:mainnet",
41401
41685
  EthereumMainnet: "ethereum:mainnet",
41402
- ArbitrumMainnet: "arbitrum:mainnet"
41686
+ ArbitrumMainnet: "arbitrum:mainnet",
41687
+ EthereumLocal: "ethereum:local",
41688
+ ArbitrumLocal: "arbitrum:local",
41689
+ BaseLocal: "base:local"
41403
41690
  };
41404
41691
  UniswapQuoteSellExactlyTokenInToken = {
41405
41692
  OneINCH: "1INCH",
@@ -41578,6 +41865,7 @@ var init_operations = __esm(() => {
41578
41865
  init_morphomarkets();
41579
41866
  init_morphovaultposition();
41580
41867
  init_morphovaults();
41868
+ init_skyposition();
41581
41869
  init_tokenaddress();
41582
41870
  init_tokenbalance2();
41583
41871
  init_tokenprice();
@@ -44340,23 +44628,20 @@ as long as the blockchain it is deployed on is live.`,
44340
44628
  };
44341
44629
  });
44342
44630
 
44343
- // src/funcs/tokenAddress.ts
44344
- function tokenAddress(client, request, options) {
44631
+ // src/funcs/skyBuy.ts
44632
+ function skyBuy(client, request, options) {
44345
44633
  return new APIPromise($do27(client, request, options));
44346
44634
  }
44347
44635
  async function $do27(client, request, options) {
44348
- const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
44636
+ const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
44349
44637
  if (!parsed.ok) {
44350
44638
  return [parsed, { status: "invalid" }];
44351
44639
  }
44352
44640
  const payload = parsed.value;
44353
- const body = null;
44354
- const path = pathToFunc("/v0/token/address/get")();
44355
- const query = encodeFormQuery({
44356
- chain: payload.chain,
44357
- token: payload.token
44358
- });
44641
+ const body = encodeJSON("body", payload, { explode: true });
44642
+ const path = pathToFunc("/v0/sky/buy")();
44359
44643
  const headers = new Headers(compactMap({
44644
+ "Content-Type": "application/json",
44360
44645
  Accept: "application/json"
44361
44646
  }));
44362
44647
  const secConfig = await extractSecurity(client._options.apiKeyAuth);
@@ -44364,7 +44649,7 @@ async function $do27(client, request, options) {
44364
44649
  const requestSecurity = resolveGlobalSecurity(securityInput);
44365
44650
  const context = {
44366
44651
  baseURL: options?.serverURL ?? client._baseURL ?? "",
44367
- operationID: "token_address",
44652
+ operationID: "sky_buy",
44368
44653
  oAuth2Scopes: [],
44369
44654
  resolvedSecurity: requestSecurity,
44370
44655
  securitySource: client._options.apiKeyAuth,
@@ -44373,11 +44658,10 @@ async function $do27(client, request, options) {
44373
44658
  };
44374
44659
  const requestRes = client._createRequest(context, {
44375
44660
  security: requestSecurity,
44376
- method: "GET",
44661
+ method: "POST",
44377
44662
  baseURL: options?.serverURL,
44378
44663
  path,
44379
44664
  headers,
44380
- query,
44381
44665
  body,
44382
44666
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
44383
44667
  }, options);
@@ -44398,13 +44682,13 @@ async function $do27(client, request, options) {
44398
44682
  const responseFields = {
44399
44683
  HttpMeta: { Response: response, Request: req }
44400
44684
  };
44401
- const [result] = await match(json(200, TokenAddressResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44685
+ const [result] = await match(json(200, UnsignedTransaction$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44402
44686
  if (!result.ok) {
44403
44687
  return [result, { status: "complete", request: req, response }];
44404
44688
  }
44405
44689
  return [result, { status: "complete", request: req, response }];
44406
44690
  }
44407
- var init_tokenAddress = __esm(() => {
44691
+ var init_skyBuy = __esm(() => {
44408
44692
  init_encodings();
44409
44693
  init_matchers();
44410
44694
  init_primitives();
@@ -44413,27 +44697,28 @@ var init_tokenAddress = __esm(() => {
44413
44697
  init_url();
44414
44698
  init_components();
44415
44699
  init_errors();
44416
- init_operations();
44417
44700
  init_async();
44418
44701
  });
44419
44702
 
44420
- // src/mcp-server/tools/tokenAddress.ts
44421
- var args27, tool$tokenAddress;
44422
- var init_tokenAddress2 = __esm(() => {
44423
- init_tokenAddress();
44424
- init_operations();
44703
+ // src/mcp-server/tools/skyBuy.ts
44704
+ var args27, tool$skyBuy;
44705
+ var init_skyBuy2 = __esm(() => {
44706
+ init_skyBuy();
44707
+ init_components();
44425
44708
  init_tools();
44426
44709
  args27 = {
44427
- request: TokenAddressRequest$inboundSchema
44710
+ request: SkyBuyRequest$inboundSchema
44428
44711
  };
44429
- tool$tokenAddress = {
44430
- name: "token-address",
44431
- description: `Token Address
44712
+ tool$skyBuy = {
44713
+ name: "sky-buy",
44714
+ description: `Buy USDS
44432
44715
 
44433
- This endpoint retrieves the address for a token supported by us.`,
44716
+ Buy USDS with DAI or USDC on a 1:1 basis.
44717
+
44718
+ There are no fees.`,
44434
44719
  args: args27,
44435
44720
  tool: async (client, args28, ctx) => {
44436
- const [result, apiCall] = await tokenAddress(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44721
+ const [result, apiCall] = await skyBuy(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44437
44722
  if (!result.ok) {
44438
44723
  return {
44439
44724
  content: [{ type: "text", text: result.error.message }],
@@ -44446,24 +44731,20 @@ This endpoint retrieves the address for a token supported by us.`,
44446
44731
  };
44447
44732
  });
44448
44733
 
44449
- // src/funcs/tokenBalance.ts
44450
- function tokenBalance(client, request, options) {
44734
+ // src/funcs/skyDeposit.ts
44735
+ function skyDeposit(client, request, options) {
44451
44736
  return new APIPromise($do28(client, request, options));
44452
44737
  }
44453
44738
  async function $do28(client, request, options) {
44454
- const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
44739
+ const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
44455
44740
  if (!parsed.ok) {
44456
44741
  return [parsed, { status: "invalid" }];
44457
44742
  }
44458
44743
  const payload = parsed.value;
44459
- const body = null;
44460
- const path = pathToFunc("/v0/token/balance/get")();
44461
- const query = encodeFormQuery({
44462
- chain: payload.chain,
44463
- token: payload.token,
44464
- user: payload.user
44465
- });
44744
+ const body = encodeJSON("body", payload, { explode: true });
44745
+ const path = pathToFunc("/v0/sky/deposit")();
44466
44746
  const headers = new Headers(compactMap({
44747
+ "Content-Type": "application/json",
44467
44748
  Accept: "application/json"
44468
44749
  }));
44469
44750
  const secConfig = await extractSecurity(client._options.apiKeyAuth);
@@ -44471,7 +44752,7 @@ async function $do28(client, request, options) {
44471
44752
  const requestSecurity = resolveGlobalSecurity(securityInput);
44472
44753
  const context = {
44473
44754
  baseURL: options?.serverURL ?? client._baseURL ?? "",
44474
- operationID: "token_balance",
44755
+ operationID: "sky_deposit",
44475
44756
  oAuth2Scopes: [],
44476
44757
  resolvedSecurity: requestSecurity,
44477
44758
  securitySource: client._options.apiKeyAuth,
@@ -44480,11 +44761,10 @@ async function $do28(client, request, options) {
44480
44761
  };
44481
44762
  const requestRes = client._createRequest(context, {
44482
44763
  security: requestSecurity,
44483
- method: "GET",
44764
+ method: "POST",
44484
44765
  baseURL: options?.serverURL,
44485
44766
  path,
44486
44767
  headers,
44487
- query,
44488
44768
  body,
44489
44769
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
44490
44770
  }, options);
@@ -44505,13 +44785,13 @@ async function $do28(client, request, options) {
44505
44785
  const responseFields = {
44506
44786
  HttpMeta: { Response: response, Request: req }
44507
44787
  };
44508
- const [result] = await match(json(200, TokenBalanceResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44788
+ const [result] = await match(json(200, UnsignedTransaction$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44509
44789
  if (!result.ok) {
44510
44790
  return [result, { status: "complete", request: req, response }];
44511
44791
  }
44512
44792
  return [result, { status: "complete", request: req, response }];
44513
44793
  }
44514
- var init_tokenBalance = __esm(() => {
44794
+ var init_skyDeposit = __esm(() => {
44515
44795
  init_encodings();
44516
44796
  init_matchers();
44517
44797
  init_primitives();
@@ -44520,27 +44800,28 @@ var init_tokenBalance = __esm(() => {
44520
44800
  init_url();
44521
44801
  init_components();
44522
44802
  init_errors();
44523
- init_operations();
44524
44803
  init_async();
44525
44804
  });
44526
44805
 
44527
- // src/mcp-server/tools/tokenBalance.ts
44528
- var args28, tool$tokenBalance;
44529
- var init_tokenBalance2 = __esm(() => {
44530
- init_tokenBalance();
44531
- init_operations();
44806
+ // src/mcp-server/tools/skyDeposit.ts
44807
+ var args28, tool$skyDeposit;
44808
+ var init_skyDeposit2 = __esm(() => {
44809
+ init_skyDeposit();
44810
+ init_components();
44532
44811
  init_tools();
44533
44812
  args28 = {
44534
- request: TokenBalanceRequest$inboundSchema
44813
+ request: SkyDepositRequest$inboundSchema
44535
44814
  };
44536
- tool$tokenBalance = {
44537
- name: "token-balance",
44538
- description: `Token Balance
44815
+ tool$skyDeposit = {
44816
+ name: "sky-deposit",
44817
+ description: `Deposit USDS
44539
44818
 
44540
- Returns the balance of a specific ERC20 token for a given user address.`,
44819
+ Deposit USDS for sUSDS to earn yield.
44820
+
44821
+ There are no fees.`,
44541
44822
  args: args28,
44542
44823
  tool: async (client, args29, ctx) => {
44543
- const [result, apiCall] = await tokenBalance(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44824
+ const [result, apiCall] = await skyDeposit(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44544
44825
  if (!result.ok) {
44545
44826
  return {
44546
44827
  content: [{ type: "text", text: result.error.message }],
@@ -44553,21 +44834,21 @@ Returns the balance of a specific ERC20 token for a given user address.`,
44553
44834
  };
44554
44835
  });
44555
44836
 
44556
- // src/funcs/tokenPrice.ts
44557
- function tokenPrice(client, request, options) {
44837
+ // src/funcs/skyPosition.ts
44838
+ function skyPosition(client, request, options) {
44558
44839
  return new APIPromise($do29(client, request, options));
44559
44840
  }
44560
44841
  async function $do29(client, request, options) {
44561
- const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
44842
+ const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
44562
44843
  if (!parsed.ok) {
44563
44844
  return [parsed, { status: "invalid" }];
44564
44845
  }
44565
44846
  const payload = parsed.value;
44566
44847
  const body = null;
44567
- const path = pathToFunc("/v0/token/price/get")();
44848
+ const path = pathToFunc("/v0/sky/position")();
44568
44849
  const query = encodeFormQuery({
44569
44850
  chain: payload.chain,
44570
- token: payload.token
44851
+ user_address: payload.user_address
44571
44852
  });
44572
44853
  const headers = new Headers(compactMap({
44573
44854
  Accept: "application/json"
@@ -44577,7 +44858,7 @@ async function $do29(client, request, options) {
44577
44858
  const requestSecurity = resolveGlobalSecurity(securityInput);
44578
44859
  const context = {
44579
44860
  baseURL: options?.serverURL ?? client._baseURL ?? "",
44580
- operationID: "token_price",
44861
+ operationID: "sky_position",
44581
44862
  oAuth2Scopes: [],
44582
44863
  resolvedSecurity: requestSecurity,
44583
44864
  securitySource: client._options.apiKeyAuth,
@@ -44611,13 +44892,13 @@ async function $do29(client, request, options) {
44611
44892
  const responseFields = {
44612
44893
  HttpMeta: { Response: response, Request: req }
44613
44894
  };
44614
- const [result] = await match(json(200, TokenPriceResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44895
+ const [result] = await match(json(200, SkyCheckPositionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44615
44896
  if (!result.ok) {
44616
44897
  return [result, { status: "complete", request: req, response }];
44617
44898
  }
44618
44899
  return [result, { status: "complete", request: req, response }];
44619
44900
  }
44620
- var init_tokenPrice = __esm(() => {
44901
+ var init_skyPosition = __esm(() => {
44621
44902
  init_encodings();
44622
44903
  init_matchers();
44623
44904
  init_primitives();
@@ -44630,27 +44911,23 @@ var init_tokenPrice = __esm(() => {
44630
44911
  init_async();
44631
44912
  });
44632
44913
 
44633
- // src/mcp-server/tools/tokenPrice.ts
44634
- var args29, tool$tokenPrice;
44635
- var init_tokenPrice2 = __esm(() => {
44636
- init_tokenPrice();
44914
+ // src/mcp-server/tools/skyPosition.ts
44915
+ var args29, tool$skyPosition;
44916
+ var init_skyPosition2 = __esm(() => {
44917
+ init_skyPosition();
44637
44918
  init_operations();
44638
44919
  init_tools();
44639
44920
  args29 = {
44640
- request: TokenPriceRequest$inboundSchema
44921
+ request: SkyPositionRequest$inboundSchema
44641
44922
  };
44642
- tool$tokenPrice = {
44643
- name: "token-price",
44644
- description: `Token Price
44923
+ tool$skyPosition = {
44924
+ name: "sky-position",
44925
+ description: `Check USDS Position
44645
44926
 
44646
- Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
44647
-
44648
- Chainlink is a decentralized oracle that aggregates price data from off-chain
44649
- sources. This ensures the price is tamper-resistant but the price might be stale
44650
- with the update frequency of the oracle.`,
44927
+ Check the USDS overall position.`,
44651
44928
  args: args29,
44652
44929
  tool: async (client, args30, ctx) => {
44653
- const [result, apiCall] = await tokenPrice(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44930
+ const [result, apiCall] = await skyPosition(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44654
44931
  if (!result.ok) {
44655
44932
  return {
44656
44933
  content: [{ type: "text", text: result.error.message }],
@@ -44663,18 +44940,18 @@ with the update frequency of the oracle.`,
44663
44940
  };
44664
44941
  });
44665
44942
 
44666
- // src/funcs/tokenTransfer.ts
44667
- function tokenTransfer(client, request, options) {
44943
+ // src/funcs/skySell.ts
44944
+ function skySell(client, request, options) {
44668
44945
  return new APIPromise($do30(client, request, options));
44669
44946
  }
44670
44947
  async function $do30(client, request, options) {
44671
- const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
44948
+ const parsed = safeParse(request, (value) => SkySellRequest$outboundSchema.parse(value), "Input validation failed");
44672
44949
  if (!parsed.ok) {
44673
44950
  return [parsed, { status: "invalid" }];
44674
44951
  }
44675
44952
  const payload = parsed.value;
44676
44953
  const body = encodeJSON("body", payload, { explode: true });
44677
- const path = pathToFunc("/v0/token/transfer")();
44954
+ const path = pathToFunc("/v0/sky/sell")();
44678
44955
  const headers = new Headers(compactMap({
44679
44956
  "Content-Type": "application/json",
44680
44957
  Accept: "application/json"
@@ -44684,7 +44961,7 @@ async function $do30(client, request, options) {
44684
44961
  const requestSecurity = resolveGlobalSecurity(securityInput);
44685
44962
  const context = {
44686
44963
  baseURL: options?.serverURL ?? client._baseURL ?? "",
44687
- operationID: "token_transfer",
44964
+ operationID: "sky_sell",
44688
44965
  oAuth2Scopes: [],
44689
44966
  resolvedSecurity: requestSecurity,
44690
44967
  securitySource: client._options.apiKeyAuth,
@@ -44723,7 +45000,7 @@ async function $do30(client, request, options) {
44723
45000
  }
44724
45001
  return [result, { status: "complete", request: req, response }];
44725
45002
  }
44726
- var init_tokenTransfer = __esm(() => {
45003
+ var init_skySell = __esm(() => {
44727
45004
  init_encodings();
44728
45005
  init_matchers();
44729
45006
  init_primitives();
@@ -44735,23 +45012,25 @@ var init_tokenTransfer = __esm(() => {
44735
45012
  init_async();
44736
45013
  });
44737
45014
 
44738
- // src/mcp-server/tools/tokenTransfer.ts
44739
- var args30, tool$tokenTransfer;
44740
- var init_tokenTransfer2 = __esm(() => {
44741
- init_tokenTransfer();
45015
+ // src/mcp-server/tools/skySell.ts
45016
+ var args30, tool$skySell;
45017
+ var init_skySell2 = __esm(() => {
45018
+ init_skySell();
44742
45019
  init_components();
44743
45020
  init_tools();
44744
45021
  args30 = {
44745
- request: TokenTransferRequest$inboundSchema
45022
+ request: SkySellRequest$inboundSchema
44746
45023
  };
44747
- tool$tokenTransfer = {
44748
- name: "token-transfer",
44749
- description: `Transfer ETH or ERC20 Tokens
45024
+ tool$skySell = {
45025
+ name: "sky-sell",
45026
+ description: `Sell USDS
44750
45027
 
44751
- Sends native ETH or ERC20 tokens from the sender's address to another address.`,
45028
+ Sell USDS for DAI or USDC on a 1:1 basis.
45029
+
45030
+ There are no fees.`,
44752
45031
  args: args30,
44753
45032
  tool: async (client, args31, ctx) => {
44754
- const [result, apiCall] = await tokenTransfer(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45033
+ const [result, apiCall] = await skySell(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44755
45034
  if (!result.ok) {
44756
45035
  return {
44757
45036
  content: [{ type: "text", text: result.error.message }],
@@ -44764,18 +45043,18 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
44764
45043
  };
44765
45044
  });
44766
45045
 
44767
- // src/funcs/transactionBatchingAuthorization.ts
44768
- function transactionBatchingAuthorization(client, request, options) {
45046
+ // src/funcs/skyWithdraw.ts
45047
+ function skyWithdraw(client, request, options) {
44769
45048
  return new APIPromise($do31(client, request, options));
44770
45049
  }
44771
45050
  async function $do31(client, request, options) {
44772
- const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
45051
+ const parsed = safeParse(request, (value) => SkyWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
44773
45052
  if (!parsed.ok) {
44774
45053
  return [parsed, { status: "invalid" }];
44775
45054
  }
44776
45055
  const payload = parsed.value;
44777
45056
  const body = encodeJSON("body", payload, { explode: true });
44778
- const path = pathToFunc("/v0/multicall/authorization")();
45057
+ const path = pathToFunc("/v0/sky/withdraw")();
44779
45058
  const headers = new Headers(compactMap({
44780
45059
  "Content-Type": "application/json",
44781
45060
  Accept: "application/json"
@@ -44785,7 +45064,7 @@ async function $do31(client, request, options) {
44785
45064
  const requestSecurity = resolveGlobalSecurity(securityInput);
44786
45065
  const context = {
44787
45066
  baseURL: options?.serverURL ?? client._baseURL ?? "",
44788
- operationID: "multicall_authorization",
45067
+ operationID: "sky_withdraw",
44789
45068
  oAuth2Scopes: [],
44790
45069
  resolvedSecurity: requestSecurity,
44791
45070
  securitySource: client._options.apiKeyAuth,
@@ -44818,13 +45097,13 @@ async function $do31(client, request, options) {
44818
45097
  const responseFields = {
44819
45098
  HttpMeta: { Response: response, Request: req }
44820
45099
  };
44821
- const [result] = await match(json(200, MulticallAuthorizationResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45100
+ const [result] = await match(json(200, UnsignedTransaction$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44822
45101
  if (!result.ok) {
44823
45102
  return [result, { status: "complete", request: req, response }];
44824
45103
  }
44825
45104
  return [result, { status: "complete", request: req, response }];
44826
45105
  }
44827
- var init_transactionBatchingAuthorization = __esm(() => {
45106
+ var init_skyWithdraw = __esm(() => {
44828
45107
  init_encodings();
44829
45108
  init_matchers();
44830
45109
  init_primitives();
@@ -44836,28 +45115,25 @@ var init_transactionBatchingAuthorization = __esm(() => {
44836
45115
  init_async();
44837
45116
  });
44838
45117
 
44839
- // src/mcp-server/tools/transactionBatchingAuthorization.ts
44840
- var args31, tool$transactionBatchingAuthorization;
44841
- var init_transactionBatchingAuthorization2 = __esm(() => {
44842
- init_transactionBatchingAuthorization();
45118
+ // src/mcp-server/tools/skyWithdraw.ts
45119
+ var args31, tool$skyWithdraw;
45120
+ var init_skyWithdraw2 = __esm(() => {
45121
+ init_skyWithdraw();
44843
45122
  init_components();
44844
45123
  init_tools();
44845
45124
  args31 = {
44846
- request: MulticallAuthorizationRequest$inboundSchema
45125
+ request: SkyWithdrawRequest$inboundSchema
44847
45126
  };
44848
- tool$transactionBatchingAuthorization = {
44849
- name: "transaction-batching-authorization",
44850
- description: `Get EIP-7702 Authorization
45127
+ tool$skyWithdraw = {
45128
+ name: "sky-withdraw",
45129
+ description: `Withdraw USDS
44851
45130
 
44852
- Get authorization data for EIP-7702 batching operations.
45131
+ Withdraw USDS for sUSDS to stop earning yield.
44853
45132
 
44854
- This authorization is required to prevent replay attacks and ensure transaction
44855
- ordering when batching multiple actions into a single transaction. The authorization
44856
- includes a nonce and chain ID to guarantee transaction uniqueness and proper network
44857
- targeting.`,
45133
+ There are no fees.`,
44858
45134
  args: args31,
44859
45135
  tool: async (client, args32, ctx) => {
44860
- const [result, apiCall] = await transactionBatchingAuthorization(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45136
+ const [result, apiCall] = await skyWithdraw(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44861
45137
  if (!result.ok) {
44862
45138
  return {
44863
45139
  content: [{ type: "text", text: result.error.message }],
@@ -44870,20 +45146,23 @@ targeting.`,
44870
45146
  };
44871
45147
  });
44872
45148
 
44873
- // src/funcs/transactionBatchingExecute.ts
44874
- function transactionBatchingExecute(client, request, options) {
45149
+ // src/funcs/tokenAddress.ts
45150
+ function tokenAddress(client, request, options) {
44875
45151
  return new APIPromise($do32(client, request, options));
44876
45152
  }
44877
45153
  async function $do32(client, request, options) {
44878
- const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
45154
+ const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
44879
45155
  if (!parsed.ok) {
44880
45156
  return [parsed, { status: "invalid" }];
44881
45157
  }
44882
45158
  const payload = parsed.value;
44883
- const body = encodeJSON("body", payload, { explode: true });
44884
- const path = pathToFunc("/v0/multicall/execute")();
45159
+ const body = null;
45160
+ const path = pathToFunc("/v0/token/address/get")();
45161
+ const query = encodeFormQuery({
45162
+ chain: payload.chain,
45163
+ token: payload.token
45164
+ });
44885
45165
  const headers = new Headers(compactMap({
44886
- "Content-Type": "application/json",
44887
45166
  Accept: "application/json"
44888
45167
  }));
44889
45168
  const secConfig = await extractSecurity(client._options.apiKeyAuth);
@@ -44891,7 +45170,7 @@ async function $do32(client, request, options) {
44891
45170
  const requestSecurity = resolveGlobalSecurity(securityInput);
44892
45171
  const context = {
44893
45172
  baseURL: options?.serverURL ?? client._baseURL ?? "",
44894
- operationID: "multicall_execute",
45173
+ operationID: "token_address",
44895
45174
  oAuth2Scopes: [],
44896
45175
  resolvedSecurity: requestSecurity,
44897
45176
  securitySource: client._options.apiKeyAuth,
@@ -44900,7 +45179,534 @@ async function $do32(client, request, options) {
44900
45179
  };
44901
45180
  const requestRes = client._createRequest(context, {
44902
45181
  security: requestSecurity,
44903
- method: "POST",
45182
+ method: "GET",
45183
+ baseURL: options?.serverURL,
45184
+ path,
45185
+ headers,
45186
+ query,
45187
+ body,
45188
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45189
+ }, options);
45190
+ if (!requestRes.ok) {
45191
+ return [requestRes, { status: "invalid" }];
45192
+ }
45193
+ const req = requestRes.value;
45194
+ const doResult = await client._do(req, {
45195
+ context,
45196
+ errorCodes: ["422", "4XX", "5XX"],
45197
+ retryConfig: context.retryConfig,
45198
+ retryCodes: context.retryCodes
45199
+ });
45200
+ if (!doResult.ok) {
45201
+ return [doResult, { status: "request-error", request: req }];
45202
+ }
45203
+ const response = doResult.value;
45204
+ const responseFields = {
45205
+ HttpMeta: { Response: response, Request: req }
45206
+ };
45207
+ const [result] = await match(json(200, TokenAddressResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45208
+ if (!result.ok) {
45209
+ return [result, { status: "complete", request: req, response }];
45210
+ }
45211
+ return [result, { status: "complete", request: req, response }];
45212
+ }
45213
+ var init_tokenAddress = __esm(() => {
45214
+ init_encodings();
45215
+ init_matchers();
45216
+ init_primitives();
45217
+ init_schemas();
45218
+ init_security();
45219
+ init_url();
45220
+ init_components();
45221
+ init_errors();
45222
+ init_operations();
45223
+ init_async();
45224
+ });
45225
+
45226
+ // src/mcp-server/tools/tokenAddress.ts
45227
+ var args32, tool$tokenAddress;
45228
+ var init_tokenAddress2 = __esm(() => {
45229
+ init_tokenAddress();
45230
+ init_operations();
45231
+ init_tools();
45232
+ args32 = {
45233
+ request: TokenAddressRequest$inboundSchema
45234
+ };
45235
+ tool$tokenAddress = {
45236
+ name: "token-address",
45237
+ description: `Token Address
45238
+
45239
+ This endpoint retrieves the address for a token supported by us.`,
45240
+ args: args32,
45241
+ tool: async (client, args33, ctx) => {
45242
+ const [result, apiCall] = await tokenAddress(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45243
+ if (!result.ok) {
45244
+ return {
45245
+ content: [{ type: "text", text: result.error.message }],
45246
+ isError: true
45247
+ };
45248
+ }
45249
+ const value = result.value;
45250
+ return formatResult(value, apiCall);
45251
+ }
45252
+ };
45253
+ });
45254
+
45255
+ // src/funcs/tokenBalance.ts
45256
+ function tokenBalance(client, request, options) {
45257
+ return new APIPromise($do33(client, request, options));
45258
+ }
45259
+ async function $do33(client, request, options) {
45260
+ const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
45261
+ if (!parsed.ok) {
45262
+ return [parsed, { status: "invalid" }];
45263
+ }
45264
+ const payload = parsed.value;
45265
+ const body = null;
45266
+ const path = pathToFunc("/v0/token/balance/get")();
45267
+ const query = encodeFormQuery({
45268
+ chain: payload.chain,
45269
+ token: payload.token,
45270
+ user: payload.user
45271
+ });
45272
+ const headers = new Headers(compactMap({
45273
+ Accept: "application/json"
45274
+ }));
45275
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
45276
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
45277
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45278
+ const context = {
45279
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45280
+ operationID: "token_balance",
45281
+ oAuth2Scopes: [],
45282
+ resolvedSecurity: requestSecurity,
45283
+ securitySource: client._options.apiKeyAuth,
45284
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45285
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45286
+ };
45287
+ const requestRes = client._createRequest(context, {
45288
+ security: requestSecurity,
45289
+ method: "GET",
45290
+ baseURL: options?.serverURL,
45291
+ path,
45292
+ headers,
45293
+ query,
45294
+ body,
45295
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45296
+ }, options);
45297
+ if (!requestRes.ok) {
45298
+ return [requestRes, { status: "invalid" }];
45299
+ }
45300
+ const req = requestRes.value;
45301
+ const doResult = await client._do(req, {
45302
+ context,
45303
+ errorCodes: ["422", "4XX", "5XX"],
45304
+ retryConfig: context.retryConfig,
45305
+ retryCodes: context.retryCodes
45306
+ });
45307
+ if (!doResult.ok) {
45308
+ return [doResult, { status: "request-error", request: req }];
45309
+ }
45310
+ const response = doResult.value;
45311
+ const responseFields = {
45312
+ HttpMeta: { Response: response, Request: req }
45313
+ };
45314
+ const [result] = await match(json(200, TokenBalanceResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45315
+ if (!result.ok) {
45316
+ return [result, { status: "complete", request: req, response }];
45317
+ }
45318
+ return [result, { status: "complete", request: req, response }];
45319
+ }
45320
+ var init_tokenBalance = __esm(() => {
45321
+ init_encodings();
45322
+ init_matchers();
45323
+ init_primitives();
45324
+ init_schemas();
45325
+ init_security();
45326
+ init_url();
45327
+ init_components();
45328
+ init_errors();
45329
+ init_operations();
45330
+ init_async();
45331
+ });
45332
+
45333
+ // src/mcp-server/tools/tokenBalance.ts
45334
+ var args33, tool$tokenBalance;
45335
+ var init_tokenBalance2 = __esm(() => {
45336
+ init_tokenBalance();
45337
+ init_operations();
45338
+ init_tools();
45339
+ args33 = {
45340
+ request: TokenBalanceRequest$inboundSchema
45341
+ };
45342
+ tool$tokenBalance = {
45343
+ name: "token-balance",
45344
+ description: `Token Balance
45345
+
45346
+ Returns the balance of a specific ERC20 token for a given user address.`,
45347
+ args: args33,
45348
+ tool: async (client, args34, ctx) => {
45349
+ const [result, apiCall] = await tokenBalance(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45350
+ if (!result.ok) {
45351
+ return {
45352
+ content: [{ type: "text", text: result.error.message }],
45353
+ isError: true
45354
+ };
45355
+ }
45356
+ const value = result.value;
45357
+ return formatResult(value, apiCall);
45358
+ }
45359
+ };
45360
+ });
45361
+
45362
+ // src/funcs/tokenPrice.ts
45363
+ function tokenPrice(client, request, options) {
45364
+ return new APIPromise($do34(client, request, options));
45365
+ }
45366
+ async function $do34(client, request, options) {
45367
+ const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
45368
+ if (!parsed.ok) {
45369
+ return [parsed, { status: "invalid" }];
45370
+ }
45371
+ const payload = parsed.value;
45372
+ const body = null;
45373
+ const path = pathToFunc("/v0/token/price/get")();
45374
+ const query = encodeFormQuery({
45375
+ chain: payload.chain,
45376
+ token: payload.token
45377
+ });
45378
+ const headers = new Headers(compactMap({
45379
+ Accept: "application/json"
45380
+ }));
45381
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
45382
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
45383
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45384
+ const context = {
45385
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45386
+ operationID: "token_price",
45387
+ oAuth2Scopes: [],
45388
+ resolvedSecurity: requestSecurity,
45389
+ securitySource: client._options.apiKeyAuth,
45390
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45391
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45392
+ };
45393
+ const requestRes = client._createRequest(context, {
45394
+ security: requestSecurity,
45395
+ method: "GET",
45396
+ baseURL: options?.serverURL,
45397
+ path,
45398
+ headers,
45399
+ query,
45400
+ body,
45401
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45402
+ }, options);
45403
+ if (!requestRes.ok) {
45404
+ return [requestRes, { status: "invalid" }];
45405
+ }
45406
+ const req = requestRes.value;
45407
+ const doResult = await client._do(req, {
45408
+ context,
45409
+ errorCodes: ["422", "4XX", "5XX"],
45410
+ retryConfig: context.retryConfig,
45411
+ retryCodes: context.retryCodes
45412
+ });
45413
+ if (!doResult.ok) {
45414
+ return [doResult, { status: "request-error", request: req }];
45415
+ }
45416
+ const response = doResult.value;
45417
+ const responseFields = {
45418
+ HttpMeta: { Response: response, Request: req }
45419
+ };
45420
+ const [result] = await match(json(200, TokenPriceResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45421
+ if (!result.ok) {
45422
+ return [result, { status: "complete", request: req, response }];
45423
+ }
45424
+ return [result, { status: "complete", request: req, response }];
45425
+ }
45426
+ var init_tokenPrice = __esm(() => {
45427
+ init_encodings();
45428
+ init_matchers();
45429
+ init_primitives();
45430
+ init_schemas();
45431
+ init_security();
45432
+ init_url();
45433
+ init_components();
45434
+ init_errors();
45435
+ init_operations();
45436
+ init_async();
45437
+ });
45438
+
45439
+ // src/mcp-server/tools/tokenPrice.ts
45440
+ var args34, tool$tokenPrice;
45441
+ var init_tokenPrice2 = __esm(() => {
45442
+ init_tokenPrice();
45443
+ init_operations();
45444
+ init_tools();
45445
+ args34 = {
45446
+ request: TokenPriceRequest$inboundSchema
45447
+ };
45448
+ tool$tokenPrice = {
45449
+ name: "token-price",
45450
+ description: `Token Price
45451
+
45452
+ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
45453
+
45454
+ Chainlink is a decentralized oracle that aggregates price data from off-chain
45455
+ sources. This ensures the price is tamper-resistant but the price might be stale
45456
+ with the update frequency of the oracle.`,
45457
+ args: args34,
45458
+ tool: async (client, args35, ctx) => {
45459
+ const [result, apiCall] = await tokenPrice(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45460
+ if (!result.ok) {
45461
+ return {
45462
+ content: [{ type: "text", text: result.error.message }],
45463
+ isError: true
45464
+ };
45465
+ }
45466
+ const value = result.value;
45467
+ return formatResult(value, apiCall);
45468
+ }
45469
+ };
45470
+ });
45471
+
45472
+ // src/funcs/tokenTransfer.ts
45473
+ function tokenTransfer(client, request, options) {
45474
+ return new APIPromise($do35(client, request, options));
45475
+ }
45476
+ async function $do35(client, request, options) {
45477
+ const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
45478
+ if (!parsed.ok) {
45479
+ return [parsed, { status: "invalid" }];
45480
+ }
45481
+ const payload = parsed.value;
45482
+ const body = encodeJSON("body", payload, { explode: true });
45483
+ const path = pathToFunc("/v0/token/transfer")();
45484
+ const headers = new Headers(compactMap({
45485
+ "Content-Type": "application/json",
45486
+ Accept: "application/json"
45487
+ }));
45488
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
45489
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
45490
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45491
+ const context = {
45492
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45493
+ operationID: "token_transfer",
45494
+ oAuth2Scopes: [],
45495
+ resolvedSecurity: requestSecurity,
45496
+ securitySource: client._options.apiKeyAuth,
45497
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45498
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45499
+ };
45500
+ const requestRes = client._createRequest(context, {
45501
+ security: requestSecurity,
45502
+ method: "POST",
45503
+ baseURL: options?.serverURL,
45504
+ path,
45505
+ headers,
45506
+ body,
45507
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45508
+ }, options);
45509
+ if (!requestRes.ok) {
45510
+ return [requestRes, { status: "invalid" }];
45511
+ }
45512
+ const req = requestRes.value;
45513
+ const doResult = await client._do(req, {
45514
+ context,
45515
+ errorCodes: ["422", "4XX", "5XX"],
45516
+ retryConfig: context.retryConfig,
45517
+ retryCodes: context.retryCodes
45518
+ });
45519
+ if (!doResult.ok) {
45520
+ return [doResult, { status: "request-error", request: req }];
45521
+ }
45522
+ const response = doResult.value;
45523
+ const responseFields = {
45524
+ HttpMeta: { Response: response, Request: req }
45525
+ };
45526
+ const [result] = await match(json(200, UnsignedTransaction$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45527
+ if (!result.ok) {
45528
+ return [result, { status: "complete", request: req, response }];
45529
+ }
45530
+ return [result, { status: "complete", request: req, response }];
45531
+ }
45532
+ var init_tokenTransfer = __esm(() => {
45533
+ init_encodings();
45534
+ init_matchers();
45535
+ init_primitives();
45536
+ init_schemas();
45537
+ init_security();
45538
+ init_url();
45539
+ init_components();
45540
+ init_errors();
45541
+ init_async();
45542
+ });
45543
+
45544
+ // src/mcp-server/tools/tokenTransfer.ts
45545
+ var args35, tool$tokenTransfer;
45546
+ var init_tokenTransfer2 = __esm(() => {
45547
+ init_tokenTransfer();
45548
+ init_components();
45549
+ init_tools();
45550
+ args35 = {
45551
+ request: TokenTransferRequest$inboundSchema
45552
+ };
45553
+ tool$tokenTransfer = {
45554
+ name: "token-transfer",
45555
+ description: `Transfer ETH or ERC20 Tokens
45556
+
45557
+ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
45558
+ args: args35,
45559
+ tool: async (client, args36, ctx) => {
45560
+ const [result, apiCall] = await tokenTransfer(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45561
+ if (!result.ok) {
45562
+ return {
45563
+ content: [{ type: "text", text: result.error.message }],
45564
+ isError: true
45565
+ };
45566
+ }
45567
+ const value = result.value;
45568
+ return formatResult(value, apiCall);
45569
+ }
45570
+ };
45571
+ });
45572
+
45573
+ // src/funcs/transactionBatchingAuthorization.ts
45574
+ function transactionBatchingAuthorization(client, request, options) {
45575
+ return new APIPromise($do36(client, request, options));
45576
+ }
45577
+ async function $do36(client, request, options) {
45578
+ const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
45579
+ if (!parsed.ok) {
45580
+ return [parsed, { status: "invalid" }];
45581
+ }
45582
+ const payload = parsed.value;
45583
+ const body = encodeJSON("body", payload, { explode: true });
45584
+ const path = pathToFunc("/v0/multicall/authorization")();
45585
+ const headers = new Headers(compactMap({
45586
+ "Content-Type": "application/json",
45587
+ Accept: "application/json"
45588
+ }));
45589
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
45590
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
45591
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45592
+ const context = {
45593
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45594
+ operationID: "multicall_authorization",
45595
+ oAuth2Scopes: [],
45596
+ resolvedSecurity: requestSecurity,
45597
+ securitySource: client._options.apiKeyAuth,
45598
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45599
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45600
+ };
45601
+ const requestRes = client._createRequest(context, {
45602
+ security: requestSecurity,
45603
+ method: "POST",
45604
+ baseURL: options?.serverURL,
45605
+ path,
45606
+ headers,
45607
+ body,
45608
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45609
+ }, options);
45610
+ if (!requestRes.ok) {
45611
+ return [requestRes, { status: "invalid" }];
45612
+ }
45613
+ const req = requestRes.value;
45614
+ const doResult = await client._do(req, {
45615
+ context,
45616
+ errorCodes: ["422", "4XX", "5XX"],
45617
+ retryConfig: context.retryConfig,
45618
+ retryCodes: context.retryCodes
45619
+ });
45620
+ if (!doResult.ok) {
45621
+ return [doResult, { status: "request-error", request: req }];
45622
+ }
45623
+ const response = doResult.value;
45624
+ const responseFields = {
45625
+ HttpMeta: { Response: response, Request: req }
45626
+ };
45627
+ const [result] = await match(json(200, MulticallAuthorizationResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45628
+ if (!result.ok) {
45629
+ return [result, { status: "complete", request: req, response }];
45630
+ }
45631
+ return [result, { status: "complete", request: req, response }];
45632
+ }
45633
+ var init_transactionBatchingAuthorization = __esm(() => {
45634
+ init_encodings();
45635
+ init_matchers();
45636
+ init_primitives();
45637
+ init_schemas();
45638
+ init_security();
45639
+ init_url();
45640
+ init_components();
45641
+ init_errors();
45642
+ init_async();
45643
+ });
45644
+
45645
+ // src/mcp-server/tools/transactionBatchingAuthorization.ts
45646
+ var args36, tool$transactionBatchingAuthorization;
45647
+ var init_transactionBatchingAuthorization2 = __esm(() => {
45648
+ init_transactionBatchingAuthorization();
45649
+ init_components();
45650
+ init_tools();
45651
+ args36 = {
45652
+ request: MulticallAuthorizationRequest$inboundSchema
45653
+ };
45654
+ tool$transactionBatchingAuthorization = {
45655
+ name: "transaction-batching-authorization",
45656
+ description: `Get EIP-7702 Authorization
45657
+
45658
+ Get authorization data for EIP-7702 batching operations.
45659
+
45660
+ This authorization is required to prevent replay attacks and ensure transaction
45661
+ ordering when batching multiple actions into a single transaction. The authorization
45662
+ includes a nonce and chain ID to guarantee transaction uniqueness and proper network
45663
+ targeting.`,
45664
+ args: args36,
45665
+ tool: async (client, args37, ctx) => {
45666
+ const [result, apiCall] = await transactionBatchingAuthorization(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45667
+ if (!result.ok) {
45668
+ return {
45669
+ content: [{ type: "text", text: result.error.message }],
45670
+ isError: true
45671
+ };
45672
+ }
45673
+ const value = result.value;
45674
+ return formatResult(value, apiCall);
45675
+ }
45676
+ };
45677
+ });
45678
+
45679
+ // src/funcs/transactionBatchingExecute.ts
45680
+ function transactionBatchingExecute(client, request, options) {
45681
+ return new APIPromise($do37(client, request, options));
45682
+ }
45683
+ async function $do37(client, request, options) {
45684
+ const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
45685
+ if (!parsed.ok) {
45686
+ return [parsed, { status: "invalid" }];
45687
+ }
45688
+ const payload = parsed.value;
45689
+ const body = encodeJSON("body", payload, { explode: true });
45690
+ const path = pathToFunc("/v0/multicall/execute")();
45691
+ const headers = new Headers(compactMap({
45692
+ "Content-Type": "application/json",
45693
+ Accept: "application/json"
45694
+ }));
45695
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
45696
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
45697
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45698
+ const context = {
45699
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45700
+ operationID: "multicall_execute",
45701
+ oAuth2Scopes: [],
45702
+ resolvedSecurity: requestSecurity,
45703
+ securitySource: client._options.apiKeyAuth,
45704
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45705
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45706
+ };
45707
+ const requestRes = client._createRequest(context, {
45708
+ security: requestSecurity,
45709
+ method: "POST",
44904
45710
  baseURL: options?.serverURL,
44905
45711
  path,
44906
45712
  headers,
@@ -44943,12 +45749,12 @@ var init_transactionBatchingExecute = __esm(() => {
44943
45749
  });
44944
45750
 
44945
45751
  // src/mcp-server/tools/transactionBatchingExecute.ts
44946
- var args32, tool$transactionBatchingExecute;
45752
+ var args37, tool$transactionBatchingExecute;
44947
45753
  var init_transactionBatchingExecute2 = __esm(() => {
44948
45754
  init_transactionBatchingExecute();
44949
45755
  init_components();
44950
45756
  init_tools();
44951
- args32 = {
45757
+ args37 = {
44952
45758
  request: MulticallExecuteRequest$inboundSchema
44953
45759
  };
44954
45760
  tool$transactionBatchingExecute = {
@@ -44961,9 +45767,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
44961
45767
  transaction, reducing gas costs and ensuring all operations succeed or fail
44962
45768
  together. The transaction must be authorized using the /authorization endpoint to
44963
45769
  prevent replay attacks.`,
44964
- args: args32,
44965
- tool: async (client, args33, ctx) => {
44966
- const [result, apiCall] = await transactionBatchingExecute(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45770
+ args: args37,
45771
+ tool: async (client, args38, ctx) => {
45772
+ const [result, apiCall] = await transactionBatchingExecute(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44967
45773
  if (!result.ok) {
44968
45774
  return {
44969
45775
  content: [{ type: "text", text: result.error.message }],
@@ -44978,9 +45784,9 @@ prevent replay attacks.`,
44978
45784
 
44979
45785
  // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
44980
45786
  function uniswapV3LiquidityProvisionIncrease(client, request, options) {
44981
- return new APIPromise($do33(client, request, options));
45787
+ return new APIPromise($do38(client, request, options));
44982
45788
  }
44983
- async function $do33(client, request, options) {
45789
+ async function $do38(client, request, options) {
44984
45790
  const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
44985
45791
  if (!parsed.ok) {
44986
45792
  return [parsed, { status: "invalid" }];
@@ -45049,12 +45855,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
45049
45855
  });
45050
45856
 
45051
45857
  // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
45052
- var args33, tool$uniswapV3LiquidityProvisionIncrease;
45858
+ var args38, tool$uniswapV3LiquidityProvisionIncrease;
45053
45859
  var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
45054
45860
  init_uniswapV3LiquidityProvisionIncrease();
45055
45861
  init_components();
45056
45862
  init_tools();
45057
- args33 = {
45863
+ args38 = {
45058
45864
  request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
45059
45865
  };
45060
45866
  tool$uniswapV3LiquidityProvisionIncrease = {
@@ -45070,9 +45876,9 @@ beneficial for users who wish to enhance their potential earnings from trading f
45070
45876
  within the pool. The endpoint requires details such as the token pair, additional
45071
45877
  amount to be added, and any other parameters necessary for the liquidity increase
45072
45878
  process.`,
45073
- args: args33,
45074
- tool: async (client, args34, ctx) => {
45075
- const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45879
+ args: args38,
45880
+ tool: async (client, args39, ctx) => {
45881
+ const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45076
45882
  if (!result.ok) {
45077
45883
  return {
45078
45884
  content: [{ type: "text", text: result.error.message }],
@@ -45087,9 +45893,9 @@ process.`,
45087
45893
 
45088
45894
  // src/funcs/uniswapV3LiquidityProvisionInRange.ts
45089
45895
  function uniswapV3LiquidityProvisionInRange(client, request, options) {
45090
- return new APIPromise($do34(client, request, options));
45896
+ return new APIPromise($do39(client, request, options));
45091
45897
  }
45092
- async function $do34(client, request, options) {
45898
+ async function $do39(client, request, options) {
45093
45899
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
45094
45900
  if (!parsed.ok) {
45095
45901
  return [parsed, { status: "invalid" }];
@@ -45163,12 +45969,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
45163
45969
  });
45164
45970
 
45165
45971
  // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
45166
- var args34, tool$uniswapV3LiquidityProvisionInRange;
45972
+ var args39, tool$uniswapV3LiquidityProvisionInRange;
45167
45973
  var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
45168
45974
  init_uniswapV3LiquidityProvisionInRange();
45169
45975
  init_operations();
45170
45976
  init_tools();
45171
- args34 = {
45977
+ args39 = {
45172
45978
  request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
45173
45979
  };
45174
45980
  tool$uniswapV3LiquidityProvisionInRange = {
@@ -45183,9 +45989,9 @@ position is currently within the tick range where trading occurs. this informati
45183
45989
  is essential for users to monitor the status of their lp positions and ensure that
45184
45990
  they are actively participating in the trading activities within the liquidity pool
45185
45991
  and earning trading fees.`,
45186
- args: args34,
45187
- tool: async (client, args35, ctx) => {
45188
- const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45992
+ args: args39,
45993
+ tool: async (client, args40, ctx) => {
45994
+ const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45189
45995
  if (!result.ok) {
45190
45996
  return {
45191
45997
  content: [{ type: "text", text: result.error.message }],
@@ -45200,9 +46006,9 @@ and earning trading fees.`,
45200
46006
 
45201
46007
  // src/funcs/uniswapV3LiquidityProvisionMint.ts
45202
46008
  function uniswapV3LiquidityProvisionMint(client, request, options) {
45203
- return new APIPromise($do35(client, request, options));
46009
+ return new APIPromise($do40(client, request, options));
45204
46010
  }
45205
- async function $do35(client, request, options) {
46011
+ async function $do40(client, request, options) {
45206
46012
  const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
45207
46013
  if (!parsed.ok) {
45208
46014
  return [parsed, { status: "invalid" }];
@@ -45271,12 +46077,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
45271
46077
  });
45272
46078
 
45273
46079
  // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
45274
- var args35, tool$uniswapV3LiquidityProvisionMint;
46080
+ var args40, tool$uniswapV3LiquidityProvisionMint;
45275
46081
  var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
45276
46082
  init_uniswapV3LiquidityProvisionMint();
45277
46083
  init_components();
45278
46084
  init_tools();
45279
- args35 = {
46085
+ args40 = {
45280
46086
  request: UniswapMintLiquidityProvisionRequest$inboundSchema
45281
46087
  };
45282
46088
  tool$uniswapV3LiquidityProvisionMint = {
@@ -45292,9 +46098,9 @@ This operation is essential for users looking to participate in liquidity provis
45292
46098
  enabling them to earn fees from trades that occur within the pool. The endpoint
45293
46099
  requires details such as the token pair, amount, and any additional parameters
45294
46100
  needed for the minting process.`,
45295
- args: args35,
45296
- tool: async (client, args36, ctx) => {
45297
- const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46101
+ args: args40,
46102
+ tool: async (client, args41, ctx) => {
46103
+ const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45298
46104
  if (!result.ok) {
45299
46105
  return {
45300
46106
  content: [{ type: "text", text: result.error.message }],
@@ -45309,9 +46115,9 @@ needed for the minting process.`,
45309
46115
 
45310
46116
  // src/funcs/uniswapV3LiquidityProvisionPositions.ts
45311
46117
  function uniswapV3LiquidityProvisionPositions(client, request, options) {
45312
- return new APIPromise($do36(client, request, options));
46118
+ return new APIPromise($do41(client, request, options));
45313
46119
  }
45314
- async function $do36(client, request, options) {
46120
+ async function $do41(client, request, options) {
45315
46121
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
45316
46122
  if (!parsed.ok) {
45317
46123
  return [parsed, { status: "invalid" }];
@@ -45385,12 +46191,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
45385
46191
  });
45386
46192
 
45387
46193
  // src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
45388
- var args36, tool$uniswapV3LiquidityProvisionPositions;
46194
+ var args41, tool$uniswapV3LiquidityProvisionPositions;
45389
46195
  var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
45390
46196
  init_uniswapV3LiquidityProvisionPositions();
45391
46197
  init_operations();
45392
46198
  init_tools();
45393
- args36 = {
46199
+ args41 = {
45394
46200
  request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
45395
46201
  };
45396
46202
  tool$uniswapV3LiquidityProvisionPositions = {
@@ -45404,9 +46210,9 @@ Users can query this endpoint to obtain detailed information about their LP
45404
46210
  positions, including the total number of positions and relevant metadata. This
45405
46211
  information is crucial for users to manage and analyze their liquidity provision
45406
46212
  activities effectively.`,
45407
- args: args36,
45408
- tool: async (client, args37, ctx) => {
45409
- const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46213
+ args: args41,
46214
+ tool: async (client, args42, ctx) => {
46215
+ const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45410
46216
  if (!result.ok) {
45411
46217
  return {
45412
46218
  content: [{ type: "text", text: result.error.message }],
@@ -45421,9 +46227,9 @@ activities effectively.`,
45421
46227
 
45422
46228
  // src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
45423
46229
  function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
45424
- return new APIPromise($do37(client, request, options));
46230
+ return new APIPromise($do42(client, request, options));
45425
46231
  }
45426
- async function $do37(client, request, options) {
46232
+ async function $do42(client, request, options) {
45427
46233
  const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
45428
46234
  if (!parsed.ok) {
45429
46235
  return [parsed, { status: "invalid" }];
@@ -45492,12 +46298,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
45492
46298
  });
45493
46299
 
45494
46300
  // src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
45495
- var args37, tool$uniswapV3LiquidityProvisionWithdraw;
46301
+ var args42, tool$uniswapV3LiquidityProvisionWithdraw;
45496
46302
  var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
45497
46303
  init_uniswapV3LiquidityProvisionWithdraw();
45498
46304
  init_components();
45499
46305
  init_tools();
45500
- args37 = {
46306
+ args42 = {
45501
46307
  request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
45502
46308
  };
45503
46309
  tool$uniswapV3LiquidityProvisionWithdraw = {
@@ -45514,9 +46320,9 @@ pools or investments. The endpoint requires details such as the token pair, the
45514
46320
  amount to be withdrawn, and any additional parameters needed for the withdrawal
45515
46321
  process. Users should ensure they meet any protocol requirements or conditions
45516
46322
  before initiating a withdrawal to avoid potential issues or penalties.`,
45517
- args: args37,
45518
- tool: async (client, args38, ctx) => {
45519
- const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46323
+ args: args42,
46324
+ tool: async (client, args43, ctx) => {
46325
+ const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45520
46326
  if (!result.ok) {
45521
46327
  return {
45522
46328
  content: [{ type: "text", text: result.error.message }],
@@ -45531,9 +46337,9 @@ before initiating a withdrawal to avoid potential issues or penalties.`,
45531
46337
 
45532
46338
  // src/funcs/uniswapV3PoolPrice.ts
45533
46339
  function uniswapV3PoolPrice(client, request, options) {
45534
- return new APIPromise($do38(client, request, options));
46340
+ return new APIPromise($do43(client, request, options));
45535
46341
  }
45536
- async function $do38(client, request, options) {
46342
+ async function $do43(client, request, options) {
45537
46343
  const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
45538
46344
  if (!parsed.ok) {
45539
46345
  return [parsed, { status: "invalid" }];
@@ -45609,12 +46415,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
45609
46415
  });
45610
46416
 
45611
46417
  // src/mcp-server/tools/uniswapV3PoolPrice.ts
45612
- var args38, tool$uniswapV3PoolPrice;
46418
+ var args43, tool$uniswapV3PoolPrice;
45613
46419
  var init_uniswapV3PoolPrice2 = __esm(() => {
45614
46420
  init_uniswapV3PoolPrice();
45615
46421
  init_operations();
45616
46422
  init_tools();
45617
- args38 = {
46423
+ args43 = {
45618
46424
  request: UniswapPoolPriceRequest$inboundSchema
45619
46425
  };
45620
46426
  tool$uniswapV3PoolPrice = {
@@ -45624,9 +46430,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
45624
46430
  This endpoint calculates the price of a token in a Uniswap pool.
45625
46431
 
45626
46432
  The price is calculated based on the current pool state and the specified fee tier.`,
45627
- args: args38,
45628
- tool: async (client, args39, ctx) => {
45629
- const [result, apiCall] = await uniswapV3PoolPrice(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46433
+ args: args43,
46434
+ tool: async (client, args44, ctx) => {
46435
+ const [result, apiCall] = await uniswapV3PoolPrice(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45630
46436
  if (!result.ok) {
45631
46437
  return {
45632
46438
  content: [{ type: "text", text: result.error.message }],
@@ -45641,9 +46447,9 @@ The price is calculated based on the current pool state and the specified fee ti
45641
46447
 
45642
46448
  // src/funcs/uniswapV3QuoteBuyExactly.ts
45643
46449
  function uniswapV3QuoteBuyExactly(client, request, options) {
45644
- return new APIPromise($do39(client, request, options));
46450
+ return new APIPromise($do44(client, request, options));
45645
46451
  }
45646
- async function $do39(client, request, options) {
46452
+ async function $do44(client, request, options) {
45647
46453
  const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
45648
46454
  if (!parsed.ok) {
45649
46455
  return [parsed, { status: "invalid" }];
@@ -45720,12 +46526,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
45720
46526
  });
45721
46527
 
45722
46528
  // src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
45723
- var args39, tool$uniswapV3QuoteBuyExactly;
46529
+ var args44, tool$uniswapV3QuoteBuyExactly;
45724
46530
  var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
45725
46531
  init_uniswapV3QuoteBuyExactly();
45726
46532
  init_operations();
45727
46533
  init_tools();
45728
- args39 = {
46534
+ args44 = {
45729
46535
  request: UniswapQuoteBuyExactlyRequest$inboundSchema
45730
46536
  };
45731
46537
  tool$uniswapV3QuoteBuyExactly = {
@@ -45737,9 +46543,9 @@ specified amount of output tokens from a Uniswap pool.
45737
46543
 
45738
46544
  It also provides the resulting price after the transaction. The calculation takes
45739
46545
  into account the current pool state and the specified fee tier.`,
45740
- args: args39,
45741
- tool: async (client, args40, ctx) => {
45742
- const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46546
+ args: args44,
46547
+ tool: async (client, args45, ctx) => {
46548
+ const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45743
46549
  if (!result.ok) {
45744
46550
  return {
45745
46551
  content: [{ type: "text", text: result.error.message }],
@@ -45754,9 +46560,9 @@ into account the current pool state and the specified fee tier.`,
45754
46560
 
45755
46561
  // src/funcs/uniswapV3QuoteSellExactly.ts
45756
46562
  function uniswapV3QuoteSellExactly(client, request, options) {
45757
- return new APIPromise($do40(client, request, options));
46563
+ return new APIPromise($do45(client, request, options));
45758
46564
  }
45759
- async function $do40(client, request, options) {
46565
+ async function $do45(client, request, options) {
45760
46566
  const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
45761
46567
  if (!parsed.ok) {
45762
46568
  return [parsed, { status: "invalid" }];
@@ -45833,12 +46639,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
45833
46639
  });
45834
46640
 
45835
46641
  // src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
45836
- var args40, tool$uniswapV3QuoteSellExactly;
46642
+ var args45, tool$uniswapV3QuoteSellExactly;
45837
46643
  var init_uniswapV3QuoteSellExactly2 = __esm(() => {
45838
46644
  init_uniswapV3QuoteSellExactly();
45839
46645
  init_operations();
45840
46646
  init_tools();
45841
- args40 = {
46647
+ args45 = {
45842
46648
  request: UniswapQuoteSellExactlyRequest$inboundSchema
45843
46649
  };
45844
46650
  tool$uniswapV3QuoteSellExactly = {
@@ -45850,9 +46656,9 @@ specified amount of output tokens from a Uniswap pool.
45850
46656
 
45851
46657
  It also provides the resulting price after the transaction. The calculation takes
45852
46658
  into account the current pool state and the specified fee tier.`,
45853
- args: args40,
45854
- tool: async (client, args41, ctx) => {
45855
- const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46659
+ args: args45,
46660
+ tool: async (client, args46, ctx) => {
46661
+ const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45856
46662
  if (!result.ok) {
45857
46663
  return {
45858
46664
  content: [{ type: "text", text: result.error.message }],
@@ -45867,9 +46673,9 @@ into account the current pool state and the specified fee tier.`,
45867
46673
 
45868
46674
  // src/funcs/uniswapV3SwapBuyExactly.ts
45869
46675
  function uniswapV3SwapBuyExactly(client, request, options) {
45870
- return new APIPromise($do41(client, request, options));
46676
+ return new APIPromise($do46(client, request, options));
45871
46677
  }
45872
- async function $do41(client, request, options) {
46678
+ async function $do46(client, request, options) {
45873
46679
  const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
45874
46680
  if (!parsed.ok) {
45875
46681
  return [parsed, { status: "invalid" }];
@@ -45938,12 +46744,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
45938
46744
  });
45939
46745
 
45940
46746
  // src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
45941
- var args41, tool$uniswapV3SwapBuyExactly;
46747
+ var args46, tool$uniswapV3SwapBuyExactly;
45942
46748
  var init_uniswapV3SwapBuyExactly2 = __esm(() => {
45943
46749
  init_uniswapV3SwapBuyExactly();
45944
46750
  init_components();
45945
46751
  init_tools();
45946
- args41 = {
46752
+ args46 = {
45947
46753
  request: UniswapBuyExactlyRequest$inboundSchema
45948
46754
  };
45949
46755
  tool$uniswapV3SwapBuyExactly = {
@@ -45957,9 +46763,9 @@ The transaction is executed on the specified blockchain network, and the user mu
45957
46763
  provide the necessary transaction details, including the token to buy, the token to
45958
46764
  pay with, and the exact amount to receive. If the token being paid with is WETH and
45959
46765
  needs to be wrapped, the appropriate amount will be wrapped automatically.`,
45960
- args: args41,
45961
- tool: async (client, args42, ctx) => {
45962
- const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46766
+ args: args46,
46767
+ tool: async (client, args47, ctx) => {
46768
+ const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45963
46769
  if (!result.ok) {
45964
46770
  return {
45965
46771
  content: [{ type: "text", text: result.error.message }],
@@ -45974,9 +46780,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.`,
45974
46780
 
45975
46781
  // src/funcs/uniswapV3SwapSellExactly.ts
45976
46782
  function uniswapV3SwapSellExactly(client, request, options) {
45977
- return new APIPromise($do42(client, request, options));
46783
+ return new APIPromise($do47(client, request, options));
45978
46784
  }
45979
- async function $do42(client, request, options) {
46785
+ async function $do47(client, request, options) {
45980
46786
  const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
45981
46787
  if (!parsed.ok) {
45982
46788
  return [parsed, { status: "invalid" }];
@@ -46045,12 +46851,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
46045
46851
  });
46046
46852
 
46047
46853
  // src/mcp-server/tools/uniswapV3SwapSellExactly.ts
46048
- var args42, tool$uniswapV3SwapSellExactly;
46854
+ var args47, tool$uniswapV3SwapSellExactly;
46049
46855
  var init_uniswapV3SwapSellExactly2 = __esm(() => {
46050
46856
  init_uniswapV3SwapSellExactly();
46051
46857
  init_components();
46052
46858
  init_tools();
46053
- args42 = {
46859
+ args47 = {
46054
46860
  request: UniswapSellExactlyRequest$inboundSchema
46055
46861
  };
46056
46862
  tool$uniswapV3SwapSellExactly = {
@@ -46064,9 +46870,9 @@ The transaction is executed on the specified blockchain network, and the user mu
46064
46870
  provide the necessary transaction details, including the token to sell, the token to
46065
46871
  receive, and the amount to sell. If the token being sold is WETH and needs to be
46066
46872
  wrapped, the appropriate amount will be wrapped automatically.`,
46067
- args: args42,
46068
- tool: async (client, args43, ctx) => {
46069
- const [result, apiCall] = await uniswapV3SwapSellExactly(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46873
+ args: args47,
46874
+ tool: async (client, args48, ctx) => {
46875
+ const [result, apiCall] = await uniswapV3SwapSellExactly(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46070
46876
  if (!result.ok) {
46071
46877
  return {
46072
46878
  content: [{ type: "text", text: result.error.message }],
@@ -46081,9 +46887,9 @@ wrapped, the appropriate amount will be wrapped automatically.`,
46081
46887
 
46082
46888
  // src/funcs/universalAllowance.ts
46083
46889
  function universalAllowance(client, request, options) {
46084
- return new APIPromise($do43(client, request, options));
46890
+ return new APIPromise($do48(client, request, options));
46085
46891
  }
46086
- async function $do43(client, request, options) {
46892
+ async function $do48(client, request, options) {
46087
46893
  const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
46088
46894
  if (!parsed.ok) {
46089
46895
  return [parsed, { status: "invalid" }];
@@ -46159,12 +46965,12 @@ var init_universalAllowance = __esm(() => {
46159
46965
  });
46160
46966
 
46161
46967
  // src/mcp-server/tools/universalAllowance.ts
46162
- var args43, tool$universalAllowance;
46968
+ var args48, tool$universalAllowance;
46163
46969
  var init_universalAllowance2 = __esm(() => {
46164
46970
  init_universalAllowance();
46165
46971
  init_operations();
46166
46972
  init_tools();
46167
- args43 = {
46973
+ args48 = {
46168
46974
  request: GenericAllowanceRequest$inboundSchema
46169
46975
  };
46170
46976
  tool$universalAllowance = {
@@ -46178,9 +46984,9 @@ tokens on their behalf.
46178
46984
  This is a crucial step before engaging in any transactions or operations within
46179
46985
  these protocols, ensuring that the protocol has the necessary permissions to manage
46180
46986
  the user's tokens securely and efficiently.`,
46181
- args: args43,
46182
- tool: async (client, args44, ctx) => {
46183
- const [result, apiCall] = await universalAllowance(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46987
+ args: args48,
46988
+ tool: async (client, args49, ctx) => {
46989
+ const [result, apiCall] = await universalAllowance(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46184
46990
  if (!result.ok) {
46185
46991
  return {
46186
46992
  content: [{ type: "text", text: result.error.message }],
@@ -46195,9 +47001,9 @@ the user's tokens securely and efficiently.`,
46195
47001
 
46196
47002
  // src/funcs/universalAllowanceSet.ts
46197
47003
  function universalAllowanceSet(client, request, options) {
46198
- return new APIPromise($do44(client, request, options));
47004
+ return new APIPromise($do49(client, request, options));
46199
47005
  }
46200
- async function $do44(client, request, options) {
47006
+ async function $do49(client, request, options) {
46201
47007
  const parsed = safeParse(request, (value) => IncreaseAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
46202
47008
  if (!parsed.ok) {
46203
47009
  return [parsed, { status: "invalid" }];
@@ -46266,12 +47072,12 @@ var init_universalAllowanceSet = __esm(() => {
46266
47072
  });
46267
47073
 
46268
47074
  // src/mcp-server/tools/universalAllowanceSet.ts
46269
- var args44, tool$universalAllowanceSet;
47075
+ var args49, tool$universalAllowanceSet;
46270
47076
  var init_universalAllowanceSet2 = __esm(() => {
46271
47077
  init_universalAllowanceSet();
46272
47078
  init_components();
46273
47079
  init_tools();
46274
- args44 = {
47080
+ args49 = {
46275
47081
  request: IncreaseAllowanceRequest$inboundSchema
46276
47082
  };
46277
47083
  tool$universalAllowanceSet = {
@@ -46285,9 +47091,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
46285
47091
  This operation is crucial for ensuring that the protocol can manage the user's
46286
47092
  tokens securely and efficiently, enabling seamless transactions and operations
46287
47093
  within the DeFi ecosystem.`,
46288
- args: args44,
46289
- tool: async (client, args45, ctx) => {
46290
- const [result, apiCall] = await universalAllowanceSet(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47094
+ args: args49,
47095
+ tool: async (client, args50, ctx) => {
47096
+ const [result, apiCall] = await universalAllowanceSet(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46291
47097
  if (!result.ok) {
46292
47098
  return {
46293
47099
  content: [{ type: "text", text: result.error.message }],
@@ -46302,9 +47108,9 @@ within the DeFi ecosystem.`,
46302
47108
 
46303
47109
  // src/funcs/universalEns.ts
46304
47110
  function universalEns(client, request, options) {
46305
- return new APIPromise($do45(client, request, options));
47111
+ return new APIPromise($do50(client, request, options));
46306
47112
  }
46307
- async function $do45(client, request, options) {
47113
+ async function $do50(client, request, options) {
46308
47114
  const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
46309
47115
  if (!parsed.ok) {
46310
47116
  return [parsed, { status: "invalid" }];
@@ -46378,12 +47184,12 @@ var init_universalEns = __esm(() => {
46378
47184
  });
46379
47185
 
46380
47186
  // src/mcp-server/tools/universalEns.ts
46381
- var args45, tool$universalEns;
47187
+ var args50, tool$universalEns;
46382
47188
  var init_universalEns2 = __esm(() => {
46383
47189
  init_universalEns();
46384
47190
  init_operations();
46385
47191
  init_tools();
46386
- args45 = {
47192
+ args50 = {
46387
47193
  request: GenericEnsRequest$inboundSchema
46388
47194
  };
46389
47195
  tool$universalEns = {
@@ -46394,9 +47200,9 @@ An ENS name is a string ending in \`.eth\`.
46394
47200
 
46395
47201
  E.g. \`vitalik.eth\`. This endpoint can be used to
46396
47202
  query the actual ethereum wallet address behind the ENS name.`,
46397
- args: args45,
46398
- tool: async (client, args46, ctx) => {
46399
- const [result, apiCall] = await universalEns(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47203
+ args: args50,
47204
+ tool: async (client, args51, ctx) => {
47205
+ const [result, apiCall] = await universalEns(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46400
47206
  if (!result.ok) {
46401
47207
  return {
46402
47208
  content: [{ type: "text", text: result.error.message }],
@@ -46411,9 +47217,9 @@ query the actual ethereum wallet address behind the ENS name.`,
46411
47217
 
46412
47218
  // src/funcs/universalPortfolio.ts
46413
47219
  function universalPortfolio(client, request, options) {
46414
- return new APIPromise($do46(client, request, options));
47220
+ return new APIPromise($do51(client, request, options));
46415
47221
  }
46416
- async function $do46(client, request, options) {
47222
+ async function $do51(client, request, options) {
46417
47223
  const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
46418
47224
  if (!parsed.ok) {
46419
47225
  return [parsed, { status: "invalid" }];
@@ -46487,12 +47293,12 @@ var init_universalPortfolio = __esm(() => {
46487
47293
  });
46488
47294
 
46489
47295
  // src/mcp-server/tools/universalPortfolio.ts
46490
- var args46, tool$universalPortfolio;
47296
+ var args51, tool$universalPortfolio;
46491
47297
  var init_universalPortfolio2 = __esm(() => {
46492
47298
  init_universalPortfolio();
46493
47299
  init_operations();
46494
47300
  init_tools();
46495
- args46 = {
47301
+ args51 = {
46496
47302
  request: GenericPortfolioRequest$inboundSchema
46497
47303
  };
46498
47304
  tool$universalPortfolio = {
@@ -46503,9 +47309,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
46503
47309
 
46504
47310
  This includes the total value of the portfolio in USD and a breakdown of token
46505
47311
  balances, including their respective values and quantities.`,
46506
- args: args46,
46507
- tool: async (client, args47, ctx) => {
46508
- const [result, apiCall] = await universalPortfolio(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47312
+ args: args51,
47313
+ tool: async (client, args52, ctx) => {
47314
+ const [result, apiCall] = await universalPortfolio(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46509
47315
  if (!result.ok) {
46510
47316
  return {
46511
47317
  content: [{ type: "text", text: result.error.message }],
@@ -46520,9 +47326,9 @@ balances, including their respective values and quantities.`,
46520
47326
 
46521
47327
  // src/funcs/universalSupportedTokens.ts
46522
47328
  function universalSupportedTokens(client, request, options) {
46523
- return new APIPromise($do47(client, request, options));
47329
+ return new APIPromise($do52(client, request, options));
46524
47330
  }
46525
- async function $do47(client, request, options) {
47331
+ async function $do52(client, request, options) {
46526
47332
  const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
46527
47333
  if (!parsed.ok) {
46528
47334
  return [parsed, { status: "invalid" }];
@@ -46595,12 +47401,12 @@ var init_universalSupportedTokens = __esm(() => {
46595
47401
  });
46596
47402
 
46597
47403
  // src/mcp-server/tools/universalSupportedTokens.ts
46598
- var args47, tool$universalSupportedTokens;
47404
+ var args52, tool$universalSupportedTokens;
46599
47405
  var init_universalSupportedTokens2 = __esm(() => {
46600
47406
  init_universalSupportedTokens();
46601
47407
  init_operations();
46602
47408
  init_tools();
46603
- args47 = {
47409
+ args52 = {
46604
47410
  request: GenericSupportedTokensRequest$inboundSchema
46605
47411
  };
46606
47412
  tool$universalSupportedTokens = {
@@ -46608,9 +47414,9 @@ var init_universalSupportedTokens2 = __esm(() => {
46608
47414
  description: `List supported tokens
46609
47415
 
46610
47416
  Get the list of supported tokens on a chain by the Compass API.`,
46611
- args: args47,
46612
- tool: async (client, args48, ctx) => {
46613
- const [result, apiCall] = await universalSupportedTokens(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47417
+ args: args52,
47418
+ tool: async (client, args53, ctx) => {
47419
+ const [result, apiCall] = await universalSupportedTokens(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46614
47420
  if (!result.ok) {
46615
47421
  return {
46616
47422
  content: [{ type: "text", text: result.error.message }],
@@ -46625,9 +47431,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
46625
47431
 
46626
47432
  // src/funcs/universalUnwrapWeth.ts
46627
47433
  function universalUnwrapWeth(client, request, options) {
46628
- return new APIPromise($do48(client, request, options));
47434
+ return new APIPromise($do53(client, request, options));
46629
47435
  }
46630
- async function $do48(client, request, options) {
47436
+ async function $do53(client, request, options) {
46631
47437
  const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
46632
47438
  if (!parsed.ok) {
46633
47439
  return [parsed, { status: "invalid" }];
@@ -46696,12 +47502,12 @@ var init_universalUnwrapWeth = __esm(() => {
46696
47502
  });
46697
47503
 
46698
47504
  // src/mcp-server/tools/universalUnwrapWeth.ts
46699
- var args48, tool$universalUnwrapWeth;
47505
+ var args53, tool$universalUnwrapWeth;
46700
47506
  var init_universalUnwrapWeth2 = __esm(() => {
46701
47507
  init_universalUnwrapWeth();
46702
47508
  init_components();
46703
47509
  init_tools();
46704
- args48 = {
47510
+ args53 = {
46705
47511
  request: UnwrapWethRequest$inboundSchema
46706
47512
  };
46707
47513
  tool$universalUnwrapWeth = {
@@ -46710,9 +47516,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
46710
47516
 
46711
47517
  Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
46712
47518
  can be used for gas and other native purposes.`,
46713
- args: args48,
46714
- tool: async (client, args49, ctx) => {
46715
- const [result, apiCall] = await universalUnwrapWeth(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47519
+ args: args53,
47520
+ tool: async (client, args54, ctx) => {
47521
+ const [result, apiCall] = await universalUnwrapWeth(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46716
47522
  if (!result.ok) {
46717
47523
  return {
46718
47524
  content: [{ type: "text", text: result.error.message }],
@@ -46727,9 +47533,9 @@ can be used for gas and other native purposes.`,
46727
47533
 
46728
47534
  // src/funcs/universalVisualizePortfolio.ts
46729
47535
  function universalVisualizePortfolio(client, request, options) {
46730
- return new APIPromise($do49(client, request, options));
47536
+ return new APIPromise($do54(client, request, options));
46731
47537
  }
46732
- async function $do49(client, request, options) {
47538
+ async function $do54(client, request, options) {
46733
47539
  const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
46734
47540
  if (!parsed.ok) {
46735
47541
  return [parsed, { status: "invalid" }];
@@ -46803,12 +47609,12 @@ var init_universalVisualizePortfolio = __esm(() => {
46803
47609
  });
46804
47610
 
46805
47611
  // src/mcp-server/tools/universalVisualizePortfolio.ts
46806
- var args49, tool$universalVisualizePortfolio;
47612
+ var args54, tool$universalVisualizePortfolio;
46807
47613
  var init_universalVisualizePortfolio2 = __esm(() => {
46808
47614
  init_universalVisualizePortfolio();
46809
47615
  init_operations();
46810
47616
  init_tools();
46811
- args49 = {
47617
+ args54 = {
46812
47618
  request: GenericVisualizePortfolioRequest$inboundSchema
46813
47619
  };
46814
47620
  tool$universalVisualizePortfolio = {
@@ -46820,9 +47626,9 @@ Generate a visual representation of the token portfolio for a wallet address.
46820
47626
  The response is an SVG image of a pie chart depicting the relative distribution of
46821
47627
  tokens held, colored and labeled with token symbols, percentages and token values in
46822
47628
  USD.`,
46823
- args: args49,
46824
- tool: async (client, args50, ctx) => {
46825
- const [result, apiCall] = await universalVisualizePortfolio(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47629
+ args: args54,
47630
+ tool: async (client, args55, ctx) => {
47631
+ const [result, apiCall] = await universalVisualizePortfolio(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46826
47632
  if (!result.ok) {
46827
47633
  return {
46828
47634
  content: [{ type: "text", text: result.error.message }],
@@ -46837,9 +47643,9 @@ USD.`,
46837
47643
 
46838
47644
  // src/funcs/universalWrapEth.ts
46839
47645
  function universalWrapEth(client, request, options) {
46840
- return new APIPromise($do50(client, request, options));
47646
+ return new APIPromise($do55(client, request, options));
46841
47647
  }
46842
- async function $do50(client, request, options) {
47648
+ async function $do55(client, request, options) {
46843
47649
  const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
46844
47650
  if (!parsed.ok) {
46845
47651
  return [parsed, { status: "invalid" }];
@@ -46908,12 +47714,12 @@ var init_universalWrapEth = __esm(() => {
46908
47714
  });
46909
47715
 
46910
47716
  // src/mcp-server/tools/universalWrapEth.ts
46911
- var args50, tool$universalWrapEth;
47717
+ var args55, tool$universalWrapEth;
46912
47718
  var init_universalWrapEth2 = __esm(() => {
46913
47719
  init_universalWrapEth();
46914
47720
  init_components();
46915
47721
  init_tools();
46916
- args50 = {
47722
+ args55 = {
46917
47723
  request: WrapEthRequest$inboundSchema
46918
47724
  };
46919
47725
  tool$universalWrapEth = {
@@ -46922,9 +47728,9 @@ var init_universalWrapEth2 = __esm(() => {
46922
47728
 
46923
47729
  Wrapping ETH creates an ERC-20 compliant form of ETH that is typically needed for
46924
47730
  it to be traded on DeFi protocols.`,
46925
- args: args50,
46926
- tool: async (client, args51, ctx) => {
46927
- const [result, apiCall] = await universalWrapEth(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47731
+ args: args55,
47732
+ tool: async (client, args56, ctx) => {
47733
+ const [result, apiCall] = await universalWrapEth(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46928
47734
  if (!result.ok) {
46929
47735
  return {
46930
47736
  content: [{ type: "text", text: result.error.message }],
@@ -46941,7 +47747,7 @@ it to be traded on DeFi protocols.`,
46941
47747
  function createMCPServer(deps) {
46942
47748
  const server = new McpServer({
46943
47749
  name: "CompassApiSDK",
46944
- version: "0.0.11"
47750
+ version: "0.0.13"
46945
47751
  });
46946
47752
  const client = new CompassApiSDKCore({
46947
47753
  apiKeyAuth: deps.apiKeyAuth,
@@ -46981,6 +47787,11 @@ function createMCPServer(deps) {
46981
47787
  tool(tool$morphoWithdrawCollateral);
46982
47788
  tool(tool$morphoBorrow);
46983
47789
  tool(tool$morphoRepay);
47790
+ tool(tool$skyPosition);
47791
+ tool(tool$skyBuy);
47792
+ tool(tool$skySell);
47793
+ tool(tool$skyDeposit);
47794
+ tool(tool$skyWithdraw);
46984
47795
  tool(tool$tokenAddress);
46985
47796
  tool(tool$tokenPrice);
46986
47797
  tool(tool$tokenBalance);
@@ -47038,6 +47849,11 @@ var init_server2 = __esm(() => {
47038
47849
  init_morphoVaults2();
47039
47850
  init_morphoWithdraw2();
47040
47851
  init_morphoWithdrawCollateral2();
47852
+ init_skyBuy2();
47853
+ init_skyDeposit2();
47854
+ init_skyPosition2();
47855
+ init_skySell2();
47856
+ init_skyWithdraw2();
47041
47857
  init_tokenAddress2();
47042
47858
  init_tokenBalance2();
47043
47859
  init_tokenPrice2();
@@ -48252,7 +49068,7 @@ var routes = an({
48252
49068
  var app = He(routes, {
48253
49069
  name: "mcp",
48254
49070
  versionInfo: {
48255
- currentVersion: "0.0.11"
49071
+ currentVersion: "0.0.13"
48256
49072
  }
48257
49073
  });
48258
49074
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -48260,5 +49076,5 @@ export {
48260
49076
  app
48261
49077
  };
48262
49078
 
48263
- //# debugId=B7DC75F8DA16DBAB64756E2164756E21
49079
+ //# debugId=27D71A19A4D8A3CD64756E2164756E21
48264
49080
  //# sourceMappingURL=mcp-server.js.map