@paraswap/dex-lib 4.0.0 → 4.0.1-cables.0

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 (982) hide show
  1. package/.idea/aws.xml +17 -0
  2. package/.idea/codeStyles/Project.xml +19 -0
  3. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  4. package/.idea/misc.xml +6 -0
  5. package/.idea/modules.xml +8 -0
  6. package/.idea/paraswap-dex-lib.iml +9 -0
  7. package/.idea/prettier.xml +7 -0
  8. package/.idea/vcs.xml +6 -0
  9. package/build/abi/balancer-v3/batch-router.json +989 -0
  10. package/build/abi/balancer-v3/router.json +1792 -0
  11. package/build/abi/balancer-v3/vault-extension.json +2834 -0
  12. package/build/abi/integral/factory.json +333 -0
  13. package/build/abi/{angle-transmuter/ChainlinkEACAggregatorProxy.json → integral/oracle.json} +239 -247
  14. package/build/abi/{curve-v1/StableSwapUSDN.json → integral/pool.json} +487 -450
  15. package/build/abi/{RamsesV2Pool.abi.json → integral/relayer.json} +833 -851
  16. package/build/abi/permit2.json +581 -0
  17. package/build/bignumber-constants.js +2 -2
  18. package/build/bignumber-constants.js.map +1 -1
  19. package/build/calldata-gas-cost.js +2 -2
  20. package/build/calldata-gas-cost.js.map +1 -1
  21. package/build/composed-event-subscriber.js.map +1 -1
  22. package/build/config.js +5 -5
  23. package/build/config.js.map +1 -1
  24. package/build/constants.js +2 -2
  25. package/build/constants.js.map +1 -1
  26. package/build/dex/aave-gsm/aave-gsm-pool.js.map +1 -1
  27. package/build/dex/aave-gsm/aave-gsm.js +7 -17
  28. package/build/dex/aave-gsm/aave-gsm.js.map +1 -1
  29. package/build/dex/aave-gsm/types.d.ts +3 -3
  30. package/build/dex/aave-v1/aave-v1.d.ts +1 -2
  31. package/build/dex/aave-v1/aave-v1.js +0 -22
  32. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  33. package/build/dex/aave-v2/aave-v2.js +7 -17
  34. package/build/dex/aave-v2/aave-v2.js.map +1 -1
  35. package/build/dex/aave-v2/tokens.js +3 -3
  36. package/build/dex/aave-v2/tokens.js.map +1 -1
  37. package/build/dex/aave-v2/types.d.ts +8 -8
  38. package/build/dex/aave-v2/types.js +1 -1
  39. package/build/dex/aave-v2/types.js.map +1 -1
  40. package/build/dex/aave-v3/aave-v3.js +7 -17
  41. package/build/dex/aave-v3/aave-v3.js.map +1 -1
  42. package/build/dex/aave-v3/tokens.js +4 -4
  43. package/build/dex/aave-v3/tokens.js.map +1 -1
  44. package/build/dex/aave-v3/types.d.ts +8 -8
  45. package/build/dex/aave-v3/types.js +1 -1
  46. package/build/dex/aave-v3/types.js.map +1 -1
  47. package/build/dex/aave-v3/utils.js.map +1 -1
  48. package/build/dex/aave-v3-stata/aave-v3-stata.js +13 -23
  49. package/build/dex/aave-v3-stata/aave-v3-stata.js.map +1 -1
  50. package/build/dex/aave-v3-stata/tokens.js +4 -4
  51. package/build/dex/aave-v3-stata/tokens.js.map +1 -1
  52. package/build/dex/aave-v3-stata/types.d.ts +7 -7
  53. package/build/dex/aave-v3-stata/types.js +3 -3
  54. package/build/dex/aave-v3-stata/types.js.map +1 -1
  55. package/build/dex/aave-v3-stata/utils.d.ts +1 -1
  56. package/build/dex/aave-v3-stata/utils.js.map +1 -1
  57. package/build/dex/algebra/algebra-factory.d.ts +1 -1
  58. package/build/dex/algebra/algebra-factory.js.map +1 -1
  59. package/build/dex/algebra/algebra-pool-v1_1.js.map +1 -1
  60. package/build/dex/algebra/algebra-pool-v1_9.js.map +1 -1
  61. package/build/dex/algebra/algebra.d.ts +2 -1
  62. package/build/dex/algebra/algebra.js +8 -18
  63. package/build/dex/algebra/algebra.js.map +1 -1
  64. package/build/dex/algebra/lib/AlgebraMath.js +2 -2
  65. package/build/dex/algebra/lib/AlgebraMath.js.map +1 -1
  66. package/build/dex/algebra/lib/TickManager.js.map +1 -1
  67. package/build/dex/algebra/lib/TickTable.js.map +1 -1
  68. package/build/dex/algebra/scripts/validate-state.js.map +1 -1
  69. package/build/dex/algebra/types.d.ts +17 -17
  70. package/build/dex/algebra/types.js +1 -1
  71. package/build/dex/algebra/types.js.map +1 -1
  72. package/build/dex/algebra/utils.js +5 -4
  73. package/build/dex/algebra/utils.js.map +1 -1
  74. package/build/dex/angle-staked-stable/angle-staked-stable-pool.js.map +1 -1
  75. package/build/dex/angle-staked-stable/angle-staked-stable.js +7 -17
  76. package/build/dex/angle-staked-stable/angle-staked-stable.js.map +1 -1
  77. package/build/dex/angle-staked-stable/types.d.ts +3 -3
  78. package/build/dex/angle-transmuter/angle-transmuter-pool.d.ts +1 -0
  79. package/build/dex/angle-transmuter/angle-transmuter-pool.js.map +1 -1
  80. package/build/dex/angle-transmuter/angle-transmuter.js +7 -17
  81. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -1
  82. package/build/dex/angle-transmuter/morphoOracle.js.map +1 -1
  83. package/build/dex/angle-transmuter/morphoVault.js.map +1 -1
  84. package/build/dex/angle-transmuter/transmuter.js.map +1 -1
  85. package/build/dex/angle-transmuter/types.d.ts +24 -24
  86. package/build/dex/angle-transmuter/types.js +3 -3
  87. package/build/dex/angle-transmuter/types.js.map +1 -1
  88. package/build/dex/angle-transmuter/utils.js +7 -6
  89. package/build/dex/angle-transmuter/utils.js.map +1 -1
  90. package/build/dex/augustus-approvals.js.map +1 -1
  91. package/build/dex/augustus-rfq.d.ts +6 -6
  92. package/build/dex/augustus-rfq.js.map +1 -1
  93. package/build/dex/bProtocol.d.ts +18 -0
  94. package/build/dex/bProtocol.js +39 -0
  95. package/build/dex/bProtocol.js.map +1 -0
  96. package/build/dex/balancer-v1/balancer-v1-math.js +3 -2
  97. package/build/dex/balancer-v1/balancer-v1-math.js.map +1 -1
  98. package/build/dex/balancer-v1/balancer-v1-pool.js.map +1 -1
  99. package/build/dex/balancer-v1/balancer-v1.js +7 -17
  100. package/build/dex/balancer-v1/balancer-v1.js.map +1 -1
  101. package/build/dex/balancer-v1/optimizer.js +2 -1
  102. package/build/dex/balancer-v1/optimizer.js.map +1 -1
  103. package/build/dex/balancer-v1/types.d.ts +16 -16
  104. package/build/dex/balancer-v1/types.js +1 -1
  105. package/build/dex/balancer-v1/types.js.map +1 -1
  106. package/build/dex/balancer-v1/utils.js +2 -1
  107. package/build/dex/balancer-v1/utils.js.map +1 -1
  108. package/build/dex/balancer-v2/balancer-v2-math.js.map +1 -1
  109. package/build/dex/balancer-v2/balancer-v2.d.ts +1 -0
  110. package/build/dex/balancer-v2/balancer-v2.js +7 -17
  111. package/build/dex/balancer-v2/balancer-v2.js.map +1 -1
  112. package/build/dex/balancer-v2/constants.js +2 -2
  113. package/build/dex/balancer-v2/constants.js.map +1 -1
  114. package/build/dex/balancer-v2/optimizer.js +2 -1
  115. package/build/dex/balancer-v2/optimizer.js.map +1 -1
  116. package/build/dex/balancer-v2/pools/balancer-v2-pool.js.map +1 -1
  117. package/build/dex/balancer-v2/pools/gyro/Gyro3Pool.d.ts +1 -1
  118. package/build/dex/balancer-v2/pools/gyro/Gyro3Pool.js.map +1 -1
  119. package/build/dex/balancer-v2/pools/gyro/GyroEPool.d.ts +1 -1
  120. package/build/dex/balancer-v2/pools/gyro/GyroEPool.js.map +1 -1
  121. package/build/dex/balancer-v2/pools/gyro/gyro-helpers.js +3 -2
  122. package/build/dex/balancer-v2/pools/gyro/gyro-helpers.js.map +1 -1
  123. package/build/dex/balancer-v2/pools/linear/LinearMath.d.ts +1 -1
  124. package/build/dex/balancer-v2/pools/linear/LinearMath.js +14 -13
  125. package/build/dex/balancer-v2/pools/linear/LinearMath.js.map +1 -1
  126. package/build/dex/balancer-v2/pools/linear/LinearPool.d.ts +1 -1
  127. package/build/dex/balancer-v2/pools/linear/LinearPool.js +8 -18
  128. package/build/dex/balancer-v2/pools/linear/LinearPool.js.map +1 -1
  129. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStableMath.js +11 -10
  130. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStableMath.js.map +1 -1
  131. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStablePool.d.ts +1 -1
  132. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStablePool.js +7 -17
  133. package/build/dex/balancer-v2/pools/phantom-stable/PhantomStablePool.js.map +1 -1
  134. package/build/dex/balancer-v2/pools/stable/StableMath.js.map +1 -1
  135. package/build/dex/balancer-v2/pools/stable/StablePool.d.ts +1 -1
  136. package/build/dex/balancer-v2/pools/stable/StablePool.js.map +1 -1
  137. package/build/dex/balancer-v2/pools/weighted/WeightedPool.d.ts +1 -1
  138. package/build/dex/balancer-v2/queryOnChain.js +2 -1
  139. package/build/dex/balancer-v2/queryOnChain.js.map +1 -1
  140. package/build/dex/balancer-v2/types.d.ts +17 -17
  141. package/build/dex/balancer-v2/types.js +2 -2
  142. package/build/dex/balancer-v2/types.js.map +1 -1
  143. package/build/dex/balancer-v2/utils.js +7 -7
  144. package/build/dex/balancer-v2/utils.js.map +1 -1
  145. package/build/dex/balancer-v3/balancer-v3-pool.d.ts +80 -0
  146. package/build/dex/balancer-v3/balancer-v3-pool.js +461 -0
  147. package/build/dex/balancer-v3/balancer-v3-pool.js.map +1 -0
  148. package/build/dex/balancer-v3/balancer-v3.d.ts +57 -0
  149. package/build/dex/balancer-v3/balancer-v3.js +394 -0
  150. package/build/dex/balancer-v3/balancer-v3.js.map +1 -0
  151. package/build/dex/balancer-v3/config.d.ts +9 -0
  152. package/build/dex/balancer-v3/config.js +41 -0
  153. package/build/dex/balancer-v3/config.js.map +1 -0
  154. package/build/dex/balancer-v3/getGasCost.d.ts +2 -0
  155. package/build/dex/balancer-v3/getGasCost.js +41 -0
  156. package/build/dex/balancer-v3/getGasCost.js.map +1 -0
  157. package/build/dex/balancer-v3/getOnChainState.d.ts +10 -0
  158. package/build/dex/balancer-v3/getOnChainState.js +164 -0
  159. package/build/dex/balancer-v3/getOnChainState.js.map +1 -0
  160. package/build/dex/balancer-v3/getPoolsApi.d.ts +2 -0
  161. package/build/dex/balancer-v3/getPoolsApi.js +85 -0
  162. package/build/dex/balancer-v3/getPoolsApi.js.map +1 -0
  163. package/build/dex/balancer-v3/getTopPoolsApi.d.ts +17 -0
  164. package/build/dex/balancer-v3/getTopPoolsApi.js +66 -0
  165. package/build/dex/balancer-v3/getTopPoolsApi.js.map +1 -0
  166. package/build/dex/balancer-v3/optimizer.d.ts +2 -0
  167. package/build/dex/balancer-v3/optimizer.js +48 -0
  168. package/build/dex/balancer-v3/optimizer.js.map +1 -0
  169. package/build/dex/balancer-v3/stablePool.d.ts +7 -0
  170. package/build/dex/balancer-v3/stablePool.js +73 -0
  171. package/build/dex/balancer-v3/stablePool.js.map +1 -0
  172. package/build/dex/balancer-v3/types.d.ts +62 -0
  173. package/build/dex/{inception → balancer-v3}/types.js.map +1 -1
  174. package/build/dex/balancer-v3/weightedPool.d.ts +1 -0
  175. package/build/dex/balancer-v3/weightedPool.js +6 -0
  176. package/build/dex/balancer-v3/weightedPool.js.map +1 -0
  177. package/build/dex/bancor/types.d.ts +2 -2
  178. package/build/dex/bancor/types.js +1 -1
  179. package/build/dex/bancor/types.js.map +1 -1
  180. package/build/dex/bancor.d.ts +26 -0
  181. package/build/dex/bancor.js +58 -0
  182. package/build/dex/bancor.js.map +1 -0
  183. package/build/dex/bebop/bebop.js +8 -18
  184. package/build/dex/bebop/bebop.js.map +1 -1
  185. package/build/dex/bebop/config.js +5 -5
  186. package/build/dex/bebop/config.js.map +1 -1
  187. package/build/dex/bebop/rate-fetcher.js +2 -2
  188. package/build/dex/bebop/rate-fetcher.js.map +1 -1
  189. package/build/dex/bebop/types.d.ts +13 -13
  190. package/build/dex/cables/cables.d.ts +8 -5
  191. package/build/dex/cables/cables.js +220 -109
  192. package/build/dex/cables/cables.js.map +1 -1
  193. package/build/dex/cables/constants.d.ts +13 -12
  194. package/build/dex/cables/constants.js +15 -17
  195. package/build/dex/cables/constants.js.map +1 -1
  196. package/build/dex/cables/rate-fetcher.d.ts +1 -0
  197. package/build/dex/cables/rate-fetcher.js +30 -10
  198. package/build/dex/cables/rate-fetcher.js.map +1 -1
  199. package/build/dex/cables/types.d.ts +8 -0
  200. package/build/dex/cables/types.js +5 -1
  201. package/build/dex/cables/types.js.map +1 -1
  202. package/build/dex/camelot/camelot.d.ts +1 -1
  203. package/build/dex/camelot/camelot.js +9 -19
  204. package/build/dex/camelot/camelot.js.map +1 -1
  205. package/build/dex/camelot/config.js +1 -1
  206. package/build/dex/camelot/config.js.map +1 -1
  207. package/build/dex/camelot/types.d.ts +3 -3
  208. package/build/dex/compound/types.d.ts +2 -2
  209. package/build/dex/compound/types.js +1 -1
  210. package/build/dex/compound/types.js.map +1 -1
  211. package/build/dex/compound.d.ts +18 -0
  212. package/build/dex/compound.js +46 -0
  213. package/build/dex/compound.js.map +1 -0
  214. package/build/dex/concentrator-arusd/concentrator-arusd-event.js.map +1 -1
  215. package/build/dex/concentrator-arusd/concentrator-arusd.js +7 -17
  216. package/build/dex/concentrator-arusd/concentrator-arusd.js.map +1 -1
  217. package/build/dex/concentrator-arusd/types.d.ts +4 -4
  218. package/build/dex/concentrator-arusd/utils.js +2 -1
  219. package/build/dex/concentrator-arusd/utils.js.map +1 -1
  220. package/build/dex/curve-v1/config.js +5 -5
  221. package/build/dex/curve-v1/config.js.map +1 -1
  222. package/build/dex/curve-v1/curve-v1.js +7 -17
  223. package/build/dex/curve-v1/curve-v1.js.map +1 -1
  224. package/build/dex/curve-v1/forks/curve-forks/curve-forks.js.map +1 -1
  225. package/build/dex/curve-v1/forks/swerve/swerve.js.map +1 -1
  226. package/build/dex/curve-v1/packer.js.map +1 -1
  227. package/build/dex/curve-v1/pools/3pool.js.map +1 -1
  228. package/build/dex/curve-v1/pools/curve-metapool.js.map +1 -1
  229. package/build/dex/curve-v1/pools/curve-pool.js.map +1 -1
  230. package/build/dex/curve-v1/pools/getstate-multicall.js +2 -1
  231. package/build/dex/curve-v1/pools/getstate-multicall.js.map +1 -1
  232. package/build/dex/curve-v1/pools/sETHpool.js.map +1 -1
  233. package/build/dex/curve-v1/types.d.ts +7 -7
  234. package/build/dex/curve-v1/types.js +2 -2
  235. package/build/dex/curve-v1/types.js.map +1 -1
  236. package/build/dex/curve-v1-factory/config.js +7 -7
  237. package/build/dex/curve-v1-factory/config.js.map +1 -1
  238. package/build/dex/curve-v1-factory/curve-v1-factory.js +7 -17
  239. package/build/dex/curve-v1-factory/curve-v1-factory.js.map +1 -1
  240. package/build/dex/curve-v1-factory/curve-v1-pool-manager.js.map +1 -1
  241. package/build/dex/curve-v1-factory/optimizer.js +2 -1
  242. package/build/dex/curve-v1-factory/optimizer.js.map +1 -1
  243. package/build/dex/curve-v1-factory/price-handlers/functions/_calc_withdraw_one_coin.js.map +1 -1
  244. package/build/dex/curve-v1-factory/price-handlers/functions/_dynamic_fee.js.map +1 -1
  245. package/build/dex/curve-v1-factory/price-handlers/functions/_rates.js.map +1 -1
  246. package/build/dex/curve-v1-factory/price-handlers/functions/_xp.js.map +1 -1
  247. package/build/dex/curve-v1-factory/price-handlers/functions/_xp_mem.js.map +1 -1
  248. package/build/dex/curve-v1-factory/price-handlers/functions/calc_token_amount.js.map +1 -1
  249. package/build/dex/curve-v1-factory/price-handlers/functions/get_D.js.map +1 -1
  250. package/build/dex/curve-v1-factory/price-handlers/functions/get_D_mem.js.map +1 -1
  251. package/build/dex/curve-v1-factory/price-handlers/functions/get_D_precisions.js.map +1 -1
  252. package/build/dex/curve-v1-factory/price-handlers/functions/get_dx.js.map +1 -1
  253. package/build/dex/curve-v1-factory/price-handlers/functions/get_dy.js.map +1 -1
  254. package/build/dex/curve-v1-factory/price-handlers/functions/get_dy_underlying.js.map +1 -1
  255. package/build/dex/curve-v1-factory/price-handlers/functions/get_y.js.map +1 -1
  256. package/build/dex/curve-v1-factory/price-handlers/functions/get_y_D.js.map +1 -1
  257. package/build/dex/curve-v1-factory/price-handlers/functions/utils.js +2 -2
  258. package/build/dex/curve-v1-factory/price-handlers/functions/utils.js.map +1 -1
  259. package/build/dex/curve-v1-factory/price-handlers/price-handler.js.map +1 -1
  260. package/build/dex/curve-v1-factory/price-handlers/types.d.ts +15 -15
  261. package/build/dex/curve-v1-factory/state-polling-pools/custom-pool-polling.d.ts +1 -1
  262. package/build/dex/curve-v1-factory/state-polling-pools/custom-pool-polling.js.map +1 -1
  263. package/build/dex/curve-v1-factory/state-polling-pools/factory-pool-polling.js +1 -1
  264. package/build/dex/curve-v1-factory/state-polling-pools/factory-pool-polling.js.map +1 -1
  265. package/build/dex/curve-v1-factory/state-polling-pools/polling-manager.js.map +1 -1
  266. package/build/dex/curve-v1-factory/state-polling-pools/pool-polling-base.d.ts +3 -3
  267. package/build/dex/curve-v1-factory/state-polling-pools/pool-polling-base.js.map +1 -1
  268. package/build/dex/curve-v1-factory/types.d.ts +17 -17
  269. package/build/dex/curve-v1-factory/types.js +6 -6
  270. package/build/dex/curve-v1-factory/types.js.map +1 -1
  271. package/build/dex/curve-v1-stable-ng/config.js +7 -7
  272. package/build/dex/curve-v1-stable-ng/config.js.map +1 -1
  273. package/build/dex/curve-v2/curve-v2.d.ts +2 -2
  274. package/build/dex/curve-v2/curve-v2.js.map +1 -1
  275. package/build/dex/curve-v2/types.d.ts +2 -2
  276. package/build/dex/curve-v2/types.js +1 -1
  277. package/build/dex/curve-v2/types.js.map +1 -1
  278. package/build/dex/curve-v2.d.ts +58 -0
  279. package/build/dex/curve-v2.js +180 -0
  280. package/build/dex/curve-v2.js.map +1 -0
  281. package/build/dex/dexalot/dexalot.js +8 -57
  282. package/build/dex/dexalot/dexalot.js.map +1 -1
  283. package/build/dex/dexalot/types.d.ts +17 -17
  284. package/build/dex/dexalot/types.js +1 -1
  285. package/build/dex/dexalot/types.js.map +1 -1
  286. package/build/dex/dodo-v1/types.d.ts +2 -2
  287. package/build/dex/dodo-v1/types.js +1 -1
  288. package/build/dex/dodo-v1/types.js.map +1 -1
  289. package/build/dex/dodo-v1.d.ts +33 -0
  290. package/build/dex/dodo-v1.js +63 -0
  291. package/build/dex/dodo-v1.js.map +1 -0
  292. package/build/dex/dodo-v2.d.ts +5 -5
  293. package/build/dex/dodo-v2.js +1 -1
  294. package/build/dex/dodo-v2.js.map +1 -1
  295. package/build/dex/etherfi.d.ts +5 -5
  296. package/build/dex/etherfi.js.map +1 -1
  297. package/build/dex/fluid-dex/fluid-dex-factory.d.ts +1 -1
  298. package/build/dex/fluid-dex/fluid-dex-factory.js.map +1 -1
  299. package/build/dex/fluid-dex/fluid-dex-generate-pool.d.ts +49 -0
  300. package/build/dex/fluid-dex/fluid-dex-generate-pool.js +104 -0
  301. package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +1 -0
  302. package/build/dex/fluid-dex/fluid-dex-liquidity-proxy.js.map +1 -1
  303. package/build/dex/fluid-dex/fluid-dex-pool.d.ts +47 -0
  304. package/build/dex/fluid-dex/fluid-dex-pool.js +119 -0
  305. package/build/dex/fluid-dex/fluid-dex-pool.js.map +1 -0
  306. package/build/dex/fluid-dex/fluid-dex.js +7 -17
  307. package/build/dex/fluid-dex/fluid-dex.js.map +1 -1
  308. package/build/dex/fluid-dex/types.d.ts +14 -14
  309. package/build/dex/fluid-dex/utils.js +2 -1
  310. package/build/dex/fluid-dex/utils.js.map +1 -1
  311. package/build/dex/fx-protocol-rusd/fx-protocol-rusd-event.js.map +1 -1
  312. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js +7 -17
  313. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js.map +1 -1
  314. package/build/dex/fx-protocol-rusd/types.d.ts +3 -3
  315. package/build/dex/fx-protocol-rusd/utils.js +2 -1
  316. package/build/dex/fx-protocol-rusd/utils.js.map +1 -1
  317. package/build/dex/generic-rfq/fetch-mm-api.js +1 -1
  318. package/build/dex/generic-rfq/fetch-mm-api.js.map +1 -1
  319. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  320. package/build/dex/generic-rfq/rate-fetcher.js.map +1 -1
  321. package/build/dex/generic-rfq/security.d.ts +1 -1
  322. package/build/dex/generic-rfq/security.js.map +1 -1
  323. package/build/dex/generic-rfq/types.d.ts +23 -23
  324. package/build/dex/generic-rfq/utils.d.ts +1 -1
  325. package/build/dex/generic-rfq/utils.js.map +1 -1
  326. package/build/dex/generic-rfq/validators.js +7 -17
  327. package/build/dex/generic-rfq/validators.js.map +1 -1
  328. package/build/dex/gmx/fast-price-feed.js.map +1 -1
  329. package/build/dex/gmx/gmx.js +7 -17
  330. package/build/dex/gmx/gmx.js.map +1 -1
  331. package/build/dex/gmx/pool.js.map +1 -1
  332. package/build/dex/gmx/types.d.ts +10 -10
  333. package/build/dex/gmx/usdg.js.map +1 -1
  334. package/build/dex/gmx/vault-price-feed.js.map +1 -1
  335. package/build/dex/gmx/vault-utils.js.map +1 -1
  336. package/build/dex/gmx/vault.js.map +1 -1
  337. package/build/dex/hashflow/constants.js +10 -10
  338. package/build/dex/hashflow/constants.js.map +1 -1
  339. package/build/dex/hashflow/hashflow.js +7 -17
  340. package/build/dex/hashflow/hashflow.js.map +1 -1
  341. package/build/dex/hashflow/rate-fetcher.js.map +1 -1
  342. package/build/dex/hashflow/types.d.ts +8 -8
  343. package/build/dex/hashflow/types.js +1 -1
  344. package/build/dex/hashflow/types.js.map +1 -1
  345. package/build/dex/idex.d.ts +3 -3
  346. package/build/dex/idle-dao/idle-dao.js +7 -17
  347. package/build/dex/idle-dao/idle-dao.js.map +1 -1
  348. package/build/dex/idle-dao/tokens.js +5 -5
  349. package/build/dex/idle-dao/tokens.js.map +1 -1
  350. package/build/dex/idle-dao/types.d.ts +7 -7
  351. package/build/dex/idle-dao/types.js +1 -1
  352. package/build/dex/idle-dao/types.js.map +1 -1
  353. package/build/dex/idle-dao/utils.d.ts +1 -1
  354. package/build/dex/idle-dao/utils.js.map +1 -1
  355. package/build/dex/index.d.ts +2 -2
  356. package/build/dex/index.js +2 -0
  357. package/build/dex/index.js.map +1 -1
  358. package/build/dex/infusion/infusion-stable-pool.js.map +1 -1
  359. package/build/dex/infusion/infusion.js +1 -1
  360. package/build/dex/infusion/infusion.js.map +1 -1
  361. package/build/dex/infusion/types.d.ts +6 -6
  362. package/build/dex/infusion/utils/isStablePair.js +4 -4
  363. package/build/dex/infusion/utils/isStablePair.js.map +1 -1
  364. package/build/dex/integral/config.d.ts +4 -0
  365. package/build/dex/integral/config.js +20 -0
  366. package/build/dex/integral/config.js.map +1 -0
  367. package/build/dex/integral/context.d.ts +40 -0
  368. package/build/dex/integral/context.js +158 -0
  369. package/build/dex/integral/context.js.map +1 -0
  370. package/build/dex/integral/integral-factory.d.ts +24 -0
  371. package/build/dex/integral/integral-factory.js +95 -0
  372. package/build/dex/integral/integral-factory.js.map +1 -0
  373. package/build/dex/integral/integral-pool.d.ts +50 -0
  374. package/build/dex/integral/integral-pool.js +149 -0
  375. package/build/dex/integral/integral-pool.js.map +1 -0
  376. package/build/dex/integral/integral-pricing.d.ts +18 -0
  377. package/build/dex/integral/integral-pricing.js +114 -0
  378. package/build/dex/integral/integral-pricing.js.map +1 -0
  379. package/build/dex/integral/integral-relayer.d.ts +42 -0
  380. package/build/dex/integral/integral-relayer.js +192 -0
  381. package/build/dex/integral/integral-relayer.js.map +1 -0
  382. package/build/dex/integral/integral-token.d.ts +27 -0
  383. package/build/dex/integral/integral-token.js +59 -0
  384. package/build/dex/integral/integral-token.js.map +1 -0
  385. package/build/dex/{inception/inception-native.d.ts → integral/integral.d.ts} +19 -21
  386. package/build/dex/integral/integral.js +376 -0
  387. package/build/dex/integral/integral.js.map +1 -0
  388. package/build/dex/integral/types.d.ts +85 -0
  389. package/build/dex/integral/types.js +9 -0
  390. package/build/dex/integral/types.js.map +1 -0
  391. package/build/dex/integral/utils-e2e.d.ts +9 -0
  392. package/build/dex/integral/utils-e2e.js +131 -0
  393. package/build/dex/integral/utils-e2e.js.map +1 -0
  394. package/build/dex/integral/utils.d.ts +17 -0
  395. package/build/dex/integral/utils.js +94 -0
  396. package/build/dex/integral/utils.js.map +1 -0
  397. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.js.map +1 -1
  398. package/build/dex/jarvis-v6/jarvis-v6.js +8 -18
  399. package/build/dex/jarvis-v6/jarvis-v6.js.map +1 -1
  400. package/build/dex/jarvis-v6/syntheteumPool-event.js.map +1 -1
  401. package/build/dex/jarvis-v6/types.d.ts +10 -10
  402. package/build/dex/jarvis-v6/types.js +1 -1
  403. package/build/dex/jarvis-v6/types.js.map +1 -1
  404. package/build/dex/jarvis-v6/utils.js +5 -5
  405. package/build/dex/jarvis-v6/utils.js.map +1 -1
  406. package/build/dex/jarvis.d.ts +1 -2
  407. package/build/dex/jarvis.js +0 -58
  408. package/build/dex/jarvis.js.map +1 -1
  409. package/build/dex/kyberdmm/fee-formula.d.ts +1 -1
  410. package/build/dex/kyberdmm/fee-formula.js.map +1 -1
  411. package/build/dex/kyberdmm/kyberdmm.js +7 -17
  412. package/build/dex/kyberdmm/kyberdmm.js.map +1 -1
  413. package/build/dex/kyberdmm/math-ext.js.map +1 -1
  414. package/build/dex/kyberdmm/pool.d.ts +2 -2
  415. package/build/dex/kyberdmm/pool.js.map +1 -1
  416. package/build/dex/kyberdmm/types.d.ts +8 -8
  417. package/build/dex/kyberdmm/types.js +1 -1
  418. package/build/dex/kyberdmm/types.js.map +1 -1
  419. package/build/dex/lido/types.d.ts +1 -1
  420. package/build/dex/lido/types.js +1 -1
  421. package/build/dex/lido/types.js.map +1 -1
  422. package/build/dex/lido.d.ts +19 -0
  423. package/build/dex/lido.js +42 -0
  424. package/build/dex/lido.js.map +1 -0
  425. package/build/dex/limit-order-exchange.js.map +1 -1
  426. package/build/dex/lite-psm/lite-psm-event-pool.js +2 -2
  427. package/build/dex/lite-psm/lite-psm-event-pool.js.map +1 -1
  428. package/build/dex/lite-psm/lite-psm.js +8 -18
  429. package/build/dex/lite-psm/lite-psm.js.map +1 -1
  430. package/build/dex/lite-psm/types.d.ts +6 -6
  431. package/build/dex/maker-psm/maker-psm.js +7 -17
  432. package/build/dex/maker-psm/maker-psm.js.map +1 -1
  433. package/build/dex/maker-psm/types.d.ts +6 -6
  434. package/build/dex/maverick-v1/maverick-math/maverick-basic-math.js.map +1 -1
  435. package/build/dex/maverick-v1/maverick-math/maverick-bin-map.d.ts +1 -1
  436. package/build/dex/maverick-v1/maverick-math/maverick-bin-map.js.map +1 -1
  437. package/build/dex/maverick-v1/maverick-math/maverick-pool-math.d.ts +1 -1
  438. package/build/dex/maverick-v1/maverick-math/maverick-pool-math.js.map +1 -1
  439. package/build/dex/maverick-v1/maverick-v1-pool.js +7 -17
  440. package/build/dex/maverick-v1/maverick-v1-pool.js.map +1 -1
  441. package/build/dex/maverick-v1/maverick-v1.js +7 -17
  442. package/build/dex/maverick-v1/maverick-v1.js.map +1 -1
  443. package/build/dex/maverick-v1/types.d.ts +7 -7
  444. package/build/dex/maverick-v1/types.js +1 -1
  445. package/build/dex/maverick-v1/types.js.map +1 -1
  446. package/build/dex/maverick-v2/maverick-math/maverick-basic-math.js.map +1 -1
  447. package/build/dex/maverick-v2/maverick-math/maverick-bin-math.js.map +1 -1
  448. package/build/dex/maverick-v2/maverick-math/maverick-delta-math.d.ts +1 -1
  449. package/build/dex/maverick-v2/maverick-math/maverick-delta-math.js.map +1 -1
  450. package/build/dex/maverick-v2/maverick-math/maverick-math.js.map +1 -1
  451. package/build/dex/maverick-v2/maverick-math/maverick-pool-lib.js.map +1 -1
  452. package/build/dex/maverick-v2/maverick-math/maverick-pool-math.js.map +1 -1
  453. package/build/dex/maverick-v2/maverick-math/maverick-swap-math.js.map +1 -1
  454. package/build/dex/maverick-v2/maverick-math/maverick-tick-math.js.map +1 -1
  455. package/build/dex/maverick-v2/maverick-v2-pool.js.map +1 -1
  456. package/build/dex/maverick-v2/maverick-v2.js +7 -17
  457. package/build/dex/maverick-v2/maverick-v2.js.map +1 -1
  458. package/build/dex/maverick-v2/types.d.ts +14 -14
  459. package/build/dex/nerve/config.js +67 -67
  460. package/build/dex/nerve/config.js.map +1 -1
  461. package/build/dex/nerve/nerve-math.js.map +1 -1
  462. package/build/dex/nerve/nerve-pool.js.map +1 -1
  463. package/build/dex/nerve/nerve.js +7 -17
  464. package/build/dex/nerve/nerve.js.map +1 -1
  465. package/build/dex/nerve/types.d.ts +6 -6
  466. package/build/dex/nerve/types.js +1 -1
  467. package/build/dex/nerve/types.js.map +1 -1
  468. package/build/dex/nerve/utils.js +2 -2
  469. package/build/dex/nerve/utils.js.map +1 -1
  470. package/build/dex/onebit.d.ts +25 -0
  471. package/build/dex/onebit.js +42 -0
  472. package/build/dex/onebit.js.map +1 -0
  473. package/build/dex/oswap/config.js +3 -3
  474. package/build/dex/oswap/config.js.map +1 -1
  475. package/build/dex/oswap/oswap-pool.js.map +1 -1
  476. package/build/dex/oswap/oswap.js +7 -17
  477. package/build/dex/oswap/oswap.js.map +1 -1
  478. package/build/dex/oswap/types.d.ts +4 -4
  479. package/build/dex/pancakeswap-v3/contract-math/BitMath.js.map +1 -1
  480. package/build/dex/pancakeswap-v3/contract-math/LiquidityMath.js.map +1 -1
  481. package/build/dex/pancakeswap-v3/contract-math/Oracle.js.map +1 -1
  482. package/build/dex/pancakeswap-v3/contract-math/SqrtPriceMath.js.map +1 -1
  483. package/build/dex/pancakeswap-v3/contract-math/SwapMath.js.map +1 -1
  484. package/build/dex/pancakeswap-v3/contract-math/Tick.js.map +1 -1
  485. package/build/dex/pancakeswap-v3/contract-math/TickBitMap.js.map +1 -1
  486. package/build/dex/pancakeswap-v3/contract-math/pancakeswap-v3-math.d.ts +1 -1
  487. package/build/dex/pancakeswap-v3/contract-math/pancakeswap-v3-math.js.map +1 -1
  488. package/build/dex/pancakeswap-v3/contract-math/utils.js +4 -3
  489. package/build/dex/pancakeswap-v3/contract-math/utils.js.map +1 -1
  490. package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.d.ts +1 -1
  491. package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.js.map +1 -1
  492. package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.js.map +1 -1
  493. package/build/dex/pancakeswap-v3/pancakeswap-v3.d.ts +1 -0
  494. package/build/dex/pancakeswap-v3/pancakeswap-v3.js +7 -17
  495. package/build/dex/pancakeswap-v3/pancakeswap-v3.js.map +1 -1
  496. package/build/dex/pancakeswap-v3/utils.js +2 -1
  497. package/build/dex/pancakeswap-v3/utils.js.map +1 -1
  498. package/build/dex/paraswap-limit-orders/paraswap-limit-orders.js +7 -17
  499. package/build/dex/paraswap-limit-orders/paraswap-limit-orders.js.map +1 -1
  500. package/build/dex/paraswap-limit-orders/types.d.ts +11 -11
  501. package/build/dex/paraswap-limit-orders/utils.js +3 -2
  502. package/build/dex/paraswap-limit-orders/utils.js.map +1 -1
  503. package/build/dex/platypus/platypus.d.ts +1 -2
  504. package/build/dex/platypus/platypus.js +0 -31
  505. package/build/dex/platypus/platypus.js.map +1 -1
  506. package/build/dex/polygon-migrator/polygon-migrator.js +7 -17
  507. package/build/dex/polygon-migrator/polygon-migrator.js.map +1 -1
  508. package/build/dex/polygon-migrator/types.d.ts +2 -2
  509. package/build/dex/polygon-migrator/types.js +1 -1
  510. package/build/dex/polygon-migrator/types.js.map +1 -1
  511. package/build/dex/quick-perps/fast-price-feed.js.map +1 -1
  512. package/build/dex/quick-perps/pool.js.map +1 -1
  513. package/build/dex/quick-perps/quick-perps.js +7 -17
  514. package/build/dex/quick-perps/quick-perps.js.map +1 -1
  515. package/build/dex/quick-perps/types.d.ts +10 -10
  516. package/build/dex/quick-perps/usdq.js.map +1 -1
  517. package/build/dex/quick-perps/vault-price-feed.js.map +1 -1
  518. package/build/dex/quick-perps/vault-utils.js.map +1 -1
  519. package/build/dex/quick-perps/vault.js.map +1 -1
  520. package/build/dex/quickswap/quickswap-v3.d.ts +1 -1
  521. package/build/dex/quickswap/quickswap-v3.js.map +1 -1
  522. package/build/dex/simple-exchange.js.map +1 -1
  523. package/build/dex/sky-converter/config.js +2 -2
  524. package/build/dex/sky-converter/config.js.map +1 -1
  525. package/build/dex/sky-converter/sky-converter.js +7 -17
  526. package/build/dex/sky-converter/sky-converter.js.map +1 -1
  527. package/build/dex/sky-converter/types.d.ts +2 -2
  528. package/build/dex/smoothy/types.d.ts +2 -2
  529. package/build/dex/smoothy/types.js +1 -1
  530. package/build/dex/smoothy/types.js.map +1 -1
  531. package/build/dex/smoothy.d.ts +26 -0
  532. package/build/dex/smoothy.js +48 -0
  533. package/build/dex/smoothy.js.map +1 -0
  534. package/build/dex/solidly/config.js +10 -10
  535. package/build/dex/solidly/config.js.map +1 -1
  536. package/build/dex/solidly/forks-override/aerodrome.js.map +1 -1
  537. package/build/dex/solidly/forks-override/ramses.d.ts +2 -2
  538. package/build/dex/solidly/solidly-stable-pool.js.map +1 -1
  539. package/build/dex/solidly/solidly.js.map +1 -1
  540. package/build/dex/solidly/types.d.ts +3 -3
  541. package/build/dex/solidly-v3/constants.js +1 -1
  542. package/build/dex/solidly-v3/constants.js.map +1 -1
  543. package/build/dex/solidly-v3/contract-math/BitMath.js.map +1 -1
  544. package/build/dex/solidly-v3/contract-math/LiquidityMath.js.map +1 -1
  545. package/build/dex/solidly-v3/contract-math/SqrtPriceMath.js.map +1 -1
  546. package/build/dex/solidly-v3/contract-math/SwapMath.js.map +1 -1
  547. package/build/dex/solidly-v3/contract-math/Tick.js.map +1 -1
  548. package/build/dex/solidly-v3/contract-math/TickBitMap.js.map +1 -1
  549. package/build/dex/solidly-v3/contract-math/uniswap-v3-math.d.ts +3 -3
  550. package/build/dex/solidly-v3/contract-math/uniswap-v3-math.js +2 -2
  551. package/build/dex/solidly-v3/contract-math/uniswap-v3-math.js.map +1 -1
  552. package/build/dex/solidly-v3/contract-math/utils.js +6 -5
  553. package/build/dex/solidly-v3/contract-math/utils.js.map +1 -1
  554. package/build/dex/solidly-v3/solidly-v3-factory.d.ts +1 -1
  555. package/build/dex/solidly-v3/solidly-v3-factory.js.map +1 -1
  556. package/build/dex/solidly-v3/solidly-v3-pool.js.map +1 -1
  557. package/build/dex/solidly-v3/solidly-v3.d.ts +5 -4
  558. package/build/dex/solidly-v3/solidly-v3.js +7 -17
  559. package/build/dex/solidly-v3/solidly-v3.js.map +1 -1
  560. package/build/dex/solidly-v3/types.d.ts +19 -19
  561. package/build/dex/solidly-v3/types.js +1 -1
  562. package/build/dex/solidly-v3/types.js.map +1 -1
  563. package/build/dex/solidly-v3/utils.js +3 -2
  564. package/build/dex/solidly-v3/utils.js.map +1 -1
  565. package/build/dex/spark/config.js +3 -3
  566. package/build/dex/spark/config.js.map +1 -1
  567. package/build/dex/spark/scripts/validate-state.js.map +1 -1
  568. package/build/dex/spark/spark-sdai-pool.d.ts +1 -1
  569. package/build/dex/spark/spark-sdai-pool.js.map +1 -1
  570. package/build/dex/spark/spark.js +7 -17
  571. package/build/dex/spark/spark.js.map +1 -1
  572. package/build/dex/spark/types.d.ts +3 -3
  573. package/build/dex/spark/types.js +2 -2
  574. package/build/dex/spark/types.js.map +1 -1
  575. package/build/dex/spark/utils.js +4 -3
  576. package/build/dex/spark/utils.js.map +1 -1
  577. package/build/dex/stable-pool/types.d.ts +2 -2
  578. package/build/dex/stable-pool/types.js +1 -1
  579. package/build/dex/stable-pool/types.js.map +1 -1
  580. package/build/dex/stable-pool.d.ts +28 -0
  581. package/build/dex/stable-pool.js +62 -0
  582. package/build/dex/stable-pool.js.map +1 -0
  583. package/build/dex/stader/stader-pool.js.map +1 -1
  584. package/build/dex/stader/stader.js +7 -17
  585. package/build/dex/stader/stader.js.map +1 -1
  586. package/build/dex/stader/types.d.ts +3 -3
  587. package/build/dex/stader/types.js +1 -1
  588. package/build/dex/stader/types.js.map +1 -1
  589. package/build/dex/stader/utils.js +2 -1
  590. package/build/dex/stader/utils.js.map +1 -1
  591. package/build/dex/stkgho/stkgho-pool.js.map +1 -1
  592. package/build/dex/stkgho/stkgho.js +7 -17
  593. package/build/dex/stkgho/stkgho.js.map +1 -1
  594. package/build/dex/stkgho/types.d.ts +3 -3
  595. package/build/dex/swaap-v1/swaap-v1.d.ts +1 -2
  596. package/build/dex/swaap-v1/swaap-v1.js +0 -10
  597. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  598. package/build/dex/swaap-v2/rate-fetcher.js.map +1 -1
  599. package/build/dex/swaap-v2/stable-coins.js +9 -9
  600. package/build/dex/swaap-v2/stable-coins.js.map +1 -1
  601. package/build/dex/swaap-v2/swaap-v2.js +7 -17
  602. package/build/dex/swaap-v2/swaap-v2.js.map +1 -1
  603. package/build/dex/swaap-v2/types.d.ts +12 -12
  604. package/build/dex/swaap-v2/utils.js.map +1 -1
  605. package/build/dex/swaap-v2/validators.js +7 -17
  606. package/build/dex/swaap-v2/validators.js.map +1 -1
  607. package/build/dex/swell/config.d.ts +1 -1
  608. package/build/dex/swell/swell.d.ts +2 -2
  609. package/build/dex/swell/swell.js +8 -18
  610. package/build/dex/swell/swell.js.map +1 -1
  611. package/build/dex/swell/type.d.ts +2 -2
  612. package/build/dex/swell/utils.js +3 -2
  613. package/build/dex/swell/utils.js.map +1 -1
  614. package/build/dex/synthetix/config.js +18 -18
  615. package/build/dex/synthetix/config.js.map +1 -1
  616. package/build/dex/synthetix/constants.js +1 -1
  617. package/build/dex/synthetix/constants.js.map +1 -1
  618. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.js.map +1 -1
  619. package/build/dex/synthetix/contract-math/ExchangeRates.js.map +1 -1
  620. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.js.map +1 -1
  621. package/build/dex/synthetix/contract-math/OracleLibrary.js.map +1 -1
  622. package/build/dex/synthetix/contract-math/SafeDecimalMath.js.map +1 -1
  623. package/build/dex/synthetix/contract-math/synthetix-math.js.map +1 -1
  624. package/build/dex/synthetix/synthetix-state.js.map +1 -1
  625. package/build/dex/synthetix/synthetix.d.ts +1 -0
  626. package/build/dex/synthetix/synthetix.js +7 -17
  627. package/build/dex/synthetix/synthetix.js.map +1 -1
  628. package/build/dex/synthetix/types.d.ts +12 -12
  629. package/build/dex/synthetix/utils.js +2 -2
  630. package/build/dex/synthetix/utils.js.map +1 -1
  631. package/build/dex/trader-joe-v2.1/optimizer.d.ts +2 -0
  632. package/build/dex/trader-joe-v2.1/optimizer.js +47 -0
  633. package/build/dex/trader-joe-v2.1/optimizer.js.map +1 -0
  634. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
  635. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
  636. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
  637. package/build/dex/trader-joe-v2.1/types.d.ts +5 -5
  638. package/build/dex/trader-joe-v2.1/types.js +1 -1
  639. package/build/dex/trader-joe-v2.1/types.js.map +1 -1
  640. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  641. package/build/dex/trader-joe-v2.1.js +79 -0
  642. package/build/dex/trader-joe-v2.1.js.map +1 -0
  643. package/build/dex/uniswap-v2/config.js +6 -6
  644. package/build/dex/uniswap-v2/config.js.map +1 -1
  645. package/build/dex/uniswap-v2/nomiswap-v2.js +2 -2
  646. package/build/dex/uniswap-v2/nomiswap-v2.js.map +1 -1
  647. package/build/dex/uniswap-v2/optimizer.js +2 -1
  648. package/build/dex/uniswap-v2/optimizer.js.map +1 -1
  649. package/build/dex/uniswap-v2/types.d.ts +15 -15
  650. package/build/dex/uniswap-v2/types.js +2 -2
  651. package/build/dex/uniswap-v2/types.js.map +1 -1
  652. package/build/dex/uniswap-v2/uniswap-v2-constant-product-pool.js.map +1 -1
  653. package/build/dex/uniswap-v2/uniswap-v2-factory.d.ts +2 -2
  654. package/build/dex/uniswap-v2/uniswap-v2-factory.js.map +1 -1
  655. package/build/dex/uniswap-v2/uniswap-v2.js +9 -19
  656. package/build/dex/uniswap-v2/uniswap-v2.js.map +1 -1
  657. package/build/dex/uniswap-v3/constants.js +2 -2
  658. package/build/dex/uniswap-v3/constants.js.map +1 -1
  659. package/build/dex/uniswap-v3/contract-math/BitMath.js.map +1 -1
  660. package/build/dex/uniswap-v3/contract-math/LiquidityMath.js.map +1 -1
  661. package/build/dex/uniswap-v3/contract-math/Oracle.js.map +1 -1
  662. package/build/dex/uniswap-v3/contract-math/SqrtPriceMath.js.map +1 -1
  663. package/build/dex/uniswap-v3/contract-math/SwapMath.js.map +1 -1
  664. package/build/dex/uniswap-v3/contract-math/Tick.js.map +1 -1
  665. package/build/dex/uniswap-v3/contract-math/TickBitMap.js.map +1 -1
  666. package/build/dex/uniswap-v3/contract-math/uniswap-v3-math.d.ts +3 -3
  667. package/build/dex/uniswap-v3/contract-math/uniswap-v3-math.js +2 -2
  668. package/build/dex/uniswap-v3/contract-math/uniswap-v3-math.js.map +1 -1
  669. package/build/dex/uniswap-v3/contract-math/utils.js +6 -5
  670. package/build/dex/uniswap-v3/contract-math/utils.js.map +1 -1
  671. package/build/dex/uniswap-v3/forks/ramses-v2/utils.js +2 -1
  672. package/build/dex/uniswap-v3/forks/ramses-v2/utils.js.map +1 -1
  673. package/build/dex/uniswap-v3/forks/velodrome-slipstream/utils.js +2 -1
  674. package/build/dex/uniswap-v3/forks/velodrome-slipstream/utils.js.map +1 -1
  675. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.js +1 -1
  676. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.js.map +1 -1
  677. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.d.ts +1 -1
  678. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js.map +1 -1
  679. package/build/dex/uniswap-v3/scripts/measure-calc-time.js +7 -17
  680. package/build/dex/uniswap-v3/scripts/measure-calc-time.js.map +1 -1
  681. package/build/dex/uniswap-v3/types.d.ts +22 -22
  682. package/build/dex/uniswap-v3/types.js +1 -1
  683. package/build/dex/uniswap-v3/types.js.map +1 -1
  684. package/build/dex/uniswap-v3/uniswap-v3-factory.d.ts +1 -1
  685. package/build/dex/uniswap-v3/uniswap-v3-factory.js.map +1 -1
  686. package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
  687. package/build/dex/uniswap-v3/uniswap-v3.d.ts +6 -5
  688. package/build/dex/uniswap-v3/uniswap-v3.js +7 -17
  689. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  690. package/build/dex/uniswap-v3/utils.js +3 -2
  691. package/build/dex/uniswap-v3/utils.js.map +1 -1
  692. package/build/dex/uniswap-v3.d.ts +4 -4
  693. package/build/dex/uniswap-v3.js.map +1 -1
  694. package/build/dex/usual-bond/types.d.ts +3 -3
  695. package/build/dex/usual-bond/usual-bond.js +7 -17
  696. package/build/dex/usual-bond/usual-bond.js.map +1 -1
  697. package/build/dex/weth/types.d.ts +4 -4
  698. package/build/dex/weth/types.js +1 -1
  699. package/build/dex/weth/types.js.map +1 -1
  700. package/build/dex/weth/weth.js +8 -18
  701. package/build/dex/weth/weth.js.map +1 -1
  702. package/build/dex/wombat/types.d.ts +7 -7
  703. package/build/dex/wombat/utils.js +7 -7
  704. package/build/dex/wombat/utils.js.map +1 -1
  705. package/build/dex/wombat/wombat-bmw.js.map +1 -1
  706. package/build/dex/wombat/wombat-pool.js.map +1 -1
  707. package/build/dex/wombat/wombat-quoter.js.map +1 -1
  708. package/build/dex/wombat/wombat.js +7 -17
  709. package/build/dex/wombat/wombat.js.map +1 -1
  710. package/build/dex/woo-fi-v2/decoders.js +4 -3
  711. package/build/dex/woo-fi-v2/decoders.js.map +1 -1
  712. package/build/dex/woo-fi-v2/types.d.ts +9 -9
  713. package/build/dex/woo-fi-v2/woo-fi-v2-math.js.map +1 -1
  714. package/build/dex/woo-fi-v2/woo-fi-v2.js +7 -17
  715. package/build/dex/woo-fi-v2/woo-fi-v2.js.map +1 -1
  716. package/build/dex/wsteth/types.d.ts +3 -3
  717. package/build/dex/wsteth/wsteth.js +7 -17
  718. package/build/dex/wsteth/wsteth.js.map +1 -1
  719. package/build/dex/wusdm/config.js +1 -1
  720. package/build/dex/wusdm/config.js.map +1 -1
  721. package/build/dex/wusdm/types.d.ts +3 -3
  722. package/build/dex/wusdm/types.js +1 -1
  723. package/build/dex/wusdm/types.js.map +1 -1
  724. package/build/dex/wusdm/wusdm-pool.js.map +1 -1
  725. package/build/dex/wusdm/wusdm.js +7 -17
  726. package/build/dex/wusdm/wusdm.js.map +1 -1
  727. package/build/dex/zerox/index.d.ts +26 -4
  728. package/build/dex/zerox/index.js +42 -50
  729. package/build/dex/zerox/index.js.map +1 -1
  730. package/build/dex/zerox/types.d.ts +0 -29
  731. package/build/dex/zerox/types.js +1 -8
  732. package/build/dex/zerox/types.js.map +1 -1
  733. package/build/dex-helper/dummy-dex-helper.js.map +1 -1
  734. package/build/dex-helper/irequest-wrapper.d.ts +2 -2
  735. package/build/executor/Executor01BytecodeBuilder.d.ts +2 -2
  736. package/build/executor/Executor01BytecodeBuilder.js +12 -7
  737. package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
  738. package/build/executor/Executor02BytecodeBuilder.d.ts +2 -2
  739. package/build/executor/Executor02BytecodeBuilder.js +26 -21
  740. package/build/executor/Executor02BytecodeBuilder.js.map +1 -1
  741. package/build/executor/Executor03BytecodeBuilder.d.ts +2 -2
  742. package/build/executor/Executor03BytecodeBuilder.js +18 -13
  743. package/build/executor/Executor03BytecodeBuilder.js.map +1 -1
  744. package/build/executor/ExecutorBytecodeBuilder.d.ts +2 -2
  745. package/build/executor/ExecutorBytecodeBuilder.js +16 -16
  746. package/build/executor/ExecutorBytecodeBuilder.js.map +1 -1
  747. package/build/executor/ExecutorDetector.js +5 -5
  748. package/build/executor/ExecutorDetector.js.map +1 -1
  749. package/build/executor/constants.js +16 -16
  750. package/build/executor/constants.js.map +1 -1
  751. package/build/executor/types.d.ts +20 -20
  752. package/build/executor/types.js +4 -4
  753. package/build/executor/types.js.map +1 -1
  754. package/build/executor/utils.js.map +1 -1
  755. package/build/generic-swap-transaction-builder.js.map +1 -1
  756. package/build/implementations/local-paraswap-sdk.js +7 -17
  757. package/build/implementations/local-paraswap-sdk.js.map +1 -1
  758. package/build/lens.d.ts +2 -2
  759. package/build/lib/api3-feed.d.ts +1 -1
  760. package/build/lib/api3-feed.js.map +1 -1
  761. package/build/lib/benqi/staked-avax.d.ts +1 -1
  762. package/build/lib/benqi/staked-avax.js.map +1 -1
  763. package/build/lib/chainlink.d.ts +1 -1
  764. package/build/lib/decoders.js +2 -2
  765. package/build/lib/decoders.js.map +1 -1
  766. package/build/lib/fetcher/fetcher.d.ts +2 -2
  767. package/build/lib/fetcher/fetcher.js.map +1 -1
  768. package/build/lib/fetcher/wsFetcher.d.ts +2 -2
  769. package/build/lib/fetcher/wsFetcher.js.map +1 -1
  770. package/build/lib/generics-events-subscribers/erc20-event-subscriber-factory.js.map +1 -1
  771. package/build/lib/generics-events-subscribers/erc20-event-subscriber.js.map +1 -1
  772. package/build/lib/generics-events-subscribers/types.d.ts +6 -6
  773. package/build/lib/generics-events-subscribers/types.js +2 -2
  774. package/build/lib/generics-events-subscribers/types.js.map +1 -1
  775. package/build/lib/log-messages-suppressor.d.ts +4 -4
  776. package/build/lib/log-messages-suppressor.js.map +1 -1
  777. package/build/lib/log4js.d.ts +1 -1
  778. package/build/lib/log4js.js +8 -18
  779. package/build/lib/log4js.js.map +1 -1
  780. package/build/lib/multi-wrapper.d.ts +2 -2
  781. package/build/lib/multi-wrapper.js.map +1 -1
  782. package/build/lib/promise-scheduler.js.map +1 -1
  783. package/build/lib/stateful-rpc-poller/state-polling-manager.js.map +1 -1
  784. package/build/lib/stateful-rpc-poller/stateful-rpc-poller.js.map +1 -1
  785. package/build/lib/stateful-rpc-poller/types.d.ts +2 -2
  786. package/build/lib/stateful-rpc-poller/types.js +1 -1
  787. package/build/lib/stateful-rpc-poller/types.js.map +1 -1
  788. package/build/lib/stateful-rpc-poller/utils.js +3 -2
  789. package/build/lib/stateful-rpc-poller/utils.js.map +1 -1
  790. package/build/lib/task-scheduler.js.map +1 -1
  791. package/build/lib/token-transfer-fee.js.map +1 -1
  792. package/build/lib/tokens/balancer-fetcher.d.ts +5 -5
  793. package/build/lib/tokens/balancer-fetcher.js +1 -1
  794. package/build/lib/tokens/balancer-fetcher.js.map +1 -1
  795. package/build/lib/tokens/types.d.ts +11 -11
  796. package/build/lib/tokens/types.js +5 -5
  797. package/build/lib/tokens/types.js.map +1 -1
  798. package/build/lib/tokens/utils.js +2 -2
  799. package/build/lib/tokens/utils.js.map +1 -1
  800. package/build/lib/validators.d.ts +1 -1
  801. package/build/lib/validators.js.map +1 -1
  802. package/build/pools-helper.js.map +1 -1
  803. package/build/pricing-helper.js.map +1 -1
  804. package/build/router/buy.d.ts +1 -1
  805. package/build/router/index.js.map +1 -1
  806. package/build/router/megaswap.d.ts +1 -1
  807. package/build/router/multiswap.d.ts +1 -1
  808. package/build/router/payload-encoder.js +4 -4
  809. package/build/router/payload-encoder.js.map +1 -1
  810. package/build/router/simpleswap.d.ts +2 -2
  811. package/build/router/simpleswap.js.map +1 -1
  812. package/build/router/simpleswapnft.d.ts +1 -1
  813. package/build/router/simpleswapnft.js.map +1 -1
  814. package/build/stateful-event-subscriber.d.ts +1 -1
  815. package/build/stateful-event-subscriber.js.map +1 -1
  816. package/build/types.d.ts +39 -38
  817. package/build/utils.d.ts +7 -7
  818. package/build/utils.js +11 -11
  819. package/build/utils.js.map +1 -1
  820. package/package.json +1 -1
  821. package/src/abi/cables/CablesMainnetRFQ.json +1083 -0
  822. package/src/dex/bebop/bebop.ts +1 -1
  823. package/src/dex/cables/cables-e2e.test.ts +207 -0
  824. package/src/dex/cables/cables-integration.test.ts +319 -0
  825. package/src/dex/cables/cables.ts +888 -0
  826. package/src/dex/cables/config.ts +13 -0
  827. package/src/dex/cables/constants.ts +35 -0
  828. package/src/dex/cables/rate-fetcher.ts +219 -0
  829. package/src/dex/cables/types.ts +130 -0
  830. package/src/dex/cables/validators.test.ts +151 -0
  831. package/src/dex/cables/validators.ts +61 -0
  832. package/src/dex/dexalot/dexalot.ts +2 -50
  833. package/src/dex/index.ts +2 -0
  834. package/src/executor/Executor01BytecodeBuilder.ts +15 -11
  835. package/src/executor/Executor02BytecodeBuilder.ts +13 -9
  836. package/src/executor/Executor03BytecodeBuilder.ts +16 -9
  837. package/src/types.ts +1 -0
  838. package/tests/constants-e2e.ts +2 -2
  839. package/build/abi/Aave_GSM.json +0 -751
  840. package/build/abi/Balancer.json +0 -257
  841. package/build/abi/BalancerV2.json +0 -1179
  842. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  843. package/build/abi/USDM.json +0 -807
  844. package/build/abi/UniswapV2Router.json +0 -397
  845. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
  846. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  847. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  848. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  849. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  850. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  851. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  852. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  853. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  854. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  855. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  856. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  857. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  858. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  859. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  860. package/build/abi/curve-v1/StableSwapY.json +0 -814
  861. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  862. package/build/abi/inception/inception-ineth.json +0 -609
  863. package/build/abi/inception/inception-ratio-feed.json +0 -329
  864. package/build/abi/inception/inception-vault.json +0 -991
  865. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  866. package/build/abi/kyberdmm.abi.json +0 -1148
  867. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  868. package/build/abi/nerve/nerve-metapool.json +0 -790
  869. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  870. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  871. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  872. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  873. package/build/dex/bebop/websocket-fetcher.js +0 -87
  874. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  875. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  876. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  877. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  878. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  879. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  880. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  881. package/build/dex/idle-dao/scripts.d.ts +0 -9
  882. package/build/dex/idle-dao/scripts.js +0 -552
  883. package/build/dex/idle-dao/scripts.js.map +0 -1
  884. package/build/dex/inception/config.d.ts +0 -4
  885. package/build/dex/inception/config.js +0 -109
  886. package/build/dex/inception/config.js.map +0 -1
  887. package/build/dex/inception/inception-event-pool.d.ts +0 -16
  888. package/build/dex/inception/inception-event-pool.js +0 -51
  889. package/build/dex/inception/inception-event-pool.js.map +0 -1
  890. package/build/dex/inception/inception-native.js +0 -131
  891. package/build/dex/inception/inception-native.js.map +0 -1
  892. package/build/dex/inception/inception-pool.d.ts +0 -18
  893. package/build/dex/inception/inception-pool.js +0 -32
  894. package/build/dex/inception/inception-pool.js.map +0 -1
  895. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  896. package/build/dex/inception/inception-price-feed.js +0 -51
  897. package/build/dex/inception/inception-price-feed.js.map +0 -1
  898. package/build/dex/inception/inception.d.ts +0 -43
  899. package/build/dex/inception/inception.js +0 -204
  900. package/build/dex/inception/inception.js.map +0 -1
  901. package/build/dex/inception/tokens.d.ts +0 -9
  902. package/build/dex/inception/tokens.js +0 -28
  903. package/build/dex/inception/tokens.js.map +0 -1
  904. package/build/dex/inception/types.d.ts +0 -22
  905. package/build/dex/inception/utils.d.ts +0 -6
  906. package/build/dex/inception/utils.js +0 -37
  907. package/build/dex/inception/utils.js.map +0 -1
  908. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  909. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  910. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  911. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  912. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  913. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  914. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  915. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  916. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  917. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  918. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  919. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  920. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  921. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  922. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  923. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  924. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  925. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  926. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  927. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  928. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  929. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  930. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  931. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  932. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  933. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  934. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  935. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  936. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  937. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  938. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  939. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  940. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  941. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  942. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  943. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  944. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  945. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  946. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  947. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  948. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  949. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  950. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  951. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  952. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  953. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  954. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  955. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  956. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  957. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  958. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  959. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  960. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  961. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  962. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  963. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  964. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  965. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  966. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  967. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  968. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  969. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  970. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  971. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  972. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  973. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  974. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  975. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  976. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  977. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  978. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  979. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  980. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  981. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
  982. /package/build/dex/{inception → balancer-v3}/types.js +0 -0
@@ -0,0 +1,1792 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "contract IVault",
6
+ "name": "vault",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "contract IWETH",
11
+ "name": "weth",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "contract IPermit2",
16
+ "name": "permit2",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "internalType": "string",
21
+ "name": "version",
22
+ "type": "string"
23
+ }
24
+ ],
25
+ "stateMutability": "nonpayable",
26
+ "type": "constructor"
27
+ },
28
+ {
29
+ "inputs": [
30
+ {
31
+ "internalType": "address",
32
+ "name": "target",
33
+ "type": "address"
34
+ }
35
+ ],
36
+ "name": "AddressEmptyCode",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [
41
+ {
42
+ "internalType": "address",
43
+ "name": "account",
44
+ "type": "address"
45
+ }
46
+ ],
47
+ "name": "AddressInsufficientBalance",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [],
52
+ "name": "ErrorSelectorNotFound",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "EthTransfer",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "FailedInnerCall",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "InputLengthMismatch",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "InsufficientEth",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ReentrancyGuardReentrantCall",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "uint8",
84
+ "name": "bits",
85
+ "type": "uint8"
86
+ },
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "value",
90
+ "type": "uint256"
91
+ }
92
+ ],
93
+ "name": "SafeCastOverflowedUintDowncast",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "address",
100
+ "name": "token",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "SafeERC20FailedOperation",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "sender",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "SenderIsNotVault",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "SwapDeadline",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "address",
127
+ "name": "pool",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "internalType": "uint256[]",
132
+ "name": "maxAmountsIn",
133
+ "type": "uint256[]"
134
+ },
135
+ {
136
+ "internalType": "uint256",
137
+ "name": "minBptAmountOut",
138
+ "type": "uint256"
139
+ },
140
+ {
141
+ "internalType": "bool",
142
+ "name": "wethIsEth",
143
+ "type": "bool"
144
+ },
145
+ {
146
+ "internalType": "bytes",
147
+ "name": "userData",
148
+ "type": "bytes"
149
+ }
150
+ ],
151
+ "name": "addLiquidityCustom",
152
+ "outputs": [
153
+ {
154
+ "internalType": "uint256[]",
155
+ "name": "amountsIn",
156
+ "type": "uint256[]"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "bptAmountOut",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "internalType": "bytes",
165
+ "name": "returnData",
166
+ "type": "bytes"
167
+ }
168
+ ],
169
+ "stateMutability": "payable",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "components": [
176
+ {
177
+ "internalType": "address",
178
+ "name": "sender",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "internalType": "address",
183
+ "name": "pool",
184
+ "type": "address"
185
+ },
186
+ {
187
+ "internalType": "uint256[]",
188
+ "name": "maxAmountsIn",
189
+ "type": "uint256[]"
190
+ },
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "minBptAmountOut",
194
+ "type": "uint256"
195
+ },
196
+ {
197
+ "internalType": "enum AddLiquidityKind",
198
+ "name": "kind",
199
+ "type": "uint8"
200
+ },
201
+ {
202
+ "internalType": "bool",
203
+ "name": "wethIsEth",
204
+ "type": "bool"
205
+ },
206
+ {
207
+ "internalType": "bytes",
208
+ "name": "userData",
209
+ "type": "bytes"
210
+ }
211
+ ],
212
+ "internalType": "struct IRouterCommon.AddLiquidityHookParams",
213
+ "name": "params",
214
+ "type": "tuple"
215
+ }
216
+ ],
217
+ "name": "addLiquidityHook",
218
+ "outputs": [
219
+ {
220
+ "internalType": "uint256[]",
221
+ "name": "amountsIn",
222
+ "type": "uint256[]"
223
+ },
224
+ {
225
+ "internalType": "uint256",
226
+ "name": "bptAmountOut",
227
+ "type": "uint256"
228
+ },
229
+ {
230
+ "internalType": "bytes",
231
+ "name": "returnData",
232
+ "type": "bytes"
233
+ }
234
+ ],
235
+ "stateMutability": "nonpayable",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [
240
+ {
241
+ "internalType": "address",
242
+ "name": "pool",
243
+ "type": "address"
244
+ },
245
+ {
246
+ "internalType": "uint256[]",
247
+ "name": "maxAmountsIn",
248
+ "type": "uint256[]"
249
+ },
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "exactBptAmountOut",
253
+ "type": "uint256"
254
+ },
255
+ {
256
+ "internalType": "bool",
257
+ "name": "wethIsEth",
258
+ "type": "bool"
259
+ },
260
+ {
261
+ "internalType": "bytes",
262
+ "name": "userData",
263
+ "type": "bytes"
264
+ }
265
+ ],
266
+ "name": "addLiquidityProportional",
267
+ "outputs": [
268
+ {
269
+ "internalType": "uint256[]",
270
+ "name": "amountsIn",
271
+ "type": "uint256[]"
272
+ }
273
+ ],
274
+ "stateMutability": "payable",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "address",
281
+ "name": "pool",
282
+ "type": "address"
283
+ },
284
+ {
285
+ "internalType": "contract IERC20",
286
+ "name": "tokenIn",
287
+ "type": "address"
288
+ },
289
+ {
290
+ "internalType": "uint256",
291
+ "name": "maxAmountIn",
292
+ "type": "uint256"
293
+ },
294
+ {
295
+ "internalType": "uint256",
296
+ "name": "exactBptAmountOut",
297
+ "type": "uint256"
298
+ },
299
+ {
300
+ "internalType": "bool",
301
+ "name": "wethIsEth",
302
+ "type": "bool"
303
+ },
304
+ {
305
+ "internalType": "bytes",
306
+ "name": "userData",
307
+ "type": "bytes"
308
+ }
309
+ ],
310
+ "name": "addLiquiditySingleTokenExactOut",
311
+ "outputs": [
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "amountIn",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "stateMutability": "payable",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "internalType": "address",
325
+ "name": "pool",
326
+ "type": "address"
327
+ },
328
+ {
329
+ "internalType": "uint256[]",
330
+ "name": "exactAmountsIn",
331
+ "type": "uint256[]"
332
+ },
333
+ {
334
+ "internalType": "uint256",
335
+ "name": "minBptAmountOut",
336
+ "type": "uint256"
337
+ },
338
+ {
339
+ "internalType": "bool",
340
+ "name": "wethIsEth",
341
+ "type": "bool"
342
+ },
343
+ {
344
+ "internalType": "bytes",
345
+ "name": "userData",
346
+ "type": "bytes"
347
+ }
348
+ ],
349
+ "name": "addLiquidityUnbalanced",
350
+ "outputs": [
351
+ {
352
+ "internalType": "uint256",
353
+ "name": "bptAmountOut",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "stateMutability": "payable",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [
362
+ {
363
+ "internalType": "address",
364
+ "name": "pool",
365
+ "type": "address"
366
+ },
367
+ {
368
+ "internalType": "uint256[]",
369
+ "name": "amountsIn",
370
+ "type": "uint256[]"
371
+ },
372
+ {
373
+ "internalType": "bool",
374
+ "name": "wethIsEth",
375
+ "type": "bool"
376
+ },
377
+ {
378
+ "internalType": "bytes",
379
+ "name": "userData",
380
+ "type": "bytes"
381
+ }
382
+ ],
383
+ "name": "donate",
384
+ "outputs": [],
385
+ "stateMutability": "payable",
386
+ "type": "function"
387
+ },
388
+ {
389
+ "inputs": [],
390
+ "name": "getSender",
391
+ "outputs": [
392
+ {
393
+ "internalType": "address",
394
+ "name": "",
395
+ "type": "address"
396
+ }
397
+ ],
398
+ "stateMutability": "view",
399
+ "type": "function"
400
+ },
401
+ {
402
+ "inputs": [
403
+ {
404
+ "internalType": "address",
405
+ "name": "pool",
406
+ "type": "address"
407
+ },
408
+ {
409
+ "internalType": "contract IERC20[]",
410
+ "name": "tokens",
411
+ "type": "address[]"
412
+ },
413
+ {
414
+ "internalType": "uint256[]",
415
+ "name": "exactAmountsIn",
416
+ "type": "uint256[]"
417
+ },
418
+ {
419
+ "internalType": "uint256",
420
+ "name": "minBptAmountOut",
421
+ "type": "uint256"
422
+ },
423
+ {
424
+ "internalType": "bool",
425
+ "name": "wethIsEth",
426
+ "type": "bool"
427
+ },
428
+ {
429
+ "internalType": "bytes",
430
+ "name": "userData",
431
+ "type": "bytes"
432
+ }
433
+ ],
434
+ "name": "initialize",
435
+ "outputs": [
436
+ {
437
+ "internalType": "uint256",
438
+ "name": "bptAmountOut",
439
+ "type": "uint256"
440
+ }
441
+ ],
442
+ "stateMutability": "payable",
443
+ "type": "function"
444
+ },
445
+ {
446
+ "inputs": [
447
+ {
448
+ "components": [
449
+ {
450
+ "internalType": "address",
451
+ "name": "sender",
452
+ "type": "address"
453
+ },
454
+ {
455
+ "internalType": "address",
456
+ "name": "pool",
457
+ "type": "address"
458
+ },
459
+ {
460
+ "internalType": "contract IERC20[]",
461
+ "name": "tokens",
462
+ "type": "address[]"
463
+ },
464
+ {
465
+ "internalType": "uint256[]",
466
+ "name": "exactAmountsIn",
467
+ "type": "uint256[]"
468
+ },
469
+ {
470
+ "internalType": "uint256",
471
+ "name": "minBptAmountOut",
472
+ "type": "uint256"
473
+ },
474
+ {
475
+ "internalType": "bool",
476
+ "name": "wethIsEth",
477
+ "type": "bool"
478
+ },
479
+ {
480
+ "internalType": "bytes",
481
+ "name": "userData",
482
+ "type": "bytes"
483
+ }
484
+ ],
485
+ "internalType": "struct IRouter.InitializeHookParams",
486
+ "name": "params",
487
+ "type": "tuple"
488
+ }
489
+ ],
490
+ "name": "initializeHook",
491
+ "outputs": [
492
+ {
493
+ "internalType": "uint256",
494
+ "name": "bptAmountOut",
495
+ "type": "uint256"
496
+ }
497
+ ],
498
+ "stateMutability": "nonpayable",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [
503
+ {
504
+ "internalType": "bytes[]",
505
+ "name": "data",
506
+ "type": "bytes[]"
507
+ }
508
+ ],
509
+ "name": "multicall",
510
+ "outputs": [
511
+ {
512
+ "internalType": "bytes[]",
513
+ "name": "results",
514
+ "type": "bytes[]"
515
+ }
516
+ ],
517
+ "stateMutability": "payable",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [
522
+ {
523
+ "components": [
524
+ {
525
+ "internalType": "address",
526
+ "name": "token",
527
+ "type": "address"
528
+ },
529
+ {
530
+ "internalType": "address",
531
+ "name": "owner",
532
+ "type": "address"
533
+ },
534
+ {
535
+ "internalType": "address",
536
+ "name": "spender",
537
+ "type": "address"
538
+ },
539
+ {
540
+ "internalType": "uint256",
541
+ "name": "amount",
542
+ "type": "uint256"
543
+ },
544
+ {
545
+ "internalType": "uint256",
546
+ "name": "nonce",
547
+ "type": "uint256"
548
+ },
549
+ {
550
+ "internalType": "uint256",
551
+ "name": "deadline",
552
+ "type": "uint256"
553
+ }
554
+ ],
555
+ "internalType": "struct IRouterCommon.PermitApproval[]",
556
+ "name": "permitBatch",
557
+ "type": "tuple[]"
558
+ },
559
+ {
560
+ "internalType": "bytes[]",
561
+ "name": "permitSignatures",
562
+ "type": "bytes[]"
563
+ },
564
+ {
565
+ "components": [
566
+ {
567
+ "components": [
568
+ {
569
+ "internalType": "address",
570
+ "name": "token",
571
+ "type": "address"
572
+ },
573
+ {
574
+ "internalType": "uint160",
575
+ "name": "amount",
576
+ "type": "uint160"
577
+ },
578
+ {
579
+ "internalType": "uint48",
580
+ "name": "expiration",
581
+ "type": "uint48"
582
+ },
583
+ {
584
+ "internalType": "uint48",
585
+ "name": "nonce",
586
+ "type": "uint48"
587
+ }
588
+ ],
589
+ "internalType": "struct IAllowanceTransfer.PermitDetails[]",
590
+ "name": "details",
591
+ "type": "tuple[]"
592
+ },
593
+ {
594
+ "internalType": "address",
595
+ "name": "spender",
596
+ "type": "address"
597
+ },
598
+ {
599
+ "internalType": "uint256",
600
+ "name": "sigDeadline",
601
+ "type": "uint256"
602
+ }
603
+ ],
604
+ "internalType": "struct IAllowanceTransfer.PermitBatch",
605
+ "name": "permit2Batch",
606
+ "type": "tuple"
607
+ },
608
+ {
609
+ "internalType": "bytes",
610
+ "name": "permit2Signature",
611
+ "type": "bytes"
612
+ },
613
+ {
614
+ "internalType": "bytes[]",
615
+ "name": "multicallData",
616
+ "type": "bytes[]"
617
+ }
618
+ ],
619
+ "name": "permitBatchAndCall",
620
+ "outputs": [
621
+ {
622
+ "internalType": "bytes[]",
623
+ "name": "results",
624
+ "type": "bytes[]"
625
+ }
626
+ ],
627
+ "stateMutability": "payable",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [
632
+ {
633
+ "internalType": "address",
634
+ "name": "pool",
635
+ "type": "address"
636
+ },
637
+ {
638
+ "internalType": "uint256[]",
639
+ "name": "maxAmountsIn",
640
+ "type": "uint256[]"
641
+ },
642
+ {
643
+ "internalType": "uint256",
644
+ "name": "minBptAmountOut",
645
+ "type": "uint256"
646
+ },
647
+ {
648
+ "internalType": "address",
649
+ "name": "sender",
650
+ "type": "address"
651
+ },
652
+ {
653
+ "internalType": "bytes",
654
+ "name": "userData",
655
+ "type": "bytes"
656
+ }
657
+ ],
658
+ "name": "queryAddLiquidityCustom",
659
+ "outputs": [
660
+ {
661
+ "internalType": "uint256[]",
662
+ "name": "amountsIn",
663
+ "type": "uint256[]"
664
+ },
665
+ {
666
+ "internalType": "uint256",
667
+ "name": "bptAmountOut",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "internalType": "bytes",
672
+ "name": "returnData",
673
+ "type": "bytes"
674
+ }
675
+ ],
676
+ "stateMutability": "nonpayable",
677
+ "type": "function"
678
+ },
679
+ {
680
+ "inputs": [
681
+ {
682
+ "components": [
683
+ {
684
+ "internalType": "address",
685
+ "name": "sender",
686
+ "type": "address"
687
+ },
688
+ {
689
+ "internalType": "address",
690
+ "name": "pool",
691
+ "type": "address"
692
+ },
693
+ {
694
+ "internalType": "uint256[]",
695
+ "name": "maxAmountsIn",
696
+ "type": "uint256[]"
697
+ },
698
+ {
699
+ "internalType": "uint256",
700
+ "name": "minBptAmountOut",
701
+ "type": "uint256"
702
+ },
703
+ {
704
+ "internalType": "enum AddLiquidityKind",
705
+ "name": "kind",
706
+ "type": "uint8"
707
+ },
708
+ {
709
+ "internalType": "bool",
710
+ "name": "wethIsEth",
711
+ "type": "bool"
712
+ },
713
+ {
714
+ "internalType": "bytes",
715
+ "name": "userData",
716
+ "type": "bytes"
717
+ }
718
+ ],
719
+ "internalType": "struct IRouterCommon.AddLiquidityHookParams",
720
+ "name": "params",
721
+ "type": "tuple"
722
+ }
723
+ ],
724
+ "name": "queryAddLiquidityHook",
725
+ "outputs": [
726
+ {
727
+ "internalType": "uint256[]",
728
+ "name": "amountsIn",
729
+ "type": "uint256[]"
730
+ },
731
+ {
732
+ "internalType": "uint256",
733
+ "name": "bptAmountOut",
734
+ "type": "uint256"
735
+ },
736
+ {
737
+ "internalType": "bytes",
738
+ "name": "returnData",
739
+ "type": "bytes"
740
+ }
741
+ ],
742
+ "stateMutability": "nonpayable",
743
+ "type": "function"
744
+ },
745
+ {
746
+ "inputs": [
747
+ {
748
+ "internalType": "address",
749
+ "name": "pool",
750
+ "type": "address"
751
+ },
752
+ {
753
+ "internalType": "uint256",
754
+ "name": "exactBptAmountOut",
755
+ "type": "uint256"
756
+ },
757
+ {
758
+ "internalType": "address",
759
+ "name": "sender",
760
+ "type": "address"
761
+ },
762
+ {
763
+ "internalType": "bytes",
764
+ "name": "userData",
765
+ "type": "bytes"
766
+ }
767
+ ],
768
+ "name": "queryAddLiquidityProportional",
769
+ "outputs": [
770
+ {
771
+ "internalType": "uint256[]",
772
+ "name": "amountsIn",
773
+ "type": "uint256[]"
774
+ }
775
+ ],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [
781
+ {
782
+ "internalType": "address",
783
+ "name": "pool",
784
+ "type": "address"
785
+ },
786
+ {
787
+ "internalType": "contract IERC20",
788
+ "name": "tokenIn",
789
+ "type": "address"
790
+ },
791
+ {
792
+ "internalType": "uint256",
793
+ "name": "exactBptAmountOut",
794
+ "type": "uint256"
795
+ },
796
+ {
797
+ "internalType": "address",
798
+ "name": "sender",
799
+ "type": "address"
800
+ },
801
+ {
802
+ "internalType": "bytes",
803
+ "name": "userData",
804
+ "type": "bytes"
805
+ }
806
+ ],
807
+ "name": "queryAddLiquiditySingleTokenExactOut",
808
+ "outputs": [
809
+ {
810
+ "internalType": "uint256",
811
+ "name": "amountIn",
812
+ "type": "uint256"
813
+ }
814
+ ],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
820
+ {
821
+ "internalType": "address",
822
+ "name": "pool",
823
+ "type": "address"
824
+ },
825
+ {
826
+ "internalType": "uint256[]",
827
+ "name": "exactAmountsIn",
828
+ "type": "uint256[]"
829
+ },
830
+ {
831
+ "internalType": "address",
832
+ "name": "sender",
833
+ "type": "address"
834
+ },
835
+ {
836
+ "internalType": "bytes",
837
+ "name": "userData",
838
+ "type": "bytes"
839
+ }
840
+ ],
841
+ "name": "queryAddLiquidityUnbalanced",
842
+ "outputs": [
843
+ {
844
+ "internalType": "uint256",
845
+ "name": "bptAmountOut",
846
+ "type": "uint256"
847
+ }
848
+ ],
849
+ "stateMutability": "nonpayable",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "inputs": [
854
+ {
855
+ "internalType": "address",
856
+ "name": "pool",
857
+ "type": "address"
858
+ },
859
+ {
860
+ "internalType": "uint256",
861
+ "name": "maxBptAmountIn",
862
+ "type": "uint256"
863
+ },
864
+ {
865
+ "internalType": "uint256[]",
866
+ "name": "minAmountsOut",
867
+ "type": "uint256[]"
868
+ },
869
+ {
870
+ "internalType": "address",
871
+ "name": "sender",
872
+ "type": "address"
873
+ },
874
+ {
875
+ "internalType": "bytes",
876
+ "name": "userData",
877
+ "type": "bytes"
878
+ }
879
+ ],
880
+ "name": "queryRemoveLiquidityCustom",
881
+ "outputs": [
882
+ {
883
+ "internalType": "uint256",
884
+ "name": "bptAmountIn",
885
+ "type": "uint256"
886
+ },
887
+ {
888
+ "internalType": "uint256[]",
889
+ "name": "amountsOut",
890
+ "type": "uint256[]"
891
+ },
892
+ {
893
+ "internalType": "bytes",
894
+ "name": "returnData",
895
+ "type": "bytes"
896
+ }
897
+ ],
898
+ "stateMutability": "nonpayable",
899
+ "type": "function"
900
+ },
901
+ {
902
+ "inputs": [
903
+ {
904
+ "components": [
905
+ {
906
+ "internalType": "address",
907
+ "name": "sender",
908
+ "type": "address"
909
+ },
910
+ {
911
+ "internalType": "address",
912
+ "name": "pool",
913
+ "type": "address"
914
+ },
915
+ {
916
+ "internalType": "uint256[]",
917
+ "name": "minAmountsOut",
918
+ "type": "uint256[]"
919
+ },
920
+ {
921
+ "internalType": "uint256",
922
+ "name": "maxBptAmountIn",
923
+ "type": "uint256"
924
+ },
925
+ {
926
+ "internalType": "enum RemoveLiquidityKind",
927
+ "name": "kind",
928
+ "type": "uint8"
929
+ },
930
+ {
931
+ "internalType": "bool",
932
+ "name": "wethIsEth",
933
+ "type": "bool"
934
+ },
935
+ {
936
+ "internalType": "bytes",
937
+ "name": "userData",
938
+ "type": "bytes"
939
+ }
940
+ ],
941
+ "internalType": "struct IRouterCommon.RemoveLiquidityHookParams",
942
+ "name": "params",
943
+ "type": "tuple"
944
+ }
945
+ ],
946
+ "name": "queryRemoveLiquidityHook",
947
+ "outputs": [
948
+ {
949
+ "internalType": "uint256",
950
+ "name": "bptAmountIn",
951
+ "type": "uint256"
952
+ },
953
+ {
954
+ "internalType": "uint256[]",
955
+ "name": "amountsOut",
956
+ "type": "uint256[]"
957
+ },
958
+ {
959
+ "internalType": "bytes",
960
+ "name": "returnData",
961
+ "type": "bytes"
962
+ }
963
+ ],
964
+ "stateMutability": "nonpayable",
965
+ "type": "function"
966
+ },
967
+ {
968
+ "inputs": [
969
+ {
970
+ "internalType": "address",
971
+ "name": "pool",
972
+ "type": "address"
973
+ },
974
+ {
975
+ "internalType": "uint256",
976
+ "name": "exactBptAmountIn",
977
+ "type": "uint256"
978
+ },
979
+ {
980
+ "internalType": "address",
981
+ "name": "sender",
982
+ "type": "address"
983
+ },
984
+ {
985
+ "internalType": "bytes",
986
+ "name": "userData",
987
+ "type": "bytes"
988
+ }
989
+ ],
990
+ "name": "queryRemoveLiquidityProportional",
991
+ "outputs": [
992
+ {
993
+ "internalType": "uint256[]",
994
+ "name": "amountsOut",
995
+ "type": "uint256[]"
996
+ }
997
+ ],
998
+ "stateMutability": "nonpayable",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "inputs": [
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "pool",
1006
+ "type": "address"
1007
+ },
1008
+ {
1009
+ "internalType": "uint256",
1010
+ "name": "exactBptAmountIn",
1011
+ "type": "uint256"
1012
+ }
1013
+ ],
1014
+ "name": "queryRemoveLiquidityRecovery",
1015
+ "outputs": [
1016
+ {
1017
+ "internalType": "uint256[]",
1018
+ "name": "amountsOut",
1019
+ "type": "uint256[]"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "nonpayable",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "address",
1029
+ "name": "pool",
1030
+ "type": "address"
1031
+ },
1032
+ {
1033
+ "internalType": "address",
1034
+ "name": "sender",
1035
+ "type": "address"
1036
+ },
1037
+ {
1038
+ "internalType": "uint256",
1039
+ "name": "exactBptAmountIn",
1040
+ "type": "uint256"
1041
+ }
1042
+ ],
1043
+ "name": "queryRemoveLiquidityRecoveryHook",
1044
+ "outputs": [
1045
+ {
1046
+ "internalType": "uint256[]",
1047
+ "name": "amountsOut",
1048
+ "type": "uint256[]"
1049
+ }
1050
+ ],
1051
+ "stateMutability": "nonpayable",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
1056
+ {
1057
+ "internalType": "address",
1058
+ "name": "pool",
1059
+ "type": "address"
1060
+ },
1061
+ {
1062
+ "internalType": "uint256",
1063
+ "name": "exactBptAmountIn",
1064
+ "type": "uint256"
1065
+ },
1066
+ {
1067
+ "internalType": "contract IERC20",
1068
+ "name": "tokenOut",
1069
+ "type": "address"
1070
+ },
1071
+ {
1072
+ "internalType": "address",
1073
+ "name": "sender",
1074
+ "type": "address"
1075
+ },
1076
+ {
1077
+ "internalType": "bytes",
1078
+ "name": "userData",
1079
+ "type": "bytes"
1080
+ }
1081
+ ],
1082
+ "name": "queryRemoveLiquiditySingleTokenExactIn",
1083
+ "outputs": [
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "amountOut",
1087
+ "type": "uint256"
1088
+ }
1089
+ ],
1090
+ "stateMutability": "nonpayable",
1091
+ "type": "function"
1092
+ },
1093
+ {
1094
+ "inputs": [
1095
+ {
1096
+ "internalType": "address",
1097
+ "name": "pool",
1098
+ "type": "address"
1099
+ },
1100
+ {
1101
+ "internalType": "contract IERC20",
1102
+ "name": "tokenOut",
1103
+ "type": "address"
1104
+ },
1105
+ {
1106
+ "internalType": "uint256",
1107
+ "name": "exactAmountOut",
1108
+ "type": "uint256"
1109
+ },
1110
+ {
1111
+ "internalType": "address",
1112
+ "name": "sender",
1113
+ "type": "address"
1114
+ },
1115
+ {
1116
+ "internalType": "bytes",
1117
+ "name": "userData",
1118
+ "type": "bytes"
1119
+ }
1120
+ ],
1121
+ "name": "queryRemoveLiquiditySingleTokenExactOut",
1122
+ "outputs": [
1123
+ {
1124
+ "internalType": "uint256",
1125
+ "name": "bptAmountIn",
1126
+ "type": "uint256"
1127
+ }
1128
+ ],
1129
+ "stateMutability": "nonpayable",
1130
+ "type": "function"
1131
+ },
1132
+ {
1133
+ "inputs": [
1134
+ {
1135
+ "components": [
1136
+ {
1137
+ "internalType": "address",
1138
+ "name": "sender",
1139
+ "type": "address"
1140
+ },
1141
+ {
1142
+ "internalType": "enum SwapKind",
1143
+ "name": "kind",
1144
+ "type": "uint8"
1145
+ },
1146
+ {
1147
+ "internalType": "address",
1148
+ "name": "pool",
1149
+ "type": "address"
1150
+ },
1151
+ {
1152
+ "internalType": "contract IERC20",
1153
+ "name": "tokenIn",
1154
+ "type": "address"
1155
+ },
1156
+ {
1157
+ "internalType": "contract IERC20",
1158
+ "name": "tokenOut",
1159
+ "type": "address"
1160
+ },
1161
+ {
1162
+ "internalType": "uint256",
1163
+ "name": "amountGiven",
1164
+ "type": "uint256"
1165
+ },
1166
+ {
1167
+ "internalType": "uint256",
1168
+ "name": "limit",
1169
+ "type": "uint256"
1170
+ },
1171
+ {
1172
+ "internalType": "uint256",
1173
+ "name": "deadline",
1174
+ "type": "uint256"
1175
+ },
1176
+ {
1177
+ "internalType": "bool",
1178
+ "name": "wethIsEth",
1179
+ "type": "bool"
1180
+ },
1181
+ {
1182
+ "internalType": "bytes",
1183
+ "name": "userData",
1184
+ "type": "bytes"
1185
+ }
1186
+ ],
1187
+ "internalType": "struct IRouter.SwapSingleTokenHookParams",
1188
+ "name": "params",
1189
+ "type": "tuple"
1190
+ }
1191
+ ],
1192
+ "name": "querySwapHook",
1193
+ "outputs": [
1194
+ {
1195
+ "internalType": "uint256",
1196
+ "name": "",
1197
+ "type": "uint256"
1198
+ }
1199
+ ],
1200
+ "stateMutability": "nonpayable",
1201
+ "type": "function"
1202
+ },
1203
+ {
1204
+ "inputs": [
1205
+ {
1206
+ "internalType": "address",
1207
+ "name": "pool",
1208
+ "type": "address"
1209
+ },
1210
+ {
1211
+ "internalType": "contract IERC20",
1212
+ "name": "tokenIn",
1213
+ "type": "address"
1214
+ },
1215
+ {
1216
+ "internalType": "contract IERC20",
1217
+ "name": "tokenOut",
1218
+ "type": "address"
1219
+ },
1220
+ {
1221
+ "internalType": "uint256",
1222
+ "name": "exactAmountIn",
1223
+ "type": "uint256"
1224
+ },
1225
+ {
1226
+ "internalType": "address",
1227
+ "name": "sender",
1228
+ "type": "address"
1229
+ },
1230
+ {
1231
+ "internalType": "bytes",
1232
+ "name": "userData",
1233
+ "type": "bytes"
1234
+ }
1235
+ ],
1236
+ "name": "querySwapSingleTokenExactIn",
1237
+ "outputs": [
1238
+ {
1239
+ "internalType": "uint256",
1240
+ "name": "amountCalculated",
1241
+ "type": "uint256"
1242
+ }
1243
+ ],
1244
+ "stateMutability": "nonpayable",
1245
+ "type": "function"
1246
+ },
1247
+ {
1248
+ "inputs": [
1249
+ {
1250
+ "internalType": "address",
1251
+ "name": "pool",
1252
+ "type": "address"
1253
+ },
1254
+ {
1255
+ "internalType": "contract IERC20",
1256
+ "name": "tokenIn",
1257
+ "type": "address"
1258
+ },
1259
+ {
1260
+ "internalType": "contract IERC20",
1261
+ "name": "tokenOut",
1262
+ "type": "address"
1263
+ },
1264
+ {
1265
+ "internalType": "uint256",
1266
+ "name": "exactAmountOut",
1267
+ "type": "uint256"
1268
+ },
1269
+ {
1270
+ "internalType": "address",
1271
+ "name": "sender",
1272
+ "type": "address"
1273
+ },
1274
+ {
1275
+ "internalType": "bytes",
1276
+ "name": "userData",
1277
+ "type": "bytes"
1278
+ }
1279
+ ],
1280
+ "name": "querySwapSingleTokenExactOut",
1281
+ "outputs": [
1282
+ {
1283
+ "internalType": "uint256",
1284
+ "name": "amountCalculated",
1285
+ "type": "uint256"
1286
+ }
1287
+ ],
1288
+ "stateMutability": "nonpayable",
1289
+ "type": "function"
1290
+ },
1291
+ {
1292
+ "inputs": [
1293
+ {
1294
+ "internalType": "address",
1295
+ "name": "pool",
1296
+ "type": "address"
1297
+ },
1298
+ {
1299
+ "internalType": "uint256",
1300
+ "name": "maxBptAmountIn",
1301
+ "type": "uint256"
1302
+ },
1303
+ {
1304
+ "internalType": "uint256[]",
1305
+ "name": "minAmountsOut",
1306
+ "type": "uint256[]"
1307
+ },
1308
+ {
1309
+ "internalType": "bool",
1310
+ "name": "wethIsEth",
1311
+ "type": "bool"
1312
+ },
1313
+ {
1314
+ "internalType": "bytes",
1315
+ "name": "userData",
1316
+ "type": "bytes"
1317
+ }
1318
+ ],
1319
+ "name": "removeLiquidityCustom",
1320
+ "outputs": [
1321
+ {
1322
+ "internalType": "uint256",
1323
+ "name": "bptAmountIn",
1324
+ "type": "uint256"
1325
+ },
1326
+ {
1327
+ "internalType": "uint256[]",
1328
+ "name": "amountsOut",
1329
+ "type": "uint256[]"
1330
+ },
1331
+ {
1332
+ "internalType": "bytes",
1333
+ "name": "returnData",
1334
+ "type": "bytes"
1335
+ }
1336
+ ],
1337
+ "stateMutability": "payable",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "inputs": [
1342
+ {
1343
+ "components": [
1344
+ {
1345
+ "internalType": "address",
1346
+ "name": "sender",
1347
+ "type": "address"
1348
+ },
1349
+ {
1350
+ "internalType": "address",
1351
+ "name": "pool",
1352
+ "type": "address"
1353
+ },
1354
+ {
1355
+ "internalType": "uint256[]",
1356
+ "name": "minAmountsOut",
1357
+ "type": "uint256[]"
1358
+ },
1359
+ {
1360
+ "internalType": "uint256",
1361
+ "name": "maxBptAmountIn",
1362
+ "type": "uint256"
1363
+ },
1364
+ {
1365
+ "internalType": "enum RemoveLiquidityKind",
1366
+ "name": "kind",
1367
+ "type": "uint8"
1368
+ },
1369
+ {
1370
+ "internalType": "bool",
1371
+ "name": "wethIsEth",
1372
+ "type": "bool"
1373
+ },
1374
+ {
1375
+ "internalType": "bytes",
1376
+ "name": "userData",
1377
+ "type": "bytes"
1378
+ }
1379
+ ],
1380
+ "internalType": "struct IRouterCommon.RemoveLiquidityHookParams",
1381
+ "name": "params",
1382
+ "type": "tuple"
1383
+ }
1384
+ ],
1385
+ "name": "removeLiquidityHook",
1386
+ "outputs": [
1387
+ {
1388
+ "internalType": "uint256",
1389
+ "name": "bptAmountIn",
1390
+ "type": "uint256"
1391
+ },
1392
+ {
1393
+ "internalType": "uint256[]",
1394
+ "name": "amountsOut",
1395
+ "type": "uint256[]"
1396
+ },
1397
+ {
1398
+ "internalType": "bytes",
1399
+ "name": "returnData",
1400
+ "type": "bytes"
1401
+ }
1402
+ ],
1403
+ "stateMutability": "nonpayable",
1404
+ "type": "function"
1405
+ },
1406
+ {
1407
+ "inputs": [
1408
+ {
1409
+ "internalType": "address",
1410
+ "name": "pool",
1411
+ "type": "address"
1412
+ },
1413
+ {
1414
+ "internalType": "uint256",
1415
+ "name": "exactBptAmountIn",
1416
+ "type": "uint256"
1417
+ },
1418
+ {
1419
+ "internalType": "uint256[]",
1420
+ "name": "minAmountsOut",
1421
+ "type": "uint256[]"
1422
+ },
1423
+ {
1424
+ "internalType": "bool",
1425
+ "name": "wethIsEth",
1426
+ "type": "bool"
1427
+ },
1428
+ {
1429
+ "internalType": "bytes",
1430
+ "name": "userData",
1431
+ "type": "bytes"
1432
+ }
1433
+ ],
1434
+ "name": "removeLiquidityProportional",
1435
+ "outputs": [
1436
+ {
1437
+ "internalType": "uint256[]",
1438
+ "name": "amountsOut",
1439
+ "type": "uint256[]"
1440
+ }
1441
+ ],
1442
+ "stateMutability": "payable",
1443
+ "type": "function"
1444
+ },
1445
+ {
1446
+ "inputs": [
1447
+ {
1448
+ "internalType": "address",
1449
+ "name": "pool",
1450
+ "type": "address"
1451
+ },
1452
+ {
1453
+ "internalType": "uint256",
1454
+ "name": "exactBptAmountIn",
1455
+ "type": "uint256"
1456
+ },
1457
+ {
1458
+ "internalType": "uint256[]",
1459
+ "name": "minAmountsOut",
1460
+ "type": "uint256[]"
1461
+ }
1462
+ ],
1463
+ "name": "removeLiquidityRecovery",
1464
+ "outputs": [
1465
+ {
1466
+ "internalType": "uint256[]",
1467
+ "name": "amountsOut",
1468
+ "type": "uint256[]"
1469
+ }
1470
+ ],
1471
+ "stateMutability": "payable",
1472
+ "type": "function"
1473
+ },
1474
+ {
1475
+ "inputs": [
1476
+ {
1477
+ "internalType": "address",
1478
+ "name": "pool",
1479
+ "type": "address"
1480
+ },
1481
+ {
1482
+ "internalType": "address",
1483
+ "name": "sender",
1484
+ "type": "address"
1485
+ },
1486
+ {
1487
+ "internalType": "uint256",
1488
+ "name": "exactBptAmountIn",
1489
+ "type": "uint256"
1490
+ },
1491
+ {
1492
+ "internalType": "uint256[]",
1493
+ "name": "minAmountsOut",
1494
+ "type": "uint256[]"
1495
+ }
1496
+ ],
1497
+ "name": "removeLiquidityRecoveryHook",
1498
+ "outputs": [
1499
+ {
1500
+ "internalType": "uint256[]",
1501
+ "name": "amountsOut",
1502
+ "type": "uint256[]"
1503
+ }
1504
+ ],
1505
+ "stateMutability": "nonpayable",
1506
+ "type": "function"
1507
+ },
1508
+ {
1509
+ "inputs": [
1510
+ {
1511
+ "internalType": "address",
1512
+ "name": "pool",
1513
+ "type": "address"
1514
+ },
1515
+ {
1516
+ "internalType": "uint256",
1517
+ "name": "exactBptAmountIn",
1518
+ "type": "uint256"
1519
+ },
1520
+ {
1521
+ "internalType": "contract IERC20",
1522
+ "name": "tokenOut",
1523
+ "type": "address"
1524
+ },
1525
+ {
1526
+ "internalType": "uint256",
1527
+ "name": "minAmountOut",
1528
+ "type": "uint256"
1529
+ },
1530
+ {
1531
+ "internalType": "bool",
1532
+ "name": "wethIsEth",
1533
+ "type": "bool"
1534
+ },
1535
+ {
1536
+ "internalType": "bytes",
1537
+ "name": "userData",
1538
+ "type": "bytes"
1539
+ }
1540
+ ],
1541
+ "name": "removeLiquiditySingleTokenExactIn",
1542
+ "outputs": [
1543
+ {
1544
+ "internalType": "uint256",
1545
+ "name": "amountOut",
1546
+ "type": "uint256"
1547
+ }
1548
+ ],
1549
+ "stateMutability": "payable",
1550
+ "type": "function"
1551
+ },
1552
+ {
1553
+ "inputs": [
1554
+ {
1555
+ "internalType": "address",
1556
+ "name": "pool",
1557
+ "type": "address"
1558
+ },
1559
+ {
1560
+ "internalType": "uint256",
1561
+ "name": "maxBptAmountIn",
1562
+ "type": "uint256"
1563
+ },
1564
+ {
1565
+ "internalType": "contract IERC20",
1566
+ "name": "tokenOut",
1567
+ "type": "address"
1568
+ },
1569
+ {
1570
+ "internalType": "uint256",
1571
+ "name": "exactAmountOut",
1572
+ "type": "uint256"
1573
+ },
1574
+ {
1575
+ "internalType": "bool",
1576
+ "name": "wethIsEth",
1577
+ "type": "bool"
1578
+ },
1579
+ {
1580
+ "internalType": "bytes",
1581
+ "name": "userData",
1582
+ "type": "bytes"
1583
+ }
1584
+ ],
1585
+ "name": "removeLiquiditySingleTokenExactOut",
1586
+ "outputs": [
1587
+ {
1588
+ "internalType": "uint256",
1589
+ "name": "bptAmountIn",
1590
+ "type": "uint256"
1591
+ }
1592
+ ],
1593
+ "stateMutability": "payable",
1594
+ "type": "function"
1595
+ },
1596
+ {
1597
+ "inputs": [
1598
+ {
1599
+ "internalType": "address",
1600
+ "name": "pool",
1601
+ "type": "address"
1602
+ },
1603
+ {
1604
+ "internalType": "contract IERC20",
1605
+ "name": "tokenIn",
1606
+ "type": "address"
1607
+ },
1608
+ {
1609
+ "internalType": "contract IERC20",
1610
+ "name": "tokenOut",
1611
+ "type": "address"
1612
+ },
1613
+ {
1614
+ "internalType": "uint256",
1615
+ "name": "exactAmountIn",
1616
+ "type": "uint256"
1617
+ },
1618
+ {
1619
+ "internalType": "uint256",
1620
+ "name": "minAmountOut",
1621
+ "type": "uint256"
1622
+ },
1623
+ {
1624
+ "internalType": "uint256",
1625
+ "name": "deadline",
1626
+ "type": "uint256"
1627
+ },
1628
+ {
1629
+ "internalType": "bool",
1630
+ "name": "wethIsEth",
1631
+ "type": "bool"
1632
+ },
1633
+ {
1634
+ "internalType": "bytes",
1635
+ "name": "userData",
1636
+ "type": "bytes"
1637
+ }
1638
+ ],
1639
+ "name": "swapSingleTokenExactIn",
1640
+ "outputs": [
1641
+ {
1642
+ "internalType": "uint256",
1643
+ "name": "",
1644
+ "type": "uint256"
1645
+ }
1646
+ ],
1647
+ "stateMutability": "payable",
1648
+ "type": "function"
1649
+ },
1650
+ {
1651
+ "inputs": [
1652
+ {
1653
+ "internalType": "address",
1654
+ "name": "pool",
1655
+ "type": "address"
1656
+ },
1657
+ {
1658
+ "internalType": "contract IERC20",
1659
+ "name": "tokenIn",
1660
+ "type": "address"
1661
+ },
1662
+ {
1663
+ "internalType": "contract IERC20",
1664
+ "name": "tokenOut",
1665
+ "type": "address"
1666
+ },
1667
+ {
1668
+ "internalType": "uint256",
1669
+ "name": "exactAmountOut",
1670
+ "type": "uint256"
1671
+ },
1672
+ {
1673
+ "internalType": "uint256",
1674
+ "name": "maxAmountIn",
1675
+ "type": "uint256"
1676
+ },
1677
+ {
1678
+ "internalType": "uint256",
1679
+ "name": "deadline",
1680
+ "type": "uint256"
1681
+ },
1682
+ {
1683
+ "internalType": "bool",
1684
+ "name": "wethIsEth",
1685
+ "type": "bool"
1686
+ },
1687
+ {
1688
+ "internalType": "bytes",
1689
+ "name": "userData",
1690
+ "type": "bytes"
1691
+ }
1692
+ ],
1693
+ "name": "swapSingleTokenExactOut",
1694
+ "outputs": [
1695
+ {
1696
+ "internalType": "uint256",
1697
+ "name": "",
1698
+ "type": "uint256"
1699
+ }
1700
+ ],
1701
+ "stateMutability": "payable",
1702
+ "type": "function"
1703
+ },
1704
+ {
1705
+ "inputs": [
1706
+ {
1707
+ "components": [
1708
+ {
1709
+ "internalType": "address",
1710
+ "name": "sender",
1711
+ "type": "address"
1712
+ },
1713
+ {
1714
+ "internalType": "enum SwapKind",
1715
+ "name": "kind",
1716
+ "type": "uint8"
1717
+ },
1718
+ {
1719
+ "internalType": "address",
1720
+ "name": "pool",
1721
+ "type": "address"
1722
+ },
1723
+ {
1724
+ "internalType": "contract IERC20",
1725
+ "name": "tokenIn",
1726
+ "type": "address"
1727
+ },
1728
+ {
1729
+ "internalType": "contract IERC20",
1730
+ "name": "tokenOut",
1731
+ "type": "address"
1732
+ },
1733
+ {
1734
+ "internalType": "uint256",
1735
+ "name": "amountGiven",
1736
+ "type": "uint256"
1737
+ },
1738
+ {
1739
+ "internalType": "uint256",
1740
+ "name": "limit",
1741
+ "type": "uint256"
1742
+ },
1743
+ {
1744
+ "internalType": "uint256",
1745
+ "name": "deadline",
1746
+ "type": "uint256"
1747
+ },
1748
+ {
1749
+ "internalType": "bool",
1750
+ "name": "wethIsEth",
1751
+ "type": "bool"
1752
+ },
1753
+ {
1754
+ "internalType": "bytes",
1755
+ "name": "userData",
1756
+ "type": "bytes"
1757
+ }
1758
+ ],
1759
+ "internalType": "struct IRouter.SwapSingleTokenHookParams",
1760
+ "name": "params",
1761
+ "type": "tuple"
1762
+ }
1763
+ ],
1764
+ "name": "swapSingleTokenHook",
1765
+ "outputs": [
1766
+ {
1767
+ "internalType": "uint256",
1768
+ "name": "",
1769
+ "type": "uint256"
1770
+ }
1771
+ ],
1772
+ "stateMutability": "nonpayable",
1773
+ "type": "function"
1774
+ },
1775
+ {
1776
+ "inputs": [],
1777
+ "name": "version",
1778
+ "outputs": [
1779
+ {
1780
+ "internalType": "string",
1781
+ "name": "",
1782
+ "type": "string"
1783
+ }
1784
+ ],
1785
+ "stateMutability": "view",
1786
+ "type": "function"
1787
+ },
1788
+ {
1789
+ "stateMutability": "payable",
1790
+ "type": "receive"
1791
+ }
1792
+ ]