@compass-labs/api-sdk 0.4.3 → 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 +1077 -1092
  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 -4
  8. package/dist/commonjs/models/components/aaveborrowparams.d.ts.map +1 -1
  9. package/dist/commonjs/models/components/aaveborrowparams.js +10 -11
  10. package/dist/commonjs/models/components/aaveborrowparams.js.map +1 -1
  11. package/dist/commonjs/models/components/aaveborrowrequest.d.ts +2 -4
  12. package/dist/commonjs/models/components/aaveborrowrequest.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/aaveborrowrequest.js +10 -11
  14. package/dist/commonjs/models/components/aaveborrowrequest.js.map +1 -1
  15. package/dist/commonjs/models/components/aaverepayparams.d.ts +2 -4
  16. package/dist/commonjs/models/components/aaverepayparams.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/aaverepayparams.js +10 -11
  18. package/dist/commonjs/models/components/aaverepayparams.js.map +1 -1
  19. package/dist/commonjs/models/components/aaverepayrequest.d.ts +2 -4
  20. package/dist/commonjs/models/components/aaverepayrequest.d.ts.map +1 -1
  21. package/dist/commonjs/models/components/aaverepayrequest.js +10 -11
  22. package/dist/commonjs/models/components/aaverepayrequest.js.map +1 -1
  23. package/dist/commonjs/models/components/aavesupplyparams.d.ts +2 -4
  24. package/dist/commonjs/models/components/aavesupplyparams.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/aavesupplyparams.js +9 -10
  26. package/dist/commonjs/models/components/aavesupplyparams.js.map +1 -1
  27. package/dist/commonjs/models/components/aavesupplyrequest.d.ts +2 -4
  28. package/dist/commonjs/models/components/aavesupplyrequest.d.ts.map +1 -1
  29. package/dist/commonjs/models/components/aavesupplyrequest.js +9 -10
  30. package/dist/commonjs/models/components/aavesupplyrequest.js.map +1 -1
  31. package/dist/commonjs/models/components/aavewithdrawparams.d.ts +2 -4
  32. package/dist/commonjs/models/components/aavewithdrawparams.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/aavewithdrawparams.js +11 -9
  34. package/dist/commonjs/models/components/aavewithdrawparams.js.map +1 -1
  35. package/dist/commonjs/models/components/aavewithdrawrequest.d.ts +2 -4
  36. package/dist/commonjs/models/components/aavewithdrawrequest.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/aavewithdrawrequest.js +11 -9
  38. package/dist/commonjs/models/components/aavewithdrawrequest.js.map +1 -1
  39. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts +2 -4
  40. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js +13 -14
  42. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -1
  43. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +2 -4
  44. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
  45. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js +13 -14
  46. package/dist/commonjs/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
  47. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts +2 -4
  48. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js +15 -14
  50. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js.map +1 -1
  51. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +2 -4
  52. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +15 -14
  54. package/dist/commonjs/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
  55. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +2 -4
  56. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -1
  57. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js +17 -16
  58. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -1
  59. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +2 -4
  60. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +17 -16
  62. package/dist/commonjs/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
  63. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts +2 -4
  64. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -1
  65. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js +13 -14
  66. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -1
  67. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +2 -4
  68. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
  69. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js +13 -14
  70. package/dist/commonjs/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
  71. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts +2 -4
  72. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts.map +1 -1
  73. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js +12 -11
  74. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js.map +1 -1
  75. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +2 -4
  76. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
  77. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +12 -11
  78. package/dist/commonjs/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
  79. package/dist/commonjs/models/components/increaseallowanceparams.d.ts +2 -4
  80. package/dist/commonjs/models/components/increaseallowanceparams.d.ts.map +1 -1
  81. package/dist/commonjs/models/components/increaseallowanceparams.js +9 -10
  82. package/dist/commonjs/models/components/increaseallowanceparams.js.map +1 -1
  83. package/dist/commonjs/models/components/increaseallowancerequest.d.ts +2 -4
  84. package/dist/commonjs/models/components/increaseallowancerequest.d.ts.map +1 -1
  85. package/dist/commonjs/models/components/increaseallowancerequest.js +9 -10
  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 -4
  92. package/dist/commonjs/models/components/morphoborrowparams.d.ts.map +1 -1
  93. package/dist/commonjs/models/components/morphoborrowparams.js +10 -11
  94. package/dist/commonjs/models/components/morphoborrowparams.js.map +1 -1
  95. package/dist/commonjs/models/components/morphoborrowrequest.d.ts +2 -4
  96. package/dist/commonjs/models/components/morphoborrowrequest.d.ts.map +1 -1
  97. package/dist/commonjs/models/components/morphoborrowrequest.js +10 -11
  98. package/dist/commonjs/models/components/morphoborrowrequest.js.map +1 -1
  99. package/dist/commonjs/models/components/morphodepositparams.d.ts +2 -4
  100. package/dist/commonjs/models/components/morphodepositparams.d.ts.map +1 -1
  101. package/dist/commonjs/models/components/morphodepositparams.js +9 -10
  102. package/dist/commonjs/models/components/morphodepositparams.js.map +1 -1
  103. package/dist/commonjs/models/components/morphodepositrequest.d.ts +2 -4
  104. package/dist/commonjs/models/components/morphodepositrequest.d.ts.map +1 -1
  105. package/dist/commonjs/models/components/morphodepositrequest.js +9 -10
  106. package/dist/commonjs/models/components/morphodepositrequest.js.map +1 -1
  107. package/dist/commonjs/models/components/morphorepayparams.d.ts +2 -4
  108. package/dist/commonjs/models/components/morphorepayparams.d.ts.map +1 -1
  109. package/dist/commonjs/models/components/morphorepayparams.js +11 -12
  110. package/dist/commonjs/models/components/morphorepayparams.js.map +1 -1
  111. package/dist/commonjs/models/components/morphorepayrequest.d.ts +2 -4
  112. package/dist/commonjs/models/components/morphorepayrequest.d.ts.map +1 -1
  113. package/dist/commonjs/models/components/morphorepayrequest.js +11 -12
  114. package/dist/commonjs/models/components/morphorepayrequest.js.map +1 -1
  115. package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts +2 -4
  116. package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts.map +1 -1
  117. package/dist/commonjs/models/components/morphosetvaultallowanceparams.js +9 -10
  118. package/dist/commonjs/models/components/morphosetvaultallowanceparams.js.map +1 -1
  119. package/dist/commonjs/models/components/morphosetvaultallowancerequest.d.ts +2 -4
  120. package/dist/commonjs/models/components/morphosetvaultallowancerequest.d.ts.map +1 -1
  121. package/dist/commonjs/models/components/morphosetvaultallowancerequest.js +9 -10
  122. package/dist/commonjs/models/components/morphosetvaultallowancerequest.js.map +1 -1
  123. package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts +2 -4
  124. package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts.map +1 -1
  125. package/dist/commonjs/models/components/morphosupplycollateralparams.js +11 -12
  126. package/dist/commonjs/models/components/morphosupplycollateralparams.js.map +1 -1
  127. package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts +2 -4
  128. package/dist/commonjs/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
  129. package/dist/commonjs/models/components/morphosupplycollateralrequest.js +11 -12
  130. package/dist/commonjs/models/components/morphosupplycollateralrequest.js.map +1 -1
  131. package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts +2 -4
  132. package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts.map +1 -1
  133. package/dist/commonjs/models/components/morphowithdrawcollateralparams.js +10 -11
  134. package/dist/commonjs/models/components/morphowithdrawcollateralparams.js.map +1 -1
  135. package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts +2 -4
  136. package/dist/commonjs/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
  137. package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js +10 -11
  138. package/dist/commonjs/models/components/morphowithdrawcollateralrequest.js.map +1 -1
  139. package/dist/commonjs/models/components/morphowithdrawparams.d.ts +2 -4
  140. package/dist/commonjs/models/components/morphowithdrawparams.d.ts.map +1 -1
  141. package/dist/commonjs/models/components/morphowithdrawparams.js +9 -10
  142. package/dist/commonjs/models/components/morphowithdrawparams.js.map +1 -1
  143. package/dist/commonjs/models/components/morphowithdrawrequest.d.ts +2 -4
  144. package/dist/commonjs/models/components/morphowithdrawrequest.d.ts.map +1 -1
  145. package/dist/commonjs/models/components/morphowithdrawrequest.js +9 -10
  146. package/dist/commonjs/models/components/morphowithdrawrequest.js.map +1 -1
  147. package/dist/commonjs/models/components/pendlebuyptparams.d.ts +2 -4
  148. package/dist/commonjs/models/components/pendlebuyptparams.d.ts.map +1 -1
  149. package/dist/commonjs/models/components/pendlebuyptparams.js +9 -10
  150. package/dist/commonjs/models/components/pendlebuyptparams.js.map +1 -1
  151. package/dist/commonjs/models/components/pendlebuyptrequest.d.ts +2 -4
  152. package/dist/commonjs/models/components/pendlebuyptrequest.d.ts.map +1 -1
  153. package/dist/commonjs/models/components/pendlebuyptrequest.js +9 -10
  154. package/dist/commonjs/models/components/pendlebuyptrequest.js.map +1 -1
  155. package/dist/commonjs/models/components/pendlebuyytparams.d.ts +2 -4
  156. package/dist/commonjs/models/components/pendlebuyytparams.d.ts.map +1 -1
  157. package/dist/commonjs/models/components/pendlebuyytparams.js +9 -10
  158. package/dist/commonjs/models/components/pendlebuyytparams.js.map +1 -1
  159. package/dist/commonjs/models/components/pendlebuyytrequest.d.ts +2 -4
  160. package/dist/commonjs/models/components/pendlebuyytrequest.d.ts.map +1 -1
  161. package/dist/commonjs/models/components/pendlebuyytrequest.js +9 -10
  162. package/dist/commonjs/models/components/pendlebuyytrequest.js.map +1 -1
  163. package/dist/commonjs/models/components/pendlesellptparams.d.ts +2 -4
  164. package/dist/commonjs/models/components/pendlesellptparams.d.ts.map +1 -1
  165. package/dist/commonjs/models/components/pendlesellptparams.js +9 -10
  166. package/dist/commonjs/models/components/pendlesellptparams.js.map +1 -1
  167. package/dist/commonjs/models/components/pendlesellptrequest.d.ts +2 -4
  168. package/dist/commonjs/models/components/pendlesellptrequest.d.ts.map +1 -1
  169. package/dist/commonjs/models/components/pendlesellptrequest.js +9 -10
  170. package/dist/commonjs/models/components/pendlesellptrequest.js.map +1 -1
  171. package/dist/commonjs/models/components/pendlesellytparams.d.ts +2 -4
  172. package/dist/commonjs/models/components/pendlesellytparams.d.ts.map +1 -1
  173. package/dist/commonjs/models/components/pendlesellytparams.js +9 -10
  174. package/dist/commonjs/models/components/pendlesellytparams.js.map +1 -1
  175. package/dist/commonjs/models/components/pendlesellytrequest.d.ts +2 -4
  176. package/dist/commonjs/models/components/pendlesellytrequest.d.ts.map +1 -1
  177. package/dist/commonjs/models/components/pendlesellytrequest.js +9 -10
  178. package/dist/commonjs/models/components/pendlesellytrequest.js.map +1 -1
  179. package/dist/commonjs/models/components/skybuyparams.d.ts +2 -4
  180. package/dist/commonjs/models/components/skybuyparams.d.ts.map +1 -1
  181. package/dist/commonjs/models/components/skybuyparams.js +9 -10
  182. package/dist/commonjs/models/components/skybuyparams.js.map +1 -1
  183. package/dist/commonjs/models/components/skybuyrequest.d.ts +2 -4
  184. package/dist/commonjs/models/components/skybuyrequest.d.ts.map +1 -1
  185. package/dist/commonjs/models/components/skybuyrequest.js +9 -10
  186. package/dist/commonjs/models/components/skybuyrequest.js.map +1 -1
  187. package/dist/commonjs/models/components/skydepositparams.d.ts +2 -4
  188. package/dist/commonjs/models/components/skydepositparams.d.ts.map +1 -1
  189. package/dist/commonjs/models/components/skydepositparams.js +11 -9
  190. package/dist/commonjs/models/components/skydepositparams.js.map +1 -1
  191. package/dist/commonjs/models/components/skydepositrequest.d.ts +2 -4
  192. package/dist/commonjs/models/components/skydepositrequest.d.ts.map +1 -1
  193. package/dist/commonjs/models/components/skydepositrequest.js +11 -9
  194. package/dist/commonjs/models/components/skydepositrequest.js.map +1 -1
  195. package/dist/commonjs/models/components/skysellparams.d.ts +2 -4
  196. package/dist/commonjs/models/components/skysellparams.d.ts.map +1 -1
  197. package/dist/commonjs/models/components/skysellparams.js +9 -10
  198. package/dist/commonjs/models/components/skysellparams.js.map +1 -1
  199. package/dist/commonjs/models/components/skysellrequest.d.ts +2 -4
  200. package/dist/commonjs/models/components/skysellrequest.d.ts.map +1 -1
  201. package/dist/commonjs/models/components/skysellrequest.js +9 -10
  202. package/dist/commonjs/models/components/skysellrequest.js.map +1 -1
  203. package/dist/commonjs/models/components/skywithdrawparams.d.ts +2 -4
  204. package/dist/commonjs/models/components/skywithdrawparams.d.ts.map +1 -1
  205. package/dist/commonjs/models/components/skywithdrawparams.js +11 -9
  206. package/dist/commonjs/models/components/skywithdrawparams.js.map +1 -1
  207. package/dist/commonjs/models/components/skywithdrawrequest.d.ts +2 -4
  208. package/dist/commonjs/models/components/skywithdrawrequest.d.ts.map +1 -1
  209. package/dist/commonjs/models/components/skywithdrawrequest.js +11 -9
  210. package/dist/commonjs/models/components/skywithdrawrequest.js.map +1 -1
  211. package/dist/commonjs/models/components/tokentransfererc20params.d.ts +2 -4
  212. package/dist/commonjs/models/components/tokentransfererc20params.d.ts.map +1 -1
  213. package/dist/commonjs/models/components/tokentransfererc20params.js +11 -9
  214. package/dist/commonjs/models/components/tokentransfererc20params.js.map +1 -1
  215. package/dist/commonjs/models/components/tokentransferrequest.d.ts +2 -4
  216. package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
  217. package/dist/commonjs/models/components/tokentransferrequest.js +11 -9
  218. package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
  219. package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts +2 -4
  220. package/dist/commonjs/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  221. package/dist/commonjs/models/components/uniswapbuyexactlyparams.js +12 -13
  222. package/dist/commonjs/models/components/uniswapbuyexactlyparams.js.map +1 -1
  223. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts +2 -4
  224. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  225. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js +12 -13
  226. package/dist/commonjs/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  227. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.d.ts +2 -4
  228. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.d.ts.map +1 -1
  229. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.js +13 -14
  230. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionparams.js.map +1 -1
  231. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +2 -4
  232. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
  233. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js +13 -14
  234. package/dist/commonjs/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
  235. package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts +2 -4
  236. package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -1
  237. package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js +14 -15
  238. package/dist/commonjs/models/components/uniswapmintliquidityprovisionparams.js.map +1 -1
  239. package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts +2 -4
  240. package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
  241. package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js +14 -15
  242. package/dist/commonjs/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
  243. package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts +2 -4
  244. package/dist/commonjs/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
  245. package/dist/commonjs/models/components/uniswapsellexactlyparams.js +12 -13
  246. package/dist/commonjs/models/components/uniswapsellexactlyparams.js.map +1 -1
  247. package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts +2 -4
  248. package/dist/commonjs/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
  249. package/dist/commonjs/models/components/uniswapsellexactlyrequest.js +12 -13
  250. package/dist/commonjs/models/components/uniswapsellexactlyrequest.js.map +1 -1
  251. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.d.ts +2 -4
  252. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.d.ts.map +1 -1
  253. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.js +10 -11
  254. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionparams.js.map +1 -1
  255. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +2 -4
  256. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
  257. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js +10 -11
  258. package/dist/commonjs/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
  259. package/dist/commonjs/models/components/unwrapwethparams.d.ts +2 -4
  260. package/dist/commonjs/models/components/unwrapwethparams.d.ts.map +1 -1
  261. package/dist/commonjs/models/components/unwrapwethparams.js +11 -9
  262. package/dist/commonjs/models/components/unwrapwethparams.js.map +1 -1
  263. package/dist/commonjs/models/components/unwrapwethrequest.d.ts +2 -4
  264. package/dist/commonjs/models/components/unwrapwethrequest.d.ts.map +1 -1
  265. package/dist/commonjs/models/components/unwrapwethrequest.js +11 -9
  266. package/dist/commonjs/models/components/unwrapwethrequest.js.map +1 -1
  267. package/dist/commonjs/models/components/useroperation.d.ts +426 -13
  268. package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
  269. package/dist/commonjs/models/components/useroperation.js +325 -150
  270. package/dist/commonjs/models/components/useroperation.js.map +1 -1
  271. package/dist/commonjs/models/components/wrapethparams.d.ts +2 -4
  272. package/dist/commonjs/models/components/wrapethparams.d.ts.map +1 -1
  273. package/dist/commonjs/models/components/wrapethparams.js +11 -9
  274. package/dist/commonjs/models/components/wrapethparams.js.map +1 -1
  275. package/dist/commonjs/models/components/wrapethrequest.d.ts +2 -4
  276. package/dist/commonjs/models/components/wrapethrequest.d.ts.map +1 -1
  277. package/dist/commonjs/models/components/wrapethrequest.js +11 -9
  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 -4
  284. package/dist/esm/models/components/aaveborrowparams.d.ts.map +1 -1
  285. package/dist/esm/models/components/aaveborrowparams.js +11 -12
  286. package/dist/esm/models/components/aaveborrowparams.js.map +1 -1
  287. package/dist/esm/models/components/aaveborrowrequest.d.ts +2 -4
  288. package/dist/esm/models/components/aaveborrowrequest.d.ts.map +1 -1
  289. package/dist/esm/models/components/aaveborrowrequest.js +11 -12
  290. package/dist/esm/models/components/aaveborrowrequest.js.map +1 -1
  291. package/dist/esm/models/components/aaverepayparams.d.ts +2 -4
  292. package/dist/esm/models/components/aaverepayparams.d.ts.map +1 -1
  293. package/dist/esm/models/components/aaverepayparams.js +11 -12
  294. package/dist/esm/models/components/aaverepayparams.js.map +1 -1
  295. package/dist/esm/models/components/aaverepayrequest.d.ts +2 -4
  296. package/dist/esm/models/components/aaverepayrequest.d.ts.map +1 -1
  297. package/dist/esm/models/components/aaverepayrequest.js +11 -12
  298. package/dist/esm/models/components/aaverepayrequest.js.map +1 -1
  299. package/dist/esm/models/components/aavesupplyparams.d.ts +2 -4
  300. package/dist/esm/models/components/aavesupplyparams.d.ts.map +1 -1
  301. package/dist/esm/models/components/aavesupplyparams.js +10 -11
  302. package/dist/esm/models/components/aavesupplyparams.js.map +1 -1
  303. package/dist/esm/models/components/aavesupplyrequest.d.ts +2 -4
  304. package/dist/esm/models/components/aavesupplyrequest.d.ts.map +1 -1
  305. package/dist/esm/models/components/aavesupplyrequest.js +10 -11
  306. package/dist/esm/models/components/aavesupplyrequest.js.map +1 -1
  307. package/dist/esm/models/components/aavewithdrawparams.d.ts +2 -4
  308. package/dist/esm/models/components/aavewithdrawparams.d.ts.map +1 -1
  309. package/dist/esm/models/components/aavewithdrawparams.js +12 -10
  310. package/dist/esm/models/components/aavewithdrawparams.js.map +1 -1
  311. package/dist/esm/models/components/aavewithdrawrequest.d.ts +2 -4
  312. package/dist/esm/models/components/aavewithdrawrequest.d.ts.map +1 -1
  313. package/dist/esm/models/components/aavewithdrawrequest.js +12 -10
  314. package/dist/esm/models/components/aavewithdrawrequest.js.map +1 -1
  315. package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts +2 -4
  316. package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.d.ts.map +1 -1
  317. package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js +14 -15
  318. package/dist/esm/models/components/aerodromeslipstreambuyexactlyparams.js.map +1 -1
  319. package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts +2 -4
  320. package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.d.ts.map +1 -1
  321. package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js +14 -15
  322. package/dist/esm/models/components/aerodromeslipstreambuyexactlyrequest.js.map +1 -1
  323. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts +2 -4
  324. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.d.ts.map +1 -1
  325. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js +16 -15
  326. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.js.map +1 -1
  327. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts +2 -4
  328. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.d.ts.map +1 -1
  329. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js +16 -15
  330. package/dist/esm/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.js.map +1 -1
  331. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts +2 -4
  332. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.d.ts.map +1 -1
  333. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js +18 -17
  334. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionparams.js.map +1 -1
  335. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts +2 -4
  336. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.d.ts.map +1 -1
  337. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js +18 -17
  338. package/dist/esm/models/components/aerodromeslipstreammintliquidityprovisionrequest.js.map +1 -1
  339. package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts +2 -4
  340. package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.d.ts.map +1 -1
  341. package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js +14 -15
  342. package/dist/esm/models/components/aerodromeslipstreamsellexactlyparams.js.map +1 -1
  343. package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts +2 -4
  344. package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.d.ts.map +1 -1
  345. package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js +14 -15
  346. package/dist/esm/models/components/aerodromeslipstreamsellexactlyrequest.js.map +1 -1
  347. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts +2 -4
  348. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.d.ts.map +1 -1
  349. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js +13 -12
  350. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.js.map +1 -1
  351. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts +2 -4
  352. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.d.ts.map +1 -1
  353. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js +13 -12
  354. package/dist/esm/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.js.map +1 -1
  355. package/dist/esm/models/components/increaseallowanceparams.d.ts +2 -4
  356. package/dist/esm/models/components/increaseallowanceparams.d.ts.map +1 -1
  357. package/dist/esm/models/components/increaseallowanceparams.js +10 -11
  358. package/dist/esm/models/components/increaseallowanceparams.js.map +1 -1
  359. package/dist/esm/models/components/increaseallowancerequest.d.ts +2 -4
  360. package/dist/esm/models/components/increaseallowancerequest.d.ts.map +1 -1
  361. package/dist/esm/models/components/increaseallowancerequest.js +10 -11
  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 -4
  368. package/dist/esm/models/components/morphoborrowparams.d.ts.map +1 -1
  369. package/dist/esm/models/components/morphoborrowparams.js +11 -12
  370. package/dist/esm/models/components/morphoborrowparams.js.map +1 -1
  371. package/dist/esm/models/components/morphoborrowrequest.d.ts +2 -4
  372. package/dist/esm/models/components/morphoborrowrequest.d.ts.map +1 -1
  373. package/dist/esm/models/components/morphoborrowrequest.js +11 -12
  374. package/dist/esm/models/components/morphoborrowrequest.js.map +1 -1
  375. package/dist/esm/models/components/morphodepositparams.d.ts +2 -4
  376. package/dist/esm/models/components/morphodepositparams.d.ts.map +1 -1
  377. package/dist/esm/models/components/morphodepositparams.js +10 -11
  378. package/dist/esm/models/components/morphodepositparams.js.map +1 -1
  379. package/dist/esm/models/components/morphodepositrequest.d.ts +2 -4
  380. package/dist/esm/models/components/morphodepositrequest.d.ts.map +1 -1
  381. package/dist/esm/models/components/morphodepositrequest.js +10 -11
  382. package/dist/esm/models/components/morphodepositrequest.js.map +1 -1
  383. package/dist/esm/models/components/morphorepayparams.d.ts +2 -4
  384. package/dist/esm/models/components/morphorepayparams.d.ts.map +1 -1
  385. package/dist/esm/models/components/morphorepayparams.js +12 -13
  386. package/dist/esm/models/components/morphorepayparams.js.map +1 -1
  387. package/dist/esm/models/components/morphorepayrequest.d.ts +2 -4
  388. package/dist/esm/models/components/morphorepayrequest.d.ts.map +1 -1
  389. package/dist/esm/models/components/morphorepayrequest.js +12 -13
  390. package/dist/esm/models/components/morphorepayrequest.js.map +1 -1
  391. package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts +2 -4
  392. package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts.map +1 -1
  393. package/dist/esm/models/components/morphosetvaultallowanceparams.js +10 -11
  394. package/dist/esm/models/components/morphosetvaultallowanceparams.js.map +1 -1
  395. package/dist/esm/models/components/morphosetvaultallowancerequest.d.ts +2 -4
  396. package/dist/esm/models/components/morphosetvaultallowancerequest.d.ts.map +1 -1
  397. package/dist/esm/models/components/morphosetvaultallowancerequest.js +10 -11
  398. package/dist/esm/models/components/morphosetvaultallowancerequest.js.map +1 -1
  399. package/dist/esm/models/components/morphosupplycollateralparams.d.ts +2 -4
  400. package/dist/esm/models/components/morphosupplycollateralparams.d.ts.map +1 -1
  401. package/dist/esm/models/components/morphosupplycollateralparams.js +12 -13
  402. package/dist/esm/models/components/morphosupplycollateralparams.js.map +1 -1
  403. package/dist/esm/models/components/morphosupplycollateralrequest.d.ts +2 -4
  404. package/dist/esm/models/components/morphosupplycollateralrequest.d.ts.map +1 -1
  405. package/dist/esm/models/components/morphosupplycollateralrequest.js +12 -13
  406. package/dist/esm/models/components/morphosupplycollateralrequest.js.map +1 -1
  407. package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts +2 -4
  408. package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts.map +1 -1
  409. package/dist/esm/models/components/morphowithdrawcollateralparams.js +11 -12
  410. package/dist/esm/models/components/morphowithdrawcollateralparams.js.map +1 -1
  411. package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts +2 -4
  412. package/dist/esm/models/components/morphowithdrawcollateralrequest.d.ts.map +1 -1
  413. package/dist/esm/models/components/morphowithdrawcollateralrequest.js +11 -12
  414. package/dist/esm/models/components/morphowithdrawcollateralrequest.js.map +1 -1
  415. package/dist/esm/models/components/morphowithdrawparams.d.ts +2 -4
  416. package/dist/esm/models/components/morphowithdrawparams.d.ts.map +1 -1
  417. package/dist/esm/models/components/morphowithdrawparams.js +10 -11
  418. package/dist/esm/models/components/morphowithdrawparams.js.map +1 -1
  419. package/dist/esm/models/components/morphowithdrawrequest.d.ts +2 -4
  420. package/dist/esm/models/components/morphowithdrawrequest.d.ts.map +1 -1
  421. package/dist/esm/models/components/morphowithdrawrequest.js +10 -11
  422. package/dist/esm/models/components/morphowithdrawrequest.js.map +1 -1
  423. package/dist/esm/models/components/pendlebuyptparams.d.ts +2 -4
  424. package/dist/esm/models/components/pendlebuyptparams.d.ts.map +1 -1
  425. package/dist/esm/models/components/pendlebuyptparams.js +10 -11
  426. package/dist/esm/models/components/pendlebuyptparams.js.map +1 -1
  427. package/dist/esm/models/components/pendlebuyptrequest.d.ts +2 -4
  428. package/dist/esm/models/components/pendlebuyptrequest.d.ts.map +1 -1
  429. package/dist/esm/models/components/pendlebuyptrequest.js +10 -11
  430. package/dist/esm/models/components/pendlebuyptrequest.js.map +1 -1
  431. package/dist/esm/models/components/pendlebuyytparams.d.ts +2 -4
  432. package/dist/esm/models/components/pendlebuyytparams.d.ts.map +1 -1
  433. package/dist/esm/models/components/pendlebuyytparams.js +10 -11
  434. package/dist/esm/models/components/pendlebuyytparams.js.map +1 -1
  435. package/dist/esm/models/components/pendlebuyytrequest.d.ts +2 -4
  436. package/dist/esm/models/components/pendlebuyytrequest.d.ts.map +1 -1
  437. package/dist/esm/models/components/pendlebuyytrequest.js +10 -11
  438. package/dist/esm/models/components/pendlebuyytrequest.js.map +1 -1
  439. package/dist/esm/models/components/pendlesellptparams.d.ts +2 -4
  440. package/dist/esm/models/components/pendlesellptparams.d.ts.map +1 -1
  441. package/dist/esm/models/components/pendlesellptparams.js +10 -11
  442. package/dist/esm/models/components/pendlesellptparams.js.map +1 -1
  443. package/dist/esm/models/components/pendlesellptrequest.d.ts +2 -4
  444. package/dist/esm/models/components/pendlesellptrequest.d.ts.map +1 -1
  445. package/dist/esm/models/components/pendlesellptrequest.js +10 -11
  446. package/dist/esm/models/components/pendlesellptrequest.js.map +1 -1
  447. package/dist/esm/models/components/pendlesellytparams.d.ts +2 -4
  448. package/dist/esm/models/components/pendlesellytparams.d.ts.map +1 -1
  449. package/dist/esm/models/components/pendlesellytparams.js +10 -11
  450. package/dist/esm/models/components/pendlesellytparams.js.map +1 -1
  451. package/dist/esm/models/components/pendlesellytrequest.d.ts +2 -4
  452. package/dist/esm/models/components/pendlesellytrequest.d.ts.map +1 -1
  453. package/dist/esm/models/components/pendlesellytrequest.js +10 -11
  454. package/dist/esm/models/components/pendlesellytrequest.js.map +1 -1
  455. package/dist/esm/models/components/skybuyparams.d.ts +2 -4
  456. package/dist/esm/models/components/skybuyparams.d.ts.map +1 -1
  457. package/dist/esm/models/components/skybuyparams.js +10 -11
  458. package/dist/esm/models/components/skybuyparams.js.map +1 -1
  459. package/dist/esm/models/components/skybuyrequest.d.ts +2 -4
  460. package/dist/esm/models/components/skybuyrequest.d.ts.map +1 -1
  461. package/dist/esm/models/components/skybuyrequest.js +10 -11
  462. package/dist/esm/models/components/skybuyrequest.js.map +1 -1
  463. package/dist/esm/models/components/skydepositparams.d.ts +2 -4
  464. package/dist/esm/models/components/skydepositparams.d.ts.map +1 -1
  465. package/dist/esm/models/components/skydepositparams.js +12 -10
  466. package/dist/esm/models/components/skydepositparams.js.map +1 -1
  467. package/dist/esm/models/components/skydepositrequest.d.ts +2 -4
  468. package/dist/esm/models/components/skydepositrequest.d.ts.map +1 -1
  469. package/dist/esm/models/components/skydepositrequest.js +12 -10
  470. package/dist/esm/models/components/skydepositrequest.js.map +1 -1
  471. package/dist/esm/models/components/skysellparams.d.ts +2 -4
  472. package/dist/esm/models/components/skysellparams.d.ts.map +1 -1
  473. package/dist/esm/models/components/skysellparams.js +10 -11
  474. package/dist/esm/models/components/skysellparams.js.map +1 -1
  475. package/dist/esm/models/components/skysellrequest.d.ts +2 -4
  476. package/dist/esm/models/components/skysellrequest.d.ts.map +1 -1
  477. package/dist/esm/models/components/skysellrequest.js +10 -11
  478. package/dist/esm/models/components/skysellrequest.js.map +1 -1
  479. package/dist/esm/models/components/skywithdrawparams.d.ts +2 -4
  480. package/dist/esm/models/components/skywithdrawparams.d.ts.map +1 -1
  481. package/dist/esm/models/components/skywithdrawparams.js +12 -10
  482. package/dist/esm/models/components/skywithdrawparams.js.map +1 -1
  483. package/dist/esm/models/components/skywithdrawrequest.d.ts +2 -4
  484. package/dist/esm/models/components/skywithdrawrequest.d.ts.map +1 -1
  485. package/dist/esm/models/components/skywithdrawrequest.js +12 -10
  486. package/dist/esm/models/components/skywithdrawrequest.js.map +1 -1
  487. package/dist/esm/models/components/tokentransfererc20params.d.ts +2 -4
  488. package/dist/esm/models/components/tokentransfererc20params.d.ts.map +1 -1
  489. package/dist/esm/models/components/tokentransfererc20params.js +12 -10
  490. package/dist/esm/models/components/tokentransfererc20params.js.map +1 -1
  491. package/dist/esm/models/components/tokentransferrequest.d.ts +2 -4
  492. package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
  493. package/dist/esm/models/components/tokentransferrequest.js +12 -10
  494. package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
  495. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts +2 -4
  496. package/dist/esm/models/components/uniswapbuyexactlyparams.d.ts.map +1 -1
  497. package/dist/esm/models/components/uniswapbuyexactlyparams.js +13 -14
  498. package/dist/esm/models/components/uniswapbuyexactlyparams.js.map +1 -1
  499. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts +2 -4
  500. package/dist/esm/models/components/uniswapbuyexactlyrequest.d.ts.map +1 -1
  501. package/dist/esm/models/components/uniswapbuyexactlyrequest.js +13 -14
  502. package/dist/esm/models/components/uniswapbuyexactlyrequest.js.map +1 -1
  503. package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.d.ts +2 -4
  504. package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.d.ts.map +1 -1
  505. package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.js +14 -15
  506. package/dist/esm/models/components/uniswapincreaseliquidityprovisionparams.js.map +1 -1
  507. package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts +2 -4
  508. package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.d.ts.map +1 -1
  509. package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js +14 -15
  510. package/dist/esm/models/components/uniswapincreaseliquidityprovisionrequest.js.map +1 -1
  511. package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts +2 -4
  512. package/dist/esm/models/components/uniswapmintliquidityprovisionparams.d.ts.map +1 -1
  513. package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js +15 -16
  514. package/dist/esm/models/components/uniswapmintliquidityprovisionparams.js.map +1 -1
  515. package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts +2 -4
  516. package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.d.ts.map +1 -1
  517. package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js +15 -16
  518. package/dist/esm/models/components/uniswapmintliquidityprovisionrequest.js.map +1 -1
  519. package/dist/esm/models/components/uniswapsellexactlyparams.d.ts +2 -4
  520. package/dist/esm/models/components/uniswapsellexactlyparams.d.ts.map +1 -1
  521. package/dist/esm/models/components/uniswapsellexactlyparams.js +13 -14
  522. package/dist/esm/models/components/uniswapsellexactlyparams.js.map +1 -1
  523. package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts +2 -4
  524. package/dist/esm/models/components/uniswapsellexactlyrequest.d.ts.map +1 -1
  525. package/dist/esm/models/components/uniswapsellexactlyrequest.js +13 -14
  526. package/dist/esm/models/components/uniswapsellexactlyrequest.js.map +1 -1
  527. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.d.ts +2 -4
  528. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.d.ts.map +1 -1
  529. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.js +11 -12
  530. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionparams.js.map +1 -1
  531. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts +2 -4
  532. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.d.ts.map +1 -1
  533. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js +11 -12
  534. package/dist/esm/models/components/uniswapwithdrawliquidityprovisionrequest.js.map +1 -1
  535. package/dist/esm/models/components/unwrapwethparams.d.ts +2 -4
  536. package/dist/esm/models/components/unwrapwethparams.d.ts.map +1 -1
  537. package/dist/esm/models/components/unwrapwethparams.js +12 -10
  538. package/dist/esm/models/components/unwrapwethparams.js.map +1 -1
  539. package/dist/esm/models/components/unwrapwethrequest.d.ts +2 -4
  540. package/dist/esm/models/components/unwrapwethrequest.d.ts.map +1 -1
  541. package/dist/esm/models/components/unwrapwethrequest.js +12 -10
  542. package/dist/esm/models/components/unwrapwethrequest.js.map +1 -1
  543. package/dist/esm/models/components/useroperation.d.ts +426 -13
  544. package/dist/esm/models/components/useroperation.d.ts.map +1 -1
  545. package/dist/esm/models/components/useroperation.js +326 -151
  546. package/dist/esm/models/components/useroperation.js.map +1 -1
  547. package/dist/esm/models/components/wrapethparams.d.ts +2 -4
  548. package/dist/esm/models/components/wrapethparams.d.ts.map +1 -1
  549. package/dist/esm/models/components/wrapethparams.js +12 -10
  550. package/dist/esm/models/components/wrapethparams.js.map +1 -1
  551. package/dist/esm/models/components/wrapethrequest.d.ts +2 -4
  552. package/dist/esm/models/components/wrapethrequest.d.ts.map +1 -1
  553. package/dist/esm/models/components/wrapethrequest.js +12 -10
  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 +17 -25
  564. package/src/models/components/aaveborrowrequest.ts +19 -27
  565. package/src/models/components/aaverepayparams.ts +17 -25
  566. package/src/models/components/aaverepayrequest.ts +19 -27
  567. package/src/models/components/aavesupplyparams.ts +15 -23
  568. package/src/models/components/aavesupplyrequest.ts +17 -25
  569. package/src/models/components/aavewithdrawparams.ts +17 -22
  570. package/src/models/components/aavewithdrawrequest.ts +19 -24
  571. package/src/models/components/aerodromeslipstreambuyexactlyparams.ts +25 -29
  572. package/src/models/components/aerodromeslipstreambuyexactlyrequest.ts +27 -31
  573. package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.ts +23 -29
  574. package/src/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.ts +25 -31
  575. package/src/models/components/aerodromeslipstreammintliquidityprovisionparams.ts +30 -36
  576. package/src/models/components/aerodromeslipstreammintliquidityprovisionrequest.ts +32 -38
  577. package/src/models/components/aerodromeslipstreamsellexactlyparams.ts +25 -29
  578. package/src/models/components/aerodromeslipstreamsellexactlyrequest.ts +27 -31
  579. package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.ts +17 -23
  580. package/src/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.ts +19 -25
  581. package/src/models/components/increaseallowanceparams.ts +17 -23
  582. package/src/models/components/increaseallowancerequest.ts +19 -25
  583. package/src/models/components/index.ts +0 -1
  584. package/src/models/components/morphoborrowparams.ts +17 -25
  585. package/src/models/components/morphoborrowrequest.ts +19 -27
  586. package/src/models/components/morphodepositparams.ts +15 -23
  587. package/src/models/components/morphodepositrequest.ts +17 -25
  588. package/src/models/components/morphorepayparams.ts +18 -26
  589. package/src/models/components/morphorepayrequest.ts +20 -28
  590. package/src/models/components/morphosetvaultallowanceparams.ts +18 -22
  591. package/src/models/components/morphosetvaultallowancerequest.ts +20 -24
  592. package/src/models/components/morphosupplycollateralparams.ts +22 -26
  593. package/src/models/components/morphosupplycollateralrequest.ts +24 -28
  594. package/src/models/components/morphowithdrawcollateralparams.ts +21 -25
  595. package/src/models/components/morphowithdrawcollateralrequest.ts +23 -27
  596. package/src/models/components/morphowithdrawparams.ts +15 -23
  597. package/src/models/components/morphowithdrawrequest.ts +17 -25
  598. package/src/models/components/pendlebuyptparams.ts +14 -22
  599. package/src/models/components/pendlebuyptrequest.ts +16 -24
  600. package/src/models/components/pendlebuyytparams.ts +14 -22
  601. package/src/models/components/pendlebuyytrequest.ts +16 -24
  602. package/src/models/components/pendlesellptparams.ts +14 -22
  603. package/src/models/components/pendlesellptrequest.ts +16 -24
  604. package/src/models/components/pendlesellytparams.ts +14 -22
  605. package/src/models/components/pendlesellytrequest.ts +16 -24
  606. package/src/models/components/skybuyparams.ts +14 -22
  607. package/src/models/components/skybuyrequest.ts +16 -24
  608. package/src/models/components/skydepositparams.ts +16 -21
  609. package/src/models/components/skydepositrequest.ts +18 -23
  610. package/src/models/components/skysellparams.ts +14 -22
  611. package/src/models/components/skysellrequest.ts +16 -24
  612. package/src/models/components/skywithdrawparams.ts +16 -21
  613. package/src/models/components/skywithdrawrequest.ts +18 -23
  614. package/src/models/components/tokentransfererc20params.ts +21 -22
  615. package/src/models/components/tokentransferrequest.ts +19 -24
  616. package/src/models/components/uniswapbuyexactlyparams.ts +23 -29
  617. package/src/models/components/uniswapbuyexactlyrequest.ts +25 -31
  618. package/src/models/components/uniswapincreaseliquidityprovisionparams.ts +25 -29
  619. package/src/models/components/uniswapincreaseliquidityprovisionrequest.ts +27 -31
  620. package/src/models/components/uniswapmintliquidityprovisionparams.ts +31 -35
  621. package/src/models/components/uniswapmintliquidityprovisionrequest.ts +33 -37
  622. package/src/models/components/uniswapsellexactlyparams.ts +25 -29
  623. package/src/models/components/uniswapsellexactlyrequest.ts +27 -31
  624. package/src/models/components/uniswapwithdrawliquidityprovisionparams.ts +19 -23
  625. package/src/models/components/uniswapwithdrawliquidityprovisionrequest.ts +21 -25
  626. package/src/models/components/unwrapwethparams.ts +15 -20
  627. package/src/models/components/unwrapwethrequest.ts +17 -22
  628. package/src/models/components/useroperation.ts +864 -300
  629. package/src/models/components/wrapethparams.ts +15 -20
  630. package/src/models/components/wrapethrequest.ts +17 -22
  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
package/bin/mcp-server.js CHANGED
@@ -34205,9 +34205,9 @@ var init_config = __esm(() => {
34205
34205
  SDK_METADATA = {
34206
34206
  language: "typescript",
34207
34207
  openapiDocVersion: "0.0.1",
34208
- sdkVersion: "0.4.3",
34208
+ sdkVersion: "0.5.1",
34209
34209
  genVersion: "2.616.1",
34210
- userAgent: "speakeasy-sdk/typescript 0.4.3 2.616.1 0.0.1 @compass-labs/api-sdk"
34210
+ userAgent: "speakeasy-sdk/typescript 0.5.1 2.616.1 0.0.1 @compass-labs/api-sdk"
34211
34211
  };
34212
34212
  });
34213
34213
 
@@ -35233,27 +35233,6 @@ function safeParse(rawValue, fn, errorMessage) {
35233
35233
  return ERR(new SDKValidationError(errorMessage, err, rawValue));
35234
35234
  }
35235
35235
  }
35236
- function collectExtraKeys(obj, extrasKey, optional2) {
35237
- return obj.transform((val) => {
35238
- const extras = {};
35239
- const { shape } = obj;
35240
- for (const [key] of Object.entries(val)) {
35241
- if (key in shape) {
35242
- continue;
35243
- }
35244
- const v2 = val[key];
35245
- if (typeof v2 === "undefined") {
35246
- continue;
35247
- }
35248
- extras[key] = v2;
35249
- delete val[key];
35250
- }
35251
- if (optional2 && Object.keys(extras).length === 0) {
35252
- return val;
35253
- }
35254
- return { ...val, [extrasKey]: extras };
35255
- });
35256
- }
35257
35236
  var init_schemas = __esm(() => {
35258
35237
  init_sdkvalidationerror();
35259
35238
  });
@@ -35675,7 +35654,6 @@ var AaveBorrowParamsAmount$inboundSchema, AaveBorrowParamsAmount$outboundSchema,
35675
35654
  var init_aaveborrowparams = __esm(() => {
35676
35655
  init_esm();
35677
35656
  init_primitives();
35678
- init_schemas();
35679
35657
  init_interestratemode();
35680
35658
  init_tokenenum();
35681
35659
  AaveBorrowParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
@@ -35684,32 +35662,31 @@ var init_aaveborrowparams = __esm(() => {
35684
35662
  AaveBorrowParamsAmount$.inboundSchema = AaveBorrowParamsAmount$inboundSchema;
35685
35663
  AaveBorrowParamsAmount$.outboundSchema = AaveBorrowParamsAmount$outboundSchema;
35686
35664
  })(AaveBorrowParamsAmount$ ||= {});
35687
- AaveBorrowParams$inboundSchema = collectExtraKeys(objectType({
35665
+ AaveBorrowParams$inboundSchema = objectType({
35666
+ action_type: literalType("AAVE_BORROW").default("AAVE_BORROW"),
35688
35667
  token: TokenEnum$inboundSchema,
35689
35668
  amount: unionType([numberType(), stringType()]),
35690
35669
  interest_rate_mode: InterestRateMode$inboundSchema,
35691
35670
  on_behalf_of: nullableType(stringType()).optional()
35692
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
35671
+ }).transform((v2) => {
35693
35672
  return remap(v2, {
35673
+ action_type: "actionType",
35694
35674
  interest_rate_mode: "interestRateMode",
35695
35675
  on_behalf_of: "onBehalfOf"
35696
35676
  });
35697
35677
  });
35698
35678
  AaveBorrowParams$outboundSchema = objectType({
35679
+ actionType: literalType("AAVE_BORROW").default("AAVE_BORROW"),
35699
35680
  token: TokenEnum$outboundSchema,
35700
35681
  amount: unionType([numberType(), stringType()]),
35701
35682
  interestRateMode: InterestRateMode$outboundSchema,
35702
- onBehalfOf: nullableType(stringType()).optional(),
35703
- additionalProperties: recordType(anyType())
35683
+ onBehalfOf: nullableType(stringType()).optional()
35704
35684
  }).transform((v2) => {
35705
- return {
35706
- ...v2.additionalProperties,
35707
- ...remap(v2, {
35708
- interestRateMode: "interest_rate_mode",
35709
- onBehalfOf: "on_behalf_of",
35710
- additionalProperties: null
35711
- })
35712
- };
35685
+ return remap(v2, {
35686
+ actionType: "action_type",
35687
+ interestRateMode: "interest_rate_mode",
35688
+ onBehalfOf: "on_behalf_of"
35689
+ });
35713
35690
  });
35714
35691
  ((AaveBorrowParams$) => {
35715
35692
  AaveBorrowParams$.inboundSchema = AaveBorrowParams$inboundSchema;
@@ -35739,7 +35716,6 @@ var AaveBorrowRequestAmount$inboundSchema, AaveBorrowRequestAmount$outboundSchem
35739
35716
  var init_aaveborrowrequest = __esm(() => {
35740
35717
  init_esm();
35741
35718
  init_primitives();
35742
- init_schemas();
35743
35719
  init_chain();
35744
35720
  init_interestratemode();
35745
35721
  init_tokenenum();
@@ -35749,36 +35725,35 @@ var init_aaveborrowrequest = __esm(() => {
35749
35725
  AaveBorrowRequestAmount$.inboundSchema = AaveBorrowRequestAmount$inboundSchema;
35750
35726
  AaveBorrowRequestAmount$.outboundSchema = AaveBorrowRequestAmount$outboundSchema;
35751
35727
  })(AaveBorrowRequestAmount$ ||= {});
35752
- AaveBorrowRequest$inboundSchema = collectExtraKeys(objectType({
35728
+ AaveBorrowRequest$inboundSchema = objectType({
35729
+ action_type: literalType("AAVE_BORROW").default("AAVE_BORROW"),
35753
35730
  token: TokenEnum$inboundSchema,
35754
35731
  amount: unionType([numberType(), stringType()]),
35755
35732
  interest_rate_mode: InterestRateMode$inboundSchema,
35756
35733
  on_behalf_of: nullableType(stringType()).optional(),
35757
35734
  chain: Chain$inboundSchema,
35758
35735
  sender: stringType()
35759
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
35736
+ }).transform((v2) => {
35760
35737
  return remap(v2, {
35738
+ action_type: "actionType",
35761
35739
  interest_rate_mode: "interestRateMode",
35762
35740
  on_behalf_of: "onBehalfOf"
35763
35741
  });
35764
35742
  });
35765
35743
  AaveBorrowRequest$outboundSchema = objectType({
35744
+ actionType: literalType("AAVE_BORROW").default("AAVE_BORROW"),
35766
35745
  token: TokenEnum$outboundSchema,
35767
35746
  amount: unionType([numberType(), stringType()]),
35768
35747
  interestRateMode: InterestRateMode$outboundSchema,
35769
35748
  onBehalfOf: nullableType(stringType()).optional(),
35770
35749
  chain: Chain$outboundSchema,
35771
- sender: stringType(),
35772
- additionalProperties: recordType(anyType())
35750
+ sender: stringType()
35773
35751
  }).transform((v2) => {
35774
- return {
35775
- ...v2.additionalProperties,
35776
- ...remap(v2, {
35777
- interestRateMode: "interest_rate_mode",
35778
- onBehalfOf: "on_behalf_of",
35779
- additionalProperties: null
35780
- })
35781
- };
35752
+ return remap(v2, {
35753
+ actionType: "action_type",
35754
+ interestRateMode: "interest_rate_mode",
35755
+ onBehalfOf: "on_behalf_of"
35756
+ });
35782
35757
  });
35783
35758
  ((AaveBorrowRequest$) => {
35784
35759
  AaveBorrowRequest$.inboundSchema = AaveBorrowRequest$inboundSchema;
@@ -36358,7 +36333,6 @@ var AaveRepayParamsAmount$inboundSchema, AaveRepayParamsAmount$outboundSchema, A
36358
36333
  var init_aaverepayparams = __esm(() => {
36359
36334
  init_esm();
36360
36335
  init_primitives();
36361
- init_schemas();
36362
36336
  init_interestratemode();
36363
36337
  init_tokenenum();
36364
36338
  AaveRepayParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
@@ -36367,32 +36341,31 @@ var init_aaverepayparams = __esm(() => {
36367
36341
  AaveRepayParamsAmount$.inboundSchema = AaveRepayParamsAmount$inboundSchema;
36368
36342
  AaveRepayParamsAmount$.outboundSchema = AaveRepayParamsAmount$outboundSchema;
36369
36343
  })(AaveRepayParamsAmount$ ||= {});
36370
- AaveRepayParams$inboundSchema = collectExtraKeys(objectType({
36344
+ AaveRepayParams$inboundSchema = objectType({
36345
+ action_type: literalType("AAVE_REPAY").default("AAVE_REPAY"),
36371
36346
  token: TokenEnum$inboundSchema,
36372
36347
  amount: unionType([numberType(), stringType()]),
36373
36348
  interest_rate_mode: InterestRateMode$inboundSchema,
36374
36349
  on_behalf_of: nullableType(stringType()).optional()
36375
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
36350
+ }).transform((v2) => {
36376
36351
  return remap(v2, {
36352
+ action_type: "actionType",
36377
36353
  interest_rate_mode: "interestRateMode",
36378
36354
  on_behalf_of: "onBehalfOf"
36379
36355
  });
36380
36356
  });
36381
36357
  AaveRepayParams$outboundSchema = objectType({
36358
+ actionType: literalType("AAVE_REPAY").default("AAVE_REPAY"),
36382
36359
  token: TokenEnum$outboundSchema,
36383
36360
  amount: unionType([numberType(), stringType()]),
36384
36361
  interestRateMode: InterestRateMode$outboundSchema,
36385
- onBehalfOf: nullableType(stringType()).optional(),
36386
- additionalProperties: recordType(anyType())
36362
+ onBehalfOf: nullableType(stringType()).optional()
36387
36363
  }).transform((v2) => {
36388
- return {
36389
- ...v2.additionalProperties,
36390
- ...remap(v2, {
36391
- interestRateMode: "interest_rate_mode",
36392
- onBehalfOf: "on_behalf_of",
36393
- additionalProperties: null
36394
- })
36395
- };
36364
+ return remap(v2, {
36365
+ actionType: "action_type",
36366
+ interestRateMode: "interest_rate_mode",
36367
+ onBehalfOf: "on_behalf_of"
36368
+ });
36396
36369
  });
36397
36370
  ((AaveRepayParams$) => {
36398
36371
  AaveRepayParams$.inboundSchema = AaveRepayParams$inboundSchema;
@@ -36405,7 +36378,6 @@ var AaveRepayRequestAmount$inboundSchema, AaveRepayRequestAmount$outboundSchema,
36405
36378
  var init_aaverepayrequest = __esm(() => {
36406
36379
  init_esm();
36407
36380
  init_primitives();
36408
- init_schemas();
36409
36381
  init_chain();
36410
36382
  init_interestratemode();
36411
36383
  init_tokenenum();
@@ -36415,36 +36387,35 @@ var init_aaverepayrequest = __esm(() => {
36415
36387
  AaveRepayRequestAmount$.inboundSchema = AaveRepayRequestAmount$inboundSchema;
36416
36388
  AaveRepayRequestAmount$.outboundSchema = AaveRepayRequestAmount$outboundSchema;
36417
36389
  })(AaveRepayRequestAmount$ ||= {});
36418
- AaveRepayRequest$inboundSchema = collectExtraKeys(objectType({
36390
+ AaveRepayRequest$inboundSchema = objectType({
36391
+ action_type: literalType("AAVE_REPAY").default("AAVE_REPAY"),
36419
36392
  token: TokenEnum$inboundSchema,
36420
36393
  amount: unionType([numberType(), stringType()]),
36421
36394
  interest_rate_mode: InterestRateMode$inboundSchema,
36422
36395
  on_behalf_of: nullableType(stringType()).optional(),
36423
36396
  chain: Chain$inboundSchema,
36424
36397
  sender: stringType()
36425
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
36398
+ }).transform((v2) => {
36426
36399
  return remap(v2, {
36400
+ action_type: "actionType",
36427
36401
  interest_rate_mode: "interestRateMode",
36428
36402
  on_behalf_of: "onBehalfOf"
36429
36403
  });
36430
36404
  });
36431
36405
  AaveRepayRequest$outboundSchema = objectType({
36406
+ actionType: literalType("AAVE_REPAY").default("AAVE_REPAY"),
36432
36407
  token: TokenEnum$outboundSchema,
36433
36408
  amount: unionType([numberType(), stringType()]),
36434
36409
  interestRateMode: InterestRateMode$outboundSchema,
36435
36410
  onBehalfOf: nullableType(stringType()).optional(),
36436
36411
  chain: Chain$outboundSchema,
36437
- sender: stringType(),
36438
- additionalProperties: recordType(anyType())
36412
+ sender: stringType()
36439
36413
  }).transform((v2) => {
36440
- return {
36441
- ...v2.additionalProperties,
36442
- ...remap(v2, {
36443
- interestRateMode: "interest_rate_mode",
36444
- onBehalfOf: "on_behalf_of",
36445
- additionalProperties: null
36446
- })
36447
- };
36414
+ return remap(v2, {
36415
+ actionType: "action_type",
36416
+ interestRateMode: "interest_rate_mode",
36417
+ onBehalfOf: "on_behalf_of"
36418
+ });
36448
36419
  });
36449
36420
  ((AaveRepayRequest$) => {
36450
36421
  AaveRepayRequest$.inboundSchema = AaveRepayRequest$inboundSchema;
@@ -36533,7 +36504,6 @@ var AaveSupplyParamsAmount$inboundSchema, AaveSupplyParamsAmount$outboundSchema,
36533
36504
  var init_aavesupplyparams = __esm(() => {
36534
36505
  init_esm();
36535
36506
  init_primitives();
36536
- init_schemas();
36537
36507
  init_tokenenum();
36538
36508
  AaveSupplyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
36539
36509
  AaveSupplyParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -36541,28 +36511,27 @@ var init_aavesupplyparams = __esm(() => {
36541
36511
  AaveSupplyParamsAmount$.inboundSchema = AaveSupplyParamsAmount$inboundSchema;
36542
36512
  AaveSupplyParamsAmount$.outboundSchema = AaveSupplyParamsAmount$outboundSchema;
36543
36513
  })(AaveSupplyParamsAmount$ ||= {});
36544
- AaveSupplyParams$inboundSchema = collectExtraKeys(objectType({
36514
+ AaveSupplyParams$inboundSchema = objectType({
36515
+ action_type: literalType("AAVE_SUPPLY").default("AAVE_SUPPLY"),
36545
36516
  token: TokenEnum$inboundSchema,
36546
36517
  amount: unionType([numberType(), stringType()]),
36547
36518
  on_behalf_of: nullableType(stringType()).optional()
36548
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
36519
+ }).transform((v2) => {
36549
36520
  return remap(v2, {
36521
+ action_type: "actionType",
36550
36522
  on_behalf_of: "onBehalfOf"
36551
36523
  });
36552
36524
  });
36553
36525
  AaveSupplyParams$outboundSchema = objectType({
36526
+ actionType: literalType("AAVE_SUPPLY").default("AAVE_SUPPLY"),
36554
36527
  token: TokenEnum$outboundSchema,
36555
36528
  amount: unionType([numberType(), stringType()]),
36556
- onBehalfOf: nullableType(stringType()).optional(),
36557
- additionalProperties: recordType(anyType())
36529
+ onBehalfOf: nullableType(stringType()).optional()
36558
36530
  }).transform((v2) => {
36559
- return {
36560
- ...v2.additionalProperties,
36561
- ...remap(v2, {
36562
- onBehalfOf: "on_behalf_of",
36563
- additionalProperties: null
36564
- })
36565
- };
36531
+ return remap(v2, {
36532
+ actionType: "action_type",
36533
+ onBehalfOf: "on_behalf_of"
36534
+ });
36566
36535
  });
36567
36536
  ((AaveSupplyParams$) => {
36568
36537
  AaveSupplyParams$.inboundSchema = AaveSupplyParams$inboundSchema;
@@ -36575,7 +36544,6 @@ var AaveSupplyRequestAmount$inboundSchema, AaveSupplyRequestAmount$outboundSchem
36575
36544
  var init_aavesupplyrequest = __esm(() => {
36576
36545
  init_esm();
36577
36546
  init_primitives();
36578
- init_schemas();
36579
36547
  init_chain();
36580
36548
  init_tokenenum();
36581
36549
  AaveSupplyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
@@ -36584,32 +36552,31 @@ var init_aavesupplyrequest = __esm(() => {
36584
36552
  AaveSupplyRequestAmount$.inboundSchema = AaveSupplyRequestAmount$inboundSchema;
36585
36553
  AaveSupplyRequestAmount$.outboundSchema = AaveSupplyRequestAmount$outboundSchema;
36586
36554
  })(AaveSupplyRequestAmount$ ||= {});
36587
- AaveSupplyRequest$inboundSchema = collectExtraKeys(objectType({
36555
+ AaveSupplyRequest$inboundSchema = objectType({
36556
+ action_type: literalType("AAVE_SUPPLY").default("AAVE_SUPPLY"),
36588
36557
  token: TokenEnum$inboundSchema,
36589
36558
  amount: unionType([numberType(), stringType()]),
36590
36559
  on_behalf_of: nullableType(stringType()).optional(),
36591
36560
  chain: Chain$inboundSchema,
36592
36561
  sender: stringType()
36593
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
36562
+ }).transform((v2) => {
36594
36563
  return remap(v2, {
36564
+ action_type: "actionType",
36595
36565
  on_behalf_of: "onBehalfOf"
36596
36566
  });
36597
36567
  });
36598
36568
  AaveSupplyRequest$outboundSchema = objectType({
36569
+ actionType: literalType("AAVE_SUPPLY").default("AAVE_SUPPLY"),
36599
36570
  token: TokenEnum$outboundSchema,
36600
36571
  amount: unionType([numberType(), stringType()]),
36601
36572
  onBehalfOf: nullableType(stringType()).optional(),
36602
36573
  chain: Chain$outboundSchema,
36603
- sender: stringType(),
36604
- additionalProperties: recordType(anyType())
36574
+ sender: stringType()
36605
36575
  }).transform((v2) => {
36606
- return {
36607
- ...v2.additionalProperties,
36608
- ...remap(v2, {
36609
- onBehalfOf: "on_behalf_of",
36610
- additionalProperties: null
36611
- })
36612
- };
36576
+ return remap(v2, {
36577
+ actionType: "action_type",
36578
+ onBehalfOf: "on_behalf_of"
36579
+ });
36613
36580
  });
36614
36581
  ((AaveSupplyRequest$) => {
36615
36582
  AaveSupplyRequest$.inboundSchema = AaveSupplyRequest$inboundSchema;
@@ -36740,7 +36707,6 @@ var AaveWithdrawParamsAmount$inboundSchema, AaveWithdrawParamsAmount$outboundSch
36740
36707
  var init_aavewithdrawparams = __esm(() => {
36741
36708
  init_esm();
36742
36709
  init_primitives();
36743
- init_schemas();
36744
36710
  init_tokenenum();
36745
36711
  AaveWithdrawParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
36746
36712
  AaveWithdrawParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -36748,23 +36714,25 @@ var init_aavewithdrawparams = __esm(() => {
36748
36714
  AaveWithdrawParamsAmount$.inboundSchema = AaveWithdrawParamsAmount$inboundSchema;
36749
36715
  AaveWithdrawParamsAmount$.outboundSchema = AaveWithdrawParamsAmount$outboundSchema;
36750
36716
  })(AaveWithdrawParamsAmount$ ||= {});
36751
- AaveWithdrawParams$inboundSchema = collectExtraKeys(objectType({
36717
+ AaveWithdrawParams$inboundSchema = objectType({
36718
+ action_type: literalType("AAVE_WITHDRAW").default("AAVE_WITHDRAW"),
36752
36719
  token: TokenEnum$inboundSchema,
36753
36720
  amount: unionType([numberType(), stringType()]),
36754
36721
  recipient: stringType()
36755
- }).catchall(anyType()), "additionalProperties", true);
36722
+ }).transform((v2) => {
36723
+ return remap(v2, {
36724
+ action_type: "actionType"
36725
+ });
36726
+ });
36756
36727
  AaveWithdrawParams$outboundSchema = objectType({
36728
+ actionType: literalType("AAVE_WITHDRAW").default("AAVE_WITHDRAW"),
36757
36729
  token: TokenEnum$outboundSchema,
36758
36730
  amount: unionType([numberType(), stringType()]),
36759
- recipient: stringType(),
36760
- additionalProperties: recordType(anyType())
36731
+ recipient: stringType()
36761
36732
  }).transform((v2) => {
36762
- return {
36763
- ...v2.additionalProperties,
36764
- ...remap(v2, {
36765
- additionalProperties: null
36766
- })
36767
- };
36733
+ return remap(v2, {
36734
+ actionType: "action_type"
36735
+ });
36768
36736
  });
36769
36737
  ((AaveWithdrawParams$) => {
36770
36738
  AaveWithdrawParams$.inboundSchema = AaveWithdrawParams$inboundSchema;
@@ -36777,7 +36745,6 @@ var AaveWithdrawRequestAmount$inboundSchema, AaveWithdrawRequestAmount$outboundS
36777
36745
  var init_aavewithdrawrequest = __esm(() => {
36778
36746
  init_esm();
36779
36747
  init_primitives();
36780
- init_schemas();
36781
36748
  init_chain();
36782
36749
  init_tokenenum();
36783
36750
  AaveWithdrawRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
@@ -36786,27 +36753,29 @@ var init_aavewithdrawrequest = __esm(() => {
36786
36753
  AaveWithdrawRequestAmount$.inboundSchema = AaveWithdrawRequestAmount$inboundSchema;
36787
36754
  AaveWithdrawRequestAmount$.outboundSchema = AaveWithdrawRequestAmount$outboundSchema;
36788
36755
  })(AaveWithdrawRequestAmount$ ||= {});
36789
- AaveWithdrawRequest$inboundSchema = collectExtraKeys(objectType({
36756
+ AaveWithdrawRequest$inboundSchema = objectType({
36757
+ action_type: literalType("AAVE_WITHDRAW").default("AAVE_WITHDRAW"),
36790
36758
  token: TokenEnum$inboundSchema,
36791
36759
  amount: unionType([numberType(), stringType()]),
36792
36760
  recipient: stringType(),
36793
36761
  chain: Chain$inboundSchema,
36794
36762
  sender: stringType()
36795
- }).catchall(anyType()), "additionalProperties", true);
36763
+ }).transform((v2) => {
36764
+ return remap(v2, {
36765
+ action_type: "actionType"
36766
+ });
36767
+ });
36796
36768
  AaveWithdrawRequest$outboundSchema = objectType({
36769
+ actionType: literalType("AAVE_WITHDRAW").default("AAVE_WITHDRAW"),
36797
36770
  token: TokenEnum$outboundSchema,
36798
36771
  amount: unionType([numberType(), stringType()]),
36799
36772
  recipient: stringType(),
36800
36773
  chain: Chain$outboundSchema,
36801
- sender: stringType(),
36802
- additionalProperties: recordType(anyType())
36774
+ sender: stringType()
36803
36775
  }).transform((v2) => {
36804
- return {
36805
- ...v2.additionalProperties,
36806
- ...remap(v2, {
36807
- additionalProperties: null
36808
- })
36809
- };
36776
+ return remap(v2, {
36777
+ actionType: "action_type"
36778
+ });
36810
36779
  });
36811
36780
  ((AaveWithdrawRequest$) => {
36812
36781
  AaveWithdrawRequest$.inboundSchema = AaveWithdrawRequest$inboundSchema;
@@ -36900,7 +36869,6 @@ var AerodromeSlipstreamBuyExactlyParamsAmountOut$inboundSchema, AerodromeSlipstr
36900
36869
  var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
36901
36870
  init_esm();
36902
36871
  init_primitives();
36903
- init_schemas();
36904
36872
  init_tokenenum();
36905
36873
  AerodromeSlipstreamBuyExactlyParamsAmountOut$inboundSchema = unionType([numberType(), stringType()]);
36906
36874
  AerodromeSlipstreamBuyExactlyParamsAmountOut$outboundSchema = unionType([numberType(), stringType()]);
@@ -36914,14 +36882,16 @@ var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
36914
36882
  AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$.inboundSchema = AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$inboundSchema;
36915
36883
  AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$.outboundSchema = AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$outboundSchema;
36916
36884
  })(AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$ ||= {});
36917
- AerodromeSlipstreamBuyExactlyParams$inboundSchema = collectExtraKeys(objectType({
36885
+ AerodromeSlipstreamBuyExactlyParams$inboundSchema = objectType({
36886
+ action_type: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY").default("AERODROME_SLIPSTREAM_BUY_EXACTLY"),
36918
36887
  token_in: TokenEnum$inboundSchema,
36919
36888
  token_out: TokenEnum$inboundSchema,
36920
36889
  tick_spacing: numberType().int(),
36921
36890
  amount_out: unionType([numberType(), stringType()]),
36922
36891
  amount_in_maximum: unionType([numberType(), stringType()])
36923
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
36892
+ }).transform((v2) => {
36924
36893
  return remap(v2, {
36894
+ action_type: "actionType",
36925
36895
  token_in: "tokenIn",
36926
36896
  token_out: "tokenOut",
36927
36897
  tick_spacing: "tickSpacing",
@@ -36930,24 +36900,21 @@ var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
36930
36900
  });
36931
36901
  });
36932
36902
  AerodromeSlipstreamBuyExactlyParams$outboundSchema = objectType({
36903
+ actionType: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY").default("AERODROME_SLIPSTREAM_BUY_EXACTLY"),
36933
36904
  tokenIn: TokenEnum$outboundSchema,
36934
36905
  tokenOut: TokenEnum$outboundSchema,
36935
36906
  tickSpacing: numberType().int(),
36936
36907
  amountOut: unionType([numberType(), stringType()]),
36937
- amountInMaximum: unionType([numberType(), stringType()]),
36938
- additionalProperties: recordType(anyType())
36908
+ amountInMaximum: unionType([numberType(), stringType()])
36939
36909
  }).transform((v2) => {
36940
- return {
36941
- ...v2.additionalProperties,
36942
- ...remap(v2, {
36943
- tokenIn: "token_in",
36944
- tokenOut: "token_out",
36945
- tickSpacing: "tick_spacing",
36946
- amountOut: "amount_out",
36947
- amountInMaximum: "amount_in_maximum",
36948
- additionalProperties: null
36949
- })
36950
- };
36910
+ return remap(v2, {
36911
+ actionType: "action_type",
36912
+ tokenIn: "token_in",
36913
+ tokenOut: "token_out",
36914
+ tickSpacing: "tick_spacing",
36915
+ amountOut: "amount_out",
36916
+ amountInMaximum: "amount_in_maximum"
36917
+ });
36951
36918
  });
36952
36919
  ((AerodromeSlipstreamBuyExactlyParams$) => {
36953
36920
  AerodromeSlipstreamBuyExactlyParams$.inboundSchema = AerodromeSlipstreamBuyExactlyParams$inboundSchema;
@@ -36960,7 +36927,6 @@ var AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema, AerodromeSlipst
36960
36927
  var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
36961
36928
  init_esm();
36962
36929
  init_primitives();
36963
- init_schemas();
36964
36930
  init_chain();
36965
36931
  init_tokenenum();
36966
36932
  AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema = unionType([numberType(), stringType()]);
@@ -36975,7 +36941,8 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
36975
36941
  AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$.inboundSchema = AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$inboundSchema;
36976
36942
  AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$.outboundSchema = AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$outboundSchema;
36977
36943
  })(AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$ ||= {});
36978
- AerodromeSlipstreamBuyExactlyRequest$inboundSchema = collectExtraKeys(objectType({
36944
+ AerodromeSlipstreamBuyExactlyRequest$inboundSchema = objectType({
36945
+ action_type: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY").default("AERODROME_SLIPSTREAM_BUY_EXACTLY"),
36979
36946
  token_in: TokenEnum$inboundSchema,
36980
36947
  token_out: TokenEnum$inboundSchema,
36981
36948
  tick_spacing: numberType().int(),
@@ -36983,8 +36950,9 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
36983
36950
  amount_in_maximum: unionType([numberType(), stringType()]),
36984
36951
  chain: Chain$inboundSchema,
36985
36952
  sender: stringType()
36986
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
36953
+ }).transform((v2) => {
36987
36954
  return remap(v2, {
36955
+ action_type: "actionType",
36988
36956
  token_in: "tokenIn",
36989
36957
  token_out: "tokenOut",
36990
36958
  tick_spacing: "tickSpacing",
@@ -36993,26 +36961,23 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
36993
36961
  });
36994
36962
  });
36995
36963
  AerodromeSlipstreamBuyExactlyRequest$outboundSchema = objectType({
36964
+ actionType: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY").default("AERODROME_SLIPSTREAM_BUY_EXACTLY"),
36996
36965
  tokenIn: TokenEnum$outboundSchema,
36997
36966
  tokenOut: TokenEnum$outboundSchema,
36998
36967
  tickSpacing: numberType().int(),
36999
36968
  amountOut: unionType([numberType(), stringType()]),
37000
36969
  amountInMaximum: unionType([numberType(), stringType()]),
37001
36970
  chain: Chain$outboundSchema,
37002
- sender: stringType(),
37003
- additionalProperties: recordType(anyType())
36971
+ sender: stringType()
37004
36972
  }).transform((v2) => {
37005
- return {
37006
- ...v2.additionalProperties,
37007
- ...remap(v2, {
37008
- tokenIn: "token_in",
37009
- tokenOut: "token_out",
37010
- tickSpacing: "tick_spacing",
37011
- amountOut: "amount_out",
37012
- amountInMaximum: "amount_in_maximum",
37013
- additionalProperties: null
37014
- })
37015
- };
36973
+ return remap(v2, {
36974
+ actionType: "action_type",
36975
+ tokenIn: "token_in",
36976
+ tokenOut: "token_out",
36977
+ tickSpacing: "tick_spacing",
36978
+ amountOut: "amount_out",
36979
+ amountInMaximum: "amount_in_maximum"
36980
+ });
37016
36981
  });
37017
36982
  ((AerodromeSlipstreamBuyExactlyRequest$) => {
37018
36983
  AerodromeSlipstreamBuyExactlyRequest$.inboundSchema = AerodromeSlipstreamBuyExactlyRequest$inboundSchema;
@@ -37025,7 +36990,6 @@ var AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$inboundSch
37025
36990
  var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
37026
36991
  init_esm();
37027
36992
  init_primitives();
37028
- init_schemas();
37029
36993
  AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
37030
36994
  AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
37031
36995
  ((AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$) => {
@@ -37050,14 +37014,16 @@ var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
37050
37014
  AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$inboundSchema;
37051
37015
  AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$.outboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$outboundSchema;
37052
37016
  })(AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$ ||= {});
37053
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema = collectExtraKeys(objectType({
37017
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema = objectType({
37018
+ action_type: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION"),
37054
37019
  token_id: numberType().int(),
37055
37020
  amount0_desired: unionType([numberType(), stringType()]),
37056
37021
  amount1_desired: unionType([numberType(), stringType()]),
37057
37022
  amount0_min: unionType([numberType(), stringType()]),
37058
37023
  amount1_min: unionType([numberType(), stringType()])
37059
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37024
+ }).transform((v2) => {
37060
37025
  return remap(v2, {
37026
+ action_type: "actionType",
37061
37027
  token_id: "tokenId",
37062
37028
  amount0_desired: "amount0Desired",
37063
37029
  amount1_desired: "amount1Desired",
@@ -37066,24 +37032,21 @@ var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
37066
37032
  });
37067
37033
  });
37068
37034
  AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema = objectType({
37035
+ actionType: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION"),
37069
37036
  tokenId: numberType().int(),
37070
37037
  amount0Desired: unionType([numberType(), stringType()]),
37071
37038
  amount1Desired: unionType([numberType(), stringType()]),
37072
37039
  amount0Min: unionType([numberType(), stringType()]),
37073
- amount1Min: unionType([numberType(), stringType()]),
37074
- additionalProperties: recordType(anyType())
37040
+ amount1Min: unionType([numberType(), stringType()])
37075
37041
  }).transform((v2) => {
37076
- return {
37077
- ...v2.additionalProperties,
37078
- ...remap(v2, {
37079
- tokenId: "token_id",
37080
- amount0Desired: "amount0_desired",
37081
- amount1Desired: "amount1_desired",
37082
- amount0Min: "amount0_min",
37083
- amount1Min: "amount1_min",
37084
- additionalProperties: null
37085
- })
37086
- };
37042
+ return remap(v2, {
37043
+ actionType: "action_type",
37044
+ tokenId: "token_id",
37045
+ amount0Desired: "amount0_desired",
37046
+ amount1Desired: "amount1_desired",
37047
+ amount0Min: "amount0_min",
37048
+ amount1Min: "amount1_min"
37049
+ });
37087
37050
  });
37088
37051
  ((AerodromeSlipstreamIncreaseLiquidityProvisionParams$) => {
37089
37052
  AerodromeSlipstreamIncreaseLiquidityProvisionParams$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema;
@@ -37096,7 +37059,6 @@ var AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSc
37096
37059
  var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
37097
37060
  init_esm();
37098
37061
  init_primitives();
37099
- init_schemas();
37100
37062
  init_chain();
37101
37063
  AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
37102
37064
  AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
@@ -37122,7 +37084,8 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
37122
37084
  AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema;
37123
37085
  AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$.outboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema;
37124
37086
  })(AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$ ||= {});
37125
- AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema = collectExtraKeys(objectType({
37087
+ AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema = objectType({
37088
+ action_type: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION"),
37126
37089
  token_id: numberType().int(),
37127
37090
  amount0_desired: unionType([numberType(), stringType()]),
37128
37091
  amount1_desired: unionType([numberType(), stringType()]),
@@ -37130,8 +37093,9 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
37130
37093
  amount1_min: unionType([numberType(), stringType()]),
37131
37094
  chain: Chain$inboundSchema,
37132
37095
  sender: stringType()
37133
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37096
+ }).transform((v2) => {
37134
37097
  return remap(v2, {
37098
+ action_type: "actionType",
37135
37099
  token_id: "tokenId",
37136
37100
  amount0_desired: "amount0Desired",
37137
37101
  amount1_desired: "amount1Desired",
@@ -37140,26 +37104,23 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
37140
37104
  });
37141
37105
  });
37142
37106
  AerodromeSlipstreamIncreaseLiquidityProvisionRequest$outboundSchema = objectType({
37107
+ actionType: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY_PROVISION"),
37143
37108
  tokenId: numberType().int(),
37144
37109
  amount0Desired: unionType([numberType(), stringType()]),
37145
37110
  amount1Desired: unionType([numberType(), stringType()]),
37146
37111
  amount0Min: unionType([numberType(), stringType()]),
37147
37112
  amount1Min: unionType([numberType(), stringType()]),
37148
37113
  chain: Chain$outboundSchema,
37149
- sender: stringType(),
37150
- additionalProperties: recordType(anyType())
37114
+ sender: stringType()
37151
37115
  }).transform((v2) => {
37152
- return {
37153
- ...v2.additionalProperties,
37154
- ...remap(v2, {
37155
- tokenId: "token_id",
37156
- amount0Desired: "amount0_desired",
37157
- amount1Desired: "amount1_desired",
37158
- amount0Min: "amount0_min",
37159
- amount1Min: "amount1_min",
37160
- additionalProperties: null
37161
- })
37162
- };
37116
+ return remap(v2, {
37117
+ actionType: "action_type",
37118
+ tokenId: "token_id",
37119
+ amount0Desired: "amount0_desired",
37120
+ amount1Desired: "amount1_desired",
37121
+ amount0Min: "amount0_min",
37122
+ amount1Min: "amount1_min"
37123
+ });
37163
37124
  });
37164
37125
  ((AerodromeSlipstreamIncreaseLiquidityProvisionRequest$) => {
37165
37126
  AerodromeSlipstreamIncreaseLiquidityProvisionRequest$.inboundSchema = AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema;
@@ -37172,7 +37133,6 @@ var AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$inboundSchema,
37172
37133
  var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
37173
37134
  init_esm();
37174
37135
  init_primitives();
37175
- init_schemas();
37176
37136
  init_tokenenum();
37177
37137
  AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
37178
37138
  AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
@@ -37198,7 +37158,8 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
37198
37158
  AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$inboundSchema;
37199
37159
  AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$.outboundSchema = AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$outboundSchema;
37200
37160
  })(AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$ ||= {});
37201
- AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema = collectExtraKeys(objectType({
37161
+ AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema = objectType({
37162
+ action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION"),
37202
37163
  token0: TokenEnum$inboundSchema,
37203
37164
  token1: TokenEnum$inboundSchema,
37204
37165
  tick_spacing: numberType().int(),
@@ -37209,8 +37170,9 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
37209
37170
  amount0_min: unionType([numberType(), stringType()]),
37210
37171
  amount1_min: unionType([numberType(), stringType()]),
37211
37172
  recipient: nullableType(stringType()).optional()
37212
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37173
+ }).transform((v2) => {
37213
37174
  return remap(v2, {
37175
+ action_type: "actionType",
37214
37176
  tick_spacing: "tickSpacing",
37215
37177
  tick_lower: "tickLower",
37216
37178
  tick_upper: "tickUpper",
@@ -37221,6 +37183,7 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
37221
37183
  });
37222
37184
  });
37223
37185
  AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema = objectType({
37186
+ actionType: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION"),
37224
37187
  token0: TokenEnum$outboundSchema,
37225
37188
  token1: TokenEnum$outboundSchema,
37226
37189
  tickSpacing: numberType().int(),
@@ -37230,22 +37193,18 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
37230
37193
  amount1Desired: unionType([numberType(), stringType()]),
37231
37194
  amount0Min: unionType([numberType(), stringType()]),
37232
37195
  amount1Min: unionType([numberType(), stringType()]),
37233
- recipient: nullableType(stringType()).optional(),
37234
- additionalProperties: recordType(anyType())
37196
+ recipient: nullableType(stringType()).optional()
37235
37197
  }).transform((v2) => {
37236
- return {
37237
- ...v2.additionalProperties,
37238
- ...remap(v2, {
37239
- tickSpacing: "tick_spacing",
37240
- tickLower: "tick_lower",
37241
- tickUpper: "tick_upper",
37242
- amount0Desired: "amount0_desired",
37243
- amount1Desired: "amount1_desired",
37244
- amount0Min: "amount0_min",
37245
- amount1Min: "amount1_min",
37246
- additionalProperties: null
37247
- })
37248
- };
37198
+ return remap(v2, {
37199
+ actionType: "action_type",
37200
+ tickSpacing: "tick_spacing",
37201
+ tickLower: "tick_lower",
37202
+ tickUpper: "tick_upper",
37203
+ amount0Desired: "amount0_desired",
37204
+ amount1Desired: "amount1_desired",
37205
+ amount0Min: "amount0_min",
37206
+ amount1Min: "amount1_min"
37207
+ });
37249
37208
  });
37250
37209
  ((AerodromeSlipstreamMintLiquidityProvisionParams$) => {
37251
37210
  AerodromeSlipstreamMintLiquidityProvisionParams$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema;
@@ -37258,7 +37217,6 @@ var AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema
37258
37217
  var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
37259
37218
  init_esm();
37260
37219
  init_primitives();
37261
- init_schemas();
37262
37220
  init_chain();
37263
37221
  init_tokenenum();
37264
37222
  AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
@@ -37285,7 +37243,8 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
37285
37243
  AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$inboundSchema;
37286
37244
  AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$.outboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$outboundSchema;
37287
37245
  })(AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$ ||= {});
37288
- AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema = collectExtraKeys(objectType({
37246
+ AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema = objectType({
37247
+ action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION"),
37289
37248
  token0: TokenEnum$inboundSchema,
37290
37249
  token1: TokenEnum$inboundSchema,
37291
37250
  tick_spacing: numberType().int(),
@@ -37298,8 +37257,9 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
37298
37257
  recipient: nullableType(stringType()).optional(),
37299
37258
  chain: Chain$inboundSchema,
37300
37259
  sender: stringType()
37301
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37260
+ }).transform((v2) => {
37302
37261
  return remap(v2, {
37262
+ action_type: "actionType",
37303
37263
  tick_spacing: "tickSpacing",
37304
37264
  tick_lower: "tickLower",
37305
37265
  tick_upper: "tickUpper",
@@ -37310,6 +37270,7 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
37310
37270
  });
37311
37271
  });
37312
37272
  AerodromeSlipstreamMintLiquidityProvisionRequest$outboundSchema = objectType({
37273
+ actionType: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_MINT_LIQUIDITY_PROVISION"),
37313
37274
  token0: TokenEnum$outboundSchema,
37314
37275
  token1: TokenEnum$outboundSchema,
37315
37276
  tickSpacing: numberType().int(),
@@ -37321,22 +37282,18 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
37321
37282
  amount1Min: unionType([numberType(), stringType()]),
37322
37283
  recipient: nullableType(stringType()).optional(),
37323
37284
  chain: Chain$outboundSchema,
37324
- sender: stringType(),
37325
- additionalProperties: recordType(anyType())
37285
+ sender: stringType()
37326
37286
  }).transform((v2) => {
37327
- return {
37328
- ...v2.additionalProperties,
37329
- ...remap(v2, {
37330
- tickSpacing: "tick_spacing",
37331
- tickLower: "tick_lower",
37332
- tickUpper: "tick_upper",
37333
- amount0Desired: "amount0_desired",
37334
- amount1Desired: "amount1_desired",
37335
- amount0Min: "amount0_min",
37336
- amount1Min: "amount1_min",
37337
- additionalProperties: null
37338
- })
37339
- };
37287
+ return remap(v2, {
37288
+ actionType: "action_type",
37289
+ tickSpacing: "tick_spacing",
37290
+ tickLower: "tick_lower",
37291
+ tickUpper: "tick_upper",
37292
+ amount0Desired: "amount0_desired",
37293
+ amount1Desired: "amount1_desired",
37294
+ amount0Min: "amount0_min",
37295
+ amount1Min: "amount1_min"
37296
+ });
37340
37297
  });
37341
37298
  ((AerodromeSlipstreamMintLiquidityProvisionRequest$) => {
37342
37299
  AerodromeSlipstreamMintLiquidityProvisionRequest$.inboundSchema = AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema;
@@ -37383,7 +37340,6 @@ var AerodromeSlipstreamSellExactlyParamsAmountIn$inboundSchema, AerodromeSlipstr
37383
37340
  var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
37384
37341
  init_esm();
37385
37342
  init_primitives();
37386
- init_schemas();
37387
37343
  init_tokenenum();
37388
37344
  AerodromeSlipstreamSellExactlyParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
37389
37345
  AerodromeSlipstreamSellExactlyParamsAmountIn$outboundSchema = unionType([numberType(), stringType()]);
@@ -37397,14 +37353,16 @@ var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
37397
37353
  AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$.inboundSchema = AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$inboundSchema;
37398
37354
  AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$.outboundSchema = AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$outboundSchema;
37399
37355
  })(AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$ ||= {});
37400
- AerodromeSlipstreamSellExactlyParams$inboundSchema = collectExtraKeys(objectType({
37356
+ AerodromeSlipstreamSellExactlyParams$inboundSchema = objectType({
37357
+ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY").default("AERODROME_SLIPSTREAM_SELL_EXACTLY"),
37401
37358
  token_in: TokenEnum$inboundSchema,
37402
37359
  token_out: TokenEnum$inboundSchema,
37403
37360
  tick_spacing: numberType().int(),
37404
37361
  amount_in: unionType([numberType(), stringType()]),
37405
37362
  amount_out_minimum: unionType([numberType(), stringType()]).optional()
37406
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37363
+ }).transform((v2) => {
37407
37364
  return remap(v2, {
37365
+ action_type: "actionType",
37408
37366
  token_in: "tokenIn",
37409
37367
  token_out: "tokenOut",
37410
37368
  tick_spacing: "tickSpacing",
@@ -37413,24 +37371,21 @@ var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
37413
37371
  });
37414
37372
  });
37415
37373
  AerodromeSlipstreamSellExactlyParams$outboundSchema = objectType({
37374
+ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY").default("AERODROME_SLIPSTREAM_SELL_EXACTLY"),
37416
37375
  tokenIn: TokenEnum$outboundSchema,
37417
37376
  tokenOut: TokenEnum$outboundSchema,
37418
37377
  tickSpacing: numberType().int(),
37419
37378
  amountIn: unionType([numberType(), stringType()]),
37420
- amountOutMinimum: unionType([numberType(), stringType()]).optional(),
37421
- additionalProperties: recordType(anyType())
37379
+ amountOutMinimum: unionType([numberType(), stringType()]).optional()
37422
37380
  }).transform((v2) => {
37423
- return {
37424
- ...v2.additionalProperties,
37425
- ...remap(v2, {
37426
- tokenIn: "token_in",
37427
- tokenOut: "token_out",
37428
- tickSpacing: "tick_spacing",
37429
- amountIn: "amount_in",
37430
- amountOutMinimum: "amount_out_minimum",
37431
- additionalProperties: null
37432
- })
37433
- };
37381
+ return remap(v2, {
37382
+ actionType: "action_type",
37383
+ tokenIn: "token_in",
37384
+ tokenOut: "token_out",
37385
+ tickSpacing: "tick_spacing",
37386
+ amountIn: "amount_in",
37387
+ amountOutMinimum: "amount_out_minimum"
37388
+ });
37434
37389
  });
37435
37390
  ((AerodromeSlipstreamSellExactlyParams$) => {
37436
37391
  AerodromeSlipstreamSellExactlyParams$.inboundSchema = AerodromeSlipstreamSellExactlyParams$inboundSchema;
@@ -37443,7 +37398,6 @@ var AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema, AerodromeSlipst
37443
37398
  var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
37444
37399
  init_esm();
37445
37400
  init_primitives();
37446
- init_schemas();
37447
37401
  init_chain();
37448
37402
  init_tokenenum();
37449
37403
  AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema = unionType([numberType(), stringType()]);
@@ -37458,7 +37412,8 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
37458
37412
  AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$.inboundSchema = AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$inboundSchema;
37459
37413
  AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$.outboundSchema = AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$outboundSchema;
37460
37414
  })(AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$ ||= {});
37461
- AerodromeSlipstreamSellExactlyRequest$inboundSchema = collectExtraKeys(objectType({
37415
+ AerodromeSlipstreamSellExactlyRequest$inboundSchema = objectType({
37416
+ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY").default("AERODROME_SLIPSTREAM_SELL_EXACTLY"),
37462
37417
  token_in: TokenEnum$inboundSchema,
37463
37418
  token_out: TokenEnum$inboundSchema,
37464
37419
  tick_spacing: numberType().int(),
@@ -37466,8 +37421,9 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
37466
37421
  amount_out_minimum: unionType([numberType(), stringType()]).optional(),
37467
37422
  chain: Chain$inboundSchema,
37468
37423
  sender: stringType()
37469
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37424
+ }).transform((v2) => {
37470
37425
  return remap(v2, {
37426
+ action_type: "actionType",
37471
37427
  token_in: "tokenIn",
37472
37428
  token_out: "tokenOut",
37473
37429
  tick_spacing: "tickSpacing",
@@ -37476,26 +37432,23 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
37476
37432
  });
37477
37433
  });
37478
37434
  AerodromeSlipstreamSellExactlyRequest$outboundSchema = objectType({
37435
+ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY").default("AERODROME_SLIPSTREAM_SELL_EXACTLY"),
37479
37436
  tokenIn: TokenEnum$outboundSchema,
37480
37437
  tokenOut: TokenEnum$outboundSchema,
37481
37438
  tickSpacing: numberType().int(),
37482
37439
  amountIn: unionType([numberType(), stringType()]),
37483
37440
  amountOutMinimum: unionType([numberType(), stringType()]).optional(),
37484
37441
  chain: Chain$outboundSchema,
37485
- sender: stringType(),
37486
- additionalProperties: recordType(anyType())
37442
+ sender: stringType()
37487
37443
  }).transform((v2) => {
37488
- return {
37489
- ...v2.additionalProperties,
37490
- ...remap(v2, {
37491
- tokenIn: "token_in",
37492
- tokenOut: "token_out",
37493
- tickSpacing: "tick_spacing",
37494
- amountIn: "amount_in",
37495
- amountOutMinimum: "amount_out_minimum",
37496
- additionalProperties: null
37497
- })
37498
- };
37444
+ return remap(v2, {
37445
+ actionType: "action_type",
37446
+ tokenIn: "token_in",
37447
+ tokenOut: "token_out",
37448
+ tickSpacing: "tick_spacing",
37449
+ amountIn: "amount_in",
37450
+ amountOutMinimum: "amount_out_minimum"
37451
+ });
37499
37452
  });
37500
37453
  ((AerodromeSlipstreamSellExactlyRequest$) => {
37501
37454
  AerodromeSlipstreamSellExactlyRequest$.inboundSchema = AerodromeSlipstreamSellExactlyRequest$inboundSchema;
@@ -37508,35 +37461,33 @@ var AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$i
37508
37461
  var init_aerodromeslipstreamwithdrawliquidityprovisionparams = __esm(() => {
37509
37462
  init_esm();
37510
37463
  init_primitives();
37511
- init_schemas();
37512
37464
  AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
37513
37465
  AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
37514
37466
  ((AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$) => {
37515
37467
  AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema;
37516
37468
  AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$.outboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema;
37517
37469
  })(AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$ ||= {});
37518
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema = collectExtraKeys(objectType({
37470
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema = objectType({
37471
+ action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
37519
37472
  token_id: numberType().int(),
37520
37473
  percentage_for_withdrawal: unionType([numberType(), stringType()])
37521
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37474
+ }).transform((v2) => {
37522
37475
  return remap(v2, {
37476
+ action_type: "actionType",
37523
37477
  token_id: "tokenId",
37524
37478
  percentage_for_withdrawal: "percentageForWithdrawal"
37525
37479
  });
37526
37480
  });
37527
37481
  AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema = objectType({
37482
+ actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
37528
37483
  tokenId: numberType().int(),
37529
- percentageForWithdrawal: unionType([numberType(), stringType()]),
37530
- additionalProperties: recordType(anyType())
37484
+ percentageForWithdrawal: unionType([numberType(), stringType()])
37531
37485
  }).transform((v2) => {
37532
- return {
37533
- ...v2.additionalProperties,
37534
- ...remap(v2, {
37535
- tokenId: "token_id",
37536
- percentageForWithdrawal: "percentage_for_withdrawal",
37537
- additionalProperties: null
37538
- })
37539
- };
37486
+ return remap(v2, {
37487
+ actionType: "action_type",
37488
+ tokenId: "token_id",
37489
+ percentageForWithdrawal: "percentage_for_withdrawal"
37490
+ });
37540
37491
  });
37541
37492
  ((AerodromeSlipstreamWithdrawLiquidityProvisionParams$) => {
37542
37493
  AerodromeSlipstreamWithdrawLiquidityProvisionParams$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema;
@@ -37549,7 +37500,6 @@ var AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$
37549
37500
  var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
37550
37501
  init_esm();
37551
37502
  init_primitives();
37552
- init_schemas();
37553
37503
  init_chain();
37554
37504
  AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
37555
37505
  AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
@@ -37557,32 +37507,31 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
37557
37507
  AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema;
37558
37508
  AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.outboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema;
37559
37509
  })(AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$ ||= {});
37560
- AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema = collectExtraKeys(objectType({
37510
+ AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema = objectType({
37511
+ action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
37561
37512
  token_id: numberType().int(),
37562
37513
  percentage_for_withdrawal: unionType([numberType(), stringType()]),
37563
37514
  chain: Chain$inboundSchema,
37564
37515
  sender: stringType()
37565
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37516
+ }).transform((v2) => {
37566
37517
  return remap(v2, {
37518
+ action_type: "actionType",
37567
37519
  token_id: "tokenId",
37568
37520
  percentage_for_withdrawal: "percentageForWithdrawal"
37569
37521
  });
37570
37522
  });
37571
37523
  AerodromeSlipstreamWithdrawLiquidityProvisionRequest$outboundSchema = objectType({
37524
+ actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION").default("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION"),
37572
37525
  tokenId: numberType().int(),
37573
37526
  percentageForWithdrawal: unionType([numberType(), stringType()]),
37574
37527
  chain: Chain$outboundSchema,
37575
- sender: stringType(),
37576
- additionalProperties: recordType(anyType())
37528
+ sender: stringType()
37577
37529
  }).transform((v2) => {
37578
- return {
37579
- ...v2.additionalProperties,
37580
- ...remap(v2, {
37581
- tokenId: "token_id",
37582
- percentageForWithdrawal: "percentage_for_withdrawal",
37583
- additionalProperties: null
37584
- })
37585
- };
37530
+ return remap(v2, {
37531
+ actionType: "action_type",
37532
+ tokenId: "token_id",
37533
+ percentageForWithdrawal: "percentage_for_withdrawal"
37534
+ });
37586
37535
  });
37587
37536
  ((AerodromeSlipstreamWithdrawLiquidityProvisionRequest$) => {
37588
37537
  AerodromeSlipstreamWithdrawLiquidityProvisionRequest$.inboundSchema = AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema;
@@ -37633,7 +37582,6 @@ var IncreaseAllowanceParamsContractName, IncreaseAllowanceParamsToken$inboundSch
37633
37582
  var init_increaseallowanceparams = __esm(() => {
37634
37583
  init_esm();
37635
37584
  init_primitives();
37636
- init_schemas();
37637
37585
  init_tokenenum();
37638
37586
  IncreaseAllowanceParamsContractName = {
37639
37587
  AaveV3Pool: "AaveV3Pool",
@@ -37666,28 +37614,27 @@ var init_increaseallowanceparams = __esm(() => {
37666
37614
  IncreaseAllowanceParamsAmount$.inboundSchema = IncreaseAllowanceParamsAmount$inboundSchema;
37667
37615
  IncreaseAllowanceParamsAmount$.outboundSchema = IncreaseAllowanceParamsAmount$outboundSchema;
37668
37616
  })(IncreaseAllowanceParamsAmount$ ||= {});
37669
- IncreaseAllowanceParams$inboundSchema = collectExtraKeys(objectType({
37617
+ IncreaseAllowanceParams$inboundSchema = objectType({
37618
+ action_type: literalType("ALLOWANCE_INCREASE").default("ALLOWANCE_INCREASE"),
37670
37619
  token: unionType([TokenEnum$inboundSchema, stringType()]),
37671
37620
  contract_name: IncreaseAllowanceParamsContractName$inboundSchema,
37672
37621
  amount: unionType([numberType(), stringType()])
37673
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37622
+ }).transform((v2) => {
37674
37623
  return remap(v2, {
37624
+ action_type: "actionType",
37675
37625
  contract_name: "contractName"
37676
37626
  });
37677
37627
  });
37678
37628
  IncreaseAllowanceParams$outboundSchema = objectType({
37629
+ actionType: literalType("ALLOWANCE_INCREASE").default("ALLOWANCE_INCREASE"),
37679
37630
  token: unionType([TokenEnum$outboundSchema, stringType()]),
37680
37631
  contractName: IncreaseAllowanceParamsContractName$outboundSchema,
37681
- amount: unionType([numberType(), stringType()]),
37682
- additionalProperties: recordType(anyType())
37632
+ amount: unionType([numberType(), stringType()])
37683
37633
  }).transform((v2) => {
37684
- return {
37685
- ...v2.additionalProperties,
37686
- ...remap(v2, {
37687
- contractName: "contract_name",
37688
- additionalProperties: null
37689
- })
37690
- };
37634
+ return remap(v2, {
37635
+ actionType: "action_type",
37636
+ contractName: "contract_name"
37637
+ });
37691
37638
  });
37692
37639
  ((IncreaseAllowanceParams$) => {
37693
37640
  IncreaseAllowanceParams$.inboundSchema = IncreaseAllowanceParams$inboundSchema;
@@ -37700,39 +37647,37 @@ var MorphoBorrowParamsAmount$inboundSchema, MorphoBorrowParamsAmount$outboundSch
37700
37647
  var init_morphoborrowparams = __esm(() => {
37701
37648
  init_esm();
37702
37649
  init_primitives();
37703
- init_schemas();
37704
37650
  MorphoBorrowParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
37705
37651
  MorphoBorrowParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
37706
37652
  ((MorphoBorrowParamsAmount$) => {
37707
37653
  MorphoBorrowParamsAmount$.inboundSchema = MorphoBorrowParamsAmount$inboundSchema;
37708
37654
  MorphoBorrowParamsAmount$.outboundSchema = MorphoBorrowParamsAmount$outboundSchema;
37709
37655
  })(MorphoBorrowParamsAmount$ ||= {});
37710
- MorphoBorrowParams$inboundSchema = collectExtraKeys(objectType({
37656
+ MorphoBorrowParams$inboundSchema = objectType({
37657
+ action_type: literalType("MORPHO_BORROW").default("MORPHO_BORROW"),
37711
37658
  amount: unionType([numberType(), stringType()]),
37712
37659
  unique_market_key: stringType(),
37713
37660
  on_behalf_of: nullableType(stringType()).optional(),
37714
37661
  receiver: nullableType(stringType()).optional()
37715
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37662
+ }).transform((v2) => {
37716
37663
  return remap(v2, {
37664
+ action_type: "actionType",
37717
37665
  unique_market_key: "uniqueMarketKey",
37718
37666
  on_behalf_of: "onBehalfOf"
37719
37667
  });
37720
37668
  });
37721
37669
  MorphoBorrowParams$outboundSchema = objectType({
37670
+ actionType: literalType("MORPHO_BORROW").default("MORPHO_BORROW"),
37722
37671
  amount: unionType([numberType(), stringType()]),
37723
37672
  uniqueMarketKey: stringType(),
37724
37673
  onBehalfOf: nullableType(stringType()).optional(),
37725
- receiver: nullableType(stringType()).optional(),
37726
- additionalProperties: recordType(anyType())
37674
+ receiver: nullableType(stringType()).optional()
37727
37675
  }).transform((v2) => {
37728
- return {
37729
- ...v2.additionalProperties,
37730
- ...remap(v2, {
37731
- uniqueMarketKey: "unique_market_key",
37732
- onBehalfOf: "on_behalf_of",
37733
- additionalProperties: null
37734
- })
37735
- };
37676
+ return remap(v2, {
37677
+ actionType: "action_type",
37678
+ uniqueMarketKey: "unique_market_key",
37679
+ onBehalfOf: "on_behalf_of"
37680
+ });
37736
37681
  });
37737
37682
  ((MorphoBorrowParams$) => {
37738
37683
  MorphoBorrowParams$.inboundSchema = MorphoBorrowParams$inboundSchema;
@@ -37745,35 +37690,33 @@ var MorphoDepositParamsAmount$inboundSchema, MorphoDepositParamsAmount$outboundS
37745
37690
  var init_morphodepositparams = __esm(() => {
37746
37691
  init_esm();
37747
37692
  init_primitives();
37748
- init_schemas();
37749
37693
  MorphoDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
37750
37694
  MorphoDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
37751
37695
  ((MorphoDepositParamsAmount$) => {
37752
37696
  MorphoDepositParamsAmount$.inboundSchema = MorphoDepositParamsAmount$inboundSchema;
37753
37697
  MorphoDepositParamsAmount$.outboundSchema = MorphoDepositParamsAmount$outboundSchema;
37754
37698
  })(MorphoDepositParamsAmount$ ||= {});
37755
- MorphoDepositParams$inboundSchema = collectExtraKeys(objectType({
37699
+ MorphoDepositParams$inboundSchema = objectType({
37700
+ action_type: literalType("MORPHO_DEPOSIT").default("MORPHO_DEPOSIT"),
37756
37701
  vault_address: stringType(),
37757
37702
  amount: unionType([numberType(), stringType()]),
37758
37703
  receiver: nullableType(stringType()).optional()
37759
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37704
+ }).transform((v2) => {
37760
37705
  return remap(v2, {
37706
+ action_type: "actionType",
37761
37707
  vault_address: "vaultAddress"
37762
37708
  });
37763
37709
  });
37764
37710
  MorphoDepositParams$outboundSchema = objectType({
37711
+ actionType: literalType("MORPHO_DEPOSIT").default("MORPHO_DEPOSIT"),
37765
37712
  vaultAddress: stringType(),
37766
37713
  amount: unionType([numberType(), stringType()]),
37767
- receiver: nullableType(stringType()).optional(),
37768
- additionalProperties: recordType(anyType())
37714
+ receiver: nullableType(stringType()).optional()
37769
37715
  }).transform((v2) => {
37770
- return {
37771
- ...v2.additionalProperties,
37772
- ...remap(v2, {
37773
- vaultAddress: "vault_address",
37774
- additionalProperties: null
37775
- })
37776
- };
37716
+ return remap(v2, {
37717
+ actionType: "action_type",
37718
+ vaultAddress: "vault_address"
37719
+ });
37777
37720
  });
37778
37721
  ((MorphoDepositParams$) => {
37779
37722
  MorphoDepositParams$.inboundSchema = MorphoDepositParams$inboundSchema;
@@ -37787,35 +37730,33 @@ var init_morphorepayparams = __esm(() => {
37787
37730
  init_esm();
37788
37731
  init_base64();
37789
37732
  init_primitives();
37790
- init_schemas();
37791
- MorphoRepayParams$inboundSchema = collectExtraKeys(objectType({
37733
+ MorphoRepayParams$inboundSchema = objectType({
37734
+ action_type: literalType("MORPHO_REPAY").default("MORPHO_REPAY"),
37792
37735
  amount: anyType().optional(),
37793
37736
  unique_market_key: stringType(),
37794
37737
  on_behalf_of: nullableType(stringType()).optional(),
37795
37738
  callback_data: nullableType(zodInbound).optional()
37796
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37739
+ }).transform((v2) => {
37797
37740
  return remap(v2, {
37741
+ action_type: "actionType",
37798
37742
  unique_market_key: "uniqueMarketKey",
37799
37743
  on_behalf_of: "onBehalfOf",
37800
37744
  callback_data: "callbackData"
37801
37745
  });
37802
37746
  });
37803
37747
  MorphoRepayParams$outboundSchema = objectType({
37748
+ actionType: literalType("MORPHO_REPAY").default("MORPHO_REPAY"),
37804
37749
  amount: anyType().optional(),
37805
37750
  uniqueMarketKey: stringType(),
37806
37751
  onBehalfOf: nullableType(stringType()).optional(),
37807
- callbackData: nullableType(zodOutbound).optional(),
37808
- additionalProperties: recordType(anyType())
37752
+ callbackData: nullableType(zodOutbound).optional()
37809
37753
  }).transform((v2) => {
37810
- return {
37811
- ...v2.additionalProperties,
37812
- ...remap(v2, {
37813
- uniqueMarketKey: "unique_market_key",
37814
- onBehalfOf: "on_behalf_of",
37815
- callbackData: "callback_data",
37816
- additionalProperties: null
37817
- })
37818
- };
37754
+ return remap(v2, {
37755
+ actionType: "action_type",
37756
+ uniqueMarketKey: "unique_market_key",
37757
+ onBehalfOf: "on_behalf_of",
37758
+ callbackData: "callback_data"
37759
+ });
37819
37760
  });
37820
37761
  ((MorphoRepayParams$) => {
37821
37762
  MorphoRepayParams$.inboundSchema = MorphoRepayParams$inboundSchema;
@@ -37828,33 +37769,31 @@ var MorphoSetVaultAllowanceParamsAmount$inboundSchema, MorphoSetVaultAllowancePa
37828
37769
  var init_morphosetvaultallowanceparams = __esm(() => {
37829
37770
  init_esm();
37830
37771
  init_primitives();
37831
- init_schemas();
37832
37772
  MorphoSetVaultAllowanceParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
37833
37773
  MorphoSetVaultAllowanceParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
37834
37774
  ((MorphoSetVaultAllowanceParamsAmount$) => {
37835
37775
  MorphoSetVaultAllowanceParamsAmount$.inboundSchema = MorphoSetVaultAllowanceParamsAmount$inboundSchema;
37836
37776
  MorphoSetVaultAllowanceParamsAmount$.outboundSchema = MorphoSetVaultAllowanceParamsAmount$outboundSchema;
37837
37777
  })(MorphoSetVaultAllowanceParamsAmount$ ||= {});
37838
- MorphoSetVaultAllowanceParams$inboundSchema = collectExtraKeys(objectType({
37778
+ MorphoSetVaultAllowanceParams$inboundSchema = objectType({
37779
+ action_type: literalType("MORPHO_SET_VAULT_ALLOWANCE").default("MORPHO_SET_VAULT_ALLOWANCE"),
37839
37780
  vault_address: stringType(),
37840
37781
  amount: unionType([numberType(), stringType()])
37841
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37782
+ }).transform((v2) => {
37842
37783
  return remap(v2, {
37784
+ action_type: "actionType",
37843
37785
  vault_address: "vaultAddress"
37844
37786
  });
37845
37787
  });
37846
37788
  MorphoSetVaultAllowanceParams$outboundSchema = objectType({
37789
+ actionType: literalType("MORPHO_SET_VAULT_ALLOWANCE").default("MORPHO_SET_VAULT_ALLOWANCE"),
37847
37790
  vaultAddress: stringType(),
37848
- amount: unionType([numberType(), stringType()]),
37849
- additionalProperties: recordType(anyType())
37791
+ amount: unionType([numberType(), stringType()])
37850
37792
  }).transform((v2) => {
37851
- return {
37852
- ...v2.additionalProperties,
37853
- ...remap(v2, {
37854
- vaultAddress: "vault_address",
37855
- additionalProperties: null
37856
- })
37857
- };
37793
+ return remap(v2, {
37794
+ actionType: "action_type",
37795
+ vaultAddress: "vault_address"
37796
+ });
37858
37797
  });
37859
37798
  ((MorphoSetVaultAllowanceParams$) => {
37860
37799
  MorphoSetVaultAllowanceParams$.inboundSchema = MorphoSetVaultAllowanceParams$inboundSchema;
@@ -37868,41 +37807,39 @@ var init_morphosupplycollateralparams = __esm(() => {
37868
37807
  init_esm();
37869
37808
  init_base64();
37870
37809
  init_primitives();
37871
- init_schemas();
37872
37810
  MorphoSupplyCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
37873
37811
  MorphoSupplyCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
37874
37812
  ((MorphoSupplyCollateralParamsAmount$) => {
37875
37813
  MorphoSupplyCollateralParamsAmount$.inboundSchema = MorphoSupplyCollateralParamsAmount$inboundSchema;
37876
37814
  MorphoSupplyCollateralParamsAmount$.outboundSchema = MorphoSupplyCollateralParamsAmount$outboundSchema;
37877
37815
  })(MorphoSupplyCollateralParamsAmount$ ||= {});
37878
- MorphoSupplyCollateralParams$inboundSchema = collectExtraKeys(objectType({
37816
+ MorphoSupplyCollateralParams$inboundSchema = objectType({
37817
+ action_type: literalType("MORPHO_SUPPLY_COLLATERAL").default("MORPHO_SUPPLY_COLLATERAL"),
37879
37818
  amount: unionType([numberType(), stringType()]),
37880
37819
  unique_market_key: stringType(),
37881
37820
  on_behalf_of: nullableType(stringType()).optional(),
37882
37821
  callback_data: nullableType(zodInbound).optional()
37883
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37822
+ }).transform((v2) => {
37884
37823
  return remap(v2, {
37824
+ action_type: "actionType",
37885
37825
  unique_market_key: "uniqueMarketKey",
37886
37826
  on_behalf_of: "onBehalfOf",
37887
37827
  callback_data: "callbackData"
37888
37828
  });
37889
37829
  });
37890
37830
  MorphoSupplyCollateralParams$outboundSchema = objectType({
37831
+ actionType: literalType("MORPHO_SUPPLY_COLLATERAL").default("MORPHO_SUPPLY_COLLATERAL"),
37891
37832
  amount: unionType([numberType(), stringType()]),
37892
37833
  uniqueMarketKey: stringType(),
37893
37834
  onBehalfOf: nullableType(stringType()).optional(),
37894
- callbackData: nullableType(zodOutbound).optional(),
37895
- additionalProperties: recordType(anyType())
37835
+ callbackData: nullableType(zodOutbound).optional()
37896
37836
  }).transform((v2) => {
37897
- return {
37898
- ...v2.additionalProperties,
37899
- ...remap(v2, {
37900
- uniqueMarketKey: "unique_market_key",
37901
- onBehalfOf: "on_behalf_of",
37902
- callbackData: "callback_data",
37903
- additionalProperties: null
37904
- })
37905
- };
37837
+ return remap(v2, {
37838
+ actionType: "action_type",
37839
+ uniqueMarketKey: "unique_market_key",
37840
+ onBehalfOf: "on_behalf_of",
37841
+ callbackData: "callback_data"
37842
+ });
37906
37843
  });
37907
37844
  ((MorphoSupplyCollateralParams$) => {
37908
37845
  MorphoSupplyCollateralParams$.inboundSchema = MorphoSupplyCollateralParams$inboundSchema;
@@ -37915,39 +37852,37 @@ var MorphoWithdrawCollateralParamsAmount$inboundSchema, MorphoWithdrawCollateral
37915
37852
  var init_morphowithdrawcollateralparams = __esm(() => {
37916
37853
  init_esm();
37917
37854
  init_primitives();
37918
- init_schemas();
37919
37855
  MorphoWithdrawCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
37920
37856
  MorphoWithdrawCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
37921
37857
  ((MorphoWithdrawCollateralParamsAmount$) => {
37922
37858
  MorphoWithdrawCollateralParamsAmount$.inboundSchema = MorphoWithdrawCollateralParamsAmount$inboundSchema;
37923
37859
  MorphoWithdrawCollateralParamsAmount$.outboundSchema = MorphoWithdrawCollateralParamsAmount$outboundSchema;
37924
37860
  })(MorphoWithdrawCollateralParamsAmount$ ||= {});
37925
- MorphoWithdrawCollateralParams$inboundSchema = collectExtraKeys(objectType({
37861
+ MorphoWithdrawCollateralParams$inboundSchema = objectType({
37862
+ action_type: literalType("MORPHO_WITHDRAW_COLLATERAL").default("MORPHO_WITHDRAW_COLLATERAL"),
37926
37863
  amount: unionType([numberType(), stringType()]),
37927
37864
  unique_market_key: stringType(),
37928
37865
  on_behalf_of: nullableType(stringType()).optional(),
37929
37866
  receiver: nullableType(stringType()).optional()
37930
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37867
+ }).transform((v2) => {
37931
37868
  return remap(v2, {
37869
+ action_type: "actionType",
37932
37870
  unique_market_key: "uniqueMarketKey",
37933
37871
  on_behalf_of: "onBehalfOf"
37934
37872
  });
37935
37873
  });
37936
37874
  MorphoWithdrawCollateralParams$outboundSchema = objectType({
37875
+ actionType: literalType("MORPHO_WITHDRAW_COLLATERAL").default("MORPHO_WITHDRAW_COLLATERAL"),
37937
37876
  amount: unionType([numberType(), stringType()]),
37938
37877
  uniqueMarketKey: stringType(),
37939
37878
  onBehalfOf: nullableType(stringType()).optional(),
37940
- receiver: nullableType(stringType()).optional(),
37941
- additionalProperties: recordType(anyType())
37879
+ receiver: nullableType(stringType()).optional()
37942
37880
  }).transform((v2) => {
37943
- return {
37944
- ...v2.additionalProperties,
37945
- ...remap(v2, {
37946
- uniqueMarketKey: "unique_market_key",
37947
- onBehalfOf: "on_behalf_of",
37948
- additionalProperties: null
37949
- })
37950
- };
37881
+ return remap(v2, {
37882
+ actionType: "action_type",
37883
+ uniqueMarketKey: "unique_market_key",
37884
+ onBehalfOf: "on_behalf_of"
37885
+ });
37951
37886
  });
37952
37887
  ((MorphoWithdrawCollateralParams$) => {
37953
37888
  MorphoWithdrawCollateralParams$.inboundSchema = MorphoWithdrawCollateralParams$inboundSchema;
@@ -37960,29 +37895,27 @@ var MorphoWithdrawParams$inboundSchema, MorphoWithdrawParams$outboundSchema, Mor
37960
37895
  var init_morphowithdrawparams = __esm(() => {
37961
37896
  init_esm();
37962
37897
  init_primitives();
37963
- init_schemas();
37964
- MorphoWithdrawParams$inboundSchema = collectExtraKeys(objectType({
37898
+ MorphoWithdrawParams$inboundSchema = objectType({
37899
+ action_type: literalType("MORPHO_WITHDRAW").default("MORPHO_WITHDRAW"),
37965
37900
  vault_address: stringType(),
37966
37901
  amount: anyType().optional(),
37967
37902
  receiver: nullableType(stringType()).optional()
37968
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37903
+ }).transform((v2) => {
37969
37904
  return remap(v2, {
37905
+ action_type: "actionType",
37970
37906
  vault_address: "vaultAddress"
37971
37907
  });
37972
37908
  });
37973
37909
  MorphoWithdrawParams$outboundSchema = objectType({
37910
+ actionType: literalType("MORPHO_WITHDRAW").default("MORPHO_WITHDRAW"),
37974
37911
  vaultAddress: stringType(),
37975
37912
  amount: anyType().optional(),
37976
- receiver: nullableType(stringType()).optional(),
37977
- additionalProperties: recordType(anyType())
37913
+ receiver: nullableType(stringType()).optional()
37978
37914
  }).transform((v2) => {
37979
- return {
37980
- ...v2.additionalProperties,
37981
- ...remap(v2, {
37982
- vaultAddress: "vault_address",
37983
- additionalProperties: null
37984
- })
37985
- };
37915
+ return remap(v2, {
37916
+ actionType: "action_type",
37917
+ vaultAddress: "vault_address"
37918
+ });
37986
37919
  });
37987
37920
  ((MorphoWithdrawParams$) => {
37988
37921
  MorphoWithdrawParams$.inboundSchema = MorphoWithdrawParams$inboundSchema;
@@ -37990,85 +37923,36 @@ var init_morphowithdrawparams = __esm(() => {
37990
37923
  })(MorphoWithdrawParams$ ||= {});
37991
37924
  });
37992
37925
 
37993
- // src/models/components/multicallactiontype.ts
37994
- var MulticallActionType, MulticallActionType$inboundSchema, MulticallActionType$outboundSchema, MulticallActionType$;
37995
- var init_multicallactiontype = __esm(() => {
37996
- init_esm();
37997
- MulticallActionType = {
37998
- AaveBorrow: "AAVE_BORROW",
37999
- AaveRepay: "AAVE_REPAY",
38000
- AaveSupply: "AAVE_SUPPLY",
38001
- AaveWithdraw: "AAVE_WITHDRAW",
38002
- AerodromeSlipstreamBuyExactly: "AERODROME_SLIPSTREAM_BUY_EXACTLY",
38003
- AerodromeSlipstreamIncreaseLiquidity: "AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY",
38004
- AerodromeSlipstreamMintLiquidity: "AERODROME_SLIPSTREAM_MINT_LIQUIDITY",
38005
- AerodromeSlipstreamSellExactly: "AERODROME_SLIPSTREAM_SELL_EXACTLY",
38006
- AerodromeSlipstreamWithdrawLiquidity: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY",
38007
- AllowanceIncrease: "ALLOWANCE_INCREASE",
38008
- MorphoBorrow: "MORPHO_BORROW",
38009
- MorphoDeposit: "MORPHO_DEPOSIT",
38010
- MorphoRepay: "MORPHO_REPAY",
38011
- MorphoSetVaultAllowance: "MORPHO_SET_VAULT_ALLOWANCE",
38012
- MorphoSupplyCollateral: "MORPHO_SUPPLY_COLLATERAL",
38013
- MorphoWithdraw: "MORPHO_WITHDRAW",
38014
- MorphoWithdrawCollateral: "MORPHO_WITHDRAW_COLLATERAL",
38015
- PendleBuyPt: "PENDLE_BUY_PT",
38016
- PendleBuyYt: "PENDLE_BUY_YT",
38017
- PendleSellPt: "PENDLE_SELL_PT",
38018
- PendleSellYt: "PENDLE_SELL_YT",
38019
- SkyBuy: "SKY_BUY",
38020
- SkyDeposit: "SKY_DEPOSIT",
38021
- SkySell: "SKY_SELL",
38022
- SkyWithdraw: "SKY_WITHDRAW",
38023
- TransferErc20: "TRANSFER_ERC20",
38024
- UniswapAddLiquidity: "UNISWAP_ADD_LIQUIDITY",
38025
- UniswapBuyExactly: "UNISWAP_BUY_EXACTLY",
38026
- UniswapMintLiquidity: "UNISWAP_MINT_LIQUIDITY",
38027
- UniswapSellExactly: "UNISWAP_SELL_EXACTLY",
38028
- UniswapWithdrawLiquidity: "UNISWAP_WITHDRAW_LIQUIDITY",
38029
- UnwrapWeth: "UNWRAP_WETH",
38030
- WrapEth: "WRAP_ETH"
38031
- };
38032
- MulticallActionType$inboundSchema = nativeEnumType(MulticallActionType);
38033
- MulticallActionType$outboundSchema = MulticallActionType$inboundSchema;
38034
- ((MulticallActionType$) => {
38035
- MulticallActionType$.inboundSchema = MulticallActionType$inboundSchema;
38036
- MulticallActionType$.outboundSchema = MulticallActionType$outboundSchema;
38037
- })(MulticallActionType$ ||= {});
38038
- });
38039
-
38040
37926
  // src/models/components/pendlebuyptparams.ts
38041
37927
  var PendleBuyPtParamsAmount$inboundSchema, PendleBuyPtParamsAmount$outboundSchema, PendleBuyPtParamsAmount$, PendleBuyPtParams$inboundSchema, PendleBuyPtParams$outboundSchema, PendleBuyPtParams$;
38042
37928
  var init_pendlebuyptparams = __esm(() => {
38043
37929
  init_esm();
38044
37930
  init_primitives();
38045
- init_schemas();
38046
37931
  PendleBuyPtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38047
37932
  PendleBuyPtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38048
37933
  ((PendleBuyPtParamsAmount$) => {
38049
37934
  PendleBuyPtParamsAmount$.inboundSchema = PendleBuyPtParamsAmount$inboundSchema;
38050
37935
  PendleBuyPtParamsAmount$.outboundSchema = PendleBuyPtParamsAmount$outboundSchema;
38051
37936
  })(PendleBuyPtParamsAmount$ ||= {});
38052
- PendleBuyPtParams$inboundSchema = collectExtraKeys(objectType({
37937
+ PendleBuyPtParams$inboundSchema = objectType({
37938
+ action_type: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
38053
37939
  market_address: stringType(),
38054
37940
  amount: unionType([numberType(), stringType()])
38055
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37941
+ }).transform((v2) => {
38056
37942
  return remap(v2, {
37943
+ action_type: "actionType",
38057
37944
  market_address: "marketAddress"
38058
37945
  });
38059
37946
  });
38060
37947
  PendleBuyPtParams$outboundSchema = objectType({
37948
+ actionType: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
38061
37949
  marketAddress: stringType(),
38062
- amount: unionType([numberType(), stringType()]),
38063
- additionalProperties: recordType(anyType())
37950
+ amount: unionType([numberType(), stringType()])
38064
37951
  }).transform((v2) => {
38065
- return {
38066
- ...v2.additionalProperties,
38067
- ...remap(v2, {
38068
- marketAddress: "market_address",
38069
- additionalProperties: null
38070
- })
38071
- };
37952
+ return remap(v2, {
37953
+ actionType: "action_type",
37954
+ marketAddress: "market_address"
37955
+ });
38072
37956
  });
38073
37957
  ((PendleBuyPtParams$) => {
38074
37958
  PendleBuyPtParams$.inboundSchema = PendleBuyPtParams$inboundSchema;
@@ -38081,33 +37965,31 @@ var PendleBuyYtParamsAmount$inboundSchema, PendleBuyYtParamsAmount$outboundSchem
38081
37965
  var init_pendlebuyytparams = __esm(() => {
38082
37966
  init_esm();
38083
37967
  init_primitives();
38084
- init_schemas();
38085
37968
  PendleBuyYtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38086
37969
  PendleBuyYtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38087
37970
  ((PendleBuyYtParamsAmount$) => {
38088
37971
  PendleBuyYtParamsAmount$.inboundSchema = PendleBuyYtParamsAmount$inboundSchema;
38089
37972
  PendleBuyYtParamsAmount$.outboundSchema = PendleBuyYtParamsAmount$outboundSchema;
38090
37973
  })(PendleBuyYtParamsAmount$ ||= {});
38091
- PendleBuyYtParams$inboundSchema = collectExtraKeys(objectType({
37974
+ PendleBuyYtParams$inboundSchema = objectType({
37975
+ action_type: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
38092
37976
  market_address: stringType(),
38093
37977
  amount: unionType([numberType(), stringType()])
38094
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
37978
+ }).transform((v2) => {
38095
37979
  return remap(v2, {
37980
+ action_type: "actionType",
38096
37981
  market_address: "marketAddress"
38097
37982
  });
38098
37983
  });
38099
37984
  PendleBuyYtParams$outboundSchema = objectType({
37985
+ actionType: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
38100
37986
  marketAddress: stringType(),
38101
- amount: unionType([numberType(), stringType()]),
38102
- additionalProperties: recordType(anyType())
37987
+ amount: unionType([numberType(), stringType()])
38103
37988
  }).transform((v2) => {
38104
- return {
38105
- ...v2.additionalProperties,
38106
- ...remap(v2, {
38107
- marketAddress: "market_address",
38108
- additionalProperties: null
38109
- })
38110
- };
37989
+ return remap(v2, {
37990
+ actionType: "action_type",
37991
+ marketAddress: "market_address"
37992
+ });
38111
37993
  });
38112
37994
  ((PendleBuyYtParams$) => {
38113
37995
  PendleBuyYtParams$.inboundSchema = PendleBuyYtParams$inboundSchema;
@@ -38120,33 +38002,31 @@ var PendleSellPtParamsAmount$inboundSchema, PendleSellPtParamsAmount$outboundSch
38120
38002
  var init_pendlesellptparams = __esm(() => {
38121
38003
  init_esm();
38122
38004
  init_primitives();
38123
- init_schemas();
38124
38005
  PendleSellPtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38125
38006
  PendleSellPtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38126
38007
  ((PendleSellPtParamsAmount$) => {
38127
38008
  PendleSellPtParamsAmount$.inboundSchema = PendleSellPtParamsAmount$inboundSchema;
38128
38009
  PendleSellPtParamsAmount$.outboundSchema = PendleSellPtParamsAmount$outboundSchema;
38129
38010
  })(PendleSellPtParamsAmount$ ||= {});
38130
- PendleSellPtParams$inboundSchema = collectExtraKeys(objectType({
38011
+ PendleSellPtParams$inboundSchema = objectType({
38012
+ action_type: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
38131
38013
  market_address: stringType(),
38132
38014
  amount: unionType([numberType(), stringType()])
38133
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38015
+ }).transform((v2) => {
38134
38016
  return remap(v2, {
38017
+ action_type: "actionType",
38135
38018
  market_address: "marketAddress"
38136
38019
  });
38137
38020
  });
38138
38021
  PendleSellPtParams$outboundSchema = objectType({
38022
+ actionType: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
38139
38023
  marketAddress: stringType(),
38140
- amount: unionType([numberType(), stringType()]),
38141
- additionalProperties: recordType(anyType())
38024
+ amount: unionType([numberType(), stringType()])
38142
38025
  }).transform((v2) => {
38143
- return {
38144
- ...v2.additionalProperties,
38145
- ...remap(v2, {
38146
- marketAddress: "market_address",
38147
- additionalProperties: null
38148
- })
38149
- };
38026
+ return remap(v2, {
38027
+ actionType: "action_type",
38028
+ marketAddress: "market_address"
38029
+ });
38150
38030
  });
38151
38031
  ((PendleSellPtParams$) => {
38152
38032
  PendleSellPtParams$.inboundSchema = PendleSellPtParams$inboundSchema;
@@ -38159,33 +38039,31 @@ var PendleSellYtParamsAmount$inboundSchema, PendleSellYtParamsAmount$outboundSch
38159
38039
  var init_pendlesellytparams = __esm(() => {
38160
38040
  init_esm();
38161
38041
  init_primitives();
38162
- init_schemas();
38163
38042
  PendleSellYtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38164
38043
  PendleSellYtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38165
38044
  ((PendleSellYtParamsAmount$) => {
38166
38045
  PendleSellYtParamsAmount$.inboundSchema = PendleSellYtParamsAmount$inboundSchema;
38167
38046
  PendleSellYtParamsAmount$.outboundSchema = PendleSellYtParamsAmount$outboundSchema;
38168
38047
  })(PendleSellYtParamsAmount$ ||= {});
38169
- PendleSellYtParams$inboundSchema = collectExtraKeys(objectType({
38048
+ PendleSellYtParams$inboundSchema = objectType({
38049
+ action_type: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
38170
38050
  market_address: stringType(),
38171
38051
  amount: unionType([numberType(), stringType()])
38172
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38052
+ }).transform((v2) => {
38173
38053
  return remap(v2, {
38054
+ action_type: "actionType",
38174
38055
  market_address: "marketAddress"
38175
38056
  });
38176
38057
  });
38177
38058
  PendleSellYtParams$outboundSchema = objectType({
38059
+ actionType: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
38178
38060
  marketAddress: stringType(),
38179
- amount: unionType([numberType(), stringType()]),
38180
- additionalProperties: recordType(anyType())
38061
+ amount: unionType([numberType(), stringType()])
38181
38062
  }).transform((v2) => {
38182
- return {
38183
- ...v2.additionalProperties,
38184
- ...remap(v2, {
38185
- marketAddress: "market_address",
38186
- additionalProperties: null
38187
- })
38188
- };
38063
+ return remap(v2, {
38064
+ actionType: "action_type",
38065
+ marketAddress: "market_address"
38066
+ });
38189
38067
  });
38190
38068
  ((PendleSellYtParams$) => {
38191
38069
  PendleSellYtParams$.inboundSchema = PendleSellYtParams$inboundSchema;
@@ -38198,7 +38076,6 @@ var SkyBuyParamsTokenIn, SkyBuyParamsTokenIn$inboundSchema, SkyBuyParamsTokenIn$
38198
38076
  var init_skybuyparams = __esm(() => {
38199
38077
  init_esm();
38200
38078
  init_primitives();
38201
- init_schemas();
38202
38079
  SkyBuyParamsTokenIn = {
38203
38080
  Dai: "DAI",
38204
38081
  Usdc: "USDC"
@@ -38215,26 +38092,25 @@ var init_skybuyparams = __esm(() => {
38215
38092
  SkyBuyParamsAmount$.inboundSchema = SkyBuyParamsAmount$inboundSchema;
38216
38093
  SkyBuyParamsAmount$.outboundSchema = SkyBuyParamsAmount$outboundSchema;
38217
38094
  })(SkyBuyParamsAmount$ ||= {});
38218
- SkyBuyParams$inboundSchema = collectExtraKeys(objectType({
38095
+ SkyBuyParams$inboundSchema = objectType({
38096
+ action_type: literalType("SKY_BUY").default("SKY_BUY"),
38219
38097
  token_in: SkyBuyParamsTokenIn$inboundSchema,
38220
38098
  amount: unionType([numberType(), stringType()])
38221
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38099
+ }).transform((v2) => {
38222
38100
  return remap(v2, {
38101
+ action_type: "actionType",
38223
38102
  token_in: "tokenIn"
38224
38103
  });
38225
38104
  });
38226
38105
  SkyBuyParams$outboundSchema = objectType({
38106
+ actionType: literalType("SKY_BUY").default("SKY_BUY"),
38227
38107
  tokenIn: SkyBuyParamsTokenIn$outboundSchema,
38228
- amount: unionType([numberType(), stringType()]),
38229
- additionalProperties: recordType(anyType())
38108
+ amount: unionType([numberType(), stringType()])
38230
38109
  }).transform((v2) => {
38231
- return {
38232
- ...v2.additionalProperties,
38233
- ...remap(v2, {
38234
- tokenIn: "token_in",
38235
- additionalProperties: null
38236
- })
38237
- };
38110
+ return remap(v2, {
38111
+ actionType: "action_type",
38112
+ tokenIn: "token_in"
38113
+ });
38238
38114
  });
38239
38115
  ((SkyBuyParams$) => {
38240
38116
  SkyBuyParams$.inboundSchema = SkyBuyParams$inboundSchema;
@@ -38247,28 +38123,29 @@ var SkyDepositParamsAmount$inboundSchema, SkyDepositParamsAmount$outboundSchema,
38247
38123
  var init_skydepositparams = __esm(() => {
38248
38124
  init_esm();
38249
38125
  init_primitives();
38250
- init_schemas();
38251
38126
  SkyDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38252
38127
  SkyDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38253
38128
  ((SkyDepositParamsAmount$) => {
38254
38129
  SkyDepositParamsAmount$.inboundSchema = SkyDepositParamsAmount$inboundSchema;
38255
38130
  SkyDepositParamsAmount$.outboundSchema = SkyDepositParamsAmount$outboundSchema;
38256
38131
  })(SkyDepositParamsAmount$ ||= {});
38257
- SkyDepositParams$inboundSchema = collectExtraKeys(objectType({
38132
+ SkyDepositParams$inboundSchema = objectType({
38133
+ action_type: literalType("SKY_DEPOSIT").default("SKY_DEPOSIT"),
38258
38134
  amount: unionType([numberType(), stringType()]),
38259
38135
  receiver: nullableType(stringType()).optional()
38260
- }).catchall(anyType()), "additionalProperties", true);
38136
+ }).transform((v2) => {
38137
+ return remap(v2, {
38138
+ action_type: "actionType"
38139
+ });
38140
+ });
38261
38141
  SkyDepositParams$outboundSchema = objectType({
38142
+ actionType: literalType("SKY_DEPOSIT").default("SKY_DEPOSIT"),
38262
38143
  amount: unionType([numberType(), stringType()]),
38263
- receiver: nullableType(stringType()).optional(),
38264
- additionalProperties: recordType(anyType())
38144
+ receiver: nullableType(stringType()).optional()
38265
38145
  }).transform((v2) => {
38266
- return {
38267
- ...v2.additionalProperties,
38268
- ...remap(v2, {
38269
- additionalProperties: null
38270
- })
38271
- };
38146
+ return remap(v2, {
38147
+ actionType: "action_type"
38148
+ });
38272
38149
  });
38273
38150
  ((SkyDepositParams$) => {
38274
38151
  SkyDepositParams$.inboundSchema = SkyDepositParams$inboundSchema;
@@ -38281,7 +38158,6 @@ var SkySellParamsTokenOut, SkySellParamsTokenOut$inboundSchema, SkySellParamsTok
38281
38158
  var init_skysellparams = __esm(() => {
38282
38159
  init_esm();
38283
38160
  init_primitives();
38284
- init_schemas();
38285
38161
  SkySellParamsTokenOut = {
38286
38162
  Dai: "DAI",
38287
38163
  Usdc: "USDC"
@@ -38298,26 +38174,25 @@ var init_skysellparams = __esm(() => {
38298
38174
  SkySellParamsAmount$.inboundSchema = SkySellParamsAmount$inboundSchema;
38299
38175
  SkySellParamsAmount$.outboundSchema = SkySellParamsAmount$outboundSchema;
38300
38176
  })(SkySellParamsAmount$ ||= {});
38301
- SkySellParams$inboundSchema = collectExtraKeys(objectType({
38177
+ SkySellParams$inboundSchema = objectType({
38178
+ action_type: literalType("SKY_SELL").default("SKY_SELL"),
38302
38179
  token_out: SkySellParamsTokenOut$inboundSchema,
38303
38180
  amount: unionType([numberType(), stringType()])
38304
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38181
+ }).transform((v2) => {
38305
38182
  return remap(v2, {
38183
+ action_type: "actionType",
38306
38184
  token_out: "tokenOut"
38307
38185
  });
38308
38186
  });
38309
38187
  SkySellParams$outboundSchema = objectType({
38188
+ actionType: literalType("SKY_SELL").default("SKY_SELL"),
38310
38189
  tokenOut: SkySellParamsTokenOut$outboundSchema,
38311
- amount: unionType([numberType(), stringType()]),
38312
- additionalProperties: recordType(anyType())
38190
+ amount: unionType([numberType(), stringType()])
38313
38191
  }).transform((v2) => {
38314
- return {
38315
- ...v2.additionalProperties,
38316
- ...remap(v2, {
38317
- tokenOut: "token_out",
38318
- additionalProperties: null
38319
- })
38320
- };
38192
+ return remap(v2, {
38193
+ actionType: "action_type",
38194
+ tokenOut: "token_out"
38195
+ });
38321
38196
  });
38322
38197
  ((SkySellParams$) => {
38323
38198
  SkySellParams$.inboundSchema = SkySellParams$inboundSchema;
@@ -38330,22 +38205,23 @@ var SkyWithdrawParams$inboundSchema, SkyWithdrawParams$outboundSchema, SkyWithdr
38330
38205
  var init_skywithdrawparams = __esm(() => {
38331
38206
  init_esm();
38332
38207
  init_primitives();
38333
- init_schemas();
38334
- SkyWithdrawParams$inboundSchema = collectExtraKeys(objectType({
38208
+ SkyWithdrawParams$inboundSchema = objectType({
38209
+ action_type: literalType("SKY_WITHDRAW").default("SKY_WITHDRAW"),
38335
38210
  amount: anyType().optional(),
38336
38211
  receiver: nullableType(stringType()).optional()
38337
- }).catchall(anyType()), "additionalProperties", true);
38212
+ }).transform((v2) => {
38213
+ return remap(v2, {
38214
+ action_type: "actionType"
38215
+ });
38216
+ });
38338
38217
  SkyWithdrawParams$outboundSchema = objectType({
38218
+ actionType: literalType("SKY_WITHDRAW").default("SKY_WITHDRAW"),
38339
38219
  amount: anyType().optional(),
38340
- receiver: nullableType(stringType()).optional(),
38341
- additionalProperties: recordType(anyType())
38220
+ receiver: nullableType(stringType()).optional()
38342
38221
  }).transform((v2) => {
38343
- return {
38344
- ...v2.additionalProperties,
38345
- ...remap(v2, {
38346
- additionalProperties: null
38347
- })
38348
- };
38222
+ return remap(v2, {
38223
+ actionType: "action_type"
38224
+ });
38349
38225
  });
38350
38226
  ((SkyWithdrawParams$) => {
38351
38227
  SkyWithdrawParams$.inboundSchema = SkyWithdrawParams$inboundSchema;
@@ -38358,7 +38234,6 @@ var TokenTransferErc20ParamsAmount$inboundSchema, TokenTransferErc20ParamsAmount
38358
38234
  var init_tokentransfererc20params = __esm(() => {
38359
38235
  init_esm();
38360
38236
  init_primitives();
38361
- init_schemas();
38362
38237
  init_tokenenum();
38363
38238
  TokenTransferErc20ParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38364
38239
  TokenTransferErc20ParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -38366,23 +38241,25 @@ var init_tokentransfererc20params = __esm(() => {
38366
38241
  TokenTransferErc20ParamsAmount$.inboundSchema = TokenTransferErc20ParamsAmount$inboundSchema;
38367
38242
  TokenTransferErc20ParamsAmount$.outboundSchema = TokenTransferErc20ParamsAmount$outboundSchema;
38368
38243
  })(TokenTransferErc20ParamsAmount$ ||= {});
38369
- TokenTransferErc20Params$inboundSchema = collectExtraKeys(objectType({
38244
+ TokenTransferErc20Params$inboundSchema = objectType({
38245
+ action_type: literalType("TOKEN_TRANSFER_ERC20").default("TOKEN_TRANSFER_ERC20"),
38370
38246
  amount: unionType([numberType(), stringType()]),
38371
38247
  token: TokenEnum$inboundSchema,
38372
38248
  to: stringType()
38373
- }).catchall(anyType()), "additionalProperties", true);
38249
+ }).transform((v2) => {
38250
+ return remap(v2, {
38251
+ action_type: "actionType"
38252
+ });
38253
+ });
38374
38254
  TokenTransferErc20Params$outboundSchema = objectType({
38255
+ actionType: literalType("TOKEN_TRANSFER_ERC20").default("TOKEN_TRANSFER_ERC20"),
38375
38256
  amount: unionType([numberType(), stringType()]),
38376
38257
  token: TokenEnum$outboundSchema,
38377
- to: stringType(),
38378
- additionalProperties: recordType(anyType())
38258
+ to: stringType()
38379
38259
  }).transform((v2) => {
38380
- return {
38381
- ...v2.additionalProperties,
38382
- ...remap(v2, {
38383
- additionalProperties: null
38384
- })
38385
- };
38260
+ return remap(v2, {
38261
+ actionType: "action_type"
38262
+ });
38386
38263
  });
38387
38264
  ((TokenTransferErc20Params$) => {
38388
38265
  TokenTransferErc20Params$.inboundSchema = TokenTransferErc20Params$inboundSchema;
@@ -38413,7 +38290,6 @@ var UniswapBuyExactlyParamsAmount$inboundSchema, UniswapBuyExactlyParamsAmount$o
38413
38290
  var init_uniswapbuyexactlyparams = __esm(() => {
38414
38291
  init_esm();
38415
38292
  init_primitives();
38416
- init_schemas();
38417
38293
  init_feeenum();
38418
38294
  init_tokenenum();
38419
38295
  UniswapBuyExactlyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
@@ -38422,15 +38298,17 @@ var init_uniswapbuyexactlyparams = __esm(() => {
38422
38298
  UniswapBuyExactlyParamsAmount$.inboundSchema = UniswapBuyExactlyParamsAmount$inboundSchema;
38423
38299
  UniswapBuyExactlyParamsAmount$.outboundSchema = UniswapBuyExactlyParamsAmount$outboundSchema;
38424
38300
  })(UniswapBuyExactlyParamsAmount$ ||= {});
38425
- UniswapBuyExactlyParams$inboundSchema = collectExtraKeys(objectType({
38301
+ UniswapBuyExactlyParams$inboundSchema = objectType({
38302
+ action_type: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
38426
38303
  token_in: TokenEnum$inboundSchema,
38427
38304
  token_out: TokenEnum$inboundSchema,
38428
38305
  fee: FeeEnum$inboundSchema,
38429
38306
  amount: unionType([numberType(), stringType()]),
38430
38307
  max_slippage_percent: numberType(),
38431
38308
  wrap_eth: booleanType().default(false)
38432
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38309
+ }).transform((v2) => {
38433
38310
  return remap(v2, {
38311
+ action_type: "actionType",
38434
38312
  token_in: "tokenIn",
38435
38313
  token_out: "tokenOut",
38436
38314
  max_slippage_percent: "maxSlippagePercent",
@@ -38438,24 +38316,21 @@ var init_uniswapbuyexactlyparams = __esm(() => {
38438
38316
  });
38439
38317
  });
38440
38318
  UniswapBuyExactlyParams$outboundSchema = objectType({
38319
+ actionType: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
38441
38320
  tokenIn: TokenEnum$outboundSchema,
38442
38321
  tokenOut: TokenEnum$outboundSchema,
38443
38322
  fee: FeeEnum$outboundSchema,
38444
38323
  amount: unionType([numberType(), stringType()]),
38445
38324
  maxSlippagePercent: numberType(),
38446
- wrapEth: booleanType().default(false),
38447
- additionalProperties: recordType(anyType())
38325
+ wrapEth: booleanType().default(false)
38448
38326
  }).transform((v2) => {
38449
- return {
38450
- ...v2.additionalProperties,
38451
- ...remap(v2, {
38452
- tokenIn: "token_in",
38453
- tokenOut: "token_out",
38454
- maxSlippagePercent: "max_slippage_percent",
38455
- wrapEth: "wrap_eth",
38456
- additionalProperties: null
38457
- })
38458
- };
38327
+ return remap(v2, {
38328
+ actionType: "action_type",
38329
+ tokenIn: "token_in",
38330
+ tokenOut: "token_out",
38331
+ maxSlippagePercent: "max_slippage_percent",
38332
+ wrapEth: "wrap_eth"
38333
+ });
38459
38334
  });
38460
38335
  ((UniswapBuyExactlyParams$) => {
38461
38336
  UniswapBuyExactlyParams$.inboundSchema = UniswapBuyExactlyParams$inboundSchema;
@@ -38468,7 +38343,6 @@ var UniswapIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema, Uniswap
38468
38343
  var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
38469
38344
  init_esm();
38470
38345
  init_primitives();
38471
- init_schemas();
38472
38346
  UniswapIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
38473
38347
  UniswapIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
38474
38348
  ((UniswapIncreaseLiquidityProvisionParamsAmount0Desired$) => {
@@ -38493,14 +38367,16 @@ var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
38493
38367
  UniswapIncreaseLiquidityProvisionParamsAmount1Min$.inboundSchema = UniswapIncreaseLiquidityProvisionParamsAmount1Min$inboundSchema;
38494
38368
  UniswapIncreaseLiquidityProvisionParamsAmount1Min$.outboundSchema = UniswapIncreaseLiquidityProvisionParamsAmount1Min$outboundSchema;
38495
38369
  })(UniswapIncreaseLiquidityProvisionParamsAmount1Min$ ||= {});
38496
- UniswapIncreaseLiquidityProvisionParams$inboundSchema = collectExtraKeys(objectType({
38370
+ UniswapIncreaseLiquidityProvisionParams$inboundSchema = objectType({
38371
+ action_type: literalType("UNISWAP_INCREASE_LIQUIDITY_PROVISION").default("UNISWAP_INCREASE_LIQUIDITY_PROVISION"),
38497
38372
  token_id: numberType().int(),
38498
38373
  amount0_desired: unionType([numberType(), stringType()]),
38499
38374
  amount1_desired: unionType([numberType(), stringType()]),
38500
38375
  amount0_min: unionType([numberType(), stringType()]),
38501
38376
  amount1_min: unionType([numberType(), stringType()])
38502
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38377
+ }).transform((v2) => {
38503
38378
  return remap(v2, {
38379
+ action_type: "actionType",
38504
38380
  token_id: "tokenId",
38505
38381
  amount0_desired: "amount0Desired",
38506
38382
  amount1_desired: "amount1Desired",
@@ -38509,24 +38385,21 @@ var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
38509
38385
  });
38510
38386
  });
38511
38387
  UniswapIncreaseLiquidityProvisionParams$outboundSchema = objectType({
38388
+ actionType: literalType("UNISWAP_INCREASE_LIQUIDITY_PROVISION").default("UNISWAP_INCREASE_LIQUIDITY_PROVISION"),
38512
38389
  tokenId: numberType().int(),
38513
38390
  amount0Desired: unionType([numberType(), stringType()]),
38514
38391
  amount1Desired: unionType([numberType(), stringType()]),
38515
38392
  amount0Min: unionType([numberType(), stringType()]),
38516
- amount1Min: unionType([numberType(), stringType()]),
38517
- additionalProperties: recordType(anyType())
38393
+ amount1Min: unionType([numberType(), stringType()])
38518
38394
  }).transform((v2) => {
38519
- return {
38520
- ...v2.additionalProperties,
38521
- ...remap(v2, {
38522
- tokenId: "token_id",
38523
- amount0Desired: "amount0_desired",
38524
- amount1Desired: "amount1_desired",
38525
- amount0Min: "amount0_min",
38526
- amount1Min: "amount1_min",
38527
- additionalProperties: null
38528
- })
38529
- };
38395
+ return remap(v2, {
38396
+ actionType: "action_type",
38397
+ tokenId: "token_id",
38398
+ amount0Desired: "amount0_desired",
38399
+ amount1Desired: "amount1_desired",
38400
+ amount0Min: "amount0_min",
38401
+ amount1Min: "amount1_min"
38402
+ });
38530
38403
  });
38531
38404
  ((UniswapIncreaseLiquidityProvisionParams$) => {
38532
38405
  UniswapIncreaseLiquidityProvisionParams$.inboundSchema = UniswapIncreaseLiquidityProvisionParams$inboundSchema;
@@ -38539,7 +38412,6 @@ var UniswapMintLiquidityProvisionParamsAmount0Desired$inboundSchema, UniswapMint
38539
38412
  var init_uniswapmintliquidityprovisionparams = __esm(() => {
38540
38413
  init_esm();
38541
38414
  init_primitives();
38542
- init_schemas();
38543
38415
  init_feeenum();
38544
38416
  init_tokenenum();
38545
38417
  UniswapMintLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
@@ -38566,7 +38438,8 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
38566
38438
  UniswapMintLiquidityProvisionParamsAmount1Min$.inboundSchema = UniswapMintLiquidityProvisionParamsAmount1Min$inboundSchema;
38567
38439
  UniswapMintLiquidityProvisionParamsAmount1Min$.outboundSchema = UniswapMintLiquidityProvisionParamsAmount1Min$outboundSchema;
38568
38440
  })(UniswapMintLiquidityProvisionParamsAmount1Min$ ||= {});
38569
- UniswapMintLiquidityProvisionParams$inboundSchema = collectExtraKeys(objectType({
38441
+ UniswapMintLiquidityProvisionParams$inboundSchema = objectType({
38442
+ action_type: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION").default("UNISWAP_MINT_LIQUIDITY_PROVISION"),
38570
38443
  token0: TokenEnum$inboundSchema,
38571
38444
  token1: TokenEnum$inboundSchema,
38572
38445
  fee: FeeEnum$inboundSchema,
@@ -38577,8 +38450,9 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
38577
38450
  amount0_min: unionType([numberType(), stringType()]),
38578
38451
  amount1_min: unionType([numberType(), stringType()]),
38579
38452
  recipient: nullableType(stringType()).optional()
38580
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38453
+ }).transform((v2) => {
38581
38454
  return remap(v2, {
38455
+ action_type: "actionType",
38582
38456
  tick_lower: "tickLower",
38583
38457
  tick_upper: "tickUpper",
38584
38458
  amount0_desired: "amount0Desired",
@@ -38588,6 +38462,7 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
38588
38462
  });
38589
38463
  });
38590
38464
  UniswapMintLiquidityProvisionParams$outboundSchema = objectType({
38465
+ actionType: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION").default("UNISWAP_MINT_LIQUIDITY_PROVISION"),
38591
38466
  token0: TokenEnum$outboundSchema,
38592
38467
  token1: TokenEnum$outboundSchema,
38593
38468
  fee: FeeEnum$outboundSchema,
@@ -38597,21 +38472,17 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
38597
38472
  amount1Desired: unionType([numberType(), stringType()]),
38598
38473
  amount0Min: unionType([numberType(), stringType()]),
38599
38474
  amount1Min: unionType([numberType(), stringType()]),
38600
- recipient: nullableType(stringType()).optional(),
38601
- additionalProperties: recordType(anyType())
38475
+ recipient: nullableType(stringType()).optional()
38602
38476
  }).transform((v2) => {
38603
- return {
38604
- ...v2.additionalProperties,
38605
- ...remap(v2, {
38606
- tickLower: "tick_lower",
38607
- tickUpper: "tick_upper",
38608
- amount0Desired: "amount0_desired",
38609
- amount1Desired: "amount1_desired",
38610
- amount0Min: "amount0_min",
38611
- amount1Min: "amount1_min",
38612
- additionalProperties: null
38613
- })
38614
- };
38477
+ return remap(v2, {
38478
+ actionType: "action_type",
38479
+ tickLower: "tick_lower",
38480
+ tickUpper: "tick_upper",
38481
+ amount0Desired: "amount0_desired",
38482
+ amount1Desired: "amount1_desired",
38483
+ amount0Min: "amount0_min",
38484
+ amount1Min: "amount1_min"
38485
+ });
38615
38486
  });
38616
38487
  ((UniswapMintLiquidityProvisionParams$) => {
38617
38488
  UniswapMintLiquidityProvisionParams$.inboundSchema = UniswapMintLiquidityProvisionParams$inboundSchema;
@@ -38624,7 +38495,6 @@ var UniswapSellExactlyParamsAmount$inboundSchema, UniswapSellExactlyParamsAmount
38624
38495
  var init_uniswapsellexactlyparams = __esm(() => {
38625
38496
  init_esm();
38626
38497
  init_primitives();
38627
- init_schemas();
38628
38498
  init_feeenum();
38629
38499
  init_tokenenum();
38630
38500
  UniswapSellExactlyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
@@ -38633,15 +38503,17 @@ var init_uniswapsellexactlyparams = __esm(() => {
38633
38503
  UniswapSellExactlyParamsAmount$.inboundSchema = UniswapSellExactlyParamsAmount$inboundSchema;
38634
38504
  UniswapSellExactlyParamsAmount$.outboundSchema = UniswapSellExactlyParamsAmount$outboundSchema;
38635
38505
  })(UniswapSellExactlyParamsAmount$ ||= {});
38636
- UniswapSellExactlyParams$inboundSchema = collectExtraKeys(objectType({
38506
+ UniswapSellExactlyParams$inboundSchema = objectType({
38507
+ action_type: literalType("UNISWAP_SELL_EXACTLY").default("UNISWAP_SELL_EXACTLY"),
38637
38508
  token_in: TokenEnum$inboundSchema,
38638
38509
  token_out: TokenEnum$inboundSchema,
38639
38510
  fee: FeeEnum$inboundSchema,
38640
38511
  amount: unionType([numberType(), stringType()]),
38641
38512
  max_slippage_percent: numberType(),
38642
38513
  wrap_eth: booleanType().default(false)
38643
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38514
+ }).transform((v2) => {
38644
38515
  return remap(v2, {
38516
+ action_type: "actionType",
38645
38517
  token_in: "tokenIn",
38646
38518
  token_out: "tokenOut",
38647
38519
  max_slippage_percent: "maxSlippagePercent",
@@ -38649,24 +38521,21 @@ var init_uniswapsellexactlyparams = __esm(() => {
38649
38521
  });
38650
38522
  });
38651
38523
  UniswapSellExactlyParams$outboundSchema = objectType({
38524
+ actionType: literalType("UNISWAP_SELL_EXACTLY").default("UNISWAP_SELL_EXACTLY"),
38652
38525
  tokenIn: TokenEnum$outboundSchema,
38653
38526
  tokenOut: TokenEnum$outboundSchema,
38654
38527
  fee: FeeEnum$outboundSchema,
38655
38528
  amount: unionType([numberType(), stringType()]),
38656
38529
  maxSlippagePercent: numberType(),
38657
- wrapEth: booleanType().default(false),
38658
- additionalProperties: recordType(anyType())
38530
+ wrapEth: booleanType().default(false)
38659
38531
  }).transform((v2) => {
38660
- return {
38661
- ...v2.additionalProperties,
38662
- ...remap(v2, {
38663
- tokenIn: "token_in",
38664
- tokenOut: "token_out",
38665
- maxSlippagePercent: "max_slippage_percent",
38666
- wrapEth: "wrap_eth",
38667
- additionalProperties: null
38668
- })
38669
- };
38532
+ return remap(v2, {
38533
+ actionType: "action_type",
38534
+ tokenIn: "token_in",
38535
+ tokenOut: "token_out",
38536
+ maxSlippagePercent: "max_slippage_percent",
38537
+ wrapEth: "wrap_eth"
38538
+ });
38670
38539
  });
38671
38540
  ((UniswapSellExactlyParams$) => {
38672
38541
  UniswapSellExactlyParams$.inboundSchema = UniswapSellExactlyParams$inboundSchema;
@@ -38679,35 +38548,33 @@ var UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema
38679
38548
  var init_uniswapwithdrawliquidityprovisionparams = __esm(() => {
38680
38549
  init_esm();
38681
38550
  init_primitives();
38682
- init_schemas();
38683
38551
  UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
38684
38552
  UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
38685
38553
  ((UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$) => {
38686
38554
  UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$.inboundSchema = UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema;
38687
38555
  UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$.outboundSchema = UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema;
38688
38556
  })(UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$ ||= {});
38689
- UniswapWithdrawLiquidityProvisionParams$inboundSchema = collectExtraKeys(objectType({
38557
+ UniswapWithdrawLiquidityProvisionParams$inboundSchema = objectType({
38558
+ action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION").default("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION"),
38690
38559
  token_id: numberType().int(),
38691
38560
  percentage_for_withdrawal: unionType([numberType(), stringType()])
38692
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38561
+ }).transform((v2) => {
38693
38562
  return remap(v2, {
38563
+ action_type: "actionType",
38694
38564
  token_id: "tokenId",
38695
38565
  percentage_for_withdrawal: "percentageForWithdrawal"
38696
38566
  });
38697
38567
  });
38698
38568
  UniswapWithdrawLiquidityProvisionParams$outboundSchema = objectType({
38569
+ actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION").default("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION"),
38699
38570
  tokenId: numberType().int(),
38700
- percentageForWithdrawal: unionType([numberType(), stringType()]),
38701
- additionalProperties: recordType(anyType())
38571
+ percentageForWithdrawal: unionType([numberType(), stringType()])
38702
38572
  }).transform((v2) => {
38703
- return {
38704
- ...v2.additionalProperties,
38705
- ...remap(v2, {
38706
- tokenId: "token_id",
38707
- percentageForWithdrawal: "percentage_for_withdrawal",
38708
- additionalProperties: null
38709
- })
38710
- };
38573
+ return remap(v2, {
38574
+ actionType: "action_type",
38575
+ tokenId: "token_id",
38576
+ percentageForWithdrawal: "percentage_for_withdrawal"
38577
+ });
38711
38578
  });
38712
38579
  ((UniswapWithdrawLiquidityProvisionParams$) => {
38713
38580
  UniswapWithdrawLiquidityProvisionParams$.inboundSchema = UniswapWithdrawLiquidityProvisionParams$inboundSchema;
@@ -38720,26 +38587,27 @@ var UnwrapWethParamsAmount$inboundSchema, UnwrapWethParamsAmount$outboundSchema,
38720
38587
  var init_unwrapwethparams = __esm(() => {
38721
38588
  init_esm();
38722
38589
  init_primitives();
38723
- init_schemas();
38724
38590
  UnwrapWethParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38725
38591
  UnwrapWethParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38726
38592
  ((UnwrapWethParamsAmount$) => {
38727
38593
  UnwrapWethParamsAmount$.inboundSchema = UnwrapWethParamsAmount$inboundSchema;
38728
38594
  UnwrapWethParamsAmount$.outboundSchema = UnwrapWethParamsAmount$outboundSchema;
38729
38595
  })(UnwrapWethParamsAmount$ ||= {});
38730
- UnwrapWethParams$inboundSchema = collectExtraKeys(objectType({
38596
+ UnwrapWethParams$inboundSchema = objectType({
38597
+ action_type: literalType("UNWRAP_WETH").default("UNWRAP_WETH"),
38731
38598
  amount: unionType([numberType(), stringType()])
38732
- }).catchall(anyType()), "additionalProperties", true);
38599
+ }).transform((v2) => {
38600
+ return remap(v2, {
38601
+ action_type: "actionType"
38602
+ });
38603
+ });
38733
38604
  UnwrapWethParams$outboundSchema = objectType({
38734
- amount: unionType([numberType(), stringType()]),
38735
- additionalProperties: recordType(anyType())
38605
+ actionType: literalType("UNWRAP_WETH").default("UNWRAP_WETH"),
38606
+ amount: unionType([numberType(), stringType()])
38736
38607
  }).transform((v2) => {
38737
- return {
38738
- ...v2.additionalProperties,
38739
- ...remap(v2, {
38740
- additionalProperties: null
38741
- })
38742
- };
38608
+ return remap(v2, {
38609
+ actionType: "action_type"
38610
+ });
38743
38611
  });
38744
38612
  ((UnwrapWethParams$) => {
38745
38613
  UnwrapWethParams$.inboundSchema = UnwrapWethParams$inboundSchema;
@@ -38752,26 +38620,27 @@ var WrapEthParamsAmount$inboundSchema, WrapEthParamsAmount$outboundSchema, WrapE
38752
38620
  var init_wrapethparams = __esm(() => {
38753
38621
  init_esm();
38754
38622
  init_primitives();
38755
- init_schemas();
38756
38623
  WrapEthParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38757
38624
  WrapEthParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38758
38625
  ((WrapEthParamsAmount$) => {
38759
38626
  WrapEthParamsAmount$.inboundSchema = WrapEthParamsAmount$inboundSchema;
38760
38627
  WrapEthParamsAmount$.outboundSchema = WrapEthParamsAmount$outboundSchema;
38761
38628
  })(WrapEthParamsAmount$ ||= {});
38762
- WrapEthParams$inboundSchema = collectExtraKeys(objectType({
38629
+ WrapEthParams$inboundSchema = objectType({
38630
+ action_type: literalType("WRAP_ETH").default("WRAP_ETH"),
38763
38631
  amount: unionType([numberType(), stringType()])
38764
- }).catchall(anyType()), "additionalProperties", true);
38632
+ }).transform((v2) => {
38633
+ return remap(v2, {
38634
+ action_type: "actionType"
38635
+ });
38636
+ });
38765
38637
  WrapEthParams$outboundSchema = objectType({
38766
- amount: unionType([numberType(), stringType()]),
38767
- additionalProperties: recordType(anyType())
38638
+ actionType: literalType("WRAP_ETH").default("WRAP_ETH"),
38639
+ amount: unionType([numberType(), stringType()])
38768
38640
  }).transform((v2) => {
38769
- return {
38770
- ...v2.additionalProperties,
38771
- ...remap(v2, {
38772
- additionalProperties: null
38773
- })
38774
- };
38641
+ return remap(v2, {
38642
+ actionType: "action_type"
38643
+ });
38775
38644
  });
38776
38645
  ((WrapEthParams$) => {
38777
38646
  WrapEthParams$.inboundSchema = WrapEthParams$inboundSchema;
@@ -38783,8 +38652,6 @@ var init_wrapethparams = __esm(() => {
38783
38652
  var Body$inboundSchema, Body$outboundSchema, Body$, UserOperation$inboundSchema, UserOperation$outboundSchema, UserOperation$;
38784
38653
  var init_useroperation = __esm(() => {
38785
38654
  init_esm();
38786
- init_primitives();
38787
- init_schemas();
38788
38655
  init_aaveborrowparams();
38789
38656
  init_aaverepayparams();
38790
38657
  init_aavesupplyparams();
@@ -38802,7 +38669,6 @@ var init_useroperation = __esm(() => {
38802
38669
  init_morphosupplycollateralparams();
38803
38670
  init_morphowithdrawcollateralparams();
38804
38671
  init_morphowithdrawparams();
38805
- init_multicallactiontype();
38806
38672
  init_pendlebuyptparams();
38807
38673
  init_pendlebuyytparams();
38808
38674
  init_pendlesellptparams();
@@ -38820,167 +38686,320 @@ var init_useroperation = __esm(() => {
38820
38686
  init_unwrapwethparams();
38821
38687
  init_wrapethparams();
38822
38688
  Body$inboundSchema = unionType([
38823
- UnwrapWethParams$inboundSchema,
38824
- WrapEthParams$inboundSchema,
38825
- MorphoSetVaultAllowanceParams$inboundSchema,
38826
- SkyBuyParams$inboundSchema,
38827
- SkySellParams$inboundSchema,
38828
- SkyDepositParams$inboundSchema,
38829
- SkyWithdrawParams$inboundSchema,
38830
- PendleBuyPtParams$inboundSchema,
38831
- PendleSellPtParams$inboundSchema,
38832
- PendleBuyYtParams$inboundSchema,
38833
- PendleSellYtParams$inboundSchema,
38834
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema,
38835
- UniswapWithdrawLiquidityProvisionParams$inboundSchema,
38836
- AaveSupplyParams$inboundSchema,
38837
- AaveWithdrawParams$inboundSchema,
38838
- MorphoDepositParams$inboundSchema,
38839
- MorphoWithdrawParams$inboundSchema,
38840
- TokenTransferErc20Params$inboundSchema,
38841
- IncreaseAllowanceParams$inboundSchema,
38842
- AaveBorrowParams$inboundSchema,
38843
- AaveRepayParams$inboundSchema,
38844
- MorphoBorrowParams$inboundSchema,
38845
- MorphoRepayParams$inboundSchema,
38846
- MorphoSupplyCollateralParams$inboundSchema,
38847
- MorphoWithdrawCollateralParams$inboundSchema,
38848
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema,
38849
- AerodromeSlipstreamBuyExactlyParams$inboundSchema,
38850
- AerodromeSlipstreamSellExactlyParams$inboundSchema,
38851
- UniswapIncreaseLiquidityProvisionParams$inboundSchema,
38852
- UniswapBuyExactlyParams$inboundSchema,
38853
- UniswapSellExactlyParams$inboundSchema,
38854
- AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema,
38855
- UniswapMintLiquidityProvisionParams$inboundSchema
38689
+ UnwrapWethParams$inboundSchema.and(objectType({ action_type: literalType("UNWRAP_WETH") }).transform((v2) => ({
38690
+ actionType: v2.action_type
38691
+ }))),
38692
+ WrapEthParams$inboundSchema.and(objectType({ action_type: literalType("WRAP_ETH") }).transform((v2) => ({
38693
+ actionType: v2.action_type
38694
+ }))),
38695
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({
38696
+ action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY")
38697
+ }).transform((v2) => ({ actionType: v2.action_type }))),
38698
+ MorphoSetVaultAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ actionType: v2.action_type }))),
38699
+ PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
38700
+ actionType: v2.action_type
38701
+ }))),
38702
+ PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
38703
+ actionType: v2.action_type
38704
+ }))),
38705
+ PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
38706
+ actionType: v2.action_type
38707
+ }))),
38708
+ PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
38709
+ actionType: v2.action_type
38710
+ }))),
38711
+ SkyBuyParams$inboundSchema.and(objectType({ action_type: literalType("SKY_BUY") }).transform((v2) => ({
38712
+ actionType: v2.action_type
38713
+ }))),
38714
+ SkyDepositParams$inboundSchema.and(objectType({ action_type: literalType("SKY_DEPOSIT") }).transform((v2) => ({
38715
+ actionType: v2.action_type
38716
+ }))),
38717
+ SkySellParams$inboundSchema.and(objectType({ action_type: literalType("SKY_SELL") }).transform((v2) => ({
38718
+ actionType: v2.action_type
38719
+ }))),
38720
+ SkyWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("SKY_WITHDRAW") }).transform((v2) => ({
38721
+ actionType: v2.action_type
38722
+ }))),
38723
+ UniswapWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
38724
+ AaveSupplyParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_SUPPLY") }).transform((v2) => ({
38725
+ actionType: v2.action_type
38726
+ }))),
38727
+ AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
38728
+ actionType: v2.action_type
38729
+ }))),
38730
+ IncreaseAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("ALLOWANCE_INCREASE") }).transform((v2) => ({ actionType: v2.action_type }))),
38731
+ MorphoDepositParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
38732
+ actionType: v2.action_type
38733
+ }))),
38734
+ MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
38735
+ TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TRANSFER_ERC20") }).transform((v2) => ({
38736
+ actionType: v2.action_type
38737
+ }))),
38738
+ AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
38739
+ actionType: v2.action_type
38740
+ }))),
38741
+ AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
38742
+ actionType: v2.action_type
38743
+ }))),
38744
+ MorphoBorrowParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_BORROW") }).transform((v2) => ({
38745
+ actionType: v2.action_type
38746
+ }))),
38747
+ MorphoRepayParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_REPAY") }).transform((v2) => ({
38748
+ actionType: v2.action_type
38749
+ }))),
38750
+ MorphoSupplyCollateralParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SUPPLY_COLLATERAL") }).transform((v2) => ({ actionType: v2.action_type }))),
38751
+ MorphoWithdrawCollateralParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW_COLLATERAL") }).transform((v2) => ({ actionType: v2.action_type }))),
38752
+ AerodromeSlipstreamBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
38753
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({
38754
+ action_type: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY")
38755
+ }).transform((v2) => ({ actionType: v2.action_type }))),
38756
+ AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
38757
+ UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
38758
+ UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
38759
+ UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
38760
+ AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(objectType({
38761
+ action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY")
38762
+ }).transform((v2) => ({ actionType: v2.action_type }))),
38763
+ UniswapMintLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_MINT_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type })))
38856
38764
  ]);
38857
38765
  Body$outboundSchema = unionType([
38858
- UnwrapWethParams$outboundSchema,
38859
- WrapEthParams$outboundSchema,
38860
- MorphoSetVaultAllowanceParams$outboundSchema,
38861
- SkyBuyParams$outboundSchema,
38862
- SkySellParams$outboundSchema,
38863
- SkyDepositParams$outboundSchema,
38864
- SkyWithdrawParams$outboundSchema,
38865
- PendleBuyPtParams$outboundSchema,
38866
- PendleSellPtParams$outboundSchema,
38867
- PendleBuyYtParams$outboundSchema,
38868
- PendleSellYtParams$outboundSchema,
38869
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema,
38870
- UniswapWithdrawLiquidityProvisionParams$outboundSchema,
38871
- AaveSupplyParams$outboundSchema,
38872
- AaveWithdrawParams$outboundSchema,
38873
- MorphoDepositParams$outboundSchema,
38874
- MorphoWithdrawParams$outboundSchema,
38875
- TokenTransferErc20Params$outboundSchema,
38876
- IncreaseAllowanceParams$outboundSchema,
38877
- AaveBorrowParams$outboundSchema,
38878
- AaveRepayParams$outboundSchema,
38879
- MorphoBorrowParams$outboundSchema,
38880
- MorphoRepayParams$outboundSchema,
38881
- MorphoSupplyCollateralParams$outboundSchema,
38882
- MorphoWithdrawCollateralParams$outboundSchema,
38883
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema,
38884
- AerodromeSlipstreamBuyExactlyParams$outboundSchema,
38885
- AerodromeSlipstreamSellExactlyParams$outboundSchema,
38886
- UniswapIncreaseLiquidityProvisionParams$outboundSchema,
38887
- UniswapBuyExactlyParams$outboundSchema,
38888
- UniswapSellExactlyParams$outboundSchema,
38889
- AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema,
38890
- UniswapMintLiquidityProvisionParams$outboundSchema
38766
+ UnwrapWethParams$outboundSchema.and(objectType({ actionType: literalType("UNWRAP_WETH") }).transform((v2) => ({
38767
+ action_type: v2.actionType
38768
+ }))),
38769
+ WrapEthParams$outboundSchema.and(objectType({ actionType: literalType("WRAP_ETH") }).transform((v2) => ({
38770
+ action_type: v2.actionType
38771
+ }))),
38772
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({
38773
+ actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY")
38774
+ }).transform((v2) => ({ action_type: v2.actionType }))),
38775
+ MorphoSetVaultAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ action_type: v2.actionType }))),
38776
+ PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
38777
+ action_type: v2.actionType
38778
+ }))),
38779
+ PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
38780
+ action_type: v2.actionType
38781
+ }))),
38782
+ PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
38783
+ action_type: v2.actionType
38784
+ }))),
38785
+ PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
38786
+ action_type: v2.actionType
38787
+ }))),
38788
+ SkyBuyParams$outboundSchema.and(objectType({ actionType: literalType("SKY_BUY") }).transform((v2) => ({
38789
+ action_type: v2.actionType
38790
+ }))),
38791
+ SkyDepositParams$outboundSchema.and(objectType({ actionType: literalType("SKY_DEPOSIT") }).transform((v2) => ({
38792
+ action_type: v2.actionType
38793
+ }))),
38794
+ SkySellParams$outboundSchema.and(objectType({ actionType: literalType("SKY_SELL") }).transform((v2) => ({
38795
+ action_type: v2.actionType
38796
+ }))),
38797
+ SkyWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("SKY_WITHDRAW") }).transform((v2) => ({
38798
+ action_type: v2.actionType
38799
+ }))),
38800
+ UniswapWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
38801
+ AaveSupplyParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_SUPPLY") }).transform((v2) => ({
38802
+ action_type: v2.actionType
38803
+ }))),
38804
+ AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
38805
+ action_type: v2.actionType
38806
+ }))),
38807
+ IncreaseAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("ALLOWANCE_INCREASE") }).transform((v2) => ({ action_type: v2.actionType }))),
38808
+ MorphoDepositParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
38809
+ action_type: v2.actionType
38810
+ }))),
38811
+ MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
38812
+ action_type: v2.actionType
38813
+ }))),
38814
+ TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TRANSFER_ERC20") }).transform((v2) => ({
38815
+ action_type: v2.actionType
38816
+ }))),
38817
+ AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
38818
+ action_type: v2.actionType
38819
+ }))),
38820
+ AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
38821
+ action_type: v2.actionType
38822
+ }))),
38823
+ MorphoBorrowParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_BORROW") }).transform((v2) => ({
38824
+ action_type: v2.actionType
38825
+ }))),
38826
+ MorphoRepayParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_REPAY") }).transform((v2) => ({
38827
+ action_type: v2.actionType
38828
+ }))),
38829
+ MorphoSupplyCollateralParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SUPPLY_COLLATERAL") }).transform((v2) => ({ action_type: v2.actionType }))),
38830
+ MorphoWithdrawCollateralParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW_COLLATERAL") }).transform((v2) => ({ action_type: v2.actionType }))),
38831
+ AerodromeSlipstreamBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
38832
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({
38833
+ actionType: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY")
38834
+ }).transform((v2) => ({ action_type: v2.actionType }))),
38835
+ AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
38836
+ UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
38837
+ UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
38838
+ UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
38839
+ AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
38840
+ UniswapMintLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_MINT_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType })))
38891
38841
  ]);
38892
38842
  ((Body$) => {
38893
38843
  Body$.inboundSchema = Body$inboundSchema;
38894
38844
  Body$.outboundSchema = Body$outboundSchema;
38895
38845
  })(Body$ ||= {});
38896
- UserOperation$inboundSchema = collectExtraKeys(objectType({
38897
- action_type: MulticallActionType$inboundSchema,
38846
+ UserOperation$inboundSchema = objectType({
38898
38847
  body: unionType([
38899
- UnwrapWethParams$inboundSchema,
38900
- WrapEthParams$inboundSchema,
38901
- MorphoSetVaultAllowanceParams$inboundSchema,
38902
- SkyBuyParams$inboundSchema,
38903
- SkySellParams$inboundSchema,
38904
- SkyDepositParams$inboundSchema,
38905
- SkyWithdrawParams$inboundSchema,
38906
- PendleBuyPtParams$inboundSchema,
38907
- PendleSellPtParams$inboundSchema,
38908
- PendleBuyYtParams$inboundSchema,
38909
- PendleSellYtParams$inboundSchema,
38910
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema,
38911
- UniswapWithdrawLiquidityProvisionParams$inboundSchema,
38912
- AaveSupplyParams$inboundSchema,
38913
- AaveWithdrawParams$inboundSchema,
38914
- MorphoDepositParams$inboundSchema,
38915
- MorphoWithdrawParams$inboundSchema,
38916
- TokenTransferErc20Params$inboundSchema,
38917
- IncreaseAllowanceParams$inboundSchema,
38918
- AaveBorrowParams$inboundSchema,
38919
- AaveRepayParams$inboundSchema,
38920
- MorphoBorrowParams$inboundSchema,
38921
- MorphoRepayParams$inboundSchema,
38922
- MorphoSupplyCollateralParams$inboundSchema,
38923
- MorphoWithdrawCollateralParams$inboundSchema,
38924
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema,
38925
- AerodromeSlipstreamBuyExactlyParams$inboundSchema,
38926
- AerodromeSlipstreamSellExactlyParams$inboundSchema,
38927
- UniswapIncreaseLiquidityProvisionParams$inboundSchema,
38928
- UniswapBuyExactlyParams$inboundSchema,
38929
- UniswapSellExactlyParams$inboundSchema,
38930
- AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema,
38931
- UniswapMintLiquidityProvisionParams$inboundSchema
38848
+ UnwrapWethParams$inboundSchema.and(objectType({ action_type: literalType("UNWRAP_WETH") }).transform((v2) => ({
38849
+ actionType: v2.action_type
38850
+ }))),
38851
+ WrapEthParams$inboundSchema.and(objectType({ action_type: literalType("WRAP_ETH") }).transform((v2) => ({
38852
+ actionType: v2.action_type
38853
+ }))),
38854
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({
38855
+ action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY")
38856
+ }).transform((v2) => ({ actionType: v2.action_type }))),
38857
+ MorphoSetVaultAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ actionType: v2.action_type }))),
38858
+ PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
38859
+ actionType: v2.action_type
38860
+ }))),
38861
+ PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
38862
+ actionType: v2.action_type
38863
+ }))),
38864
+ PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
38865
+ actionType: v2.action_type
38866
+ }))),
38867
+ PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
38868
+ actionType: v2.action_type
38869
+ }))),
38870
+ SkyBuyParams$inboundSchema.and(objectType({ action_type: literalType("SKY_BUY") }).transform((v2) => ({
38871
+ actionType: v2.action_type
38872
+ }))),
38873
+ SkyDepositParams$inboundSchema.and(objectType({ action_type: literalType("SKY_DEPOSIT") }).transform((v2) => ({
38874
+ actionType: v2.action_type
38875
+ }))),
38876
+ SkySellParams$inboundSchema.and(objectType({ action_type: literalType("SKY_SELL") }).transform((v2) => ({
38877
+ actionType: v2.action_type
38878
+ }))),
38879
+ SkyWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("SKY_WITHDRAW") }).transform((v2) => ({
38880
+ actionType: v2.action_type
38881
+ }))),
38882
+ UniswapWithdrawLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
38883
+ AaveSupplyParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_SUPPLY") }).transform((v2) => ({
38884
+ actionType: v2.action_type
38885
+ }))),
38886
+ AaveWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
38887
+ actionType: v2.action_type
38888
+ }))),
38889
+ IncreaseAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("ALLOWANCE_INCREASE") }).transform((v2) => ({ actionType: v2.action_type }))),
38890
+ MorphoDepositParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
38891
+ actionType: v2.action_type
38892
+ }))),
38893
+ MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
38894
+ TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TRANSFER_ERC20") }).transform((v2) => ({
38895
+ actionType: v2.action_type
38896
+ }))),
38897
+ AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
38898
+ actionType: v2.action_type
38899
+ }))),
38900
+ AaveRepayParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_REPAY") }).transform((v2) => ({
38901
+ actionType: v2.action_type
38902
+ }))),
38903
+ MorphoBorrowParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_BORROW") }).transform((v2) => ({
38904
+ actionType: v2.action_type
38905
+ }))),
38906
+ MorphoRepayParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_REPAY") }).transform((v2) => ({
38907
+ actionType: v2.action_type
38908
+ }))),
38909
+ MorphoSupplyCollateralParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SUPPLY_COLLATERAL") }).transform((v2) => ({ actionType: v2.action_type }))),
38910
+ MorphoWithdrawCollateralParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW_COLLATERAL") }).transform((v2) => ({ actionType: v2.action_type }))),
38911
+ AerodromeSlipstreamBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
38912
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({
38913
+ action_type: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY")
38914
+ }).transform((v2) => ({ actionType: v2.action_type }))),
38915
+ AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
38916
+ UniswapIncreaseLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
38917
+ UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
38918
+ UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
38919
+ AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema.and(objectType({
38920
+ action_type: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY")
38921
+ }).transform((v2) => ({ actionType: v2.action_type }))),
38922
+ UniswapMintLiquidityProvisionParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_MINT_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type })))
38932
38923
  ])
38933
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
38934
- return remap(v2, {
38935
- action_type: "actionType"
38936
- });
38937
38924
  });
38938
38925
  UserOperation$outboundSchema = objectType({
38939
- actionType: MulticallActionType$outboundSchema,
38940
38926
  body: unionType([
38941
- UnwrapWethParams$outboundSchema,
38942
- WrapEthParams$outboundSchema,
38943
- MorphoSetVaultAllowanceParams$outboundSchema,
38944
- SkyBuyParams$outboundSchema,
38945
- SkySellParams$outboundSchema,
38946
- SkyDepositParams$outboundSchema,
38947
- SkyWithdrawParams$outboundSchema,
38948
- PendleBuyPtParams$outboundSchema,
38949
- PendleSellPtParams$outboundSchema,
38950
- PendleBuyYtParams$outboundSchema,
38951
- PendleSellYtParams$outboundSchema,
38952
- AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema,
38953
- UniswapWithdrawLiquidityProvisionParams$outboundSchema,
38954
- AaveSupplyParams$outboundSchema,
38955
- AaveWithdrawParams$outboundSchema,
38956
- MorphoDepositParams$outboundSchema,
38957
- MorphoWithdrawParams$outboundSchema,
38958
- TokenTransferErc20Params$outboundSchema,
38959
- IncreaseAllowanceParams$outboundSchema,
38960
- AaveBorrowParams$outboundSchema,
38961
- AaveRepayParams$outboundSchema,
38962
- MorphoBorrowParams$outboundSchema,
38963
- MorphoRepayParams$outboundSchema,
38964
- MorphoSupplyCollateralParams$outboundSchema,
38965
- MorphoWithdrawCollateralParams$outboundSchema,
38966
- AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema,
38967
- AerodromeSlipstreamBuyExactlyParams$outboundSchema,
38968
- AerodromeSlipstreamSellExactlyParams$outboundSchema,
38969
- UniswapIncreaseLiquidityProvisionParams$outboundSchema,
38970
- UniswapBuyExactlyParams$outboundSchema,
38971
- UniswapSellExactlyParams$outboundSchema,
38972
- AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema,
38973
- UniswapMintLiquidityProvisionParams$outboundSchema
38974
- ]),
38975
- additionalProperties: recordType(anyType())
38976
- }).transform((v2) => {
38977
- return {
38978
- ...v2.additionalProperties,
38979
- ...remap(v2, {
38980
- actionType: "action_type",
38981
- additionalProperties: null
38982
- })
38983
- };
38927
+ UnwrapWethParams$outboundSchema.and(objectType({ actionType: literalType("UNWRAP_WETH") }).transform((v2) => ({
38928
+ action_type: v2.actionType
38929
+ }))),
38930
+ WrapEthParams$outboundSchema.and(objectType({ actionType: literalType("WRAP_ETH") }).transform((v2) => ({
38931
+ action_type: v2.actionType
38932
+ }))),
38933
+ AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({
38934
+ actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY")
38935
+ }).transform((v2) => ({ action_type: v2.actionType }))),
38936
+ MorphoSetVaultAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ action_type: v2.actionType }))),
38937
+ PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
38938
+ action_type: v2.actionType
38939
+ }))),
38940
+ PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
38941
+ action_type: v2.actionType
38942
+ }))),
38943
+ PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
38944
+ action_type: v2.actionType
38945
+ }))),
38946
+ PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
38947
+ action_type: v2.actionType
38948
+ }))),
38949
+ SkyBuyParams$outboundSchema.and(objectType({ actionType: literalType("SKY_BUY") }).transform((v2) => ({
38950
+ action_type: v2.actionType
38951
+ }))),
38952
+ SkyDepositParams$outboundSchema.and(objectType({ actionType: literalType("SKY_DEPOSIT") }).transform((v2) => ({
38953
+ action_type: v2.actionType
38954
+ }))),
38955
+ SkySellParams$outboundSchema.and(objectType({ actionType: literalType("SKY_SELL") }).transform((v2) => ({
38956
+ action_type: v2.actionType
38957
+ }))),
38958
+ SkyWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("SKY_WITHDRAW") }).transform((v2) => ({
38959
+ action_type: v2.actionType
38960
+ }))),
38961
+ UniswapWithdrawLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
38962
+ AaveSupplyParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_SUPPLY") }).transform((v2) => ({
38963
+ action_type: v2.actionType
38964
+ }))),
38965
+ AaveWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_WITHDRAW") }).transform((v2) => ({
38966
+ action_type: v2.actionType
38967
+ }))),
38968
+ IncreaseAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("ALLOWANCE_INCREASE") }).transform((v2) => ({ action_type: v2.actionType }))),
38969
+ MorphoDepositParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_DEPOSIT") }).transform((v2) => ({
38970
+ action_type: v2.actionType
38971
+ }))),
38972
+ MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
38973
+ action_type: v2.actionType
38974
+ }))),
38975
+ TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TRANSFER_ERC20") }).transform((v2) => ({
38976
+ action_type: v2.actionType
38977
+ }))),
38978
+ AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
38979
+ action_type: v2.actionType
38980
+ }))),
38981
+ AaveRepayParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_REPAY") }).transform((v2) => ({
38982
+ action_type: v2.actionType
38983
+ }))),
38984
+ MorphoBorrowParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_BORROW") }).transform((v2) => ({
38985
+ action_type: v2.actionType
38986
+ }))),
38987
+ MorphoRepayParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_REPAY") }).transform((v2) => ({
38988
+ action_type: v2.actionType
38989
+ }))),
38990
+ MorphoSupplyCollateralParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SUPPLY_COLLATERAL") }).transform((v2) => ({ action_type: v2.actionType }))),
38991
+ MorphoWithdrawCollateralParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW_COLLATERAL") }).transform((v2) => ({ action_type: v2.actionType }))),
38992
+ AerodromeSlipstreamBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
38993
+ AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({
38994
+ actionType: literalType("AERODROME_SLIPSTREAM_INCREASE_LIQUIDITY")
38995
+ }).transform((v2) => ({ action_type: v2.actionType }))),
38996
+ AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
38997
+ UniswapIncreaseLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
38998
+ UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
38999
+ UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
39000
+ AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_MINT_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
39001
+ UniswapMintLiquidityProvisionParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_MINT_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType })))
39002
+ ])
38984
39003
  });
38985
39004
  ((UserOperation$) => {
38986
39005
  UserOperation$.inboundSchema = UserOperation$inboundSchema;
@@ -39632,7 +39651,6 @@ var IncreaseAllowanceRequestContractName, IncreaseAllowanceRequestToken$inboundS
39632
39651
  var init_increaseallowancerequest = __esm(() => {
39633
39652
  init_esm();
39634
39653
  init_primitives();
39635
- init_schemas();
39636
39654
  init_chain();
39637
39655
  init_tokenenum();
39638
39656
  IncreaseAllowanceRequestContractName = {
@@ -39666,32 +39684,31 @@ var init_increaseallowancerequest = __esm(() => {
39666
39684
  IncreaseAllowanceRequestAmount$.inboundSchema = IncreaseAllowanceRequestAmount$inboundSchema;
39667
39685
  IncreaseAllowanceRequestAmount$.outboundSchema = IncreaseAllowanceRequestAmount$outboundSchema;
39668
39686
  })(IncreaseAllowanceRequestAmount$ ||= {});
39669
- IncreaseAllowanceRequest$inboundSchema = collectExtraKeys(objectType({
39687
+ IncreaseAllowanceRequest$inboundSchema = objectType({
39688
+ action_type: literalType("ALLOWANCE_INCREASE").default("ALLOWANCE_INCREASE"),
39670
39689
  token: unionType([TokenEnum$inboundSchema, stringType()]),
39671
39690
  contract_name: IncreaseAllowanceRequestContractName$inboundSchema,
39672
39691
  amount: unionType([numberType(), stringType()]),
39673
39692
  chain: Chain$inboundSchema,
39674
39693
  sender: stringType()
39675
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
39694
+ }).transform((v2) => {
39676
39695
  return remap(v2, {
39696
+ action_type: "actionType",
39677
39697
  contract_name: "contractName"
39678
39698
  });
39679
39699
  });
39680
39700
  IncreaseAllowanceRequest$outboundSchema = objectType({
39701
+ actionType: literalType("ALLOWANCE_INCREASE").default("ALLOWANCE_INCREASE"),
39681
39702
  token: unionType([TokenEnum$outboundSchema, stringType()]),
39682
39703
  contractName: IncreaseAllowanceRequestContractName$outboundSchema,
39683
39704
  amount: unionType([numberType(), stringType()]),
39684
39705
  chain: Chain$outboundSchema,
39685
- sender: stringType(),
39686
- additionalProperties: recordType(anyType())
39706
+ sender: stringType()
39687
39707
  }).transform((v2) => {
39688
- return {
39689
- ...v2.additionalProperties,
39690
- ...remap(v2, {
39691
- contractName: "contract_name",
39692
- additionalProperties: null
39693
- })
39694
- };
39708
+ return remap(v2, {
39709
+ actionType: "action_type",
39710
+ contractName: "contract_name"
39711
+ });
39695
39712
  });
39696
39713
  ((IncreaseAllowanceRequest$) => {
39697
39714
  IncreaseAllowanceRequest$.inboundSchema = IncreaseAllowanceRequest$inboundSchema;
@@ -39805,7 +39822,6 @@ var MorphoBorrowRequestChain, MorphoBorrowRequestAmount$inboundSchema, MorphoBor
39805
39822
  var init_morphoborrowrequest = __esm(() => {
39806
39823
  init_esm();
39807
39824
  init_primitives();
39808
- init_schemas();
39809
39825
  MorphoBorrowRequestChain = {
39810
39826
  EthereumMainnet: "ethereum:mainnet",
39811
39827
  BaseMainnet: "base:mainnet"
@@ -39822,36 +39838,35 @@ var init_morphoborrowrequest = __esm(() => {
39822
39838
  MorphoBorrowRequestChain$.inboundSchema = MorphoBorrowRequestChain$inboundSchema;
39823
39839
  MorphoBorrowRequestChain$.outboundSchema = MorphoBorrowRequestChain$outboundSchema;
39824
39840
  })(MorphoBorrowRequestChain$ ||= {});
39825
- MorphoBorrowRequest$inboundSchema = collectExtraKeys(objectType({
39841
+ MorphoBorrowRequest$inboundSchema = objectType({
39842
+ action_type: literalType("MORPHO_BORROW").default("MORPHO_BORROW"),
39826
39843
  amount: unionType([numberType(), stringType()]),
39827
39844
  unique_market_key: stringType(),
39828
39845
  on_behalf_of: nullableType(stringType()).optional(),
39829
39846
  receiver: nullableType(stringType()).optional(),
39830
39847
  chain: MorphoBorrowRequestChain$inboundSchema,
39831
39848
  sender: stringType()
39832
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
39849
+ }).transform((v2) => {
39833
39850
  return remap(v2, {
39851
+ action_type: "actionType",
39834
39852
  unique_market_key: "uniqueMarketKey",
39835
39853
  on_behalf_of: "onBehalfOf"
39836
39854
  });
39837
39855
  });
39838
39856
  MorphoBorrowRequest$outboundSchema = objectType({
39857
+ actionType: literalType("MORPHO_BORROW").default("MORPHO_BORROW"),
39839
39858
  amount: unionType([numberType(), stringType()]),
39840
39859
  uniqueMarketKey: stringType(),
39841
39860
  onBehalfOf: nullableType(stringType()).optional(),
39842
39861
  receiver: nullableType(stringType()).optional(),
39843
39862
  chain: MorphoBorrowRequestChain$outboundSchema,
39844
- sender: stringType(),
39845
- additionalProperties: recordType(anyType())
39863
+ sender: stringType()
39846
39864
  }).transform((v2) => {
39847
- return {
39848
- ...v2.additionalProperties,
39849
- ...remap(v2, {
39850
- uniqueMarketKey: "unique_market_key",
39851
- onBehalfOf: "on_behalf_of",
39852
- additionalProperties: null
39853
- })
39854
- };
39865
+ return remap(v2, {
39866
+ actionType: "action_type",
39867
+ uniqueMarketKey: "unique_market_key",
39868
+ onBehalfOf: "on_behalf_of"
39869
+ });
39855
39870
  });
39856
39871
  ((MorphoBorrowRequest$) => {
39857
39872
  MorphoBorrowRequest$.inboundSchema = MorphoBorrowRequest$inboundSchema;
@@ -40035,7 +40050,6 @@ var MorphoDepositRequestChain, MorphoDepositRequestAmount$inboundSchema, MorphoD
40035
40050
  var init_morphodepositrequest = __esm(() => {
40036
40051
  init_esm();
40037
40052
  init_primitives();
40038
- init_schemas();
40039
40053
  MorphoDepositRequestChain = {
40040
40054
  EthereumMainnet: "ethereum:mainnet",
40041
40055
  BaseMainnet: "base:mainnet"
@@ -40052,32 +40066,31 @@ var init_morphodepositrequest = __esm(() => {
40052
40066
  MorphoDepositRequestChain$.inboundSchema = MorphoDepositRequestChain$inboundSchema;
40053
40067
  MorphoDepositRequestChain$.outboundSchema = MorphoDepositRequestChain$outboundSchema;
40054
40068
  })(MorphoDepositRequestChain$ ||= {});
40055
- MorphoDepositRequest$inboundSchema = collectExtraKeys(objectType({
40069
+ MorphoDepositRequest$inboundSchema = objectType({
40070
+ action_type: literalType("MORPHO_DEPOSIT").default("MORPHO_DEPOSIT"),
40056
40071
  vault_address: stringType(),
40057
40072
  amount: unionType([numberType(), stringType()]),
40058
40073
  receiver: nullableType(stringType()).optional(),
40059
40074
  chain: MorphoDepositRequestChain$inboundSchema,
40060
40075
  sender: stringType()
40061
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40076
+ }).transform((v2) => {
40062
40077
  return remap(v2, {
40078
+ action_type: "actionType",
40063
40079
  vault_address: "vaultAddress"
40064
40080
  });
40065
40081
  });
40066
40082
  MorphoDepositRequest$outboundSchema = objectType({
40083
+ actionType: literalType("MORPHO_DEPOSIT").default("MORPHO_DEPOSIT"),
40067
40084
  vaultAddress: stringType(),
40068
40085
  amount: unionType([numberType(), stringType()]),
40069
40086
  receiver: nullableType(stringType()).optional(),
40070
40087
  chain: MorphoDepositRequestChain$outboundSchema,
40071
- sender: stringType(),
40072
- additionalProperties: recordType(anyType())
40088
+ sender: stringType()
40073
40089
  }).transform((v2) => {
40074
- return {
40075
- ...v2.additionalProperties,
40076
- ...remap(v2, {
40077
- vaultAddress: "vault_address",
40078
- additionalProperties: null
40079
- })
40080
- };
40090
+ return remap(v2, {
40091
+ actionType: "action_type",
40092
+ vaultAddress: "vault_address"
40093
+ });
40081
40094
  });
40082
40095
  ((MorphoDepositRequest$) => {
40083
40096
  MorphoDepositRequest$.inboundSchema = MorphoDepositRequest$inboundSchema;
@@ -40286,7 +40299,6 @@ var init_morphorepayrequest = __esm(() => {
40286
40299
  init_esm();
40287
40300
  init_base64();
40288
40301
  init_primitives();
40289
- init_schemas();
40290
40302
  MorphoRepayRequestChain = {
40291
40303
  EthereumMainnet: "ethereum:mainnet",
40292
40304
  BaseMainnet: "base:mainnet"
@@ -40297,38 +40309,37 @@ var init_morphorepayrequest = __esm(() => {
40297
40309
  MorphoRepayRequestChain$.inboundSchema = MorphoRepayRequestChain$inboundSchema;
40298
40310
  MorphoRepayRequestChain$.outboundSchema = MorphoRepayRequestChain$outboundSchema;
40299
40311
  })(MorphoRepayRequestChain$ ||= {});
40300
- MorphoRepayRequest$inboundSchema = collectExtraKeys(objectType({
40312
+ MorphoRepayRequest$inboundSchema = objectType({
40313
+ action_type: literalType("MORPHO_REPAY").default("MORPHO_REPAY"),
40301
40314
  amount: anyType().optional(),
40302
40315
  unique_market_key: stringType(),
40303
40316
  on_behalf_of: nullableType(stringType()).optional(),
40304
40317
  callback_data: nullableType(zodInbound).optional(),
40305
40318
  chain: MorphoRepayRequestChain$inboundSchema,
40306
40319
  sender: stringType()
40307
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40320
+ }).transform((v2) => {
40308
40321
  return remap(v2, {
40322
+ action_type: "actionType",
40309
40323
  unique_market_key: "uniqueMarketKey",
40310
40324
  on_behalf_of: "onBehalfOf",
40311
40325
  callback_data: "callbackData"
40312
40326
  });
40313
40327
  });
40314
40328
  MorphoRepayRequest$outboundSchema = objectType({
40329
+ actionType: literalType("MORPHO_REPAY").default("MORPHO_REPAY"),
40315
40330
  amount: anyType().optional(),
40316
40331
  uniqueMarketKey: stringType(),
40317
40332
  onBehalfOf: nullableType(stringType()).optional(),
40318
40333
  callbackData: nullableType(zodOutbound).optional(),
40319
40334
  chain: MorphoRepayRequestChain$outboundSchema,
40320
- sender: stringType(),
40321
- additionalProperties: recordType(anyType())
40335
+ sender: stringType()
40322
40336
  }).transform((v2) => {
40323
- return {
40324
- ...v2.additionalProperties,
40325
- ...remap(v2, {
40326
- uniqueMarketKey: "unique_market_key",
40327
- onBehalfOf: "on_behalf_of",
40328
- callbackData: "callback_data",
40329
- additionalProperties: null
40330
- })
40331
- };
40337
+ return remap(v2, {
40338
+ actionType: "action_type",
40339
+ uniqueMarketKey: "unique_market_key",
40340
+ onBehalfOf: "on_behalf_of",
40341
+ callbackData: "callback_data"
40342
+ });
40332
40343
  });
40333
40344
  ((MorphoRepayRequest$) => {
40334
40345
  MorphoRepayRequest$.inboundSchema = MorphoRepayRequest$inboundSchema;
@@ -40341,7 +40352,6 @@ var MorphoSetVaultAllowanceRequestChain, MorphoSetVaultAllowanceRequestAmount$in
40341
40352
  var init_morphosetvaultallowancerequest = __esm(() => {
40342
40353
  init_esm();
40343
40354
  init_primitives();
40344
- init_schemas();
40345
40355
  MorphoSetVaultAllowanceRequestChain = {
40346
40356
  EthereumMainnet: "ethereum:mainnet",
40347
40357
  BaseMainnet: "base:mainnet"
@@ -40358,30 +40368,29 @@ var init_morphosetvaultallowancerequest = __esm(() => {
40358
40368
  MorphoSetVaultAllowanceRequestChain$.inboundSchema = MorphoSetVaultAllowanceRequestChain$inboundSchema;
40359
40369
  MorphoSetVaultAllowanceRequestChain$.outboundSchema = MorphoSetVaultAllowanceRequestChain$outboundSchema;
40360
40370
  })(MorphoSetVaultAllowanceRequestChain$ ||= {});
40361
- MorphoSetVaultAllowanceRequest$inboundSchema = collectExtraKeys(objectType({
40371
+ MorphoSetVaultAllowanceRequest$inboundSchema = objectType({
40372
+ action_type: literalType("MORPHO_SET_VAULT_ALLOWANCE").default("MORPHO_SET_VAULT_ALLOWANCE"),
40362
40373
  vault_address: stringType(),
40363
40374
  amount: unionType([numberType(), stringType()]),
40364
40375
  chain: MorphoSetVaultAllowanceRequestChain$inboundSchema,
40365
40376
  sender: stringType()
40366
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40377
+ }).transform((v2) => {
40367
40378
  return remap(v2, {
40379
+ action_type: "actionType",
40368
40380
  vault_address: "vaultAddress"
40369
40381
  });
40370
40382
  });
40371
40383
  MorphoSetVaultAllowanceRequest$outboundSchema = objectType({
40384
+ actionType: literalType("MORPHO_SET_VAULT_ALLOWANCE").default("MORPHO_SET_VAULT_ALLOWANCE"),
40372
40385
  vaultAddress: stringType(),
40373
40386
  amount: unionType([numberType(), stringType()]),
40374
40387
  chain: MorphoSetVaultAllowanceRequestChain$outboundSchema,
40375
- sender: stringType(),
40376
- additionalProperties: recordType(anyType())
40388
+ sender: stringType()
40377
40389
  }).transform((v2) => {
40378
- return {
40379
- ...v2.additionalProperties,
40380
- ...remap(v2, {
40381
- vaultAddress: "vault_address",
40382
- additionalProperties: null
40383
- })
40384
- };
40390
+ return remap(v2, {
40391
+ actionType: "action_type",
40392
+ vaultAddress: "vault_address"
40393
+ });
40385
40394
  });
40386
40395
  ((MorphoSetVaultAllowanceRequest$) => {
40387
40396
  MorphoSetVaultAllowanceRequest$.inboundSchema = MorphoSetVaultAllowanceRequest$inboundSchema;
@@ -40395,7 +40404,6 @@ var init_morphosupplycollateralrequest = __esm(() => {
40395
40404
  init_esm();
40396
40405
  init_base64();
40397
40406
  init_primitives();
40398
- init_schemas();
40399
40407
  MorphoSupplyCollateralRequestChain = {
40400
40408
  EthereumMainnet: "ethereum:mainnet",
40401
40409
  BaseMainnet: "base:mainnet"
@@ -40412,38 +40420,37 @@ var init_morphosupplycollateralrequest = __esm(() => {
40412
40420
  MorphoSupplyCollateralRequestChain$.inboundSchema = MorphoSupplyCollateralRequestChain$inboundSchema;
40413
40421
  MorphoSupplyCollateralRequestChain$.outboundSchema = MorphoSupplyCollateralRequestChain$outboundSchema;
40414
40422
  })(MorphoSupplyCollateralRequestChain$ ||= {});
40415
- MorphoSupplyCollateralRequest$inboundSchema = collectExtraKeys(objectType({
40423
+ MorphoSupplyCollateralRequest$inboundSchema = objectType({
40424
+ action_type: literalType("MORPHO_SUPPLY_COLLATERAL").default("MORPHO_SUPPLY_COLLATERAL"),
40416
40425
  amount: unionType([numberType(), stringType()]),
40417
40426
  unique_market_key: stringType(),
40418
40427
  on_behalf_of: nullableType(stringType()).optional(),
40419
40428
  callback_data: nullableType(zodInbound).optional(),
40420
40429
  chain: MorphoSupplyCollateralRequestChain$inboundSchema,
40421
40430
  sender: stringType()
40422
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40431
+ }).transform((v2) => {
40423
40432
  return remap(v2, {
40433
+ action_type: "actionType",
40424
40434
  unique_market_key: "uniqueMarketKey",
40425
40435
  on_behalf_of: "onBehalfOf",
40426
40436
  callback_data: "callbackData"
40427
40437
  });
40428
40438
  });
40429
40439
  MorphoSupplyCollateralRequest$outboundSchema = objectType({
40440
+ actionType: literalType("MORPHO_SUPPLY_COLLATERAL").default("MORPHO_SUPPLY_COLLATERAL"),
40430
40441
  amount: unionType([numberType(), stringType()]),
40431
40442
  uniqueMarketKey: stringType(),
40432
40443
  onBehalfOf: nullableType(stringType()).optional(),
40433
40444
  callbackData: nullableType(zodOutbound).optional(),
40434
40445
  chain: MorphoSupplyCollateralRequestChain$outboundSchema,
40435
- sender: stringType(),
40436
- additionalProperties: recordType(anyType())
40446
+ sender: stringType()
40437
40447
  }).transform((v2) => {
40438
- return {
40439
- ...v2.additionalProperties,
40440
- ...remap(v2, {
40441
- uniqueMarketKey: "unique_market_key",
40442
- onBehalfOf: "on_behalf_of",
40443
- callbackData: "callback_data",
40444
- additionalProperties: null
40445
- })
40446
- };
40448
+ return remap(v2, {
40449
+ actionType: "action_type",
40450
+ uniqueMarketKey: "unique_market_key",
40451
+ onBehalfOf: "on_behalf_of",
40452
+ callbackData: "callback_data"
40453
+ });
40447
40454
  });
40448
40455
  ((MorphoSupplyCollateralRequest$) => {
40449
40456
  MorphoSupplyCollateralRequest$.inboundSchema = MorphoSupplyCollateralRequest$inboundSchema;
@@ -40456,7 +40463,6 @@ var MorphoWithdrawCollateralRequestChain, MorphoWithdrawCollateralRequestAmount$
40456
40463
  var init_morphowithdrawcollateralrequest = __esm(() => {
40457
40464
  init_esm();
40458
40465
  init_primitives();
40459
- init_schemas();
40460
40466
  MorphoWithdrawCollateralRequestChain = {
40461
40467
  EthereumMainnet: "ethereum:mainnet",
40462
40468
  BaseMainnet: "base:mainnet"
@@ -40473,36 +40479,35 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
40473
40479
  MorphoWithdrawCollateralRequestChain$.inboundSchema = MorphoWithdrawCollateralRequestChain$inboundSchema;
40474
40480
  MorphoWithdrawCollateralRequestChain$.outboundSchema = MorphoWithdrawCollateralRequestChain$outboundSchema;
40475
40481
  })(MorphoWithdrawCollateralRequestChain$ ||= {});
40476
- MorphoWithdrawCollateralRequest$inboundSchema = collectExtraKeys(objectType({
40482
+ MorphoWithdrawCollateralRequest$inboundSchema = objectType({
40483
+ action_type: literalType("MORPHO_WITHDRAW_COLLATERAL").default("MORPHO_WITHDRAW_COLLATERAL"),
40477
40484
  amount: unionType([numberType(), stringType()]),
40478
40485
  unique_market_key: stringType(),
40479
40486
  on_behalf_of: nullableType(stringType()).optional(),
40480
40487
  receiver: nullableType(stringType()).optional(),
40481
40488
  chain: MorphoWithdrawCollateralRequestChain$inboundSchema,
40482
40489
  sender: stringType()
40483
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40490
+ }).transform((v2) => {
40484
40491
  return remap(v2, {
40492
+ action_type: "actionType",
40485
40493
  unique_market_key: "uniqueMarketKey",
40486
40494
  on_behalf_of: "onBehalfOf"
40487
40495
  });
40488
40496
  });
40489
40497
  MorphoWithdrawCollateralRequest$outboundSchema = objectType({
40498
+ actionType: literalType("MORPHO_WITHDRAW_COLLATERAL").default("MORPHO_WITHDRAW_COLLATERAL"),
40490
40499
  amount: unionType([numberType(), stringType()]),
40491
40500
  uniqueMarketKey: stringType(),
40492
40501
  onBehalfOf: nullableType(stringType()).optional(),
40493
40502
  receiver: nullableType(stringType()).optional(),
40494
40503
  chain: MorphoWithdrawCollateralRequestChain$outboundSchema,
40495
- sender: stringType(),
40496
- additionalProperties: recordType(anyType())
40504
+ sender: stringType()
40497
40505
  }).transform((v2) => {
40498
- return {
40499
- ...v2.additionalProperties,
40500
- ...remap(v2, {
40501
- uniqueMarketKey: "unique_market_key",
40502
- onBehalfOf: "on_behalf_of",
40503
- additionalProperties: null
40504
- })
40505
- };
40506
+ return remap(v2, {
40507
+ actionType: "action_type",
40508
+ uniqueMarketKey: "unique_market_key",
40509
+ onBehalfOf: "on_behalf_of"
40510
+ });
40506
40511
  });
40507
40512
  ((MorphoWithdrawCollateralRequest$) => {
40508
40513
  MorphoWithdrawCollateralRequest$.inboundSchema = MorphoWithdrawCollateralRequest$inboundSchema;
@@ -40515,7 +40520,6 @@ var MorphoWithdrawRequestChain, MorphoWithdrawRequestChain$inboundSchema, Morpho
40515
40520
  var init_morphowithdrawrequest = __esm(() => {
40516
40521
  init_esm();
40517
40522
  init_primitives();
40518
- init_schemas();
40519
40523
  MorphoWithdrawRequestChain = {
40520
40524
  EthereumMainnet: "ethereum:mainnet",
40521
40525
  BaseMainnet: "base:mainnet"
@@ -40526,32 +40530,31 @@ var init_morphowithdrawrequest = __esm(() => {
40526
40530
  MorphoWithdrawRequestChain$.inboundSchema = MorphoWithdrawRequestChain$inboundSchema;
40527
40531
  MorphoWithdrawRequestChain$.outboundSchema = MorphoWithdrawRequestChain$outboundSchema;
40528
40532
  })(MorphoWithdrawRequestChain$ ||= {});
40529
- MorphoWithdrawRequest$inboundSchema = collectExtraKeys(objectType({
40533
+ MorphoWithdrawRequest$inboundSchema = objectType({
40534
+ action_type: literalType("MORPHO_WITHDRAW").default("MORPHO_WITHDRAW"),
40530
40535
  vault_address: stringType(),
40531
40536
  amount: anyType().optional(),
40532
40537
  receiver: nullableType(stringType()).optional(),
40533
40538
  chain: MorphoWithdrawRequestChain$inboundSchema,
40534
40539
  sender: stringType()
40535
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40540
+ }).transform((v2) => {
40536
40541
  return remap(v2, {
40542
+ action_type: "actionType",
40537
40543
  vault_address: "vaultAddress"
40538
40544
  });
40539
40545
  });
40540
40546
  MorphoWithdrawRequest$outboundSchema = objectType({
40547
+ actionType: literalType("MORPHO_WITHDRAW").default("MORPHO_WITHDRAW"),
40541
40548
  vaultAddress: stringType(),
40542
40549
  amount: anyType().optional(),
40543
40550
  receiver: nullableType(stringType()).optional(),
40544
40551
  chain: MorphoWithdrawRequestChain$outboundSchema,
40545
- sender: stringType(),
40546
- additionalProperties: recordType(anyType())
40552
+ sender: stringType()
40547
40553
  }).transform((v2) => {
40548
- return {
40549
- ...v2.additionalProperties,
40550
- ...remap(v2, {
40551
- vaultAddress: "vault_address",
40552
- additionalProperties: null
40553
- })
40554
- };
40554
+ return remap(v2, {
40555
+ actionType: "action_type",
40556
+ vaultAddress: "vault_address"
40557
+ });
40555
40558
  });
40556
40559
  ((MorphoWithdrawRequest$) => {
40557
40560
  MorphoWithdrawRequest$.inboundSchema = MorphoWithdrawRequest$inboundSchema;
@@ -40661,7 +40664,6 @@ var PendleBuyPtRequestAmount$inboundSchema, PendleBuyPtRequestAmount$outboundSch
40661
40664
  var init_pendlebuyptrequest = __esm(() => {
40662
40665
  init_esm();
40663
40666
  init_primitives();
40664
- init_schemas();
40665
40667
  init_chain();
40666
40668
  PendleBuyPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
40667
40669
  PendleBuyPtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -40669,30 +40671,29 @@ var init_pendlebuyptrequest = __esm(() => {
40669
40671
  PendleBuyPtRequestAmount$.inboundSchema = PendleBuyPtRequestAmount$inboundSchema;
40670
40672
  PendleBuyPtRequestAmount$.outboundSchema = PendleBuyPtRequestAmount$outboundSchema;
40671
40673
  })(PendleBuyPtRequestAmount$ ||= {});
40672
- PendleBuyPtRequest$inboundSchema = collectExtraKeys(objectType({
40674
+ PendleBuyPtRequest$inboundSchema = objectType({
40675
+ action_type: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
40673
40676
  market_address: stringType(),
40674
40677
  amount: unionType([numberType(), stringType()]),
40675
40678
  chain: Chain$inboundSchema,
40676
40679
  sender: stringType()
40677
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40680
+ }).transform((v2) => {
40678
40681
  return remap(v2, {
40682
+ action_type: "actionType",
40679
40683
  market_address: "marketAddress"
40680
40684
  });
40681
40685
  });
40682
40686
  PendleBuyPtRequest$outboundSchema = objectType({
40687
+ actionType: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
40683
40688
  marketAddress: stringType(),
40684
40689
  amount: unionType([numberType(), stringType()]),
40685
40690
  chain: Chain$outboundSchema,
40686
- sender: stringType(),
40687
- additionalProperties: recordType(anyType())
40691
+ sender: stringType()
40688
40692
  }).transform((v2) => {
40689
- return {
40690
- ...v2.additionalProperties,
40691
- ...remap(v2, {
40692
- marketAddress: "market_address",
40693
- additionalProperties: null
40694
- })
40695
- };
40693
+ return remap(v2, {
40694
+ actionType: "action_type",
40695
+ marketAddress: "market_address"
40696
+ });
40696
40697
  });
40697
40698
  ((PendleBuyPtRequest$) => {
40698
40699
  PendleBuyPtRequest$.inboundSchema = PendleBuyPtRequest$inboundSchema;
@@ -40705,7 +40706,6 @@ var PendleBuyYtRequestAmount$inboundSchema, PendleBuyYtRequestAmount$outboundSch
40705
40706
  var init_pendlebuyytrequest = __esm(() => {
40706
40707
  init_esm();
40707
40708
  init_primitives();
40708
- init_schemas();
40709
40709
  init_chain();
40710
40710
  PendleBuyYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
40711
40711
  PendleBuyYtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -40713,30 +40713,29 @@ var init_pendlebuyytrequest = __esm(() => {
40713
40713
  PendleBuyYtRequestAmount$.inboundSchema = PendleBuyYtRequestAmount$inboundSchema;
40714
40714
  PendleBuyYtRequestAmount$.outboundSchema = PendleBuyYtRequestAmount$outboundSchema;
40715
40715
  })(PendleBuyYtRequestAmount$ ||= {});
40716
- PendleBuyYtRequest$inboundSchema = collectExtraKeys(objectType({
40716
+ PendleBuyYtRequest$inboundSchema = objectType({
40717
+ action_type: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
40717
40718
  market_address: stringType(),
40718
40719
  amount: unionType([numberType(), stringType()]),
40719
40720
  chain: Chain$inboundSchema,
40720
40721
  sender: stringType()
40721
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40722
+ }).transform((v2) => {
40722
40723
  return remap(v2, {
40724
+ action_type: "actionType",
40723
40725
  market_address: "marketAddress"
40724
40726
  });
40725
40727
  });
40726
40728
  PendleBuyYtRequest$outboundSchema = objectType({
40729
+ actionType: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
40727
40730
  marketAddress: stringType(),
40728
40731
  amount: unionType([numberType(), stringType()]),
40729
40732
  chain: Chain$outboundSchema,
40730
- sender: stringType(),
40731
- additionalProperties: recordType(anyType())
40733
+ sender: stringType()
40732
40734
  }).transform((v2) => {
40733
- return {
40734
- ...v2.additionalProperties,
40735
- ...remap(v2, {
40736
- marketAddress: "market_address",
40737
- additionalProperties: null
40738
- })
40739
- };
40735
+ return remap(v2, {
40736
+ actionType: "action_type",
40737
+ marketAddress: "market_address"
40738
+ });
40740
40739
  });
40741
40740
  ((PendleBuyYtRequest$) => {
40742
40741
  PendleBuyYtRequest$.inboundSchema = PendleBuyYtRequest$inboundSchema;
@@ -40963,7 +40962,6 @@ var PendleSellPtRequestAmount$inboundSchema, PendleSellPtRequestAmount$outboundS
40963
40962
  var init_pendlesellptrequest = __esm(() => {
40964
40963
  init_esm();
40965
40964
  init_primitives();
40966
- init_schemas();
40967
40965
  init_chain();
40968
40966
  PendleSellPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
40969
40967
  PendleSellPtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -40971,30 +40969,29 @@ var init_pendlesellptrequest = __esm(() => {
40971
40969
  PendleSellPtRequestAmount$.inboundSchema = PendleSellPtRequestAmount$inboundSchema;
40972
40970
  PendleSellPtRequestAmount$.outboundSchema = PendleSellPtRequestAmount$outboundSchema;
40973
40971
  })(PendleSellPtRequestAmount$ ||= {});
40974
- PendleSellPtRequest$inboundSchema = collectExtraKeys(objectType({
40972
+ PendleSellPtRequest$inboundSchema = objectType({
40973
+ action_type: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
40975
40974
  market_address: stringType(),
40976
40975
  amount: unionType([numberType(), stringType()]),
40977
40976
  chain: Chain$inboundSchema,
40978
40977
  sender: stringType()
40979
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
40978
+ }).transform((v2) => {
40980
40979
  return remap(v2, {
40980
+ action_type: "actionType",
40981
40981
  market_address: "marketAddress"
40982
40982
  });
40983
40983
  });
40984
40984
  PendleSellPtRequest$outboundSchema = objectType({
40985
+ actionType: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
40985
40986
  marketAddress: stringType(),
40986
40987
  amount: unionType([numberType(), stringType()]),
40987
40988
  chain: Chain$outboundSchema,
40988
- sender: stringType(),
40989
- additionalProperties: recordType(anyType())
40989
+ sender: stringType()
40990
40990
  }).transform((v2) => {
40991
- return {
40992
- ...v2.additionalProperties,
40993
- ...remap(v2, {
40994
- marketAddress: "market_address",
40995
- additionalProperties: null
40996
- })
40997
- };
40991
+ return remap(v2, {
40992
+ actionType: "action_type",
40993
+ marketAddress: "market_address"
40994
+ });
40998
40995
  });
40999
40996
  ((PendleSellPtRequest$) => {
41000
40997
  PendleSellPtRequest$.inboundSchema = PendleSellPtRequest$inboundSchema;
@@ -41007,7 +41004,6 @@ var PendleSellYtRequestAmount$inboundSchema, PendleSellYtRequestAmount$outboundS
41007
41004
  var init_pendlesellytrequest = __esm(() => {
41008
41005
  init_esm();
41009
41006
  init_primitives();
41010
- init_schemas();
41011
41007
  init_chain();
41012
41008
  PendleSellYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
41013
41009
  PendleSellYtRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -41015,30 +41011,29 @@ var init_pendlesellytrequest = __esm(() => {
41015
41011
  PendleSellYtRequestAmount$.inboundSchema = PendleSellYtRequestAmount$inboundSchema;
41016
41012
  PendleSellYtRequestAmount$.outboundSchema = PendleSellYtRequestAmount$outboundSchema;
41017
41013
  })(PendleSellYtRequestAmount$ ||= {});
41018
- PendleSellYtRequest$inboundSchema = collectExtraKeys(objectType({
41014
+ PendleSellYtRequest$inboundSchema = objectType({
41015
+ action_type: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
41019
41016
  market_address: stringType(),
41020
41017
  amount: unionType([numberType(), stringType()]),
41021
41018
  chain: Chain$inboundSchema,
41022
41019
  sender: stringType()
41023
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
41020
+ }).transform((v2) => {
41024
41021
  return remap(v2, {
41022
+ action_type: "actionType",
41025
41023
  market_address: "marketAddress"
41026
41024
  });
41027
41025
  });
41028
41026
  PendleSellYtRequest$outboundSchema = objectType({
41027
+ actionType: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
41029
41028
  marketAddress: stringType(),
41030
41029
  amount: unionType([numberType(), stringType()]),
41031
41030
  chain: Chain$outboundSchema,
41032
- sender: stringType(),
41033
- additionalProperties: recordType(anyType())
41031
+ sender: stringType()
41034
41032
  }).transform((v2) => {
41035
- return {
41036
- ...v2.additionalProperties,
41037
- ...remap(v2, {
41038
- marketAddress: "market_address",
41039
- additionalProperties: null
41040
- })
41041
- };
41033
+ return remap(v2, {
41034
+ actionType: "action_type",
41035
+ marketAddress: "market_address"
41036
+ });
41042
41037
  });
41043
41038
  ((PendleSellYtRequest$) => {
41044
41039
  PendleSellYtRequest$.inboundSchema = PendleSellYtRequest$inboundSchema;
@@ -41106,7 +41101,6 @@ var SkyBuyRequestTokenIn, SkyBuyRequestTokenIn$inboundSchema, SkyBuyRequestToken
41106
41101
  var init_skybuyrequest = __esm(() => {
41107
41102
  init_esm();
41108
41103
  init_primitives();
41109
- init_schemas();
41110
41104
  SkyBuyRequestTokenIn = {
41111
41105
  Dai: "DAI",
41112
41106
  Usdc: "USDC"
@@ -41123,30 +41117,29 @@ var init_skybuyrequest = __esm(() => {
41123
41117
  SkyBuyRequestAmount$.inboundSchema = SkyBuyRequestAmount$inboundSchema;
41124
41118
  SkyBuyRequestAmount$.outboundSchema = SkyBuyRequestAmount$outboundSchema;
41125
41119
  })(SkyBuyRequestAmount$ ||= {});
41126
- SkyBuyRequest$inboundSchema = collectExtraKeys(objectType({
41120
+ SkyBuyRequest$inboundSchema = objectType({
41121
+ action_type: literalType("SKY_BUY").default("SKY_BUY"),
41127
41122
  token_in: SkyBuyRequestTokenIn$inboundSchema,
41128
41123
  amount: unionType([numberType(), stringType()]),
41129
41124
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41130
41125
  sender: stringType()
41131
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
41126
+ }).transform((v2) => {
41132
41127
  return remap(v2, {
41128
+ action_type: "actionType",
41133
41129
  token_in: "tokenIn"
41134
41130
  });
41135
41131
  });
41136
41132
  SkyBuyRequest$outboundSchema = objectType({
41133
+ actionType: literalType("SKY_BUY").default("SKY_BUY"),
41137
41134
  tokenIn: SkyBuyRequestTokenIn$outboundSchema,
41138
41135
  amount: unionType([numberType(), stringType()]),
41139
41136
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41140
- sender: stringType(),
41141
- additionalProperties: recordType(anyType())
41137
+ sender: stringType()
41142
41138
  }).transform((v2) => {
41143
- return {
41144
- ...v2.additionalProperties,
41145
- ...remap(v2, {
41146
- tokenIn: "token_in",
41147
- additionalProperties: null
41148
- })
41149
- };
41139
+ return remap(v2, {
41140
+ actionType: "action_type",
41141
+ tokenIn: "token_in"
41142
+ });
41150
41143
  });
41151
41144
  ((SkyBuyRequest$) => {
41152
41145
  SkyBuyRequest$.inboundSchema = SkyBuyRequest$inboundSchema;
@@ -41186,32 +41179,33 @@ var SkyDepositRequestAmount$inboundSchema, SkyDepositRequestAmount$outboundSchem
41186
41179
  var init_skydepositrequest = __esm(() => {
41187
41180
  init_esm();
41188
41181
  init_primitives();
41189
- init_schemas();
41190
41182
  SkyDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
41191
41183
  SkyDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
41192
41184
  ((SkyDepositRequestAmount$) => {
41193
41185
  SkyDepositRequestAmount$.inboundSchema = SkyDepositRequestAmount$inboundSchema;
41194
41186
  SkyDepositRequestAmount$.outboundSchema = SkyDepositRequestAmount$outboundSchema;
41195
41187
  })(SkyDepositRequestAmount$ ||= {});
41196
- SkyDepositRequest$inboundSchema = collectExtraKeys(objectType({
41188
+ SkyDepositRequest$inboundSchema = objectType({
41189
+ action_type: literalType("SKY_DEPOSIT").default("SKY_DEPOSIT"),
41197
41190
  amount: unionType([numberType(), stringType()]),
41198
41191
  receiver: nullableType(stringType()).optional(),
41199
41192
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41200
41193
  sender: stringType()
41201
- }).catchall(anyType()), "additionalProperties", true);
41194
+ }).transform((v2) => {
41195
+ return remap(v2, {
41196
+ action_type: "actionType"
41197
+ });
41198
+ });
41202
41199
  SkyDepositRequest$outboundSchema = objectType({
41200
+ actionType: literalType("SKY_DEPOSIT").default("SKY_DEPOSIT"),
41203
41201
  amount: unionType([numberType(), stringType()]),
41204
41202
  receiver: nullableType(stringType()).optional(),
41205
41203
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41206
- sender: stringType(),
41207
- additionalProperties: recordType(anyType())
41204
+ sender: stringType()
41208
41205
  }).transform((v2) => {
41209
- return {
41210
- ...v2.additionalProperties,
41211
- ...remap(v2, {
41212
- additionalProperties: null
41213
- })
41214
- };
41206
+ return remap(v2, {
41207
+ actionType: "action_type"
41208
+ });
41215
41209
  });
41216
41210
  ((SkyDepositRequest$) => {
41217
41211
  SkyDepositRequest$.inboundSchema = SkyDepositRequest$inboundSchema;
@@ -41224,7 +41218,6 @@ var SkySellRequestTokenOut, SkySellRequestTokenOut$inboundSchema, SkySellRequest
41224
41218
  var init_skysellrequest = __esm(() => {
41225
41219
  init_esm();
41226
41220
  init_primitives();
41227
- init_schemas();
41228
41221
  SkySellRequestTokenOut = {
41229
41222
  Dai: "DAI",
41230
41223
  Usdc: "USDC"
@@ -41241,30 +41234,29 @@ var init_skysellrequest = __esm(() => {
41241
41234
  SkySellRequestAmount$.inboundSchema = SkySellRequestAmount$inboundSchema;
41242
41235
  SkySellRequestAmount$.outboundSchema = SkySellRequestAmount$outboundSchema;
41243
41236
  })(SkySellRequestAmount$ ||= {});
41244
- SkySellRequest$inboundSchema = collectExtraKeys(objectType({
41237
+ SkySellRequest$inboundSchema = objectType({
41238
+ action_type: literalType("SKY_SELL").default("SKY_SELL"),
41245
41239
  token_out: SkySellRequestTokenOut$inboundSchema,
41246
41240
  amount: unionType([numberType(), stringType()]),
41247
41241
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41248
41242
  sender: stringType()
41249
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
41243
+ }).transform((v2) => {
41250
41244
  return remap(v2, {
41245
+ action_type: "actionType",
41251
41246
  token_out: "tokenOut"
41252
41247
  });
41253
41248
  });
41254
41249
  SkySellRequest$outboundSchema = objectType({
41250
+ actionType: literalType("SKY_SELL").default("SKY_SELL"),
41255
41251
  tokenOut: SkySellRequestTokenOut$outboundSchema,
41256
41252
  amount: unionType([numberType(), stringType()]),
41257
41253
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41258
- sender: stringType(),
41259
- additionalProperties: recordType(anyType())
41254
+ sender: stringType()
41260
41255
  }).transform((v2) => {
41261
- return {
41262
- ...v2.additionalProperties,
41263
- ...remap(v2, {
41264
- tokenOut: "token_out",
41265
- additionalProperties: null
41266
- })
41267
- };
41256
+ return remap(v2, {
41257
+ actionType: "action_type",
41258
+ tokenOut: "token_out"
41259
+ });
41268
41260
  });
41269
41261
  ((SkySellRequest$) => {
41270
41262
  SkySellRequest$.inboundSchema = SkySellRequest$inboundSchema;
@@ -41277,26 +41269,27 @@ var SkyWithdrawRequest$inboundSchema, SkyWithdrawRequest$outboundSchema, SkyWith
41277
41269
  var init_skywithdrawrequest = __esm(() => {
41278
41270
  init_esm();
41279
41271
  init_primitives();
41280
- init_schemas();
41281
- SkyWithdrawRequest$inboundSchema = collectExtraKeys(objectType({
41272
+ SkyWithdrawRequest$inboundSchema = objectType({
41273
+ action_type: literalType("SKY_WITHDRAW").default("SKY_WITHDRAW"),
41282
41274
  amount: anyType().optional(),
41283
41275
  receiver: nullableType(stringType()).optional(),
41284
41276
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41285
41277
  sender: stringType()
41286
- }).catchall(anyType()), "additionalProperties", true);
41278
+ }).transform((v2) => {
41279
+ return remap(v2, {
41280
+ action_type: "actionType"
41281
+ });
41282
+ });
41287
41283
  SkyWithdrawRequest$outboundSchema = objectType({
41284
+ actionType: literalType("SKY_WITHDRAW").default("SKY_WITHDRAW"),
41288
41285
  amount: anyType().optional(),
41289
41286
  receiver: nullableType(stringType()).optional(),
41290
41287
  chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
41291
- sender: stringType(),
41292
- additionalProperties: recordType(anyType())
41288
+ sender: stringType()
41293
41289
  }).transform((v2) => {
41294
- return {
41295
- ...v2.additionalProperties,
41296
- ...remap(v2, {
41297
- additionalProperties: null
41298
- })
41299
- };
41290
+ return remap(v2, {
41291
+ actionType: "action_type"
41292
+ });
41300
41293
  });
41301
41294
  ((SkyWithdrawRequest$) => {
41302
41295
  SkyWithdrawRequest$.inboundSchema = SkyWithdrawRequest$inboundSchema;
@@ -41398,7 +41391,6 @@ var TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboun
41398
41391
  var init_tokentransferrequest = __esm(() => {
41399
41392
  init_esm();
41400
41393
  init_primitives();
41401
- init_schemas();
41402
41394
  init_chain();
41403
41395
  init_tokenenum();
41404
41396
  TokenTransferRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
@@ -41413,27 +41405,29 @@ var init_tokentransferrequest = __esm(() => {
41413
41405
  TokenTransferRequestToken$.inboundSchema = TokenTransferRequestToken$inboundSchema;
41414
41406
  TokenTransferRequestToken$.outboundSchema = TokenTransferRequestToken$outboundSchema;
41415
41407
  })(TokenTransferRequestToken$ ||= {});
41416
- TokenTransferRequest$inboundSchema = collectExtraKeys(objectType({
41408
+ TokenTransferRequest$inboundSchema = objectType({
41409
+ action_type: literalType("TOKEN_TRANSFER").default("TOKEN_TRANSFER"),
41417
41410
  amount: unionType([numberType(), stringType()]),
41418
41411
  token: unionType([TokenEnum$inboundSchema, stringType()]),
41419
41412
  to: stringType(),
41420
41413
  chain: Chain$inboundSchema,
41421
41414
  sender: stringType()
41422
- }).catchall(anyType()), "additionalProperties", true);
41415
+ }).transform((v2) => {
41416
+ return remap(v2, {
41417
+ action_type: "actionType"
41418
+ });
41419
+ });
41423
41420
  TokenTransferRequest$outboundSchema = objectType({
41421
+ actionType: literalType("TOKEN_TRANSFER").default("TOKEN_TRANSFER"),
41424
41422
  amount: unionType([numberType(), stringType()]),
41425
41423
  token: unionType([TokenEnum$outboundSchema, stringType()]),
41426
41424
  to: stringType(),
41427
41425
  chain: Chain$outboundSchema,
41428
- sender: stringType(),
41429
- additionalProperties: recordType(anyType())
41426
+ sender: stringType()
41430
41427
  }).transform((v2) => {
41431
- return {
41432
- ...v2.additionalProperties,
41433
- ...remap(v2, {
41434
- additionalProperties: null
41435
- })
41436
- };
41428
+ return remap(v2, {
41429
+ actionType: "action_type"
41430
+ });
41437
41431
  });
41438
41432
  ((TokenTransferRequest$) => {
41439
41433
  TokenTransferRequest$.inboundSchema = TokenTransferRequest$inboundSchema;
@@ -41536,7 +41530,6 @@ var UniswapBuyExactlyRequestAmount$inboundSchema, UniswapBuyExactlyRequestAmount
41536
41530
  var init_uniswapbuyexactlyrequest = __esm(() => {
41537
41531
  init_esm();
41538
41532
  init_primitives();
41539
- init_schemas();
41540
41533
  init_chain();
41541
41534
  init_feeenum();
41542
41535
  init_tokenenum();
@@ -41546,7 +41539,8 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
41546
41539
  UniswapBuyExactlyRequestAmount$.inboundSchema = UniswapBuyExactlyRequestAmount$inboundSchema;
41547
41540
  UniswapBuyExactlyRequestAmount$.outboundSchema = UniswapBuyExactlyRequestAmount$outboundSchema;
41548
41541
  })(UniswapBuyExactlyRequestAmount$ ||= {});
41549
- UniswapBuyExactlyRequest$inboundSchema = collectExtraKeys(objectType({
41542
+ UniswapBuyExactlyRequest$inboundSchema = objectType({
41543
+ action_type: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
41550
41544
  token_in: TokenEnum$inboundSchema,
41551
41545
  token_out: TokenEnum$inboundSchema,
41552
41546
  fee: FeeEnum$inboundSchema,
@@ -41555,8 +41549,9 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
41555
41549
  wrap_eth: booleanType().default(false),
41556
41550
  chain: Chain$inboundSchema,
41557
41551
  sender: stringType()
41558
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
41552
+ }).transform((v2) => {
41559
41553
  return remap(v2, {
41554
+ action_type: "actionType",
41560
41555
  token_in: "tokenIn",
41561
41556
  token_out: "tokenOut",
41562
41557
  max_slippage_percent: "maxSlippagePercent",
@@ -41564,6 +41559,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
41564
41559
  });
41565
41560
  });
41566
41561
  UniswapBuyExactlyRequest$outboundSchema = objectType({
41562
+ actionType: literalType("UNISWAP_BUY_EXACTLY").default("UNISWAP_BUY_EXACTLY"),
41567
41563
  tokenIn: TokenEnum$outboundSchema,
41568
41564
  tokenOut: TokenEnum$outboundSchema,
41569
41565
  fee: FeeEnum$outboundSchema,
@@ -41571,19 +41567,15 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
41571
41567
  maxSlippagePercent: numberType(),
41572
41568
  wrapEth: booleanType().default(false),
41573
41569
  chain: Chain$outboundSchema,
41574
- sender: stringType(),
41575
- additionalProperties: recordType(anyType())
41570
+ sender: stringType()
41576
41571
  }).transform((v2) => {
41577
- return {
41578
- ...v2.additionalProperties,
41579
- ...remap(v2, {
41580
- tokenIn: "token_in",
41581
- tokenOut: "token_out",
41582
- maxSlippagePercent: "max_slippage_percent",
41583
- wrapEth: "wrap_eth",
41584
- additionalProperties: null
41585
- })
41586
- };
41572
+ return remap(v2, {
41573
+ actionType: "action_type",
41574
+ tokenIn: "token_in",
41575
+ tokenOut: "token_out",
41576
+ maxSlippagePercent: "max_slippage_percent",
41577
+ wrapEth: "wrap_eth"
41578
+ });
41587
41579
  });
41588
41580
  ((UniswapBuyExactlyRequest$) => {
41589
41581
  UniswapBuyExactlyRequest$.inboundSchema = UniswapBuyExactlyRequest$inboundSchema;
@@ -41650,7 +41642,6 @@ var UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, Uniswa
41650
41642
  var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
41651
41643
  init_esm();
41652
41644
  init_primitives();
41653
- init_schemas();
41654
41645
  init_chain();
41655
41646
  UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
41656
41647
  UniswapIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
@@ -41676,7 +41667,8 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
41676
41667
  UniswapIncreaseLiquidityProvisionRequestAmount1Min$.inboundSchema = UniswapIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema;
41677
41668
  UniswapIncreaseLiquidityProvisionRequestAmount1Min$.outboundSchema = UniswapIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema;
41678
41669
  })(UniswapIncreaseLiquidityProvisionRequestAmount1Min$ ||= {});
41679
- UniswapIncreaseLiquidityProvisionRequest$inboundSchema = collectExtraKeys(objectType({
41670
+ UniswapIncreaseLiquidityProvisionRequest$inboundSchema = objectType({
41671
+ action_type: literalType("UNISWAP_INCREASE_LIQUIDITY_PROVISION").default("UNISWAP_INCREASE_LIQUIDITY_PROVISION"),
41680
41672
  token_id: numberType().int(),
41681
41673
  amount0_desired: unionType([numberType(), stringType()]),
41682
41674
  amount1_desired: unionType([numberType(), stringType()]),
@@ -41684,8 +41676,9 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
41684
41676
  amount1_min: unionType([numberType(), stringType()]),
41685
41677
  chain: Chain$inboundSchema,
41686
41678
  sender: stringType()
41687
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
41679
+ }).transform((v2) => {
41688
41680
  return remap(v2, {
41681
+ action_type: "actionType",
41689
41682
  token_id: "tokenId",
41690
41683
  amount0_desired: "amount0Desired",
41691
41684
  amount1_desired: "amount1Desired",
@@ -41694,26 +41687,23 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
41694
41687
  });
41695
41688
  });
41696
41689
  UniswapIncreaseLiquidityProvisionRequest$outboundSchema = objectType({
41690
+ actionType: literalType("UNISWAP_INCREASE_LIQUIDITY_PROVISION").default("UNISWAP_INCREASE_LIQUIDITY_PROVISION"),
41697
41691
  tokenId: numberType().int(),
41698
41692
  amount0Desired: unionType([numberType(), stringType()]),
41699
41693
  amount1Desired: unionType([numberType(), stringType()]),
41700
41694
  amount0Min: unionType([numberType(), stringType()]),
41701
41695
  amount1Min: unionType([numberType(), stringType()]),
41702
41696
  chain: Chain$outboundSchema,
41703
- sender: stringType(),
41704
- additionalProperties: recordType(anyType())
41697
+ sender: stringType()
41705
41698
  }).transform((v2) => {
41706
- return {
41707
- ...v2.additionalProperties,
41708
- ...remap(v2, {
41709
- tokenId: "token_id",
41710
- amount0Desired: "amount0_desired",
41711
- amount1Desired: "amount1_desired",
41712
- amount0Min: "amount0_min",
41713
- amount1Min: "amount1_min",
41714
- additionalProperties: null
41715
- })
41716
- };
41699
+ return remap(v2, {
41700
+ actionType: "action_type",
41701
+ tokenId: "token_id",
41702
+ amount0Desired: "amount0_desired",
41703
+ amount1Desired: "amount1_desired",
41704
+ amount0Min: "amount0_min",
41705
+ amount1Min: "amount1_min"
41706
+ });
41717
41707
  });
41718
41708
  ((UniswapIncreaseLiquidityProvisionRequest$) => {
41719
41709
  UniswapIncreaseLiquidityProvisionRequest$.inboundSchema = UniswapIncreaseLiquidityProvisionRequest$inboundSchema;
@@ -41800,7 +41790,6 @@ var UniswapMintLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapMin
41800
41790
  var init_uniswapmintliquidityprovisionrequest = __esm(() => {
41801
41791
  init_esm();
41802
41792
  init_primitives();
41803
- init_schemas();
41804
41793
  init_chain();
41805
41794
  init_feeenum();
41806
41795
  init_tokenenum();
@@ -41828,7 +41817,8 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
41828
41817
  UniswapMintLiquidityProvisionRequestAmount1Min$.inboundSchema = UniswapMintLiquidityProvisionRequestAmount1Min$inboundSchema;
41829
41818
  UniswapMintLiquidityProvisionRequestAmount1Min$.outboundSchema = UniswapMintLiquidityProvisionRequestAmount1Min$outboundSchema;
41830
41819
  })(UniswapMintLiquidityProvisionRequestAmount1Min$ ||= {});
41831
- UniswapMintLiquidityProvisionRequest$inboundSchema = collectExtraKeys(objectType({
41820
+ UniswapMintLiquidityProvisionRequest$inboundSchema = objectType({
41821
+ action_type: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION").default("UNISWAP_MINT_LIQUIDITY_PROVISION"),
41832
41822
  token0: TokenEnum$inboundSchema,
41833
41823
  token1: TokenEnum$inboundSchema,
41834
41824
  fee: FeeEnum$inboundSchema,
@@ -41841,8 +41831,9 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
41841
41831
  recipient: nullableType(stringType()).optional(),
41842
41832
  chain: Chain$inboundSchema,
41843
41833
  sender: stringType()
41844
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
41834
+ }).transform((v2) => {
41845
41835
  return remap(v2, {
41836
+ action_type: "actionType",
41846
41837
  tick_lower: "tickLower",
41847
41838
  tick_upper: "tickUpper",
41848
41839
  amount0_desired: "amount0Desired",
@@ -41852,6 +41843,7 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
41852
41843
  });
41853
41844
  });
41854
41845
  UniswapMintLiquidityProvisionRequest$outboundSchema = objectType({
41846
+ actionType: literalType("UNISWAP_MINT_LIQUIDITY_PROVISION").default("UNISWAP_MINT_LIQUIDITY_PROVISION"),
41855
41847
  token0: TokenEnum$outboundSchema,
41856
41848
  token1: TokenEnum$outboundSchema,
41857
41849
  fee: FeeEnum$outboundSchema,
@@ -41863,21 +41855,17 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
41863
41855
  amount1Min: unionType([numberType(), stringType()]),
41864
41856
  recipient: nullableType(stringType()).optional(),
41865
41857
  chain: Chain$outboundSchema,
41866
- sender: stringType(),
41867
- additionalProperties: recordType(anyType())
41858
+ sender: stringType()
41868
41859
  }).transform((v2) => {
41869
- return {
41870
- ...v2.additionalProperties,
41871
- ...remap(v2, {
41872
- tickLower: "tick_lower",
41873
- tickUpper: "tick_upper",
41874
- amount0Desired: "amount0_desired",
41875
- amount1Desired: "amount1_desired",
41876
- amount0Min: "amount0_min",
41877
- amount1Min: "amount1_min",
41878
- additionalProperties: null
41879
- })
41880
- };
41860
+ return remap(v2, {
41861
+ actionType: "action_type",
41862
+ tickLower: "tick_lower",
41863
+ tickUpper: "tick_upper",
41864
+ amount0Desired: "amount0_desired",
41865
+ amount1Desired: "amount1_desired",
41866
+ amount0Min: "amount0_min",
41867
+ amount1Min: "amount1_min"
41868
+ });
41881
41869
  });
41882
41870
  ((UniswapMintLiquidityProvisionRequest$) => {
41883
41871
  UniswapMintLiquidityProvisionRequest$.inboundSchema = UniswapMintLiquidityProvisionRequest$inboundSchema;
@@ -41924,7 +41912,6 @@ var UniswapSellExactlyRequestAmount$inboundSchema, UniswapSellExactlyRequestAmou
41924
41912
  var init_uniswapsellexactlyrequest = __esm(() => {
41925
41913
  init_esm();
41926
41914
  init_primitives();
41927
- init_schemas();
41928
41915
  init_chain();
41929
41916
  init_feeenum();
41930
41917
  init_tokenenum();
@@ -41934,7 +41921,8 @@ var init_uniswapsellexactlyrequest = __esm(() => {
41934
41921
  UniswapSellExactlyRequestAmount$.inboundSchema = UniswapSellExactlyRequestAmount$inboundSchema;
41935
41922
  UniswapSellExactlyRequestAmount$.outboundSchema = UniswapSellExactlyRequestAmount$outboundSchema;
41936
41923
  })(UniswapSellExactlyRequestAmount$ ||= {});
41937
- UniswapSellExactlyRequest$inboundSchema = collectExtraKeys(objectType({
41924
+ UniswapSellExactlyRequest$inboundSchema = objectType({
41925
+ action_type: literalType("UNISWAP_SELL_EXACTLY").default("UNISWAP_SELL_EXACTLY"),
41938
41926
  token_in: TokenEnum$inboundSchema,
41939
41927
  token_out: TokenEnum$inboundSchema,
41940
41928
  fee: FeeEnum$inboundSchema,
@@ -41943,8 +41931,9 @@ var init_uniswapsellexactlyrequest = __esm(() => {
41943
41931
  wrap_eth: booleanType().default(false),
41944
41932
  chain: Chain$inboundSchema,
41945
41933
  sender: stringType()
41946
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
41934
+ }).transform((v2) => {
41947
41935
  return remap(v2, {
41936
+ action_type: "actionType",
41948
41937
  token_in: "tokenIn",
41949
41938
  token_out: "tokenOut",
41950
41939
  max_slippage_percent: "maxSlippagePercent",
@@ -41952,6 +41941,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
41952
41941
  });
41953
41942
  });
41954
41943
  UniswapSellExactlyRequest$outboundSchema = objectType({
41944
+ actionType: literalType("UNISWAP_SELL_EXACTLY").default("UNISWAP_SELL_EXACTLY"),
41955
41945
  tokenIn: TokenEnum$outboundSchema,
41956
41946
  tokenOut: TokenEnum$outboundSchema,
41957
41947
  fee: FeeEnum$outboundSchema,
@@ -41959,19 +41949,15 @@ var init_uniswapsellexactlyrequest = __esm(() => {
41959
41949
  maxSlippagePercent: numberType(),
41960
41950
  wrapEth: booleanType().default(false),
41961
41951
  chain: Chain$outboundSchema,
41962
- sender: stringType(),
41963
- additionalProperties: recordType(anyType())
41952
+ sender: stringType()
41964
41953
  }).transform((v2) => {
41965
- return {
41966
- ...v2.additionalProperties,
41967
- ...remap(v2, {
41968
- tokenIn: "token_in",
41969
- tokenOut: "token_out",
41970
- maxSlippagePercent: "max_slippage_percent",
41971
- wrapEth: "wrap_eth",
41972
- additionalProperties: null
41973
- })
41974
- };
41954
+ return remap(v2, {
41955
+ actionType: "action_type",
41956
+ tokenIn: "token_in",
41957
+ tokenOut: "token_out",
41958
+ maxSlippagePercent: "max_slippage_percent",
41959
+ wrapEth: "wrap_eth"
41960
+ });
41975
41961
  });
41976
41962
  ((UniswapSellExactlyRequest$) => {
41977
41963
  UniswapSellExactlyRequest$.inboundSchema = UniswapSellExactlyRequest$inboundSchema;
@@ -42013,7 +41999,6 @@ var UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchem
42013
41999
  var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
42014
42000
  init_esm();
42015
42001
  init_primitives();
42016
- init_schemas();
42017
42002
  init_chain();
42018
42003
  UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
42019
42004
  UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
@@ -42021,32 +42006,31 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
42021
42006
  UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.inboundSchema = UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema;
42022
42007
  UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$.outboundSchema = UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema;
42023
42008
  })(UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$ ||= {});
42024
- UniswapWithdrawLiquidityProvisionRequest$inboundSchema = collectExtraKeys(objectType({
42009
+ UniswapWithdrawLiquidityProvisionRequest$inboundSchema = objectType({
42010
+ action_type: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION").default("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION"),
42025
42011
  token_id: numberType().int(),
42026
42012
  percentage_for_withdrawal: unionType([numberType(), stringType()]),
42027
42013
  chain: Chain$inboundSchema,
42028
42014
  sender: stringType()
42029
- }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
42015
+ }).transform((v2) => {
42030
42016
  return remap(v2, {
42017
+ action_type: "actionType",
42031
42018
  token_id: "tokenId",
42032
42019
  percentage_for_withdrawal: "percentageForWithdrawal"
42033
42020
  });
42034
42021
  });
42035
42022
  UniswapWithdrawLiquidityProvisionRequest$outboundSchema = objectType({
42023
+ actionType: literalType("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION").default("UNISWAP_WITHDRAW_LIQUIDITY_PROVISION"),
42036
42024
  tokenId: numberType().int(),
42037
42025
  percentageForWithdrawal: unionType([numberType(), stringType()]),
42038
42026
  chain: Chain$outboundSchema,
42039
- sender: stringType(),
42040
- additionalProperties: recordType(anyType())
42027
+ sender: stringType()
42041
42028
  }).transform((v2) => {
42042
- return {
42043
- ...v2.additionalProperties,
42044
- ...remap(v2, {
42045
- tokenId: "token_id",
42046
- percentageForWithdrawal: "percentage_for_withdrawal",
42047
- additionalProperties: null
42048
- })
42049
- };
42029
+ return remap(v2, {
42030
+ actionType: "action_type",
42031
+ tokenId: "token_id",
42032
+ percentageForWithdrawal: "percentage_for_withdrawal"
42033
+ });
42050
42034
  });
42051
42035
  ((UniswapWithdrawLiquidityProvisionRequest$) => {
42052
42036
  UniswapWithdrawLiquidityProvisionRequest$.inboundSchema = UniswapWithdrawLiquidityProvisionRequest$inboundSchema;
@@ -42059,7 +42043,6 @@ var UnwrapWethRequestAmount$inboundSchema, UnwrapWethRequestAmount$outboundSchem
42059
42043
  var init_unwrapwethrequest = __esm(() => {
42060
42044
  init_esm();
42061
42045
  init_primitives();
42062
- init_schemas();
42063
42046
  init_chain();
42064
42047
  UnwrapWethRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
42065
42048
  UnwrapWethRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -42067,23 +42050,25 @@ var init_unwrapwethrequest = __esm(() => {
42067
42050
  UnwrapWethRequestAmount$.inboundSchema = UnwrapWethRequestAmount$inboundSchema;
42068
42051
  UnwrapWethRequestAmount$.outboundSchema = UnwrapWethRequestAmount$outboundSchema;
42069
42052
  })(UnwrapWethRequestAmount$ ||= {});
42070
- UnwrapWethRequest$inboundSchema = collectExtraKeys(objectType({
42053
+ UnwrapWethRequest$inboundSchema = objectType({
42054
+ action_type: literalType("UNWRAP_WETH").default("UNWRAP_WETH"),
42071
42055
  amount: unionType([numberType(), stringType()]),
42072
42056
  chain: Chain$inboundSchema,
42073
42057
  sender: stringType()
42074
- }).catchall(anyType()), "additionalProperties", true);
42058
+ }).transform((v2) => {
42059
+ return remap(v2, {
42060
+ action_type: "actionType"
42061
+ });
42062
+ });
42075
42063
  UnwrapWethRequest$outboundSchema = objectType({
42064
+ actionType: literalType("UNWRAP_WETH").default("UNWRAP_WETH"),
42076
42065
  amount: unionType([numberType(), stringType()]),
42077
42066
  chain: Chain$outboundSchema,
42078
- sender: stringType(),
42079
- additionalProperties: recordType(anyType())
42067
+ sender: stringType()
42080
42068
  }).transform((v2) => {
42081
- return {
42082
- ...v2.additionalProperties,
42083
- ...remap(v2, {
42084
- additionalProperties: null
42085
- })
42086
- };
42069
+ return remap(v2, {
42070
+ actionType: "action_type"
42071
+ });
42087
42072
  });
42088
42073
  ((UnwrapWethRequest$) => {
42089
42074
  UnwrapWethRequest$.inboundSchema = UnwrapWethRequest$inboundSchema;
@@ -42122,7 +42107,6 @@ var WrapEthRequestAmount$inboundSchema, WrapEthRequestAmount$outboundSchema, Wra
42122
42107
  var init_wrapethrequest = __esm(() => {
42123
42108
  init_esm();
42124
42109
  init_primitives();
42125
- init_schemas();
42126
42110
  init_chain();
42127
42111
  WrapEthRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
42128
42112
  WrapEthRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
@@ -42130,23 +42114,25 @@ var init_wrapethrequest = __esm(() => {
42130
42114
  WrapEthRequestAmount$.inboundSchema = WrapEthRequestAmount$inboundSchema;
42131
42115
  WrapEthRequestAmount$.outboundSchema = WrapEthRequestAmount$outboundSchema;
42132
42116
  })(WrapEthRequestAmount$ ||= {});
42133
- WrapEthRequest$inboundSchema = collectExtraKeys(objectType({
42117
+ WrapEthRequest$inboundSchema = objectType({
42118
+ action_type: literalType("WRAP_ETH").default("WRAP_ETH"),
42134
42119
  amount: unionType([numberType(), stringType()]),
42135
42120
  chain: Chain$inboundSchema,
42136
42121
  sender: stringType()
42137
- }).catchall(anyType()), "additionalProperties", true);
42122
+ }).transform((v2) => {
42123
+ return remap(v2, {
42124
+ action_type: "actionType"
42125
+ });
42126
+ });
42138
42127
  WrapEthRequest$outboundSchema = objectType({
42128
+ actionType: literalType("WRAP_ETH").default("WRAP_ETH"),
42139
42129
  amount: unionType([numberType(), stringType()]),
42140
42130
  chain: Chain$outboundSchema,
42141
- sender: stringType(),
42142
- additionalProperties: recordType(anyType())
42131
+ sender: stringType()
42143
42132
  }).transform((v2) => {
42144
- return {
42145
- ...v2.additionalProperties,
42146
- ...remap(v2, {
42147
- additionalProperties: null
42148
- })
42149
- };
42133
+ return remap(v2, {
42134
+ actionType: "action_type"
42135
+ });
42150
42136
  });
42151
42137
  ((WrapEthRequest$) => {
42152
42138
  WrapEthRequest$.inboundSchema = WrapEthRequest$inboundSchema;
@@ -42247,7 +42233,6 @@ var init_components = __esm(() => {
42247
42233
  init_morphowithdrawparams();
42248
42234
  init_morphowithdrawrequest();
42249
42235
  init_movement10percent();
42250
- init_multicallactiontype();
42251
42236
  init_multicallauthorizationrequest();
42252
42237
  init_multicallauthorizationresponse();
42253
42238
  init_multicallexecuterequest();
@@ -52881,7 +52866,7 @@ it to be traded on DeFi protocols.`,
52881
52866
  function createMCPServer(deps) {
52882
52867
  const server = new McpServer({
52883
52868
  name: "CompassApiSDK",
52884
- version: "0.4.3"
52869
+ version: "0.5.1"
52885
52870
  });
52886
52871
  const client = new CompassApiSDKCore({
52887
52872
  apiKeyAuth: deps.apiKeyAuth,
@@ -54238,7 +54223,7 @@ var routes = an({
54238
54223
  var app = He(routes, {
54239
54224
  name: "mcp",
54240
54225
  versionInfo: {
54241
- currentVersion: "0.4.3"
54226
+ currentVersion: "0.5.1"
54242
54227
  }
54243
54228
  });
54244
54229
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -54246,5 +54231,5 @@ export {
54246
54231
  app
54247
54232
  };
54248
54233
 
54249
- //# debugId=C528D49354379C9064756E2164756E21
54234
+ //# debugId=EAC4ABEE7204646C64756E2164756E21
54250
54235
  //# sourceMappingURL=mcp-server.js.map