@compass-labs/api-sdk 0.5.0 → 0.5.2

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 (639) hide show
  1. package/bin/mcp-server.js +645 -197
  2. package/bin/mcp-server.js.map +74 -75
  3. package/dist/commonjs/lib/config.d.ts +2 -2
  4. package/dist/commonjs/lib/config.js +2 -2
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/components/aaveborrowparams.d.ts +2 -0
  8. package/dist/commonjs/models/components/aaveborrowparams.d.ts.map +1 -1
  9. package/dist/commonjs/models/components/aaveborrowparams.js +4 -0
  10. package/dist/commonjs/models/components/aaveborrowparams.js.map +1 -1
  11. package/dist/commonjs/models/components/aaveborrowrequest.d.ts +2 -0
  12. package/dist/commonjs/models/components/aaveborrowrequest.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/aaveborrowrequest.js +4 -0
  14. package/dist/commonjs/models/components/aaveborrowrequest.js.map +1 -1
  15. package/dist/commonjs/models/components/aaverepayparams.d.ts +2 -0
  16. package/dist/commonjs/models/components/aaverepayparams.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/aaverepayparams.js +4 -0
  18. package/dist/commonjs/models/components/aaverepayparams.js.map +1 -1
  19. package/dist/commonjs/models/components/aaverepayrequest.d.ts +2 -0
  20. package/dist/commonjs/models/components/aaverepayrequest.d.ts.map +1 -1
  21. package/dist/commonjs/models/components/aaverepayrequest.js +4 -0
  22. package/dist/commonjs/models/components/aaverepayrequest.js.map +1 -1
  23. package/dist/commonjs/models/components/aavesupplyparams.d.ts +2 -0
  24. package/dist/commonjs/models/components/aavesupplyparams.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/aavesupplyparams.js +4 -0
  26. package/dist/commonjs/models/components/aavesupplyparams.js.map +1 -1
  27. package/dist/commonjs/models/components/aavesupplyrequest.d.ts +2 -0
  28. package/dist/commonjs/models/components/aavesupplyrequest.d.ts.map +1 -1
  29. package/dist/commonjs/models/components/aavesupplyrequest.js +4 -0
  30. package/dist/commonjs/models/components/aavesupplyrequest.js.map +1 -1
  31. package/dist/commonjs/models/components/aavewithdrawparams.d.ts +2 -0
  32. package/dist/commonjs/models/components/aavewithdrawparams.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/aavewithdrawparams.js +11 -0
  34. package/dist/commonjs/models/components/aavewithdrawparams.js.map +1 -1
  35. package/dist/commonjs/models/components/aavewithdrawrequest.d.ts +2 -0
  36. package/dist/commonjs/models/components/aavewithdrawrequest.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/aavewithdrawrequest.js +11 -0
  38. package/dist/commonjs/models/components/aavewithdrawrequest.js.map +1 -1
  39. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts +2 -0
  40. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js +4 -0
  42. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -1
  43. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +2 -0
  44. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
  45. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js +4 -0
  46. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
  47. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts +2 -0
  48. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js +6 -0
  50. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js.map +1 -1
  51. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +2 -0
  52. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +6 -0
  54. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
  55. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +2 -0
  56. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -1
  57. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js +6 -0
  58. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -1
  59. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +2 -0
  60. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +6 -0
  62. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
  63. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts +2 -0
  64. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -1
  65. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js +4 -0
  66. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -1
  67. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +2 -0
  68. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
  69. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js +4 -0
  70. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
  71. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts +2 -0
  72. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts.map +1 -1
  73. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js +6 -0
  74. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js.map +1 -1
  75. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +2 -0
  76. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
  77. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +6 -0
  78. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
  79. package/dist/commonjs/models/components/increaseallowanceparams.d.ts +2 -0
  80. package/dist/commonjs/models/components/increaseallowanceparams.d.ts.map +1 -1
  81. package/dist/commonjs/models/components/increaseallowanceparams.js +4 -0
  82. package/dist/commonjs/models/components/increaseallowanceparams.js.map +1 -1
  83. package/dist/commonjs/models/components/increaseallowancerequest.d.ts +2 -0
  84. package/dist/commonjs/models/components/increaseallowancerequest.d.ts.map +1 -1
  85. package/dist/commonjs/models/components/increaseallowancerequest.js +4 -0
  86. package/dist/commonjs/models/components/increaseallowancerequest.js.map +1 -1
  87. package/dist/commonjs/models/components/index.d.ts +0 -1
  88. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  89. package/dist/commonjs/models/components/index.js +0 -1
  90. package/dist/commonjs/models/components/index.js.map +1 -1
  91. package/dist/commonjs/models/components/morphoborrowparams.d.ts +2 -0
  92. package/dist/commonjs/models/components/morphoborrowparams.d.ts.map +1 -1
  93. package/dist/commonjs/models/components/morphoborrowparams.js +4 -0
  94. package/dist/commonjs/models/components/morphoborrowparams.js.map +1 -1
  95. package/dist/commonjs/models/components/morphoborrowrequest.d.ts +2 -0
  96. package/dist/commonjs/models/components/morphoborrowrequest.d.ts.map +1 -1
  97. package/dist/commonjs/models/components/morphoborrowrequest.js +4 -0
  98. package/dist/commonjs/models/components/morphoborrowrequest.js.map +1 -1
  99. package/dist/commonjs/models/components/morphodepositparams.d.ts +2 -0
  100. package/dist/commonjs/models/components/morphodepositparams.d.ts.map +1 -1
  101. package/dist/commonjs/models/components/morphodepositparams.js +4 -0
  102. package/dist/commonjs/models/components/morphodepositparams.js.map +1 -1
  103. package/dist/commonjs/models/components/morphodepositrequest.d.ts +2 -0
  104. package/dist/commonjs/models/components/morphodepositrequest.d.ts.map +1 -1
  105. package/dist/commonjs/models/components/morphodepositrequest.js +4 -0
  106. package/dist/commonjs/models/components/morphodepositrequest.js.map +1 -1
  107. package/dist/commonjs/models/components/morphorepayparams.d.ts +2 -0
  108. package/dist/commonjs/models/components/morphorepayparams.d.ts.map +1 -1
  109. package/dist/commonjs/models/components/morphorepayparams.js +4 -0
  110. package/dist/commonjs/models/components/morphorepayparams.js.map +1 -1
  111. package/dist/commonjs/models/components/morphorepayrequest.d.ts +2 -0
  112. package/dist/commonjs/models/components/morphorepayrequest.d.ts.map +1 -1
  113. package/dist/commonjs/models/components/morphorepayrequest.js +4 -0
  114. package/dist/commonjs/models/components/morphorepayrequest.js.map +1 -1
  115. package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts +2 -0
  116. package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts.map +1 -1
  117. package/dist/commonjs/models/components/morphosetvaultallowanceparams.js +4 -0
  118. package/dist/commonjs/models/components/morphosetvaultallowanceparams.js.map +1 -1
  119. package/dist/commonjs/models/components/morphosetvaultallowancerequest.d.ts +2 -0
  120. package/dist/commonjs/models/components/morphosetvaultallowancerequest.d.ts.map +1 -1
  121. package/dist/commonjs/models/components/morphosetvaultallowancerequest.js +4 -0
  122. package/dist/commonjs/models/components/morphosetvaultallowancerequest.js.map +1 -1
  123. package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts +2 -0
  124. package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts.map +1 -1
  125. package/dist/commonjs/models/components/morphosupplycollateralparams.js +4 -0
  126. package/dist/commonjs/models/components/morphosupplycollateralparams.js.map +1 -1
  127. package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts +2 -0
  128. package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
  129. package/dist/commonjs/models/components/morphosupplycollateralrequest.js +4 -0
  130. package/dist/commonjs/models/components/morphosupplycollateralrequest.js.map +1 -1
  131. package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts +2 -0
  132. package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts.map +1 -1
  133. package/dist/commonjs/models/components/morphowithdrawcollateralparams.js +4 -0
  134. package/dist/commonjs/models/components/morphowithdrawcollateralparams.js.map +1 -1
  135. package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts +2 -0
  136. package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
  137. package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js +4 -0
  138. package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js.map +1 -1
  139. package/dist/commonjs/models/components/morphowithdrawparams.d.ts +2 -0
  140. package/dist/commonjs/models/components/morphowithdrawparams.d.ts.map +1 -1
  141. package/dist/commonjs/models/components/morphowithdrawparams.js +4 -0
  142. package/dist/commonjs/models/components/morphowithdrawparams.js.map +1 -1
  143. package/dist/commonjs/models/components/morphowithdrawrequest.d.ts +2 -0
  144. package/dist/commonjs/models/components/morphowithdrawrequest.d.ts.map +1 -1
  145. package/dist/commonjs/models/components/morphowithdrawrequest.js +4 -0
  146. package/dist/commonjs/models/components/morphowithdrawrequest.js.map +1 -1
  147. package/dist/commonjs/models/components/pendlebuyptparams.d.ts +2 -0
  148. package/dist/commonjs/models/components/pendlebuyptparams.d.ts.map +1 -1
  149. package/dist/commonjs/models/components/pendlebuyptparams.js +4 -0
  150. package/dist/commonjs/models/components/pendlebuyptparams.js.map +1 -1
  151. package/dist/commonjs/models/components/pendlebuyptrequest.d.ts +2 -0
  152. package/dist/commonjs/models/components/pendlebuyptrequest.d.ts.map +1 -1
  153. package/dist/commonjs/models/components/pendlebuyptrequest.js +4 -0
  154. package/dist/commonjs/models/components/pendlebuyptrequest.js.map +1 -1
  155. package/dist/commonjs/models/components/pendlebuyytparams.d.ts +2 -0
  156. package/dist/commonjs/models/components/pendlebuyytparams.d.ts.map +1 -1
  157. package/dist/commonjs/models/components/pendlebuyytparams.js +4 -0
  158. package/dist/commonjs/models/components/pendlebuyytparams.js.map +1 -1
  159. package/dist/commonjs/models/components/pendlebuyytrequest.d.ts +2 -0
  160. package/dist/commonjs/models/components/pendlebuyytrequest.d.ts.map +1 -1
  161. package/dist/commonjs/models/components/pendlebuyytrequest.js +4 -0
  162. package/dist/commonjs/models/components/pendlebuyytrequest.js.map +1 -1
  163. package/dist/commonjs/models/components/pendlesellptparams.d.ts +2 -0
  164. package/dist/commonjs/models/components/pendlesellptparams.d.ts.map +1 -1
  165. package/dist/commonjs/models/components/pendlesellptparams.js +4 -0
  166. package/dist/commonjs/models/components/pendlesellptparams.js.map +1 -1
  167. package/dist/commonjs/models/components/pendlesellptrequest.d.ts +2 -0
  168. package/dist/commonjs/models/components/pendlesellptrequest.d.ts.map +1 -1
  169. package/dist/commonjs/models/components/pendlesellptrequest.js +4 -0
  170. package/dist/commonjs/models/components/pendlesellptrequest.js.map +1 -1
  171. package/dist/commonjs/models/components/pendlesellytparams.d.ts +2 -0
  172. package/dist/commonjs/models/components/pendlesellytparams.d.ts.map +1 -1
  173. package/dist/commonjs/models/components/pendlesellytparams.js +4 -0
  174. package/dist/commonjs/models/components/pendlesellytparams.js.map +1 -1
  175. package/dist/commonjs/models/components/pendlesellytrequest.d.ts +2 -0
  176. package/dist/commonjs/models/components/pendlesellytrequest.d.ts.map +1 -1
  177. package/dist/commonjs/models/components/pendlesellytrequest.js +4 -0
  178. package/dist/commonjs/models/components/pendlesellytrequest.js.map +1 -1
  179. package/dist/commonjs/models/components/skybuyparams.d.ts +2 -0
  180. package/dist/commonjs/models/components/skybuyparams.d.ts.map +1 -1
  181. package/dist/commonjs/models/components/skybuyparams.js +4 -0
  182. package/dist/commonjs/models/components/skybuyparams.js.map +1 -1
  183. package/dist/commonjs/models/components/skybuyrequest.d.ts +2 -0
  184. package/dist/commonjs/models/components/skybuyrequest.d.ts.map +1 -1
  185. package/dist/commonjs/models/components/skybuyrequest.js +4 -0
  186. package/dist/commonjs/models/components/skybuyrequest.js.map +1 -1
  187. package/dist/commonjs/models/components/skydepositparams.d.ts +2 -0
  188. package/dist/commonjs/models/components/skydepositparams.d.ts.map +1 -1
  189. package/dist/commonjs/models/components/skydepositparams.js +11 -0
  190. package/dist/commonjs/models/components/skydepositparams.js.map +1 -1
  191. package/dist/commonjs/models/components/skydepositrequest.d.ts +2 -0
  192. package/dist/commonjs/models/components/skydepositrequest.d.ts.map +1 -1
  193. package/dist/commonjs/models/components/skydepositrequest.js +11 -0
  194. package/dist/commonjs/models/components/skydepositrequest.js.map +1 -1
  195. package/dist/commonjs/models/components/skysellparams.d.ts +2 -0
  196. package/dist/commonjs/models/components/skysellparams.d.ts.map +1 -1
  197. package/dist/commonjs/models/components/skysellparams.js +4 -0
  198. package/dist/commonjs/models/components/skysellparams.js.map +1 -1
  199. package/dist/commonjs/models/components/skysellrequest.d.ts +2 -0
  200. package/dist/commonjs/models/components/skysellrequest.d.ts.map +1 -1
  201. package/dist/commonjs/models/components/skysellrequest.js +4 -0
  202. package/dist/commonjs/models/components/skysellrequest.js.map +1 -1
  203. package/dist/commonjs/models/components/skywithdrawparams.d.ts +2 -0
  204. package/dist/commonjs/models/components/skywithdrawparams.d.ts.map +1 -1
  205. package/dist/commonjs/models/components/skywithdrawparams.js +11 -0
  206. package/dist/commonjs/models/components/skywithdrawparams.js.map +1 -1
  207. package/dist/commonjs/models/components/skywithdrawrequest.d.ts +2 -0
  208. package/dist/commonjs/models/components/skywithdrawrequest.d.ts.map +1 -1
  209. package/dist/commonjs/models/components/skywithdrawrequest.js +11 -0
  210. package/dist/commonjs/models/components/skywithdrawrequest.js.map +1 -1
  211. package/dist/commonjs/models/components/tokentransfererc20params.d.ts +2 -0
  212. package/dist/commonjs/models/components/tokentransfererc20params.d.ts.map +1 -1
  213. package/dist/commonjs/models/components/tokentransfererc20params.js +11 -0
  214. package/dist/commonjs/models/components/tokentransfererc20params.js.map +1 -1
  215. package/dist/commonjs/models/components/tokentransferrequest.d.ts +2 -0
  216. package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
  217. package/dist/commonjs/models/components/tokentransferrequest.js +11 -0
  218. package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
  219. package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts +2 -0
  220. package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  221. package/dist/commonjs/models/components/uniswapbuyexactlyparams.js +4 -0
  222. package/dist/commonjs/models/components/uniswapbuyexactlyparams.js.map +1 -1
  223. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts +2 -0
  224. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  225. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js +4 -0
  226. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  227. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.d.ts +2 -0
  228. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.d.ts.map +1 -1
  229. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.js +4 -0
  230. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.js.map +1 -1
  231. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +2 -0
  232. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
  233. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js +4 -0
  234. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
  235. package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts +2 -0
  236. package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -1
  237. package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js +4 -0
  238. package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js.map +1 -1
  239. package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts +2 -0
  240. package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
  241. package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js +4 -0
  242. package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
  243. package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts +2 -0
  244. package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
  245. package/dist/commonjs/models/components/uniswapsellexactlyparams.js +4 -0
  246. package/dist/commonjs/models/components/uniswapsellexactlyparams.js.map +1 -1
  247. package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts +2 -0
  248. package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
  249. package/dist/commonjs/models/components/uniswapsellexactlyrequest.js +4 -0
  250. package/dist/commonjs/models/components/uniswapsellexactlyrequest.js.map +1 -1
  251. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.d.ts +2 -0
  252. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.d.ts.map +1 -1
  253. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.js +4 -0
  254. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.js.map +1 -1
  255. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +2 -0
  256. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
  257. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js +4 -0
  258. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
  259. package/dist/commonjs/models/components/unwrapwethparams.d.ts +2 -0
  260. package/dist/commonjs/models/components/unwrapwethparams.d.ts.map +1 -1
  261. package/dist/commonjs/models/components/unwrapwethparams.js +11 -0
  262. package/dist/commonjs/models/components/unwrapwethparams.js.map +1 -1
  263. package/dist/commonjs/models/components/unwrapwethrequest.d.ts +2 -0
  264. package/dist/commonjs/models/components/unwrapwethrequest.d.ts.map +1 -1
  265. package/dist/commonjs/models/components/unwrapwethrequest.js +11 -0
  266. package/dist/commonjs/models/components/unwrapwethrequest.js.map +1 -1
  267. package/dist/commonjs/models/components/useroperation.d.ts +432 -9
  268. package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
  269. package/dist/commonjs/models/components/useroperation.js +316 -144
  270. package/dist/commonjs/models/components/useroperation.js.map +1 -1
  271. package/dist/commonjs/models/components/wrapethparams.d.ts +2 -0
  272. package/dist/commonjs/models/components/wrapethparams.d.ts.map +1 -1
  273. package/dist/commonjs/models/components/wrapethparams.js +11 -0
  274. package/dist/commonjs/models/components/wrapethparams.js.map +1 -1
  275. package/dist/commonjs/models/components/wrapethrequest.d.ts +2 -0
  276. package/dist/commonjs/models/components/wrapethrequest.d.ts.map +1 -1
  277. package/dist/commonjs/models/components/wrapethrequest.js +11 -0
  278. package/dist/commonjs/models/components/wrapethrequest.js.map +1 -1
  279. package/dist/esm/lib/config.d.ts +2 -2
  280. package/dist/esm/lib/config.js +2 -2
  281. package/dist/esm/mcp-server/mcp-server.js +1 -1
  282. package/dist/esm/mcp-server/server.js +1 -1
  283. package/dist/esm/models/components/aaveborrowparams.d.ts +2 -0
  284. package/dist/esm/models/components/aaveborrowparams.d.ts.map +1 -1
  285. package/dist/esm/models/components/aaveborrowparams.js +4 -0
  286. package/dist/esm/models/components/aaveborrowparams.js.map +1 -1
  287. package/dist/esm/models/components/aaveborrowrequest.d.ts +2 -0
  288. package/dist/esm/models/components/aaveborrowrequest.d.ts.map +1 -1
  289. package/dist/esm/models/components/aaveborrowrequest.js +4 -0
  290. package/dist/esm/models/components/aaveborrowrequest.js.map +1 -1
  291. package/dist/esm/models/components/aaverepayparams.d.ts +2 -0
  292. package/dist/esm/models/components/aaverepayparams.d.ts.map +1 -1
  293. package/dist/esm/models/components/aaverepayparams.js +4 -0
  294. package/dist/esm/models/components/aaverepayparams.js.map +1 -1
  295. package/dist/esm/models/components/aaverepayrequest.d.ts +2 -0
  296. package/dist/esm/models/components/aaverepayrequest.d.ts.map +1 -1
  297. package/dist/esm/models/components/aaverepayrequest.js +4 -0
  298. package/dist/esm/models/components/aaverepayrequest.js.map +1 -1
  299. package/dist/esm/models/components/aavesupplyparams.d.ts +2 -0
  300. package/dist/esm/models/components/aavesupplyparams.d.ts.map +1 -1
  301. package/dist/esm/models/components/aavesupplyparams.js +4 -0
  302. package/dist/esm/models/components/aavesupplyparams.js.map +1 -1
  303. package/dist/esm/models/components/aavesupplyrequest.d.ts +2 -0
  304. package/dist/esm/models/components/aavesupplyrequest.d.ts.map +1 -1
  305. package/dist/esm/models/components/aavesupplyrequest.js +4 -0
  306. package/dist/esm/models/components/aavesupplyrequest.js.map +1 -1
  307. package/dist/esm/models/components/aavewithdrawparams.d.ts +2 -0
  308. package/dist/esm/models/components/aavewithdrawparams.d.ts.map +1 -1
  309. package/dist/esm/models/components/aavewithdrawparams.js +11 -0
  310. package/dist/esm/models/components/aavewithdrawparams.js.map +1 -1
  311. package/dist/esm/models/components/aavewithdrawrequest.d.ts +2 -0
  312. package/dist/esm/models/components/aavewithdrawrequest.d.ts.map +1 -1
  313. package/dist/esm/models/components/aavewithdrawrequest.js +11 -0
  314. package/dist/esm/models/components/aavewithdrawrequest.js.map +1 -1
  315. package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts +2 -0
  316. package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -1
  317. package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js +4 -0
  318. package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -1
  319. package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +2 -0
  320. package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
  321. package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js +4 -0
  322. package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
  323. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts +2 -0
  324. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts.map +1 -1
  325. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js +6 -0
  326. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js.map +1 -1
  327. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +2 -0
  328. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
  329. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +6 -0
  330. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
  331. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +2 -0
  332. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -1
  333. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js +6 -0
  334. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -1
  335. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +2 -0
  336. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
  337. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +6 -0
  338. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
  339. package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts +2 -0
  340. package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -1
  341. package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js +4 -0
  342. package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -1
  343. package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +2 -0
  344. package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
  345. package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js +4 -0
  346. package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
  347. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts +2 -0
  348. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts.map +1 -1
  349. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js +6 -0
  350. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js.map +1 -1
  351. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +2 -0
  352. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
  353. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +6 -0
  354. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
  355. package/dist/esm/models/components/increaseallowanceparams.d.ts +2 -0
  356. package/dist/esm/models/components/increaseallowanceparams.d.ts.map +1 -1
  357. package/dist/esm/models/components/increaseallowanceparams.js +4 -0
  358. package/dist/esm/models/components/increaseallowanceparams.js.map +1 -1
  359. package/dist/esm/models/components/increaseallowancerequest.d.ts +2 -0
  360. package/dist/esm/models/components/increaseallowancerequest.d.ts.map +1 -1
  361. package/dist/esm/models/components/increaseallowancerequest.js +4 -0
  362. package/dist/esm/models/components/increaseallowancerequest.js.map +1 -1
  363. package/dist/esm/models/components/index.d.ts +0 -1
  364. package/dist/esm/models/components/index.d.ts.map +1 -1
  365. package/dist/esm/models/components/index.js +0 -1
  366. package/dist/esm/models/components/index.js.map +1 -1
  367. package/dist/esm/models/components/morphoborrowparams.d.ts +2 -0
  368. package/dist/esm/models/components/morphoborrowparams.d.ts.map +1 -1
  369. package/dist/esm/models/components/morphoborrowparams.js +4 -0
  370. package/dist/esm/models/components/morphoborrowparams.js.map +1 -1
  371. package/dist/esm/models/components/morphoborrowrequest.d.ts +2 -0
  372. package/dist/esm/models/components/morphoborrowrequest.d.ts.map +1 -1
  373. package/dist/esm/models/components/morphoborrowrequest.js +4 -0
  374. package/dist/esm/models/components/morphoborrowrequest.js.map +1 -1
  375. package/dist/esm/models/components/morphodepositparams.d.ts +2 -0
  376. package/dist/esm/models/components/morphodepositparams.d.ts.map +1 -1
  377. package/dist/esm/models/components/morphodepositparams.js +4 -0
  378. package/dist/esm/models/components/morphodepositparams.js.map +1 -1
  379. package/dist/esm/models/components/morphodepositrequest.d.ts +2 -0
  380. package/dist/esm/models/components/morphodepositrequest.d.ts.map +1 -1
  381. package/dist/esm/models/components/morphodepositrequest.js +4 -0
  382. package/dist/esm/models/components/morphodepositrequest.js.map +1 -1
  383. package/dist/esm/models/components/morphorepayparams.d.ts +2 -0
  384. package/dist/esm/models/components/morphorepayparams.d.ts.map +1 -1
  385. package/dist/esm/models/components/morphorepayparams.js +4 -0
  386. package/dist/esm/models/components/morphorepayparams.js.map +1 -1
  387. package/dist/esm/models/components/morphorepayrequest.d.ts +2 -0
  388. package/dist/esm/models/components/morphorepayrequest.d.ts.map +1 -1
  389. package/dist/esm/models/components/morphorepayrequest.js +4 -0
  390. package/dist/esm/models/components/morphorepayrequest.js.map +1 -1
  391. package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts +2 -0
  392. package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts.map +1 -1
  393. package/dist/esm/models/components/morphosetvaultallowanceparams.js +4 -0
  394. package/dist/esm/models/components/morphosetvaultallowanceparams.js.map +1 -1
  395. package/dist/esm/models/components/morphosetvaultallowancerequest.d.ts +2 -0
  396. package/dist/esm/models/components/morphosetvaultallowancerequest.d.ts.map +1 -1
  397. package/dist/esm/models/components/morphosetvaultallowancerequest.js +4 -0
  398. package/dist/esm/models/components/morphosetvaultallowancerequest.js.map +1 -1
  399. package/dist/esm/models/components/morphosupplycollateralparams.d.ts +2 -0
  400. package/dist/esm/models/components/morphosupplycollateralparams.d.ts.map +1 -1
  401. package/dist/esm/models/components/morphosupplycollateralparams.js +4 -0
  402. package/dist/esm/models/components/morphosupplycollateralparams.js.map +1 -1
  403. package/dist/esm/models/components/morphosupplycollateralrequest.d.ts +2 -0
  404. package/dist/esm/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
  405. package/dist/esm/models/components/morphosupplycollateralrequest.js +4 -0
  406. package/dist/esm/models/components/morphosupplycollateralrequest.js.map +1 -1
  407. package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts +2 -0
  408. package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts.map +1 -1
  409. package/dist/esm/models/components/morphowithdrawcollateralparams.js +4 -0
  410. package/dist/esm/models/components/morphowithdrawcollateralparams.js.map +1 -1
  411. package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts +2 -0
  412. package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
  413. package/dist/esm/models/components/morphowithdrawcollateralrequest.js +4 -0
  414. package/dist/esm/models/components/morphowithdrawcollateralrequest.js.map +1 -1
  415. package/dist/esm/models/components/morphowithdrawparams.d.ts +2 -0
  416. package/dist/esm/models/components/morphowithdrawparams.d.ts.map +1 -1
  417. package/dist/esm/models/components/morphowithdrawparams.js +4 -0
  418. package/dist/esm/models/components/morphowithdrawparams.js.map +1 -1
  419. package/dist/esm/models/components/morphowithdrawrequest.d.ts +2 -0
  420. package/dist/esm/models/components/morphowithdrawrequest.d.ts.map +1 -1
  421. package/dist/esm/models/components/morphowithdrawrequest.js +4 -0
  422. package/dist/esm/models/components/morphowithdrawrequest.js.map +1 -1
  423. package/dist/esm/models/components/pendlebuyptparams.d.ts +2 -0
  424. package/dist/esm/models/components/pendlebuyptparams.d.ts.map +1 -1
  425. package/dist/esm/models/components/pendlebuyptparams.js +4 -0
  426. package/dist/esm/models/components/pendlebuyptparams.js.map +1 -1
  427. package/dist/esm/models/components/pendlebuyptrequest.d.ts +2 -0
  428. package/dist/esm/models/components/pendlebuyptrequest.d.ts.map +1 -1
  429. package/dist/esm/models/components/pendlebuyptrequest.js +4 -0
  430. package/dist/esm/models/components/pendlebuyptrequest.js.map +1 -1
  431. package/dist/esm/models/components/pendlebuyytparams.d.ts +2 -0
  432. package/dist/esm/models/components/pendlebuyytparams.d.ts.map +1 -1
  433. package/dist/esm/models/components/pendlebuyytparams.js +4 -0
  434. package/dist/esm/models/components/pendlebuyytparams.js.map +1 -1
  435. package/dist/esm/models/components/pendlebuyytrequest.d.ts +2 -0
  436. package/dist/esm/models/components/pendlebuyytrequest.d.ts.map +1 -1
  437. package/dist/esm/models/components/pendlebuyytrequest.js +4 -0
  438. package/dist/esm/models/components/pendlebuyytrequest.js.map +1 -1
  439. package/dist/esm/models/components/pendlesellptparams.d.ts +2 -0
  440. package/dist/esm/models/components/pendlesellptparams.d.ts.map +1 -1
  441. package/dist/esm/models/components/pendlesellptparams.js +4 -0
  442. package/dist/esm/models/components/pendlesellptparams.js.map +1 -1
  443. package/dist/esm/models/components/pendlesellptrequest.d.ts +2 -0
  444. package/dist/esm/models/components/pendlesellptrequest.d.ts.map +1 -1
  445. package/dist/esm/models/components/pendlesellptrequest.js +4 -0
  446. package/dist/esm/models/components/pendlesellptrequest.js.map +1 -1
  447. package/dist/esm/models/components/pendlesellytparams.d.ts +2 -0
  448. package/dist/esm/models/components/pendlesellytparams.d.ts.map +1 -1
  449. package/dist/esm/models/components/pendlesellytparams.js +4 -0
  450. package/dist/esm/models/components/pendlesellytparams.js.map +1 -1
  451. package/dist/esm/models/components/pendlesellytrequest.d.ts +2 -0
  452. package/dist/esm/models/components/pendlesellytrequest.d.ts.map +1 -1
  453. package/dist/esm/models/components/pendlesellytrequest.js +4 -0
  454. package/dist/esm/models/components/pendlesellytrequest.js.map +1 -1
  455. package/dist/esm/models/components/skybuyparams.d.ts +2 -0
  456. package/dist/esm/models/components/skybuyparams.d.ts.map +1 -1
  457. package/dist/esm/models/components/skybuyparams.js +4 -0
  458. package/dist/esm/models/components/skybuyparams.js.map +1 -1
  459. package/dist/esm/models/components/skybuyrequest.d.ts +2 -0
  460. package/dist/esm/models/components/skybuyrequest.d.ts.map +1 -1
  461. package/dist/esm/models/components/skybuyrequest.js +4 -0
  462. package/dist/esm/models/components/skybuyrequest.js.map +1 -1
  463. package/dist/esm/models/components/skydepositparams.d.ts +2 -0
  464. package/dist/esm/models/components/skydepositparams.d.ts.map +1 -1
  465. package/dist/esm/models/components/skydepositparams.js +11 -0
  466. package/dist/esm/models/components/skydepositparams.js.map +1 -1
  467. package/dist/esm/models/components/skydepositrequest.d.ts +2 -0
  468. package/dist/esm/models/components/skydepositrequest.d.ts.map +1 -1
  469. package/dist/esm/models/components/skydepositrequest.js +11 -0
  470. package/dist/esm/models/components/skydepositrequest.js.map +1 -1
  471. package/dist/esm/models/components/skysellparams.d.ts +2 -0
  472. package/dist/esm/models/components/skysellparams.d.ts.map +1 -1
  473. package/dist/esm/models/components/skysellparams.js +4 -0
  474. package/dist/esm/models/components/skysellparams.js.map +1 -1
  475. package/dist/esm/models/components/skysellrequest.d.ts +2 -0
  476. package/dist/esm/models/components/skysellrequest.d.ts.map +1 -1
  477. package/dist/esm/models/components/skysellrequest.js +4 -0
  478. package/dist/esm/models/components/skysellrequest.js.map +1 -1
  479. package/dist/esm/models/components/skywithdrawparams.d.ts +2 -0
  480. package/dist/esm/models/components/skywithdrawparams.d.ts.map +1 -1
  481. package/dist/esm/models/components/skywithdrawparams.js +11 -0
  482. package/dist/esm/models/components/skywithdrawparams.js.map +1 -1
  483. package/dist/esm/models/components/skywithdrawrequest.d.ts +2 -0
  484. package/dist/esm/models/components/skywithdrawrequest.d.ts.map +1 -1
  485. package/dist/esm/models/components/skywithdrawrequest.js +11 -0
  486. package/dist/esm/models/components/skywithdrawrequest.js.map +1 -1
  487. package/dist/esm/models/components/tokentransfererc20params.d.ts +2 -0
  488. package/dist/esm/models/components/tokentransfererc20params.d.ts.map +1 -1
  489. package/dist/esm/models/components/tokentransfererc20params.js +11 -0
  490. package/dist/esm/models/components/tokentransfererc20params.js.map +1 -1
  491. package/dist/esm/models/components/tokentransferrequest.d.ts +2 -0
  492. package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
  493. package/dist/esm/models/components/tokentransferrequest.js +11 -0
  494. package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
  495. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts +2 -0
  496. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  497. package/dist/esm/models/components/uniswapbuyexactlyparams.js +4 -0
  498. package/dist/esm/models/components/uniswapbuyexactlyparams.js.map +1 -1
  499. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +2 -0
  500. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  501. package/dist/esm/models/components/uniswapbuyexactlyrequest.js +4 -0
  502. package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  503. package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.d.ts +2 -0
  504. package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.d.ts.map +1 -1
  505. package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.js +4 -0
  506. package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.js.map +1 -1
  507. package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +2 -0
  508. package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
  509. package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js +4 -0
  510. package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
  511. package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts +2 -0
  512. package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -1
  513. package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js +4 -0
  514. package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js.map +1 -1
  515. package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts +2 -0
  516. package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
  517. package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js +4 -0
  518. package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
  519. package/dist/esm/models/components/uniswapsellexactlyparams.d.ts +2 -0
  520. package/dist/esm/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
  521. package/dist/esm/models/components/uniswapsellexactlyparams.js +4 -0
  522. package/dist/esm/models/components/uniswapsellexactlyparams.js.map +1 -1
  523. package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts +2 -0
  524. package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
  525. package/dist/esm/models/components/uniswapsellexactlyrequest.js +4 -0
  526. package/dist/esm/models/components/uniswapsellexactlyrequest.js.map +1 -1
  527. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.d.ts +2 -0
  528. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.d.ts.map +1 -1
  529. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.js +4 -0
  530. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.js.map +1 -1
  531. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +2 -0
  532. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
  533. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js +4 -0
  534. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
  535. package/dist/esm/models/components/unwrapwethparams.d.ts +2 -0
  536. package/dist/esm/models/components/unwrapwethparams.d.ts.map +1 -1
  537. package/dist/esm/models/components/unwrapwethparams.js +11 -0
  538. package/dist/esm/models/components/unwrapwethparams.js.map +1 -1
  539. package/dist/esm/models/components/unwrapwethrequest.d.ts +2 -0
  540. package/dist/esm/models/components/unwrapwethrequest.d.ts.map +1 -1
  541. package/dist/esm/models/components/unwrapwethrequest.js +11 -0
  542. package/dist/esm/models/components/unwrapwethrequest.js.map +1 -1
  543. package/dist/esm/models/components/useroperation.d.ts +432 -9
  544. package/dist/esm/models/components/useroperation.d.ts.map +1 -1
  545. package/dist/esm/models/components/useroperation.js +316 -144
  546. package/dist/esm/models/components/useroperation.js.map +1 -1
  547. package/dist/esm/models/components/wrapethparams.d.ts +2 -0
  548. package/dist/esm/models/components/wrapethparams.d.ts.map +1 -1
  549. package/dist/esm/models/components/wrapethparams.js +11 -0
  550. package/dist/esm/models/components/wrapethparams.js.map +1 -1
  551. package/dist/esm/models/components/wrapethrequest.d.ts +2 -0
  552. package/dist/esm/models/components/wrapethrequest.d.ts.map +1 -1
  553. package/dist/esm/models/components/wrapethrequest.js +11 -0
  554. package/dist/esm/models/components/wrapethrequest.js.map +1 -1
  555. package/docs/sdks/aavev3/README.md +2 -2
  556. package/docs/sdks/smartaccount/README.md +0 -2
  557. package/docs/sdks/transactionbatching/README.md +0 -2
  558. package/jsr.json +1 -1
  559. package/package.json +1 -1
  560. package/src/lib/config.ts +2 -2
  561. package/src/mcp-server/mcp-server.ts +1 -1
  562. package/src/mcp-server/server.ts +1 -1
  563. package/src/models/components/aaveborrowparams.ts +6 -0
  564. package/src/models/components/aaveborrowrequest.ts +6 -0
  565. package/src/models/components/aaverepayparams.ts +6 -0
  566. package/src/models/components/aaverepayrequest.ts +6 -0
  567. package/src/models/components/aavesupplyparams.ts +6 -0
  568. package/src/models/components/aavesupplyrequest.ts +6 -0
  569. package/src/models/components/aavewithdrawparams.ts +13 -0
  570. package/src/models/components/aavewithdrawrequest.ts +13 -0
  571. package/src/models/components/aerodromeslipstreambuyexactlyparams.ts +10 -0
  572. package/src/models/components/aerodromeslipstreambuyexactlyrequest.ts +10 -0
  573. package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.ts +8 -0
  574. package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.ts +8 -0
  575. package/src/models/components/aerodromeslipstreammintliquidityprovisionparams.ts +8 -0
  576. package/src/models/components/aerodromeslipstreammintliquidityprovisionrequest.ts +8 -0
  577. package/src/models/components/aerodromeslipstreamsellexactlyparams.ts +10 -0
  578. package/src/models/components/aerodromeslipstreamsellexactlyrequest.ts +10 -0
  579. package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.ts +8 -0
  580. package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.ts +8 -0
  581. package/src/models/components/increaseallowanceparams.ts +8 -0
  582. package/src/models/components/increaseallowancerequest.ts +8 -0
  583. package/src/models/components/index.ts +0 -1
  584. package/src/models/components/morphoborrowparams.ts +6 -0
  585. package/src/models/components/morphoborrowrequest.ts +6 -0
  586. package/src/models/components/morphodepositparams.ts +6 -0
  587. package/src/models/components/morphodepositrequest.ts +6 -0
  588. package/src/models/components/morphorepayparams.ts +6 -0
  589. package/src/models/components/morphorepayrequest.ts +6 -0
  590. package/src/models/components/morphosetvaultallowanceparams.ts +10 -0
  591. package/src/models/components/morphosetvaultallowancerequest.ts +10 -0
  592. package/src/models/components/morphosupplycollateralparams.ts +10 -0
  593. package/src/models/components/morphosupplycollateralrequest.ts +10 -0
  594. package/src/models/components/morphowithdrawcollateralparams.ts +10 -0
  595. package/src/models/components/morphowithdrawcollateralrequest.ts +10 -0
  596. package/src/models/components/morphowithdrawparams.ts +6 -0
  597. package/src/models/components/morphowithdrawrequest.ts +6 -0
  598. package/src/models/components/pendlebuyptparams.ts +6 -0
  599. package/src/models/components/pendlebuyptrequest.ts +6 -0
  600. package/src/models/components/pendlebuyytparams.ts +6 -0
  601. package/src/models/components/pendlebuyytrequest.ts +6 -0
  602. package/src/models/components/pendlesellptparams.ts +6 -0
  603. package/src/models/components/pendlesellptrequest.ts +6 -0
  604. package/src/models/components/pendlesellytparams.ts +6 -0
  605. package/src/models/components/pendlesellytrequest.ts +6 -0
  606. package/src/models/components/skybuyparams.ts +6 -0
  607. package/src/models/components/skybuyrequest.ts +6 -0
  608. package/src/models/components/skydepositparams.ts +13 -0
  609. package/src/models/components/skydepositrequest.ts +13 -0
  610. package/src/models/components/skysellparams.ts +6 -0
  611. package/src/models/components/skysellrequest.ts +6 -0
  612. package/src/models/components/skywithdrawparams.ts +13 -0
  613. package/src/models/components/skywithdrawrequest.ts +13 -0
  614. package/src/models/components/tokentransfererc20params.ts +17 -0
  615. package/src/models/components/tokentransferrequest.ts +13 -0
  616. package/src/models/components/uniswapbuyexactlyparams.ts +8 -0
  617. package/src/models/components/uniswapbuyexactlyrequest.ts +8 -0
  618. package/src/models/components/uniswapincreaseliquidityprovisionparams.ts +10 -0
  619. package/src/models/components/uniswapincreaseliquidityprovisionrequest.ts +10 -0
  620. package/src/models/components/uniswapmintliquidityprovisionparams.ts +10 -0
  621. package/src/models/components/uniswapmintliquidityprovisionrequest.ts +10 -0
  622. package/src/models/components/uniswapsellexactlyparams.ts +10 -0
  623. package/src/models/components/uniswapsellexactlyrequest.ts +10 -0
  624. package/src/models/components/uniswapwithdrawliquidityprovisionparams.ts +10 -0
  625. package/src/models/components/uniswapwithdrawliquidityprovisionrequest.ts +10 -0
  626. package/src/models/components/unwrapwethparams.ts +13 -0
  627. package/src/models/components/unwrapwethrequest.ts +13 -0
  628. package/src/models/components/useroperation.ts +864 -282
  629. package/src/models/components/wrapethparams.ts +13 -0
  630. package/src/models/components/wrapethrequest.ts +13 -0
  631. package/dist/commonjs/models/components/multicallactiontype.d.ts +0 -121
  632. package/dist/commonjs/models/components/multicallactiontype.d.ts.map +0 -1
  633. package/dist/commonjs/models/components/multicallactiontype.js +0 -91
  634. package/dist/commonjs/models/components/multicallactiontype.js.map +0 -1
  635. package/dist/esm/models/components/multicallactiontype.d.ts +0 -121
  636. package/dist/esm/models/components/multicallactiontype.d.ts.map +0 -1
  637. package/dist/esm/models/components/multicallactiontype.js +0 -55
  638. package/dist/esm/models/components/multicallactiontype.js.map +0 -1
  639. package/src/models/components/multicallactiontype.ts +0 -66
@@ -3,7 +3,6 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
6
  import { safeParse } from "../../lib/schemas.js";
8
7
  import { Result as SafeParseResult } from "../../types/fp.js";
9
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
@@ -109,11 +108,6 @@ import {
109
108
  MorphoWithdrawParams$Outbound,
110
109
  MorphoWithdrawParams$outboundSchema,
111
110
  } from "./morphowithdrawparams.js";
112
- import {
113
- MulticallActionType,
114
- MulticallActionType$inboundSchema,
115
- MulticallActionType$outboundSchema,
116
- } from "./multicallactiontype.js";
117
111
  import {
118
112
  PendleBuyPtParams,
119
113
  PendleBuyPtParams$inboundSchema,
@@ -212,188 +206,507 @@ import {
212
206
  } from "./wrapethparams.js";
213
207
 
214
208
  export type Body =
215
- | UnwrapWethParams
216
- | WrapEthParams
217
- | MorphoSetVaultAllowanceParams
218
- | SkyBuyParams
219
- | SkySellParams
220
- | SkyDepositParams
221
- | SkyWithdrawParams
222
- | PendleBuyPtParams
223
- | PendleSellPtParams
224
- | PendleBuyYtParams
225
- | PendleSellYtParams
226
- | AerodromeSlipstreamWithdrawLiquidityProvisionParams
227
- | UniswapWithdrawLiquidityProvisionParams
228
- | AaveSupplyParams
229
- | AaveWithdrawParams
230
- | MorphoDepositParams
231
- | MorphoWithdrawParams
232
- | TokenTransferErc20Params
233
- | IncreaseAllowanceParams
234
- | AaveBorrowParams
235
- | AaveRepayParams
236
- | MorphoBorrowParams
237
- | MorphoRepayParams
238
- | MorphoSupplyCollateralParams
239
- | MorphoWithdrawCollateralParams
240
- | AerodromeSlipstreamIncreaseLiquidityProvisionParams
241
- | AerodromeSlipstreamBuyExactlyParams
242
- | AerodromeSlipstreamSellExactlyParams
243
- | UniswapIncreaseLiquidityProvisionParams
244
- | UniswapBuyExactlyParams
245
- | UniswapSellExactlyParams
246
- | AerodromeSlipstreamMintLiquidityProvisionParams
247
- | UniswapMintLiquidityProvisionParams;
209
+ | (UnwrapWethParams & { actionType: "UNWRAP_WETH" })
210
+ | (WrapEthParams & { actionType: "WRAP_ETH" })
211
+ | (AerodromeSlipstreamWithdrawLiquidityProvisionParams & {
212
+ actionType: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY";
213
+ })
214
+ | (MorphoSetVaultAllowanceParams & {
215
+ actionType: "MORPHO_SET_VAULT_ALLOWANCE";
216
+ })
217
+ | (PendleBuyPtParams & { actionType: "PENDLE_BUY_PT" })
218
+ | (PendleBuyYtParams & { actionType: "PENDLE_BUY_YT" })
219
+ | (PendleSellPtParams & { actionType: "PENDLE_SELL_PT" })
220
+ | (PendleSellYtParams & { actionType: "PENDLE_SELL_YT" })
221
+ | (SkyBuyParams & { actionType: "SKY_BUY" })
222
+ | (SkyDepositParams & { actionType: "SKY_DEPOSIT" })
223
+ | (SkySellParams & { actionType: "SKY_SELL" })
224
+ | (SkyWithdrawParams & { actionType: "SKY_WITHDRAW" })
225
+ | (UniswapWithdrawLiquidityProvisionParams & {
226
+ actionType: "UNISWAP_WITHDRAW_LIQUIDITY";
227
+ })
228
+ | (AaveSupplyParams & { actionType: "AAVE_SUPPLY" })
229
+ | (AaveWithdrawParams & { actionType: "AAVE_WITHDRAW" })
230
+ | (IncreaseAllowanceParams & { actionType: "ALLOWANCE_INCREASE" })
231
+ | (MorphoDepositParams & { actionType: "MORPHO_DEPOSIT" })
232
+ | (MorphoWithdrawParams & { actionType: "MORPHO_WITHDRAW" })
233
+ | (TokenTransferErc20Params & { actionType: "TOKEN_TRANSFER_ERC20" })
234
+ | (AaveBorrowParams & { actionType: "AAVE_BORROW" })
235
+ | (AaveRepayParams & { actionType: "AAVE_REPAY" })
236
+ | (MorphoBorrowParams & { actionType: "MORPHO_BORROW" })
237
+ | (MorphoRepayParams & { actionType: "MORPHO_REPAY" })
238
+ | (MorphoSupplyCollateralParams & { actionType: "MORPHO_SUPPLY_COLLATERAL" })
239
+ | (MorphoWithdrawCollateralParams & {
240
+ actionType: "MORPHO_WITHDRAW_COLLATERAL";
241
+ })
242
+ | (AerodromeSlipstreamBuyExactlyParams & {
243
+ actionType: "AERODROME_SLIPSTREAM_BUY_EXACTLY";
244
+ })
245
+ | (AerodromeSlipstreamIncreaseLiquidityProvisionParams & {
246
+ actionType: "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY";
247
+ })
248
+ | (AerodromeSlipstreamSellExactlyParams & {
249
+ actionType: "AERODROME_SLIPSTREAM_SELL_EXACTLY";
250
+ })
251
+ | (UniswapIncreaseLiquidityProvisionParams & {
252
+ actionType: "UNISWAP_ADD_LIQUIDITY";
253
+ })
254
+ | (UniswapBuyExactlyParams & { actionType: "UNISWAP_BUY_EXACTLY" })
255
+ | (UniswapSellExactlyParams & { actionType: "UNISWAP_SELL_EXACTLY" })
256
+ | (AerodromeSlipstreamMintLiquidityProvisionParams & {
257
+ actionType: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY";
258
+ })
259
+ | (UniswapMintLiquidityProvisionParams & {
260
+ actionType: "UNISWAP_MINT_LIQUIDITY";
261
+ });
248
262
 
249
263
  export type UserOperation = {
250
- actionType: MulticallActionType;
251
264
  body:
252
- | UnwrapWethParams
253
- | WrapEthParams
254
- | MorphoSetVaultAllowanceParams
255
- | SkyBuyParams
256
- | SkySellParams
257
- | SkyDepositParams
258
- | SkyWithdrawParams
259
- | PendleBuyPtParams
260
- | PendleSellPtParams
261
- | PendleBuyYtParams
262
- | PendleSellYtParams
263
- | AerodromeSlipstreamWithdrawLiquidityProvisionParams
264
- | UniswapWithdrawLiquidityProvisionParams
265
- | AaveSupplyParams
266
- | AaveWithdrawParams
267
- | MorphoDepositParams
268
- | MorphoWithdrawParams
269
- | TokenTransferErc20Params
270
- | IncreaseAllowanceParams
271
- | AaveBorrowParams
272
- | AaveRepayParams
273
- | MorphoBorrowParams
274
- | MorphoRepayParams
275
- | MorphoSupplyCollateralParams
276
- | MorphoWithdrawCollateralParams
277
- | AerodromeSlipstreamIncreaseLiquidityProvisionParams
278
- | AerodromeSlipstreamBuyExactlyParams
279
- | AerodromeSlipstreamSellExactlyParams
280
- | UniswapIncreaseLiquidityProvisionParams
281
- | UniswapBuyExactlyParams
282
- | UniswapSellExactlyParams
283
- | AerodromeSlipstreamMintLiquidityProvisionParams
284
- | UniswapMintLiquidityProvisionParams;
265
+ | (UnwrapWethParams & { actionType: "UNWRAP_WETH" })
266
+ | (WrapEthParams & { actionType: "WRAP_ETH" })
267
+ | (AerodromeSlipstreamWithdrawLiquidityProvisionParams & {
268
+ actionType: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY";
269
+ })
270
+ | (MorphoSetVaultAllowanceParams & {
271
+ actionType: "MORPHO_SET_VAULT_ALLOWANCE";
272
+ })
273
+ | (PendleBuyPtParams & { actionType: "PENDLE_BUY_PT" })
274
+ | (PendleBuyYtParams & { actionType: "PENDLE_BUY_YT" })
275
+ | (PendleSellPtParams & { actionType: "PENDLE_SELL_PT" })
276
+ | (PendleSellYtParams & { actionType: "PENDLE_SELL_YT" })
277
+ | (SkyBuyParams & { actionType: "SKY_BUY" })
278
+ | (SkyDepositParams & { actionType: "SKY_DEPOSIT" })
279
+ | (SkySellParams & { actionType: "SKY_SELL" })
280
+ | (SkyWithdrawParams & { actionType: "SKY_WITHDRAW" })
281
+ | (UniswapWithdrawLiquidityProvisionParams & {
282
+ actionType: "UNISWAP_WITHDRAW_LIQUIDITY";
283
+ })
284
+ | (AaveSupplyParams & { actionType: "AAVE_SUPPLY" })
285
+ | (AaveWithdrawParams & { actionType: "AAVE_WITHDRAW" })
286
+ | (IncreaseAllowanceParams & { actionType: "ALLOWANCE_INCREASE" })
287
+ | (MorphoDepositParams & { actionType: "MORPHO_DEPOSIT" })
288
+ | (MorphoWithdrawParams & { actionType: "MORPHO_WITHDRAW" })
289
+ | (TokenTransferErc20Params & { actionType: "TOKEN_TRANSFER_ERC20" })
290
+ | (AaveBorrowParams & { actionType: "AAVE_BORROW" })
291
+ | (AaveRepayParams & { actionType: "AAVE_REPAY" })
292
+ | (MorphoBorrowParams & { actionType: "MORPHO_BORROW" })
293
+ | (MorphoRepayParams & { actionType: "MORPHO_REPAY" })
294
+ | (MorphoSupplyCollateralParams & {
295
+ actionType: "MORPHO_SUPPLY_COLLATERAL";
296
+ })
297
+ | (MorphoWithdrawCollateralParams & {
298
+ actionType: "MORPHO_WITHDRAW_COLLATERAL";
299
+ })
300
+ | (AerodromeSlipstreamBuyExactlyParams & {
301
+ actionType: "AERODROME_SLIPSTREAM_BUY_EXACTLY";
302
+ })
303
+ | (AerodromeSlipstreamIncreaseLiquidityProvisionParams & {
304
+ actionType: "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY";
305
+ })
306
+ | (AerodromeSlipstreamSellExactlyParams & {
307
+ actionType: "AERODROME_SLIPSTREAM_SELL_EXACTLY";
308
+ })
309
+ | (UniswapIncreaseLiquidityProvisionParams & {
310
+ actionType: "UNISWAP_ADD_LIQUIDITY";
311
+ })
312
+ | (UniswapBuyExactlyParams & { actionType: "UNISWAP_BUY_EXACTLY" })
313
+ | (UniswapSellExactlyParams & { actionType: "UNISWAP_SELL_EXACTLY" })
314
+ | (AerodromeSlipstreamMintLiquidityProvisionParams & {
315
+ actionType: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY";
316
+ })
317
+ | (UniswapMintLiquidityProvisionParams & {
318
+ actionType: "UNISWAP_MINT_LIQUIDITY";
319
+ });
285
320
  };
286
321
 
287
322
  /** @internal */
288
323
  export const Body$inboundSchema: z.ZodType<Body, z.ZodTypeDef, unknown> = z
289
324
  .union([
290
- UnwrapWethParams$inboundSchema,
291
- WrapEthParams$inboundSchema,
292
- MorphoSetVaultAllowanceParams$inboundSchema,
293
- SkyBuyParams$inboundSchema,
294
- SkySellParams$inboundSchema,
295
- SkyDepositParams$inboundSchema,
296
- SkyWithdrawParams$inboundSchema,
297
- PendleBuyPtParams$inboundSchema,
298
- PendleSellPtParams$inboundSchema,
299
- PendleBuyYtParams$inboundSchema,
300
- PendleSellYtParams$inboundSchema,
301
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema,
302
- UniswapWithdrawLiquidityProvisionParams$inboundSchema,
303
- AaveSupplyParams$inboundSchema,
304
- AaveWithdrawParams$inboundSchema,
305
- MorphoDepositParams$inboundSchema,
306
- MorphoWithdrawParams$inboundSchema,
307
- TokenTransferErc20Params$inboundSchema,
308
- IncreaseAllowanceParams$inboundSchema,
309
- AaveBorrowParams$inboundSchema,
310
- AaveRepayParams$inboundSchema,
311
- MorphoBorrowParams$inboundSchema,
312
- MorphoRepayParams$inboundSchema,
313
- MorphoSupplyCollateralParams$inboundSchema,
314
- MorphoWithdrawCollateralParams$inboundSchema,
315
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema,
316
- AerodromeSlipstreamBuyExactlyParams$inboundSchema,
317
- AerodromeSlipstreamSellExactlyParams$inboundSchema,
318
- UniswapIncreaseLiquidityProvisionParams$inboundSchema,
319
- UniswapBuyExactlyParams$inboundSchema,
320
- UniswapSellExactlyParams$inboundSchema,
321
- AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema,
322
- UniswapMintLiquidityProvisionParams$inboundSchema,
325
+ UnwrapWethParams$inboundSchema.and(
326
+ z.object({ action_type: z.literal("UNWRAP_WETH") }).transform((v) => ({
327
+ actionType: v.action_type,
328
+ })),
329
+ ),
330
+ WrapEthParams$inboundSchema.and(
331
+ z.object({ action_type: z.literal("WRAP_ETH") }).transform((v) => ({
332
+ actionType: v.action_type,
333
+ })),
334
+ ),
335
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(
336
+ z.object({
337
+ action_type: z.literal("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"),
338
+ }).transform((v) => ({ actionType: v.action_type })),
339
+ ),
340
+ MorphoSetVaultAllowanceParams$inboundSchema.and(
341
+ z.object({ action_type: z.literal("MORPHO_SET_VAULT_ALLOWANCE") })
342
+ .transform((v) => ({ actionType: v.action_type })),
343
+ ),
344
+ PendleBuyPtParams$inboundSchema.and(
345
+ z.object({ action_type: z.literal("PENDLE_BUY_PT") }).transform((v) => ({
346
+ actionType: v.action_type,
347
+ })),
348
+ ),
349
+ PendleBuyYtParams$inboundSchema.and(
350
+ z.object({ action_type: z.literal("PENDLE_BUY_YT") }).transform((v) => ({
351
+ actionType: v.action_type,
352
+ })),
353
+ ),
354
+ PendleSellPtParams$inboundSchema.and(
355
+ z.object({ action_type: z.literal("PENDLE_SELL_PT") }).transform((v) => ({
356
+ actionType: v.action_type,
357
+ })),
358
+ ),
359
+ PendleSellYtParams$inboundSchema.and(
360
+ z.object({ action_type: z.literal("PENDLE_SELL_YT") }).transform((v) => ({
361
+ actionType: v.action_type,
362
+ })),
363
+ ),
364
+ SkyBuyParams$inboundSchema.and(
365
+ z.object({ action_type: z.literal("SKY_BUY") }).transform((v) => ({
366
+ actionType: v.action_type,
367
+ })),
368
+ ),
369
+ SkyDepositParams$inboundSchema.and(
370
+ z.object({ action_type: z.literal("SKY_DEPOSIT") }).transform((v) => ({
371
+ actionType: v.action_type,
372
+ })),
373
+ ),
374
+ SkySellParams$inboundSchema.and(
375
+ z.object({ action_type: z.literal("SKY_SELL") }).transform((v) => ({
376
+ actionType: v.action_type,
377
+ })),
378
+ ),
379
+ SkyWithdrawParams$inboundSchema.and(
380
+ z.object({ action_type: z.literal("SKY_WITHDRAW") }).transform((v) => ({
381
+ actionType: v.action_type,
382
+ })),
383
+ ),
384
+ UniswapWithdrawLiquidityProvisionParams$inboundSchema.and(
385
+ z.object({ action_type: z.literal("UNISWAP_WITHDRAW_LIQUIDITY") })
386
+ .transform((v) => ({ actionType: v.action_type })),
387
+ ),
388
+ AaveSupplyParams$inboundSchema.and(
389
+ z.object({ action_type: z.literal("AAVE_SUPPLY") }).transform((v) => ({
390
+ actionType: v.action_type,
391
+ })),
392
+ ),
393
+ AaveWithdrawParams$inboundSchema.and(
394
+ z.object({ action_type: z.literal("AAVE_WITHDRAW") }).transform((v) => ({
395
+ actionType: v.action_type,
396
+ })),
397
+ ),
398
+ IncreaseAllowanceParams$inboundSchema.and(
399
+ z.object({ action_type: z.literal("ALLOWANCE_INCREASE") }).transform((
400
+ v,
401
+ ) => ({ actionType: v.action_type })),
402
+ ),
403
+ MorphoDepositParams$inboundSchema.and(
404
+ z.object({ action_type: z.literal("MORPHO_DEPOSIT") }).transform((v) => ({
405
+ actionType: v.action_type,
406
+ })),
407
+ ),
408
+ MorphoWithdrawParams$inboundSchema.and(
409
+ z.object({ action_type: z.literal("MORPHO_WITHDRAW") }).transform((
410
+ v,
411
+ ) => ({ actionType: v.action_type })),
412
+ ),
413
+ TokenTransferErc20Params$inboundSchema.and(
414
+ z.object({ action_type: z.literal("TOKEN_TRANSFER_ERC20") }).transform((
415
+ v,
416
+ ) => ({ actionType: v.action_type })),
417
+ ),
418
+ AaveBorrowParams$inboundSchema.and(
419
+ z.object({ action_type: z.literal("AAVE_BORROW") }).transform((v) => ({
420
+ actionType: v.action_type,
421
+ })),
422
+ ),
423
+ AaveRepayParams$inboundSchema.and(
424
+ z.object({ action_type: z.literal("AAVE_REPAY") }).transform((v) => ({
425
+ actionType: v.action_type,
426
+ })),
427
+ ),
428
+ MorphoBorrowParams$inboundSchema.and(
429
+ z.object({ action_type: z.literal("MORPHO_BORROW") }).transform((v) => ({
430
+ actionType: v.action_type,
431
+ })),
432
+ ),
433
+ MorphoRepayParams$inboundSchema.and(
434
+ z.object({ action_type: z.literal("MORPHO_REPAY") }).transform((v) => ({
435
+ actionType: v.action_type,
436
+ })),
437
+ ),
438
+ MorphoSupplyCollateralParams$inboundSchema.and(
439
+ z.object({ action_type: z.literal("MORPHO_SUPPLY_COLLATERAL") })
440
+ .transform((v) => ({ actionType: v.action_type })),
441
+ ),
442
+ MorphoWithdrawCollateralParams$inboundSchema.and(
443
+ z.object({ action_type: z.literal("MORPHO_WITHDRAW_COLLATERAL") })
444
+ .transform((v) => ({ actionType: v.action_type })),
445
+ ),
446
+ AerodromeSlipstreamBuyExactlyParams$inboundSchema.and(
447
+ z.object({ action_type: z.literal("AERODROME_SLIPSTREAM_BUY_EXACTLY") })
448
+ .transform((v) => ({ actionType: v.action_type })),
449
+ ),
450
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema.and(
451
+ z.object({
452
+ action_type: z.literal("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"),
453
+ }).transform((v) => ({ actionType: v.action_type })),
454
+ ),
455
+ AerodromeSlipstreamSellExactlyParams$inboundSchema.and(
456
+ z.object({ action_type: z.literal("AERODROME_SLIPSTREAM_SELL_EXACTLY") })
457
+ .transform((v) => ({ actionType: v.action_type })),
458
+ ),
459
+ UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(
460
+ z.object({ action_type: z.literal("UNISWAP_ADD_LIQUIDITY") }).transform((
461
+ v,
462
+ ) => ({ actionType: v.action_type })),
463
+ ),
464
+ UniswapBuyExactlyParams$inboundSchema.and(
465
+ z.object({ action_type: z.literal("UNISWAP_BUY_EXACTLY") }).transform((
466
+ v,
467
+ ) => ({ actionType: v.action_type })),
468
+ ),
469
+ UniswapSellExactlyParams$inboundSchema.and(
470
+ z.object({ action_type: z.literal("UNISWAP_SELL_EXACTLY") }).transform((
471
+ v,
472
+ ) => ({ actionType: v.action_type })),
473
+ ),
474
+ AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(
475
+ z.object({
476
+ action_type: z.literal("AERODROME_SLIPSTREAM_MINT_LIQUIDITY"),
477
+ }).transform((v) => ({ actionType: v.action_type })),
478
+ ),
479
+ UniswapMintLiquidityProvisionParams$inboundSchema.and(
480
+ z.object({ action_type: z.literal("UNISWAP_MINT_LIQUIDITY") }).transform((
481
+ v,
482
+ ) => ({ actionType: v.action_type })),
483
+ ),
323
484
  ]);
324
485
 
325
486
  /** @internal */
326
487
  export type Body$Outbound =
327
- | UnwrapWethParams$Outbound
328
- | WrapEthParams$Outbound
329
- | MorphoSetVaultAllowanceParams$Outbound
330
- | SkyBuyParams$Outbound
331
- | SkySellParams$Outbound
332
- | SkyDepositParams$Outbound
333
- | SkyWithdrawParams$Outbound
334
- | PendleBuyPtParams$Outbound
335
- | PendleSellPtParams$Outbound
336
- | PendleBuyYtParams$Outbound
337
- | PendleSellYtParams$Outbound
338
- | AerodromeSlipstreamWithdrawLiquidityProvisionParams$Outbound
339
- | UniswapWithdrawLiquidityProvisionParams$Outbound
340
- | AaveSupplyParams$Outbound
341
- | AaveWithdrawParams$Outbound
342
- | MorphoDepositParams$Outbound
343
- | MorphoWithdrawParams$Outbound
344
- | TokenTransferErc20Params$Outbound
345
- | IncreaseAllowanceParams$Outbound
346
- | AaveBorrowParams$Outbound
347
- | AaveRepayParams$Outbound
348
- | MorphoBorrowParams$Outbound
349
- | MorphoRepayParams$Outbound
350
- | MorphoSupplyCollateralParams$Outbound
351
- | MorphoWithdrawCollateralParams$Outbound
352
- | AerodromeSlipstreamIncreaseLiquidityProvisionParams$Outbound
353
- | AerodromeSlipstreamBuyExactlyParams$Outbound
354
- | AerodromeSlipstreamSellExactlyParams$Outbound
355
- | UniswapIncreaseLiquidityProvisionParams$Outbound
356
- | UniswapBuyExactlyParams$Outbound
357
- | UniswapSellExactlyParams$Outbound
358
- | AerodromeSlipstreamMintLiquidityProvisionParams$Outbound
359
- | UniswapMintLiquidityProvisionParams$Outbound;
488
+ | (UnwrapWethParams$Outbound & { action_type: "UNWRAP_WETH" })
489
+ | (WrapEthParams$Outbound & { action_type: "WRAP_ETH" })
490
+ | (AerodromeSlipstreamWithdrawLiquidityProvisionParams$Outbound & {
491
+ action_type: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY";
492
+ })
493
+ | (MorphoSetVaultAllowanceParams$Outbound & {
494
+ action_type: "MORPHO_SET_VAULT_ALLOWANCE";
495
+ })
496
+ | (PendleBuyPtParams$Outbound & { action_type: "PENDLE_BUY_PT" })
497
+ | (PendleBuyYtParams$Outbound & { action_type: "PENDLE_BUY_YT" })
498
+ | (PendleSellPtParams$Outbound & { action_type: "PENDLE_SELL_PT" })
499
+ | (PendleSellYtParams$Outbound & { action_type: "PENDLE_SELL_YT" })
500
+ | (SkyBuyParams$Outbound & { action_type: "SKY_BUY" })
501
+ | (SkyDepositParams$Outbound & { action_type: "SKY_DEPOSIT" })
502
+ | (SkySellParams$Outbound & { action_type: "SKY_SELL" })
503
+ | (SkyWithdrawParams$Outbound & { action_type: "SKY_WITHDRAW" })
504
+ | (UniswapWithdrawLiquidityProvisionParams$Outbound & {
505
+ action_type: "UNISWAP_WITHDRAW_LIQUIDITY";
506
+ })
507
+ | (AaveSupplyParams$Outbound & { action_type: "AAVE_SUPPLY" })
508
+ | (AaveWithdrawParams$Outbound & { action_type: "AAVE_WITHDRAW" })
509
+ | (IncreaseAllowanceParams$Outbound & { action_type: "ALLOWANCE_INCREASE" })
510
+ | (MorphoDepositParams$Outbound & { action_type: "MORPHO_DEPOSIT" })
511
+ | (MorphoWithdrawParams$Outbound & { action_type: "MORPHO_WITHDRAW" })
512
+ | (TokenTransferErc20Params$Outbound & {
513
+ action_type: "TOKEN_TRANSFER_ERC20";
514
+ })
515
+ | (AaveBorrowParams$Outbound & { action_type: "AAVE_BORROW" })
516
+ | (AaveRepayParams$Outbound & { action_type: "AAVE_REPAY" })
517
+ | (MorphoBorrowParams$Outbound & { action_type: "MORPHO_BORROW" })
518
+ | (MorphoRepayParams$Outbound & { action_type: "MORPHO_REPAY" })
519
+ | (MorphoSupplyCollateralParams$Outbound & {
520
+ action_type: "MORPHO_SUPPLY_COLLATERAL";
521
+ })
522
+ | (MorphoWithdrawCollateralParams$Outbound & {
523
+ action_type: "MORPHO_WITHDRAW_COLLATERAL";
524
+ })
525
+ | (AerodromeSlipstreamBuyExactlyParams$Outbound & {
526
+ action_type: "AERODROME_SLIPSTREAM_BUY_EXACTLY";
527
+ })
528
+ | (AerodromeSlipstreamIncreaseLiquidityProvisionParams$Outbound & {
529
+ action_type: "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY";
530
+ })
531
+ | (AerodromeSlipstreamSellExactlyParams$Outbound & {
532
+ action_type: "AERODROME_SLIPSTREAM_SELL_EXACTLY";
533
+ })
534
+ | (UniswapIncreaseLiquidityProvisionParams$Outbound & {
535
+ action_type: "UNISWAP_ADD_LIQUIDITY";
536
+ })
537
+ | (UniswapBuyExactlyParams$Outbound & { action_type: "UNISWAP_BUY_EXACTLY" })
538
+ | (UniswapSellExactlyParams$Outbound & {
539
+ action_type: "UNISWAP_SELL_EXACTLY";
540
+ })
541
+ | (AerodromeSlipstreamMintLiquidityProvisionParams$Outbound & {
542
+ action_type: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY";
543
+ })
544
+ | (UniswapMintLiquidityProvisionParams$Outbound & {
545
+ action_type: "UNISWAP_MINT_LIQUIDITY";
546
+ });
360
547
 
361
548
  /** @internal */
362
549
  export const Body$outboundSchema: z.ZodType<Body$Outbound, z.ZodTypeDef, Body> =
363
550
  z.union([
364
- UnwrapWethParams$outboundSchema,
365
- WrapEthParams$outboundSchema,
366
- MorphoSetVaultAllowanceParams$outboundSchema,
367
- SkyBuyParams$outboundSchema,
368
- SkySellParams$outboundSchema,
369
- SkyDepositParams$outboundSchema,
370
- SkyWithdrawParams$outboundSchema,
371
- PendleBuyPtParams$outboundSchema,
372
- PendleSellPtParams$outboundSchema,
373
- PendleBuyYtParams$outboundSchema,
374
- PendleSellYtParams$outboundSchema,
375
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema,
376
- UniswapWithdrawLiquidityProvisionParams$outboundSchema,
377
- AaveSupplyParams$outboundSchema,
378
- AaveWithdrawParams$outboundSchema,
379
- MorphoDepositParams$outboundSchema,
380
- MorphoWithdrawParams$outboundSchema,
381
- TokenTransferErc20Params$outboundSchema,
382
- IncreaseAllowanceParams$outboundSchema,
383
- AaveBorrowParams$outboundSchema,
384
- AaveRepayParams$outboundSchema,
385
- MorphoBorrowParams$outboundSchema,
386
- MorphoRepayParams$outboundSchema,
387
- MorphoSupplyCollateralParams$outboundSchema,
388
- MorphoWithdrawCollateralParams$outboundSchema,
389
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema,
390
- AerodromeSlipstreamBuyExactlyParams$outboundSchema,
391
- AerodromeSlipstreamSellExactlyParams$outboundSchema,
392
- UniswapIncreaseLiquidityProvisionParams$outboundSchema,
393
- UniswapBuyExactlyParams$outboundSchema,
394
- UniswapSellExactlyParams$outboundSchema,
395
- AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema,
396
- UniswapMintLiquidityProvisionParams$outboundSchema,
551
+ UnwrapWethParams$outboundSchema.and(
552
+ z.object({ actionType: z.literal("UNWRAP_WETH") }).transform((v) => ({
553
+ action_type: v.actionType,
554
+ })),
555
+ ),
556
+ WrapEthParams$outboundSchema.and(
557
+ z.object({ actionType: z.literal("WRAP_ETH") }).transform((v) => ({
558
+ action_type: v.actionType,
559
+ })),
560
+ ),
561
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(
562
+ z.object({
563
+ actionType: z.literal("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"),
564
+ }).transform((v) => ({ action_type: v.actionType })),
565
+ ),
566
+ MorphoSetVaultAllowanceParams$outboundSchema.and(
567
+ z.object({ actionType: z.literal("MORPHO_SET_VAULT_ALLOWANCE") })
568
+ .transform((v) => ({ action_type: v.actionType })),
569
+ ),
570
+ PendleBuyPtParams$outboundSchema.and(
571
+ z.object({ actionType: z.literal("PENDLE_BUY_PT") }).transform((v) => ({
572
+ action_type: v.actionType,
573
+ })),
574
+ ),
575
+ PendleBuyYtParams$outboundSchema.and(
576
+ z.object({ actionType: z.literal("PENDLE_BUY_YT") }).transform((v) => ({
577
+ action_type: v.actionType,
578
+ })),
579
+ ),
580
+ PendleSellPtParams$outboundSchema.and(
581
+ z.object({ actionType: z.literal("PENDLE_SELL_PT") }).transform((v) => ({
582
+ action_type: v.actionType,
583
+ })),
584
+ ),
585
+ PendleSellYtParams$outboundSchema.and(
586
+ z.object({ actionType: z.literal("PENDLE_SELL_YT") }).transform((v) => ({
587
+ action_type: v.actionType,
588
+ })),
589
+ ),
590
+ SkyBuyParams$outboundSchema.and(
591
+ z.object({ actionType: z.literal("SKY_BUY") }).transform((v) => ({
592
+ action_type: v.actionType,
593
+ })),
594
+ ),
595
+ SkyDepositParams$outboundSchema.and(
596
+ z.object({ actionType: z.literal("SKY_DEPOSIT") }).transform((v) => ({
597
+ action_type: v.actionType,
598
+ })),
599
+ ),
600
+ SkySellParams$outboundSchema.and(
601
+ z.object({ actionType: z.literal("SKY_SELL") }).transform((v) => ({
602
+ action_type: v.actionType,
603
+ })),
604
+ ),
605
+ SkyWithdrawParams$outboundSchema.and(
606
+ z.object({ actionType: z.literal("SKY_WITHDRAW") }).transform((v) => ({
607
+ action_type: v.actionType,
608
+ })),
609
+ ),
610
+ UniswapWithdrawLiquidityProvisionParams$outboundSchema.and(
611
+ z.object({ actionType: z.literal("UNISWAP_WITHDRAW_LIQUIDITY") })
612
+ .transform((v) => ({ action_type: v.actionType })),
613
+ ),
614
+ AaveSupplyParams$outboundSchema.and(
615
+ z.object({ actionType: z.literal("AAVE_SUPPLY") }).transform((v) => ({
616
+ action_type: v.actionType,
617
+ })),
618
+ ),
619
+ AaveWithdrawParams$outboundSchema.and(
620
+ z.object({ actionType: z.literal("AAVE_WITHDRAW") }).transform((v) => ({
621
+ action_type: v.actionType,
622
+ })),
623
+ ),
624
+ IncreaseAllowanceParams$outboundSchema.and(
625
+ z.object({ actionType: z.literal("ALLOWANCE_INCREASE") }).transform((
626
+ v,
627
+ ) => ({ action_type: v.actionType })),
628
+ ),
629
+ MorphoDepositParams$outboundSchema.and(
630
+ z.object({ actionType: z.literal("MORPHO_DEPOSIT") }).transform((v) => ({
631
+ action_type: v.actionType,
632
+ })),
633
+ ),
634
+ MorphoWithdrawParams$outboundSchema.and(
635
+ z.object({ actionType: z.literal("MORPHO_WITHDRAW") }).transform((v) => ({
636
+ action_type: v.actionType,
637
+ })),
638
+ ),
639
+ TokenTransferErc20Params$outboundSchema.and(
640
+ z.object({ actionType: z.literal("TOKEN_TRANSFER_ERC20") }).transform((
641
+ v,
642
+ ) => ({ action_type: v.actionType })),
643
+ ),
644
+ AaveBorrowParams$outboundSchema.and(
645
+ z.object({ actionType: z.literal("AAVE_BORROW") }).transform((v) => ({
646
+ action_type: v.actionType,
647
+ })),
648
+ ),
649
+ AaveRepayParams$outboundSchema.and(
650
+ z.object({ actionType: z.literal("AAVE_REPAY") }).transform((v) => ({
651
+ action_type: v.actionType,
652
+ })),
653
+ ),
654
+ MorphoBorrowParams$outboundSchema.and(
655
+ z.object({ actionType: z.literal("MORPHO_BORROW") }).transform((v) => ({
656
+ action_type: v.actionType,
657
+ })),
658
+ ),
659
+ MorphoRepayParams$outboundSchema.and(
660
+ z.object({ actionType: z.literal("MORPHO_REPAY") }).transform((v) => ({
661
+ action_type: v.actionType,
662
+ })),
663
+ ),
664
+ MorphoSupplyCollateralParams$outboundSchema.and(
665
+ z.object({ actionType: z.literal("MORPHO_SUPPLY_COLLATERAL") }).transform(
666
+ (v) => ({ action_type: v.actionType })
667
+ ),
668
+ ),
669
+ MorphoWithdrawCollateralParams$outboundSchema.and(
670
+ z.object({ actionType: z.literal("MORPHO_WITHDRAW_COLLATERAL") })
671
+ .transform((v) => ({ action_type: v.actionType })),
672
+ ),
673
+ AerodromeSlipstreamBuyExactlyParams$outboundSchema.and(
674
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_BUY_EXACTLY") })
675
+ .transform((v) => ({ action_type: v.actionType })),
676
+ ),
677
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema.and(
678
+ z.object({
679
+ actionType: z.literal("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"),
680
+ }).transform((v) => ({ action_type: v.actionType })),
681
+ ),
682
+ AerodromeSlipstreamSellExactlyParams$outboundSchema.and(
683
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_SELL_EXACTLY") })
684
+ .transform((v) => ({ action_type: v.actionType })),
685
+ ),
686
+ UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(
687
+ z.object({ actionType: z.literal("UNISWAP_ADD_LIQUIDITY") }).transform((
688
+ v,
689
+ ) => ({ action_type: v.actionType })),
690
+ ),
691
+ UniswapBuyExactlyParams$outboundSchema.and(
692
+ z.object({ actionType: z.literal("UNISWAP_BUY_EXACTLY") }).transform((
693
+ v,
694
+ ) => ({ action_type: v.actionType })),
695
+ ),
696
+ UniswapSellExactlyParams$outboundSchema.and(
697
+ z.object({ actionType: z.literal("UNISWAP_SELL_EXACTLY") }).transform((
698
+ v,
699
+ ) => ({ action_type: v.actionType })),
700
+ ),
701
+ AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(
702
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_MINT_LIQUIDITY") })
703
+ .transform((v) => ({ action_type: v.actionType })),
704
+ ),
705
+ UniswapMintLiquidityProvisionParams$outboundSchema.and(
706
+ z.object({ actionType: z.literal("UNISWAP_MINT_LIQUIDITY") }).transform((
707
+ v,
708
+ ) => ({ action_type: v.actionType })),
709
+ ),
397
710
  ]);
398
711
 
399
712
  /**
@@ -429,85 +742,233 @@ export const UserOperation$inboundSchema: z.ZodType<
429
742
  z.ZodTypeDef,
430
743
  unknown
431
744
  > = z.object({
432
- action_type: MulticallActionType$inboundSchema,
433
745
  body: z.union([
434
- UnwrapWethParams$inboundSchema,
435
- WrapEthParams$inboundSchema,
436
- MorphoSetVaultAllowanceParams$inboundSchema,
437
- SkyBuyParams$inboundSchema,
438
- SkySellParams$inboundSchema,
439
- SkyDepositParams$inboundSchema,
440
- SkyWithdrawParams$inboundSchema,
441
- PendleBuyPtParams$inboundSchema,
442
- PendleSellPtParams$inboundSchema,
443
- PendleBuyYtParams$inboundSchema,
444
- PendleSellYtParams$inboundSchema,
445
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema,
446
- UniswapWithdrawLiquidityProvisionParams$inboundSchema,
447
- AaveSupplyParams$inboundSchema,
448
- AaveWithdrawParams$inboundSchema,
449
- MorphoDepositParams$inboundSchema,
450
- MorphoWithdrawParams$inboundSchema,
451
- TokenTransferErc20Params$inboundSchema,
452
- IncreaseAllowanceParams$inboundSchema,
453
- AaveBorrowParams$inboundSchema,
454
- AaveRepayParams$inboundSchema,
455
- MorphoBorrowParams$inboundSchema,
456
- MorphoRepayParams$inboundSchema,
457
- MorphoSupplyCollateralParams$inboundSchema,
458
- MorphoWithdrawCollateralParams$inboundSchema,
459
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema,
460
- AerodromeSlipstreamBuyExactlyParams$inboundSchema,
461
- AerodromeSlipstreamSellExactlyParams$inboundSchema,
462
- UniswapIncreaseLiquidityProvisionParams$inboundSchema,
463
- UniswapBuyExactlyParams$inboundSchema,
464
- UniswapSellExactlyParams$inboundSchema,
465
- AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema,
466
- UniswapMintLiquidityProvisionParams$inboundSchema,
746
+ UnwrapWethParams$inboundSchema.and(
747
+ z.object({ action_type: z.literal("UNWRAP_WETH") }).transform((v) => ({
748
+ actionType: v.action_type,
749
+ })),
750
+ ),
751
+ WrapEthParams$inboundSchema.and(
752
+ z.object({ action_type: z.literal("WRAP_ETH") }).transform((v) => ({
753
+ actionType: v.action_type,
754
+ })),
755
+ ),
756
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(
757
+ z.object({
758
+ action_type: z.literal("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"),
759
+ }).transform((v) => ({ actionType: v.action_type })),
760
+ ),
761
+ MorphoSetVaultAllowanceParams$inboundSchema.and(
762
+ z.object({ action_type: z.literal("MORPHO_SET_VAULT_ALLOWANCE") })
763
+ .transform((v) => ({ actionType: v.action_type })),
764
+ ),
765
+ PendleBuyPtParams$inboundSchema.and(
766
+ z.object({ action_type: z.literal("PENDLE_BUY_PT") }).transform((v) => ({
767
+ actionType: v.action_type,
768
+ })),
769
+ ),
770
+ PendleBuyYtParams$inboundSchema.and(
771
+ z.object({ action_type: z.literal("PENDLE_BUY_YT") }).transform((v) => ({
772
+ actionType: v.action_type,
773
+ })),
774
+ ),
775
+ PendleSellPtParams$inboundSchema.and(
776
+ z.object({ action_type: z.literal("PENDLE_SELL_PT") }).transform((v) => ({
777
+ actionType: v.action_type,
778
+ })),
779
+ ),
780
+ PendleSellYtParams$inboundSchema.and(
781
+ z.object({ action_type: z.literal("PENDLE_SELL_YT") }).transform((v) => ({
782
+ actionType: v.action_type,
783
+ })),
784
+ ),
785
+ SkyBuyParams$inboundSchema.and(
786
+ z.object({ action_type: z.literal("SKY_BUY") }).transform((v) => ({
787
+ actionType: v.action_type,
788
+ })),
789
+ ),
790
+ SkyDepositParams$inboundSchema.and(
791
+ z.object({ action_type: z.literal("SKY_DEPOSIT") }).transform((v) => ({
792
+ actionType: v.action_type,
793
+ })),
794
+ ),
795
+ SkySellParams$inboundSchema.and(
796
+ z.object({ action_type: z.literal("SKY_SELL") }).transform((v) => ({
797
+ actionType: v.action_type,
798
+ })),
799
+ ),
800
+ SkyWithdrawParams$inboundSchema.and(
801
+ z.object({ action_type: z.literal("SKY_WITHDRAW") }).transform((v) => ({
802
+ actionType: v.action_type,
803
+ })),
804
+ ),
805
+ UniswapWithdrawLiquidityProvisionParams$inboundSchema.and(
806
+ z.object({ action_type: z.literal("UNISWAP_WITHDRAW_LIQUIDITY") })
807
+ .transform((v) => ({ actionType: v.action_type })),
808
+ ),
809
+ AaveSupplyParams$inboundSchema.and(
810
+ z.object({ action_type: z.literal("AAVE_SUPPLY") }).transform((v) => ({
811
+ actionType: v.action_type,
812
+ })),
813
+ ),
814
+ AaveWithdrawParams$inboundSchema.and(
815
+ z.object({ action_type: z.literal("AAVE_WITHDRAW") }).transform((v) => ({
816
+ actionType: v.action_type,
817
+ })),
818
+ ),
819
+ IncreaseAllowanceParams$inboundSchema.and(
820
+ z.object({ action_type: z.literal("ALLOWANCE_INCREASE") }).transform((
821
+ v,
822
+ ) => ({ actionType: v.action_type })),
823
+ ),
824
+ MorphoDepositParams$inboundSchema.and(
825
+ z.object({ action_type: z.literal("MORPHO_DEPOSIT") }).transform((v) => ({
826
+ actionType: v.action_type,
827
+ })),
828
+ ),
829
+ MorphoWithdrawParams$inboundSchema.and(
830
+ z.object({ action_type: z.literal("MORPHO_WITHDRAW") }).transform((
831
+ v,
832
+ ) => ({ actionType: v.action_type })),
833
+ ),
834
+ TokenTransferErc20Params$inboundSchema.and(
835
+ z.object({ action_type: z.literal("TOKEN_TRANSFER_ERC20") }).transform((
836
+ v,
837
+ ) => ({ actionType: v.action_type })),
838
+ ),
839
+ AaveBorrowParams$inboundSchema.and(
840
+ z.object({ action_type: z.literal("AAVE_BORROW") }).transform((v) => ({
841
+ actionType: v.action_type,
842
+ })),
843
+ ),
844
+ AaveRepayParams$inboundSchema.and(
845
+ z.object({ action_type: z.literal("AAVE_REPAY") }).transform((v) => ({
846
+ actionType: v.action_type,
847
+ })),
848
+ ),
849
+ MorphoBorrowParams$inboundSchema.and(
850
+ z.object({ action_type: z.literal("MORPHO_BORROW") }).transform((v) => ({
851
+ actionType: v.action_type,
852
+ })),
853
+ ),
854
+ MorphoRepayParams$inboundSchema.and(
855
+ z.object({ action_type: z.literal("MORPHO_REPAY") }).transform((v) => ({
856
+ actionType: v.action_type,
857
+ })),
858
+ ),
859
+ MorphoSupplyCollateralParams$inboundSchema.and(
860
+ z.object({ action_type: z.literal("MORPHO_SUPPLY_COLLATERAL") })
861
+ .transform((v) => ({ actionType: v.action_type })),
862
+ ),
863
+ MorphoWithdrawCollateralParams$inboundSchema.and(
864
+ z.object({ action_type: z.literal("MORPHO_WITHDRAW_COLLATERAL") })
865
+ .transform((v) => ({ actionType: v.action_type })),
866
+ ),
867
+ AerodromeSlipstreamBuyExactlyParams$inboundSchema.and(
868
+ z.object({ action_type: z.literal("AERODROME_SLIPSTREAM_BUY_EXACTLY") })
869
+ .transform((v) => ({ actionType: v.action_type })),
870
+ ),
871
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema.and(
872
+ z.object({
873
+ action_type: z.literal("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"),
874
+ }).transform((v) => ({ actionType: v.action_type })),
875
+ ),
876
+ AerodromeSlipstreamSellExactlyParams$inboundSchema.and(
877
+ z.object({ action_type: z.literal("AERODROME_SLIPSTREAM_SELL_EXACTLY") })
878
+ .transform((v) => ({ actionType: v.action_type })),
879
+ ),
880
+ UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(
881
+ z.object({ action_type: z.literal("UNISWAP_ADD_LIQUIDITY") }).transform((
882
+ v,
883
+ ) => ({ actionType: v.action_type })),
884
+ ),
885
+ UniswapBuyExactlyParams$inboundSchema.and(
886
+ z.object({ action_type: z.literal("UNISWAP_BUY_EXACTLY") }).transform((
887
+ v,
888
+ ) => ({ actionType: v.action_type })),
889
+ ),
890
+ UniswapSellExactlyParams$inboundSchema.and(
891
+ z.object({ action_type: z.literal("UNISWAP_SELL_EXACTLY") }).transform((
892
+ v,
893
+ ) => ({ actionType: v.action_type })),
894
+ ),
895
+ AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(
896
+ z.object({
897
+ action_type: z.literal("AERODROME_SLIPSTREAM_MINT_LIQUIDITY"),
898
+ }).transform((v) => ({ actionType: v.action_type })),
899
+ ),
900
+ UniswapMintLiquidityProvisionParams$inboundSchema.and(
901
+ z.object({ action_type: z.literal("UNISWAP_MINT_LIQUIDITY") }).transform((
902
+ v,
903
+ ) => ({ actionType: v.action_type })),
904
+ ),
467
905
  ]),
468
- }).transform((v) => {
469
- return remap$(v, {
470
- "action_type": "actionType",
471
- });
472
906
  });
473
907
 
474
908
  /** @internal */
475
909
  export type UserOperation$Outbound = {
476
- action_type: string;
477
910
  body:
478
- | UnwrapWethParams$Outbound
479
- | WrapEthParams$Outbound
480
- | MorphoSetVaultAllowanceParams$Outbound
481
- | SkyBuyParams$Outbound
482
- | SkySellParams$Outbound
483
- | SkyDepositParams$Outbound
484
- | SkyWithdrawParams$Outbound
485
- | PendleBuyPtParams$Outbound
486
- | PendleSellPtParams$Outbound
487
- | PendleBuyYtParams$Outbound
488
- | PendleSellYtParams$Outbound
489
- | AerodromeSlipstreamWithdrawLiquidityProvisionParams$Outbound
490
- | UniswapWithdrawLiquidityProvisionParams$Outbound
491
- | AaveSupplyParams$Outbound
492
- | AaveWithdrawParams$Outbound
493
- | MorphoDepositParams$Outbound
494
- | MorphoWithdrawParams$Outbound
495
- | TokenTransferErc20Params$Outbound
496
- | IncreaseAllowanceParams$Outbound
497
- | AaveBorrowParams$Outbound
498
- | AaveRepayParams$Outbound
499
- | MorphoBorrowParams$Outbound
500
- | MorphoRepayParams$Outbound
501
- | MorphoSupplyCollateralParams$Outbound
502
- | MorphoWithdrawCollateralParams$Outbound
503
- | AerodromeSlipstreamIncreaseLiquidityProvisionParams$Outbound
504
- | AerodromeSlipstreamBuyExactlyParams$Outbound
505
- | AerodromeSlipstreamSellExactlyParams$Outbound
506
- | UniswapIncreaseLiquidityProvisionParams$Outbound
507
- | UniswapBuyExactlyParams$Outbound
508
- | UniswapSellExactlyParams$Outbound
509
- | AerodromeSlipstreamMintLiquidityProvisionParams$Outbound
510
- | UniswapMintLiquidityProvisionParams$Outbound;
911
+ | (UnwrapWethParams$Outbound & { action_type: "UNWRAP_WETH" })
912
+ | (WrapEthParams$Outbound & { action_type: "WRAP_ETH" })
913
+ | (AerodromeSlipstreamWithdrawLiquidityProvisionParams$Outbound & {
914
+ action_type: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY";
915
+ })
916
+ | (MorphoSetVaultAllowanceParams$Outbound & {
917
+ action_type: "MORPHO_SET_VAULT_ALLOWANCE";
918
+ })
919
+ | (PendleBuyPtParams$Outbound & { action_type: "PENDLE_BUY_PT" })
920
+ | (PendleBuyYtParams$Outbound & { action_type: "PENDLE_BUY_YT" })
921
+ | (PendleSellPtParams$Outbound & { action_type: "PENDLE_SELL_PT" })
922
+ | (PendleSellYtParams$Outbound & { action_type: "PENDLE_SELL_YT" })
923
+ | (SkyBuyParams$Outbound & { action_type: "SKY_BUY" })
924
+ | (SkyDepositParams$Outbound & { action_type: "SKY_DEPOSIT" })
925
+ | (SkySellParams$Outbound & { action_type: "SKY_SELL" })
926
+ | (SkyWithdrawParams$Outbound & { action_type: "SKY_WITHDRAW" })
927
+ | (UniswapWithdrawLiquidityProvisionParams$Outbound & {
928
+ action_type: "UNISWAP_WITHDRAW_LIQUIDITY";
929
+ })
930
+ | (AaveSupplyParams$Outbound & { action_type: "AAVE_SUPPLY" })
931
+ | (AaveWithdrawParams$Outbound & { action_type: "AAVE_WITHDRAW" })
932
+ | (IncreaseAllowanceParams$Outbound & { action_type: "ALLOWANCE_INCREASE" })
933
+ | (MorphoDepositParams$Outbound & { action_type: "MORPHO_DEPOSIT" })
934
+ | (MorphoWithdrawParams$Outbound & { action_type: "MORPHO_WITHDRAW" })
935
+ | (TokenTransferErc20Params$Outbound & {
936
+ action_type: "TOKEN_TRANSFER_ERC20";
937
+ })
938
+ | (AaveBorrowParams$Outbound & { action_type: "AAVE_BORROW" })
939
+ | (AaveRepayParams$Outbound & { action_type: "AAVE_REPAY" })
940
+ | (MorphoBorrowParams$Outbound & { action_type: "MORPHO_BORROW" })
941
+ | (MorphoRepayParams$Outbound & { action_type: "MORPHO_REPAY" })
942
+ | (MorphoSupplyCollateralParams$Outbound & {
943
+ action_type: "MORPHO_SUPPLY_COLLATERAL";
944
+ })
945
+ | (MorphoWithdrawCollateralParams$Outbound & {
946
+ action_type: "MORPHO_WITHDRAW_COLLATERAL";
947
+ })
948
+ | (AerodromeSlipstreamBuyExactlyParams$Outbound & {
949
+ action_type: "AERODROME_SLIPSTREAM_BUY_EXACTLY";
950
+ })
951
+ | (AerodromeSlipstreamIncreaseLiquidityProvisionParams$Outbound & {
952
+ action_type: "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY";
953
+ })
954
+ | (AerodromeSlipstreamSellExactlyParams$Outbound & {
955
+ action_type: "AERODROME_SLIPSTREAM_SELL_EXACTLY";
956
+ })
957
+ | (UniswapIncreaseLiquidityProvisionParams$Outbound & {
958
+ action_type: "UNISWAP_ADD_LIQUIDITY";
959
+ })
960
+ | (UniswapBuyExactlyParams$Outbound & {
961
+ action_type: "UNISWAP_BUY_EXACTLY";
962
+ })
963
+ | (UniswapSellExactlyParams$Outbound & {
964
+ action_type: "UNISWAP_SELL_EXACTLY";
965
+ })
966
+ | (AerodromeSlipstreamMintLiquidityProvisionParams$Outbound & {
967
+ action_type: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY";
968
+ })
969
+ | (UniswapMintLiquidityProvisionParams$Outbound & {
970
+ action_type: "UNISWAP_MINT_LIQUIDITY";
971
+ });
511
972
  };
512
973
 
513
974
  /** @internal */
@@ -516,46 +977,167 @@ export const UserOperation$outboundSchema: z.ZodType<
516
977
  z.ZodTypeDef,
517
978
  UserOperation
518
979
  > = z.object({
519
- actionType: MulticallActionType$outboundSchema,
520
980
  body: z.union([
521
- UnwrapWethParams$outboundSchema,
522
- WrapEthParams$outboundSchema,
523
- MorphoSetVaultAllowanceParams$outboundSchema,
524
- SkyBuyParams$outboundSchema,
525
- SkySellParams$outboundSchema,
526
- SkyDepositParams$outboundSchema,
527
- SkyWithdrawParams$outboundSchema,
528
- PendleBuyPtParams$outboundSchema,
529
- PendleSellPtParams$outboundSchema,
530
- PendleBuyYtParams$outboundSchema,
531
- PendleSellYtParams$outboundSchema,
532
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema,
533
- UniswapWithdrawLiquidityProvisionParams$outboundSchema,
534
- AaveSupplyParams$outboundSchema,
535
- AaveWithdrawParams$outboundSchema,
536
- MorphoDepositParams$outboundSchema,
537
- MorphoWithdrawParams$outboundSchema,
538
- TokenTransferErc20Params$outboundSchema,
539
- IncreaseAllowanceParams$outboundSchema,
540
- AaveBorrowParams$outboundSchema,
541
- AaveRepayParams$outboundSchema,
542
- MorphoBorrowParams$outboundSchema,
543
- MorphoRepayParams$outboundSchema,
544
- MorphoSupplyCollateralParams$outboundSchema,
545
- MorphoWithdrawCollateralParams$outboundSchema,
546
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema,
547
- AerodromeSlipstreamBuyExactlyParams$outboundSchema,
548
- AerodromeSlipstreamSellExactlyParams$outboundSchema,
549
- UniswapIncreaseLiquidityProvisionParams$outboundSchema,
550
- UniswapBuyExactlyParams$outboundSchema,
551
- UniswapSellExactlyParams$outboundSchema,
552
- AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema,
553
- UniswapMintLiquidityProvisionParams$outboundSchema,
981
+ UnwrapWethParams$outboundSchema.and(
982
+ z.object({ actionType: z.literal("UNWRAP_WETH") }).transform((v) => ({
983
+ action_type: v.actionType,
984
+ })),
985
+ ),
986
+ WrapEthParams$outboundSchema.and(
987
+ z.object({ actionType: z.literal("WRAP_ETH") }).transform((v) => ({
988
+ action_type: v.actionType,
989
+ })),
990
+ ),
991
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(
992
+ z.object({
993
+ actionType: z.literal("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"),
994
+ }).transform((v) => ({ action_type: v.actionType })),
995
+ ),
996
+ MorphoSetVaultAllowanceParams$outboundSchema.and(
997
+ z.object({ actionType: z.literal("MORPHO_SET_VAULT_ALLOWANCE") })
998
+ .transform((v) => ({ action_type: v.actionType })),
999
+ ),
1000
+ PendleBuyPtParams$outboundSchema.and(
1001
+ z.object({ actionType: z.literal("PENDLE_BUY_PT") }).transform((v) => ({
1002
+ action_type: v.actionType,
1003
+ })),
1004
+ ),
1005
+ PendleBuyYtParams$outboundSchema.and(
1006
+ z.object({ actionType: z.literal("PENDLE_BUY_YT") }).transform((v) => ({
1007
+ action_type: v.actionType,
1008
+ })),
1009
+ ),
1010
+ PendleSellPtParams$outboundSchema.and(
1011
+ z.object({ actionType: z.literal("PENDLE_SELL_PT") }).transform((v) => ({
1012
+ action_type: v.actionType,
1013
+ })),
1014
+ ),
1015
+ PendleSellYtParams$outboundSchema.and(
1016
+ z.object({ actionType: z.literal("PENDLE_SELL_YT") }).transform((v) => ({
1017
+ action_type: v.actionType,
1018
+ })),
1019
+ ),
1020
+ SkyBuyParams$outboundSchema.and(
1021
+ z.object({ actionType: z.literal("SKY_BUY") }).transform((v) => ({
1022
+ action_type: v.actionType,
1023
+ })),
1024
+ ),
1025
+ SkyDepositParams$outboundSchema.and(
1026
+ z.object({ actionType: z.literal("SKY_DEPOSIT") }).transform((v) => ({
1027
+ action_type: v.actionType,
1028
+ })),
1029
+ ),
1030
+ SkySellParams$outboundSchema.and(
1031
+ z.object({ actionType: z.literal("SKY_SELL") }).transform((v) => ({
1032
+ action_type: v.actionType,
1033
+ })),
1034
+ ),
1035
+ SkyWithdrawParams$outboundSchema.and(
1036
+ z.object({ actionType: z.literal("SKY_WITHDRAW") }).transform((v) => ({
1037
+ action_type: v.actionType,
1038
+ })),
1039
+ ),
1040
+ UniswapWithdrawLiquidityProvisionParams$outboundSchema.and(
1041
+ z.object({ actionType: z.literal("UNISWAP_WITHDRAW_LIQUIDITY") })
1042
+ .transform((v) => ({ action_type: v.actionType })),
1043
+ ),
1044
+ AaveSupplyParams$outboundSchema.and(
1045
+ z.object({ actionType: z.literal("AAVE_SUPPLY") }).transform((v) => ({
1046
+ action_type: v.actionType,
1047
+ })),
1048
+ ),
1049
+ AaveWithdrawParams$outboundSchema.and(
1050
+ z.object({ actionType: z.literal("AAVE_WITHDRAW") }).transform((v) => ({
1051
+ action_type: v.actionType,
1052
+ })),
1053
+ ),
1054
+ IncreaseAllowanceParams$outboundSchema.and(
1055
+ z.object({ actionType: z.literal("ALLOWANCE_INCREASE") }).transform((
1056
+ v,
1057
+ ) => ({ action_type: v.actionType })),
1058
+ ),
1059
+ MorphoDepositParams$outboundSchema.and(
1060
+ z.object({ actionType: z.literal("MORPHO_DEPOSIT") }).transform((v) => ({
1061
+ action_type: v.actionType,
1062
+ })),
1063
+ ),
1064
+ MorphoWithdrawParams$outboundSchema.and(
1065
+ z.object({ actionType: z.literal("MORPHO_WITHDRAW") }).transform((v) => ({
1066
+ action_type: v.actionType,
1067
+ })),
1068
+ ),
1069
+ TokenTransferErc20Params$outboundSchema.and(
1070
+ z.object({ actionType: z.literal("TOKEN_TRANSFER_ERC20") }).transform((
1071
+ v,
1072
+ ) => ({ action_type: v.actionType })),
1073
+ ),
1074
+ AaveBorrowParams$outboundSchema.and(
1075
+ z.object({ actionType: z.literal("AAVE_BORROW") }).transform((v) => ({
1076
+ action_type: v.actionType,
1077
+ })),
1078
+ ),
1079
+ AaveRepayParams$outboundSchema.and(
1080
+ z.object({ actionType: z.literal("AAVE_REPAY") }).transform((v) => ({
1081
+ action_type: v.actionType,
1082
+ })),
1083
+ ),
1084
+ MorphoBorrowParams$outboundSchema.and(
1085
+ z.object({ actionType: z.literal("MORPHO_BORROW") }).transform((v) => ({
1086
+ action_type: v.actionType,
1087
+ })),
1088
+ ),
1089
+ MorphoRepayParams$outboundSchema.and(
1090
+ z.object({ actionType: z.literal("MORPHO_REPAY") }).transform((v) => ({
1091
+ action_type: v.actionType,
1092
+ })),
1093
+ ),
1094
+ MorphoSupplyCollateralParams$outboundSchema.and(
1095
+ z.object({ actionType: z.literal("MORPHO_SUPPLY_COLLATERAL") }).transform(
1096
+ (v) => ({ action_type: v.actionType })
1097
+ ),
1098
+ ),
1099
+ MorphoWithdrawCollateralParams$outboundSchema.and(
1100
+ z.object({ actionType: z.literal("MORPHO_WITHDRAW_COLLATERAL") })
1101
+ .transform((v) => ({ action_type: v.actionType })),
1102
+ ),
1103
+ AerodromeSlipstreamBuyExactlyParams$outboundSchema.and(
1104
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_BUY_EXACTLY") })
1105
+ .transform((v) => ({ action_type: v.actionType })),
1106
+ ),
1107
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema.and(
1108
+ z.object({
1109
+ actionType: z.literal("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"),
1110
+ }).transform((v) => ({ action_type: v.actionType })),
1111
+ ),
1112
+ AerodromeSlipstreamSellExactlyParams$outboundSchema.and(
1113
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_SELL_EXACTLY") })
1114
+ .transform((v) => ({ action_type: v.actionType })),
1115
+ ),
1116
+ UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(
1117
+ z.object({ actionType: z.literal("UNISWAP_ADD_LIQUIDITY") }).transform((
1118
+ v,
1119
+ ) => ({ action_type: v.actionType })),
1120
+ ),
1121
+ UniswapBuyExactlyParams$outboundSchema.and(
1122
+ z.object({ actionType: z.literal("UNISWAP_BUY_EXACTLY") }).transform((
1123
+ v,
1124
+ ) => ({ action_type: v.actionType })),
1125
+ ),
1126
+ UniswapSellExactlyParams$outboundSchema.and(
1127
+ z.object({ actionType: z.literal("UNISWAP_SELL_EXACTLY") }).transform((
1128
+ v,
1129
+ ) => ({ action_type: v.actionType })),
1130
+ ),
1131
+ AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(
1132
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_MINT_LIQUIDITY") })
1133
+ .transform((v) => ({ action_type: v.actionType })),
1134
+ ),
1135
+ UniswapMintLiquidityProvisionParams$outboundSchema.and(
1136
+ z.object({ actionType: z.literal("UNISWAP_MINT_LIQUIDITY") }).transform((
1137
+ v,
1138
+ ) => ({ action_type: v.actionType })),
1139
+ ),
554
1140
  ]),
555
- }).transform((v) => {
556
- return remap$(v, {
557
- actionType: "action_type",
558
- });
559
1141
  });
560
1142
 
561
1143
  /**