@compass-labs/api-sdk 0.5.0 → 0.5.1

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 +653 -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 +426 -9
  268. package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
  269. package/dist/commonjs/models/components/useroperation.js +324 -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 +426 -9
  544. package/dist/esm/models/components/useroperation.d.ts.map +1 -1
  545. package/dist/esm/models/components/useroperation.js +324 -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 +860 -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,505 @@ 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: "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: "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("TRANSFER_ERC20") }).transform((v) => ({
415
+ actionType: v.action_type,
416
+ })),
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 & { action_type: "TRANSFER_ERC20" })
513
+ | (AaveBorrowParams$Outbound & { action_type: "AAVE_BORROW" })
514
+ | (AaveRepayParams$Outbound & { action_type: "AAVE_REPAY" })
515
+ | (MorphoBorrowParams$Outbound & { action_type: "MORPHO_BORROW" })
516
+ | (MorphoRepayParams$Outbound & { action_type: "MORPHO_REPAY" })
517
+ | (MorphoSupplyCollateralParams$Outbound & {
518
+ action_type: "MORPHO_SUPPLY_COLLATERAL";
519
+ })
520
+ | (MorphoWithdrawCollateralParams$Outbound & {
521
+ action_type: "MORPHO_WITHDRAW_COLLATERAL";
522
+ })
523
+ | (AerodromeSlipstreamBuyExactlyParams$Outbound & {
524
+ action_type: "AERODROME_SLIPSTREAM_BUY_EXACTLY";
525
+ })
526
+ | (AerodromeSlipstreamIncreaseLiquidityProvisionParams$Outbound & {
527
+ action_type: "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY";
528
+ })
529
+ | (AerodromeSlipstreamSellExactlyParams$Outbound & {
530
+ action_type: "AERODROME_SLIPSTREAM_SELL_EXACTLY";
531
+ })
532
+ | (UniswapIncreaseLiquidityProvisionParams$Outbound & {
533
+ action_type: "UNISWAP_ADD_LIQUIDITY";
534
+ })
535
+ | (UniswapBuyExactlyParams$Outbound & { action_type: "UNISWAP_BUY_EXACTLY" })
536
+ | (UniswapSellExactlyParams$Outbound & {
537
+ action_type: "UNISWAP_SELL_EXACTLY";
538
+ })
539
+ | (AerodromeSlipstreamMintLiquidityProvisionParams$Outbound & {
540
+ action_type: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY";
541
+ })
542
+ | (UniswapMintLiquidityProvisionParams$Outbound & {
543
+ action_type: "UNISWAP_MINT_LIQUIDITY";
544
+ });
360
545
 
361
546
  /** @internal */
362
547
  export const Body$outboundSchema: z.ZodType<Body$Outbound, z.ZodTypeDef, Body> =
363
548
  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,
549
+ UnwrapWethParams$outboundSchema.and(
550
+ z.object({ actionType: z.literal("UNWRAP_WETH") }).transform((v) => ({
551
+ action_type: v.actionType,
552
+ })),
553
+ ),
554
+ WrapEthParams$outboundSchema.and(
555
+ z.object({ actionType: z.literal("WRAP_ETH") }).transform((v) => ({
556
+ action_type: v.actionType,
557
+ })),
558
+ ),
559
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(
560
+ z.object({
561
+ actionType: z.literal("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"),
562
+ }).transform((v) => ({ action_type: v.actionType })),
563
+ ),
564
+ MorphoSetVaultAllowanceParams$outboundSchema.and(
565
+ z.object({ actionType: z.literal("MORPHO_SET_VAULT_ALLOWANCE") })
566
+ .transform((v) => ({ action_type: v.actionType })),
567
+ ),
568
+ PendleBuyPtParams$outboundSchema.and(
569
+ z.object({ actionType: z.literal("PENDLE_BUY_PT") }).transform((v) => ({
570
+ action_type: v.actionType,
571
+ })),
572
+ ),
573
+ PendleBuyYtParams$outboundSchema.and(
574
+ z.object({ actionType: z.literal("PENDLE_BUY_YT") }).transform((v) => ({
575
+ action_type: v.actionType,
576
+ })),
577
+ ),
578
+ PendleSellPtParams$outboundSchema.and(
579
+ z.object({ actionType: z.literal("PENDLE_SELL_PT") }).transform((v) => ({
580
+ action_type: v.actionType,
581
+ })),
582
+ ),
583
+ PendleSellYtParams$outboundSchema.and(
584
+ z.object({ actionType: z.literal("PENDLE_SELL_YT") }).transform((v) => ({
585
+ action_type: v.actionType,
586
+ })),
587
+ ),
588
+ SkyBuyParams$outboundSchema.and(
589
+ z.object({ actionType: z.literal("SKY_BUY") }).transform((v) => ({
590
+ action_type: v.actionType,
591
+ })),
592
+ ),
593
+ SkyDepositParams$outboundSchema.and(
594
+ z.object({ actionType: z.literal("SKY_DEPOSIT") }).transform((v) => ({
595
+ action_type: v.actionType,
596
+ })),
597
+ ),
598
+ SkySellParams$outboundSchema.and(
599
+ z.object({ actionType: z.literal("SKY_SELL") }).transform((v) => ({
600
+ action_type: v.actionType,
601
+ })),
602
+ ),
603
+ SkyWithdrawParams$outboundSchema.and(
604
+ z.object({ actionType: z.literal("SKY_WITHDRAW") }).transform((v) => ({
605
+ action_type: v.actionType,
606
+ })),
607
+ ),
608
+ UniswapWithdrawLiquidityProvisionParams$outboundSchema.and(
609
+ z.object({ actionType: z.literal("UNISWAP_WITHDRAW_LIQUIDITY") })
610
+ .transform((v) => ({ action_type: v.actionType })),
611
+ ),
612
+ AaveSupplyParams$outboundSchema.and(
613
+ z.object({ actionType: z.literal("AAVE_SUPPLY") }).transform((v) => ({
614
+ action_type: v.actionType,
615
+ })),
616
+ ),
617
+ AaveWithdrawParams$outboundSchema.and(
618
+ z.object({ actionType: z.literal("AAVE_WITHDRAW") }).transform((v) => ({
619
+ action_type: v.actionType,
620
+ })),
621
+ ),
622
+ IncreaseAllowanceParams$outboundSchema.and(
623
+ z.object({ actionType: z.literal("ALLOWANCE_INCREASE") }).transform((
624
+ v,
625
+ ) => ({ action_type: v.actionType })),
626
+ ),
627
+ MorphoDepositParams$outboundSchema.and(
628
+ z.object({ actionType: z.literal("MORPHO_DEPOSIT") }).transform((v) => ({
629
+ action_type: v.actionType,
630
+ })),
631
+ ),
632
+ MorphoWithdrawParams$outboundSchema.and(
633
+ z.object({ actionType: z.literal("MORPHO_WITHDRAW") }).transform((v) => ({
634
+ action_type: v.actionType,
635
+ })),
636
+ ),
637
+ TokenTransferErc20Params$outboundSchema.and(
638
+ z.object({ actionType: z.literal("TRANSFER_ERC20") }).transform((v) => ({
639
+ action_type: v.actionType,
640
+ })),
641
+ ),
642
+ AaveBorrowParams$outboundSchema.and(
643
+ z.object({ actionType: z.literal("AAVE_BORROW") }).transform((v) => ({
644
+ action_type: v.actionType,
645
+ })),
646
+ ),
647
+ AaveRepayParams$outboundSchema.and(
648
+ z.object({ actionType: z.literal("AAVE_REPAY") }).transform((v) => ({
649
+ action_type: v.actionType,
650
+ })),
651
+ ),
652
+ MorphoBorrowParams$outboundSchema.and(
653
+ z.object({ actionType: z.literal("MORPHO_BORROW") }).transform((v) => ({
654
+ action_type: v.actionType,
655
+ })),
656
+ ),
657
+ MorphoRepayParams$outboundSchema.and(
658
+ z.object({ actionType: z.literal("MORPHO_REPAY") }).transform((v) => ({
659
+ action_type: v.actionType,
660
+ })),
661
+ ),
662
+ MorphoSupplyCollateralParams$outboundSchema.and(
663
+ z.object({ actionType: z.literal("MORPHO_SUPPLY_COLLATERAL") }).transform(
664
+ (v) => ({ action_type: v.actionType })
665
+ ),
666
+ ),
667
+ MorphoWithdrawCollateralParams$outboundSchema.and(
668
+ z.object({ actionType: z.literal("MORPHO_WITHDRAW_COLLATERAL") })
669
+ .transform((v) => ({ action_type: v.actionType })),
670
+ ),
671
+ AerodromeSlipstreamBuyExactlyParams$outboundSchema.and(
672
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_BUY_EXACTLY") })
673
+ .transform((v) => ({ action_type: v.actionType })),
674
+ ),
675
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema.and(
676
+ z.object({
677
+ actionType: z.literal("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"),
678
+ }).transform((v) => ({ action_type: v.actionType })),
679
+ ),
680
+ AerodromeSlipstreamSellExactlyParams$outboundSchema.and(
681
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_SELL_EXACTLY") })
682
+ .transform((v) => ({ action_type: v.actionType })),
683
+ ),
684
+ UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(
685
+ z.object({ actionType: z.literal("UNISWAP_ADD_LIQUIDITY") }).transform((
686
+ v,
687
+ ) => ({ action_type: v.actionType })),
688
+ ),
689
+ UniswapBuyExactlyParams$outboundSchema.and(
690
+ z.object({ actionType: z.literal("UNISWAP_BUY_EXACTLY") }).transform((
691
+ v,
692
+ ) => ({ action_type: v.actionType })),
693
+ ),
694
+ UniswapSellExactlyParams$outboundSchema.and(
695
+ z.object({ actionType: z.literal("UNISWAP_SELL_EXACTLY") }).transform((
696
+ v,
697
+ ) => ({ action_type: v.actionType })),
698
+ ),
699
+ AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(
700
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_MINT_LIQUIDITY") })
701
+ .transform((v) => ({ action_type: v.actionType })),
702
+ ),
703
+ UniswapMintLiquidityProvisionParams$outboundSchema.and(
704
+ z.object({ actionType: z.literal("UNISWAP_MINT_LIQUIDITY") }).transform((
705
+ v,
706
+ ) => ({ action_type: v.actionType })),
707
+ ),
397
708
  ]);
398
709
 
399
710
  /**
@@ -429,85 +740,231 @@ export const UserOperation$inboundSchema: z.ZodType<
429
740
  z.ZodTypeDef,
430
741
  unknown
431
742
  > = z.object({
432
- action_type: MulticallActionType$inboundSchema,
433
743
  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,
744
+ UnwrapWethParams$inboundSchema.and(
745
+ z.object({ action_type: z.literal("UNWRAP_WETH") }).transform((v) => ({
746
+ actionType: v.action_type,
747
+ })),
748
+ ),
749
+ WrapEthParams$inboundSchema.and(
750
+ z.object({ action_type: z.literal("WRAP_ETH") }).transform((v) => ({
751
+ actionType: v.action_type,
752
+ })),
753
+ ),
754
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(
755
+ z.object({
756
+ action_type: z.literal("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"),
757
+ }).transform((v) => ({ actionType: v.action_type })),
758
+ ),
759
+ MorphoSetVaultAllowanceParams$inboundSchema.and(
760
+ z.object({ action_type: z.literal("MORPHO_SET_VAULT_ALLOWANCE") })
761
+ .transform((v) => ({ actionType: v.action_type })),
762
+ ),
763
+ PendleBuyPtParams$inboundSchema.and(
764
+ z.object({ action_type: z.literal("PENDLE_BUY_PT") }).transform((v) => ({
765
+ actionType: v.action_type,
766
+ })),
767
+ ),
768
+ PendleBuyYtParams$inboundSchema.and(
769
+ z.object({ action_type: z.literal("PENDLE_BUY_YT") }).transform((v) => ({
770
+ actionType: v.action_type,
771
+ })),
772
+ ),
773
+ PendleSellPtParams$inboundSchema.and(
774
+ z.object({ action_type: z.literal("PENDLE_SELL_PT") }).transform((v) => ({
775
+ actionType: v.action_type,
776
+ })),
777
+ ),
778
+ PendleSellYtParams$inboundSchema.and(
779
+ z.object({ action_type: z.literal("PENDLE_SELL_YT") }).transform((v) => ({
780
+ actionType: v.action_type,
781
+ })),
782
+ ),
783
+ SkyBuyParams$inboundSchema.and(
784
+ z.object({ action_type: z.literal("SKY_BUY") }).transform((v) => ({
785
+ actionType: v.action_type,
786
+ })),
787
+ ),
788
+ SkyDepositParams$inboundSchema.and(
789
+ z.object({ action_type: z.literal("SKY_DEPOSIT") }).transform((v) => ({
790
+ actionType: v.action_type,
791
+ })),
792
+ ),
793
+ SkySellParams$inboundSchema.and(
794
+ z.object({ action_type: z.literal("SKY_SELL") }).transform((v) => ({
795
+ actionType: v.action_type,
796
+ })),
797
+ ),
798
+ SkyWithdrawParams$inboundSchema.and(
799
+ z.object({ action_type: z.literal("SKY_WITHDRAW") }).transform((v) => ({
800
+ actionType: v.action_type,
801
+ })),
802
+ ),
803
+ UniswapWithdrawLiquidityProvisionParams$inboundSchema.and(
804
+ z.object({ action_type: z.literal("UNISWAP_WITHDRAW_LIQUIDITY") })
805
+ .transform((v) => ({ actionType: v.action_type })),
806
+ ),
807
+ AaveSupplyParams$inboundSchema.and(
808
+ z.object({ action_type: z.literal("AAVE_SUPPLY") }).transform((v) => ({
809
+ actionType: v.action_type,
810
+ })),
811
+ ),
812
+ AaveWithdrawParams$inboundSchema.and(
813
+ z.object({ action_type: z.literal("AAVE_WITHDRAW") }).transform((v) => ({
814
+ actionType: v.action_type,
815
+ })),
816
+ ),
817
+ IncreaseAllowanceParams$inboundSchema.and(
818
+ z.object({ action_type: z.literal("ALLOWANCE_INCREASE") }).transform((
819
+ v,
820
+ ) => ({ actionType: v.action_type })),
821
+ ),
822
+ MorphoDepositParams$inboundSchema.and(
823
+ z.object({ action_type: z.literal("MORPHO_DEPOSIT") }).transform((v) => ({
824
+ actionType: v.action_type,
825
+ })),
826
+ ),
827
+ MorphoWithdrawParams$inboundSchema.and(
828
+ z.object({ action_type: z.literal("MORPHO_WITHDRAW") }).transform((
829
+ v,
830
+ ) => ({ actionType: v.action_type })),
831
+ ),
832
+ TokenTransferErc20Params$inboundSchema.and(
833
+ z.object({ action_type: z.literal("TRANSFER_ERC20") }).transform((v) => ({
834
+ actionType: v.action_type,
835
+ })),
836
+ ),
837
+ AaveBorrowParams$inboundSchema.and(
838
+ z.object({ action_type: z.literal("AAVE_BORROW") }).transform((v) => ({
839
+ actionType: v.action_type,
840
+ })),
841
+ ),
842
+ AaveRepayParams$inboundSchema.and(
843
+ z.object({ action_type: z.literal("AAVE_REPAY") }).transform((v) => ({
844
+ actionType: v.action_type,
845
+ })),
846
+ ),
847
+ MorphoBorrowParams$inboundSchema.and(
848
+ z.object({ action_type: z.literal("MORPHO_BORROW") }).transform((v) => ({
849
+ actionType: v.action_type,
850
+ })),
851
+ ),
852
+ MorphoRepayParams$inboundSchema.and(
853
+ z.object({ action_type: z.literal("MORPHO_REPAY") }).transform((v) => ({
854
+ actionType: v.action_type,
855
+ })),
856
+ ),
857
+ MorphoSupplyCollateralParams$inboundSchema.and(
858
+ z.object({ action_type: z.literal("MORPHO_SUPPLY_COLLATERAL") })
859
+ .transform((v) => ({ actionType: v.action_type })),
860
+ ),
861
+ MorphoWithdrawCollateralParams$inboundSchema.and(
862
+ z.object({ action_type: z.literal("MORPHO_WITHDRAW_COLLATERAL") })
863
+ .transform((v) => ({ actionType: v.action_type })),
864
+ ),
865
+ AerodromeSlipstreamBuyExactlyParams$inboundSchema.and(
866
+ z.object({ action_type: z.literal("AERODROME_SLIPSTREAM_BUY_EXACTLY") })
867
+ .transform((v) => ({ actionType: v.action_type })),
868
+ ),
869
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema.and(
870
+ z.object({
871
+ action_type: z.literal("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"),
872
+ }).transform((v) => ({ actionType: v.action_type })),
873
+ ),
874
+ AerodromeSlipstreamSellExactlyParams$inboundSchema.and(
875
+ z.object({ action_type: z.literal("AERODROME_SLIPSTREAM_SELL_EXACTLY") })
876
+ .transform((v) => ({ actionType: v.action_type })),
877
+ ),
878
+ UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(
879
+ z.object({ action_type: z.literal("UNISWAP_ADD_LIQUIDITY") }).transform((
880
+ v,
881
+ ) => ({ actionType: v.action_type })),
882
+ ),
883
+ UniswapBuyExactlyParams$inboundSchema.and(
884
+ z.object({ action_type: z.literal("UNISWAP_BUY_EXACTLY") }).transform((
885
+ v,
886
+ ) => ({ actionType: v.action_type })),
887
+ ),
888
+ UniswapSellExactlyParams$inboundSchema.and(
889
+ z.object({ action_type: z.literal("UNISWAP_SELL_EXACTLY") }).transform((
890
+ v,
891
+ ) => ({ actionType: v.action_type })),
892
+ ),
893
+ AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(
894
+ z.object({
895
+ action_type: z.literal("AERODROME_SLIPSTREAM_MINT_LIQUIDITY"),
896
+ }).transform((v) => ({ actionType: v.action_type })),
897
+ ),
898
+ UniswapMintLiquidityProvisionParams$inboundSchema.and(
899
+ z.object({ action_type: z.literal("UNISWAP_MINT_LIQUIDITY") }).transform((
900
+ v,
901
+ ) => ({ actionType: v.action_type })),
902
+ ),
467
903
  ]),
468
- }).transform((v) => {
469
- return remap$(v, {
470
- "action_type": "actionType",
471
- });
472
904
  });
473
905
 
474
906
  /** @internal */
475
907
  export type UserOperation$Outbound = {
476
- action_type: string;
477
908
  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;
909
+ | (UnwrapWethParams$Outbound & { action_type: "UNWRAP_WETH" })
910
+ | (WrapEthParams$Outbound & { action_type: "WRAP_ETH" })
911
+ | (AerodromeSlipstreamWithdrawLiquidityProvisionParams$Outbound & {
912
+ action_type: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY";
913
+ })
914
+ | (MorphoSetVaultAllowanceParams$Outbound & {
915
+ action_type: "MORPHO_SET_VAULT_ALLOWANCE";
916
+ })
917
+ | (PendleBuyPtParams$Outbound & { action_type: "PENDLE_BUY_PT" })
918
+ | (PendleBuyYtParams$Outbound & { action_type: "PENDLE_BUY_YT" })
919
+ | (PendleSellPtParams$Outbound & { action_type: "PENDLE_SELL_PT" })
920
+ | (PendleSellYtParams$Outbound & { action_type: "PENDLE_SELL_YT" })
921
+ | (SkyBuyParams$Outbound & { action_type: "SKY_BUY" })
922
+ | (SkyDepositParams$Outbound & { action_type: "SKY_DEPOSIT" })
923
+ | (SkySellParams$Outbound & { action_type: "SKY_SELL" })
924
+ | (SkyWithdrawParams$Outbound & { action_type: "SKY_WITHDRAW" })
925
+ | (UniswapWithdrawLiquidityProvisionParams$Outbound & {
926
+ action_type: "UNISWAP_WITHDRAW_LIQUIDITY";
927
+ })
928
+ | (AaveSupplyParams$Outbound & { action_type: "AAVE_SUPPLY" })
929
+ | (AaveWithdrawParams$Outbound & { action_type: "AAVE_WITHDRAW" })
930
+ | (IncreaseAllowanceParams$Outbound & { action_type: "ALLOWANCE_INCREASE" })
931
+ | (MorphoDepositParams$Outbound & { action_type: "MORPHO_DEPOSIT" })
932
+ | (MorphoWithdrawParams$Outbound & { action_type: "MORPHO_WITHDRAW" })
933
+ | (TokenTransferErc20Params$Outbound & { action_type: "TRANSFER_ERC20" })
934
+ | (AaveBorrowParams$Outbound & { action_type: "AAVE_BORROW" })
935
+ | (AaveRepayParams$Outbound & { action_type: "AAVE_REPAY" })
936
+ | (MorphoBorrowParams$Outbound & { action_type: "MORPHO_BORROW" })
937
+ | (MorphoRepayParams$Outbound & { action_type: "MORPHO_REPAY" })
938
+ | (MorphoSupplyCollateralParams$Outbound & {
939
+ action_type: "MORPHO_SUPPLY_COLLATERAL";
940
+ })
941
+ | (MorphoWithdrawCollateralParams$Outbound & {
942
+ action_type: "MORPHO_WITHDRAW_COLLATERAL";
943
+ })
944
+ | (AerodromeSlipstreamBuyExactlyParams$Outbound & {
945
+ action_type: "AERODROME_SLIPSTREAM_BUY_EXACTLY";
946
+ })
947
+ | (AerodromeSlipstreamIncreaseLiquidityProvisionParams$Outbound & {
948
+ action_type: "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY";
949
+ })
950
+ | (AerodromeSlipstreamSellExactlyParams$Outbound & {
951
+ action_type: "AERODROME_SLIPSTREAM_SELL_EXACTLY";
952
+ })
953
+ | (UniswapIncreaseLiquidityProvisionParams$Outbound & {
954
+ action_type: "UNISWAP_ADD_LIQUIDITY";
955
+ })
956
+ | (UniswapBuyExactlyParams$Outbound & {
957
+ action_type: "UNISWAP_BUY_EXACTLY";
958
+ })
959
+ | (UniswapSellExactlyParams$Outbound & {
960
+ action_type: "UNISWAP_SELL_EXACTLY";
961
+ })
962
+ | (AerodromeSlipstreamMintLiquidityProvisionParams$Outbound & {
963
+ action_type: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY";
964
+ })
965
+ | (UniswapMintLiquidityProvisionParams$Outbound & {
966
+ action_type: "UNISWAP_MINT_LIQUIDITY";
967
+ });
511
968
  };
512
969
 
513
970
  /** @internal */
@@ -516,46 +973,167 @@ export const UserOperation$outboundSchema: z.ZodType<
516
973
  z.ZodTypeDef,
517
974
  UserOperation
518
975
  > = z.object({
519
- actionType: MulticallActionType$outboundSchema,
520
976
  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,
977
+ UnwrapWethParams$outboundSchema.and(
978
+ z.object({ actionType: z.literal("UNWRAP_WETH") }).transform((v) => ({
979
+ action_type: v.actionType,
980
+ })),
981
+ ),
982
+ WrapEthParams$outboundSchema.and(
983
+ z.object({ actionType: z.literal("WRAP_ETH") }).transform((v) => ({
984
+ action_type: v.actionType,
985
+ })),
986
+ ),
987
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(
988
+ z.object({
989
+ actionType: z.literal("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY"),
990
+ }).transform((v) => ({ action_type: v.actionType })),
991
+ ),
992
+ MorphoSetVaultAllowanceParams$outboundSchema.and(
993
+ z.object({ actionType: z.literal("MORPHO_SET_VAULT_ALLOWANCE") })
994
+ .transform((v) => ({ action_type: v.actionType })),
995
+ ),
996
+ PendleBuyPtParams$outboundSchema.and(
997
+ z.object({ actionType: z.literal("PENDLE_BUY_PT") }).transform((v) => ({
998
+ action_type: v.actionType,
999
+ })),
1000
+ ),
1001
+ PendleBuyYtParams$outboundSchema.and(
1002
+ z.object({ actionType: z.literal("PENDLE_BUY_YT") }).transform((v) => ({
1003
+ action_type: v.actionType,
1004
+ })),
1005
+ ),
1006
+ PendleSellPtParams$outboundSchema.and(
1007
+ z.object({ actionType: z.literal("PENDLE_SELL_PT") }).transform((v) => ({
1008
+ action_type: v.actionType,
1009
+ })),
1010
+ ),
1011
+ PendleSellYtParams$outboundSchema.and(
1012
+ z.object({ actionType: z.literal("PENDLE_SELL_YT") }).transform((v) => ({
1013
+ action_type: v.actionType,
1014
+ })),
1015
+ ),
1016
+ SkyBuyParams$outboundSchema.and(
1017
+ z.object({ actionType: z.literal("SKY_BUY") }).transform((v) => ({
1018
+ action_type: v.actionType,
1019
+ })),
1020
+ ),
1021
+ SkyDepositParams$outboundSchema.and(
1022
+ z.object({ actionType: z.literal("SKY_DEPOSIT") }).transform((v) => ({
1023
+ action_type: v.actionType,
1024
+ })),
1025
+ ),
1026
+ SkySellParams$outboundSchema.and(
1027
+ z.object({ actionType: z.literal("SKY_SELL") }).transform((v) => ({
1028
+ action_type: v.actionType,
1029
+ })),
1030
+ ),
1031
+ SkyWithdrawParams$outboundSchema.and(
1032
+ z.object({ actionType: z.literal("SKY_WITHDRAW") }).transform((v) => ({
1033
+ action_type: v.actionType,
1034
+ })),
1035
+ ),
1036
+ UniswapWithdrawLiquidityProvisionParams$outboundSchema.and(
1037
+ z.object({ actionType: z.literal("UNISWAP_WITHDRAW_LIQUIDITY") })
1038
+ .transform((v) => ({ action_type: v.actionType })),
1039
+ ),
1040
+ AaveSupplyParams$outboundSchema.and(
1041
+ z.object({ actionType: z.literal("AAVE_SUPPLY") }).transform((v) => ({
1042
+ action_type: v.actionType,
1043
+ })),
1044
+ ),
1045
+ AaveWithdrawParams$outboundSchema.and(
1046
+ z.object({ actionType: z.literal("AAVE_WITHDRAW") }).transform((v) => ({
1047
+ action_type: v.actionType,
1048
+ })),
1049
+ ),
1050
+ IncreaseAllowanceParams$outboundSchema.and(
1051
+ z.object({ actionType: z.literal("ALLOWANCE_INCREASE") }).transform((
1052
+ v,
1053
+ ) => ({ action_type: v.actionType })),
1054
+ ),
1055
+ MorphoDepositParams$outboundSchema.and(
1056
+ z.object({ actionType: z.literal("MORPHO_DEPOSIT") }).transform((v) => ({
1057
+ action_type: v.actionType,
1058
+ })),
1059
+ ),
1060
+ MorphoWithdrawParams$outboundSchema.and(
1061
+ z.object({ actionType: z.literal("MORPHO_WITHDRAW") }).transform((v) => ({
1062
+ action_type: v.actionType,
1063
+ })),
1064
+ ),
1065
+ TokenTransferErc20Params$outboundSchema.and(
1066
+ z.object({ actionType: z.literal("TRANSFER_ERC20") }).transform((v) => ({
1067
+ action_type: v.actionType,
1068
+ })),
1069
+ ),
1070
+ AaveBorrowParams$outboundSchema.and(
1071
+ z.object({ actionType: z.literal("AAVE_BORROW") }).transform((v) => ({
1072
+ action_type: v.actionType,
1073
+ })),
1074
+ ),
1075
+ AaveRepayParams$outboundSchema.and(
1076
+ z.object({ actionType: z.literal("AAVE_REPAY") }).transform((v) => ({
1077
+ action_type: v.actionType,
1078
+ })),
1079
+ ),
1080
+ MorphoBorrowParams$outboundSchema.and(
1081
+ z.object({ actionType: z.literal("MORPHO_BORROW") }).transform((v) => ({
1082
+ action_type: v.actionType,
1083
+ })),
1084
+ ),
1085
+ MorphoRepayParams$outboundSchema.and(
1086
+ z.object({ actionType: z.literal("MORPHO_REPAY") }).transform((v) => ({
1087
+ action_type: v.actionType,
1088
+ })),
1089
+ ),
1090
+ MorphoSupplyCollateralParams$outboundSchema.and(
1091
+ z.object({ actionType: z.literal("MORPHO_SUPPLY_COLLATERAL") }).transform(
1092
+ (v) => ({ action_type: v.actionType })
1093
+ ),
1094
+ ),
1095
+ MorphoWithdrawCollateralParams$outboundSchema.and(
1096
+ z.object({ actionType: z.literal("MORPHO_WITHDRAW_COLLATERAL") })
1097
+ .transform((v) => ({ action_type: v.actionType })),
1098
+ ),
1099
+ AerodromeSlipstreamBuyExactlyParams$outboundSchema.and(
1100
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_BUY_EXACTLY") })
1101
+ .transform((v) => ({ action_type: v.actionType })),
1102
+ ),
1103
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema.and(
1104
+ z.object({
1105
+ actionType: z.literal("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY"),
1106
+ }).transform((v) => ({ action_type: v.actionType })),
1107
+ ),
1108
+ AerodromeSlipstreamSellExactlyParams$outboundSchema.and(
1109
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_SELL_EXACTLY") })
1110
+ .transform((v) => ({ action_type: v.actionType })),
1111
+ ),
1112
+ UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(
1113
+ z.object({ actionType: z.literal("UNISWAP_ADD_LIQUIDITY") }).transform((
1114
+ v,
1115
+ ) => ({ action_type: v.actionType })),
1116
+ ),
1117
+ UniswapBuyExactlyParams$outboundSchema.and(
1118
+ z.object({ actionType: z.literal("UNISWAP_BUY_EXACTLY") }).transform((
1119
+ v,
1120
+ ) => ({ action_type: v.actionType })),
1121
+ ),
1122
+ UniswapSellExactlyParams$outboundSchema.and(
1123
+ z.object({ actionType: z.literal("UNISWAP_SELL_EXACTLY") }).transform((
1124
+ v,
1125
+ ) => ({ action_type: v.actionType })),
1126
+ ),
1127
+ AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(
1128
+ z.object({ actionType: z.literal("AERODROME_SLIPSTREAM_MINT_LIQUIDITY") })
1129
+ .transform((v) => ({ action_type: v.actionType })),
1130
+ ),
1131
+ UniswapMintLiquidityProvisionParams$outboundSchema.and(
1132
+ z.object({ actionType: z.literal("UNISWAP_MINT_LIQUIDITY") }).transform((
1133
+ v,
1134
+ ) => ({ action_type: v.actionType })),
1135
+ ),
554
1136
  ]),
555
- }).transform((v) => {
556
- return remap$(v, {
557
- actionType: "action_type",
558
- });
559
1137
  });
560
1138
 
561
1139
  /**