@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,2834 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "contract IVault",
6
+ "name": "mainVault",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "contract IVaultAdmin",
11
+ "name": "vaultAdmin",
12
+ "type": "address"
13
+ }
14
+ ],
15
+ "stateMutability": "nonpayable",
16
+ "type": "constructor"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "address",
22
+ "name": "target",
23
+ "type": "address"
24
+ }
25
+ ],
26
+ "name": "AddressEmptyCode",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [
31
+ {
32
+ "internalType": "address",
33
+ "name": "account",
34
+ "type": "address"
35
+ }
36
+ ],
37
+ "name": "AddressInsufficientBalance",
38
+ "type": "error"
39
+ },
40
+ {
41
+ "inputs": [],
42
+ "name": "AfterAddLiquidityHookFailed",
43
+ "type": "error"
44
+ },
45
+ {
46
+ "inputs": [],
47
+ "name": "AfterInitializeHookFailed",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [],
52
+ "name": "AfterRemoveLiquidityHookFailed",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "AfterSwapHookFailed",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "AmountGivenZero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "contract IERC20",
69
+ "name": "tokenIn",
70
+ "type": "address"
71
+ },
72
+ {
73
+ "internalType": "uint256",
74
+ "name": "amountIn",
75
+ "type": "uint256"
76
+ },
77
+ {
78
+ "internalType": "uint256",
79
+ "name": "maxAmountIn",
80
+ "type": "uint256"
81
+ }
82
+ ],
83
+ "name": "AmountInAboveMax",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "contract IERC20",
90
+ "name": "tokenOut",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "uint256",
95
+ "name": "amountOut",
96
+ "type": "uint256"
97
+ },
98
+ {
99
+ "internalType": "uint256",
100
+ "name": "minAmountOut",
101
+ "type": "uint256"
102
+ }
103
+ ],
104
+ "name": "AmountOutBelowMin",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "BalanceNotSettled",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "BalanceOverflow",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "BeforeAddLiquidityHookFailed",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [],
124
+ "name": "BeforeInitializeHookFailed",
125
+ "type": "error"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "BeforeRemoveLiquidityHookFailed",
130
+ "type": "error"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "BeforeSwapHookFailed",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [
139
+ {
140
+ "internalType": "uint256",
141
+ "name": "amountIn",
142
+ "type": "uint256"
143
+ },
144
+ {
145
+ "internalType": "uint256",
146
+ "name": "maxAmountIn",
147
+ "type": "uint256"
148
+ }
149
+ ],
150
+ "name": "BptAmountInAboveMax",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "uint256",
157
+ "name": "amountOut",
158
+ "type": "uint256"
159
+ },
160
+ {
161
+ "internalType": "uint256",
162
+ "name": "minAmountOut",
163
+ "type": "uint256"
164
+ }
165
+ ],
166
+ "name": "BptAmountOutBelowMin",
167
+ "type": "error"
168
+ },
169
+ {
170
+ "inputs": [
171
+ {
172
+ "internalType": "contract IERC4626",
173
+ "name": "wrappedToken",
174
+ "type": "address"
175
+ }
176
+ ],
177
+ "name": "BufferAlreadyInitialized",
178
+ "type": "error"
179
+ },
180
+ {
181
+ "inputs": [
182
+ {
183
+ "internalType": "contract IERC4626",
184
+ "name": "wrappedToken",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "BufferNotInitialized",
189
+ "type": "error"
190
+ },
191
+ {
192
+ "inputs": [],
193
+ "name": "BufferSharesInvalidOwner",
194
+ "type": "error"
195
+ },
196
+ {
197
+ "inputs": [],
198
+ "name": "BufferSharesInvalidReceiver",
199
+ "type": "error"
200
+ },
201
+ {
202
+ "inputs": [
203
+ {
204
+ "internalType": "uint256",
205
+ "name": "totalSupply",
206
+ "type": "uint256"
207
+ }
208
+ ],
209
+ "name": "BufferTotalSupplyTooLow",
210
+ "type": "error"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "CannotReceiveEth",
215
+ "type": "error"
216
+ },
217
+ {
218
+ "inputs": [],
219
+ "name": "CannotSwapSameToken",
220
+ "type": "error"
221
+ },
222
+ {
223
+ "inputs": [],
224
+ "name": "CodecOverflow",
225
+ "type": "error"
226
+ },
227
+ {
228
+ "inputs": [],
229
+ "name": "DoesNotSupportAddLiquidityCustom",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [],
234
+ "name": "DoesNotSupportDonation",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [],
239
+ "name": "DoesNotSupportRemoveLiquidityCustom",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [],
244
+ "name": "DoesNotSupportUnbalancedLiquidity",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [],
249
+ "name": "DynamicSwapFeeHookFailed",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "address",
256
+ "name": "spender",
257
+ "type": "address"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "allowance",
262
+ "type": "uint256"
263
+ },
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "needed",
267
+ "type": "uint256"
268
+ }
269
+ ],
270
+ "name": "ERC20InsufficientAllowance",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "sender",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "balance",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "needed",
288
+ "type": "uint256"
289
+ }
290
+ ],
291
+ "name": "ERC20InsufficientBalance",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [
296
+ {
297
+ "internalType": "address",
298
+ "name": "approver",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "name": "ERC20InvalidApprover",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "address",
309
+ "name": "receiver",
310
+ "type": "address"
311
+ }
312
+ ],
313
+ "name": "ERC20InvalidReceiver",
314
+ "type": "error"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "sender",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "name": "ERC20InvalidSender",
325
+ "type": "error"
326
+ },
327
+ {
328
+ "inputs": [
329
+ {
330
+ "internalType": "address",
331
+ "name": "spender",
332
+ "type": "address"
333
+ }
334
+ ],
335
+ "name": "ERC20InvalidSpender",
336
+ "type": "error"
337
+ },
338
+ {
339
+ "inputs": [],
340
+ "name": "ErrorSelectorNotFound",
341
+ "type": "error"
342
+ },
343
+ {
344
+ "inputs": [],
345
+ "name": "FailedInnerCall",
346
+ "type": "error"
347
+ },
348
+ {
349
+ "inputs": [],
350
+ "name": "FeePrecisionTooHigh",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "contract IERC20",
357
+ "name": "tokenIn",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "internalType": "uint256",
362
+ "name": "amountIn",
363
+ "type": "uint256"
364
+ },
365
+ {
366
+ "internalType": "uint256",
367
+ "name": "maxAmountIn",
368
+ "type": "uint256"
369
+ }
370
+ ],
371
+ "name": "HookAdjustedAmountInAboveMax",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [
376
+ {
377
+ "internalType": "contract IERC20",
378
+ "name": "tokenOut",
379
+ "type": "address"
380
+ },
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "amountOut",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "internalType": "uint256",
388
+ "name": "minAmountOut",
389
+ "type": "uint256"
390
+ }
391
+ ],
392
+ "name": "HookAdjustedAmountOutBelowMin",
393
+ "type": "error"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "uint256",
399
+ "name": "amount",
400
+ "type": "uint256"
401
+ },
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "limit",
405
+ "type": "uint256"
406
+ }
407
+ ],
408
+ "name": "HookAdjustedSwapLimit",
409
+ "type": "error"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "address",
415
+ "name": "poolHooksContract",
416
+ "type": "address"
417
+ },
418
+ {
419
+ "internalType": "address",
420
+ "name": "pool",
421
+ "type": "address"
422
+ },
423
+ {
424
+ "internalType": "address",
425
+ "name": "poolFactory",
426
+ "type": "address"
427
+ }
428
+ ],
429
+ "name": "HookRegistrationFailed",
430
+ "type": "error"
431
+ },
432
+ {
433
+ "inputs": [],
434
+ "name": "InputLengthMismatch",
435
+ "type": "error"
436
+ },
437
+ {
438
+ "inputs": [],
439
+ "name": "InvalidAddLiquidityKind",
440
+ "type": "error"
441
+ },
442
+ {
443
+ "inputs": [],
444
+ "name": "InvalidRemoveLiquidityKind",
445
+ "type": "error"
446
+ },
447
+ {
448
+ "inputs": [],
449
+ "name": "InvalidToken",
450
+ "type": "error"
451
+ },
452
+ {
453
+ "inputs": [],
454
+ "name": "InvalidTokenConfiguration",
455
+ "type": "error"
456
+ },
457
+ {
458
+ "inputs": [],
459
+ "name": "InvalidTokenDecimals",
460
+ "type": "error"
461
+ },
462
+ {
463
+ "inputs": [],
464
+ "name": "InvalidTokenType",
465
+ "type": "error"
466
+ },
467
+ {
468
+ "inputs": [
469
+ {
470
+ "internalType": "contract IERC4626",
471
+ "name": "wrappedToken",
472
+ "type": "address"
473
+ }
474
+ ],
475
+ "name": "InvalidUnderlyingToken",
476
+ "type": "error"
477
+ },
478
+ {
479
+ "inputs": [
480
+ {
481
+ "internalType": "uint256",
482
+ "name": "issuedShares",
483
+ "type": "uint256"
484
+ },
485
+ {
486
+ "internalType": "uint256",
487
+ "name": "minIssuedShares",
488
+ "type": "uint256"
489
+ }
490
+ ],
491
+ "name": "IssuedSharesBelowMin",
492
+ "type": "error"
493
+ },
494
+ {
495
+ "inputs": [],
496
+ "name": "MaxTokens",
497
+ "type": "error"
498
+ },
499
+ {
500
+ "inputs": [],
501
+ "name": "MinTokens",
502
+ "type": "error"
503
+ },
504
+ {
505
+ "inputs": [],
506
+ "name": "NotEnoughBufferShares",
507
+ "type": "error"
508
+ },
509
+ {
510
+ "inputs": [
511
+ {
512
+ "internalType": "contract IERC4626",
513
+ "name": "wrappedToken",
514
+ "type": "address"
515
+ },
516
+ {
517
+ "internalType": "uint256",
518
+ "name": "expectedUnderlyingAmount",
519
+ "type": "uint256"
520
+ },
521
+ {
522
+ "internalType": "uint256",
523
+ "name": "actualUnderlyingAmount",
524
+ "type": "uint256"
525
+ }
526
+ ],
527
+ "name": "NotEnoughUnderlying",
528
+ "type": "error"
529
+ },
530
+ {
531
+ "inputs": [
532
+ {
533
+ "internalType": "contract IERC4626",
534
+ "name": "wrappedToken",
535
+ "type": "address"
536
+ },
537
+ {
538
+ "internalType": "uint256",
539
+ "name": "expectedWrappedAmount",
540
+ "type": "uint256"
541
+ },
542
+ {
543
+ "internalType": "uint256",
544
+ "name": "actualWrappedAmount",
545
+ "type": "uint256"
546
+ }
547
+ ],
548
+ "name": "NotEnoughWrapped",
549
+ "type": "error"
550
+ },
551
+ {
552
+ "inputs": [],
553
+ "name": "NotStaticCall",
554
+ "type": "error"
555
+ },
556
+ {
557
+ "inputs": [],
558
+ "name": "NotVaultDelegateCall",
559
+ "type": "error"
560
+ },
561
+ {
562
+ "inputs": [],
563
+ "name": "OutOfBounds",
564
+ "type": "error"
565
+ },
566
+ {
567
+ "inputs": [],
568
+ "name": "PauseBufferPeriodDurationTooLarge",
569
+ "type": "error"
570
+ },
571
+ {
572
+ "inputs": [],
573
+ "name": "PercentageAboveMax",
574
+ "type": "error"
575
+ },
576
+ {
577
+ "inputs": [
578
+ {
579
+ "internalType": "address",
580
+ "name": "pool",
581
+ "type": "address"
582
+ }
583
+ ],
584
+ "name": "PoolAlreadyInitialized",
585
+ "type": "error"
586
+ },
587
+ {
588
+ "inputs": [
589
+ {
590
+ "internalType": "address",
591
+ "name": "pool",
592
+ "type": "address"
593
+ }
594
+ ],
595
+ "name": "PoolAlreadyRegistered",
596
+ "type": "error"
597
+ },
598
+ {
599
+ "inputs": [
600
+ {
601
+ "internalType": "address",
602
+ "name": "pool",
603
+ "type": "address"
604
+ }
605
+ ],
606
+ "name": "PoolInRecoveryMode",
607
+ "type": "error"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "address",
613
+ "name": "pool",
614
+ "type": "address"
615
+ }
616
+ ],
617
+ "name": "PoolNotInRecoveryMode",
618
+ "type": "error"
619
+ },
620
+ {
621
+ "inputs": [
622
+ {
623
+ "internalType": "address",
624
+ "name": "pool",
625
+ "type": "address"
626
+ }
627
+ ],
628
+ "name": "PoolNotInitialized",
629
+ "type": "error"
630
+ },
631
+ {
632
+ "inputs": [
633
+ {
634
+ "internalType": "address",
635
+ "name": "pool",
636
+ "type": "address"
637
+ }
638
+ ],
639
+ "name": "PoolNotPaused",
640
+ "type": "error"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "address",
646
+ "name": "pool",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "name": "PoolNotRegistered",
651
+ "type": "error"
652
+ },
653
+ {
654
+ "inputs": [
655
+ {
656
+ "internalType": "address",
657
+ "name": "pool",
658
+ "type": "address"
659
+ }
660
+ ],
661
+ "name": "PoolPauseWindowExpired",
662
+ "type": "error"
663
+ },
664
+ {
665
+ "inputs": [
666
+ {
667
+ "internalType": "address",
668
+ "name": "pool",
669
+ "type": "address"
670
+ }
671
+ ],
672
+ "name": "PoolPaused",
673
+ "type": "error"
674
+ },
675
+ {
676
+ "inputs": [
677
+ {
678
+ "internalType": "uint256",
679
+ "name": "totalSupply",
680
+ "type": "uint256"
681
+ }
682
+ ],
683
+ "name": "PoolTotalSupplyTooLow",
684
+ "type": "error"
685
+ },
686
+ {
687
+ "inputs": [],
688
+ "name": "ProtocolFeesExceedTotalCollected",
689
+ "type": "error"
690
+ },
691
+ {
692
+ "inputs": [],
693
+ "name": "QueriesDisabled",
694
+ "type": "error"
695
+ },
696
+ {
697
+ "inputs": [],
698
+ "name": "QueriesDisabledPermanently",
699
+ "type": "error"
700
+ },
701
+ {
702
+ "inputs": [],
703
+ "name": "QuoteResultSpoofed",
704
+ "type": "error"
705
+ },
706
+ {
707
+ "inputs": [],
708
+ "name": "ReentrancyGuardReentrantCall",
709
+ "type": "error"
710
+ },
711
+ {
712
+ "inputs": [
713
+ {
714
+ "internalType": "bytes",
715
+ "name": "result",
716
+ "type": "bytes"
717
+ }
718
+ ],
719
+ "name": "Result",
720
+ "type": "error"
721
+ },
722
+ {
723
+ "inputs": [],
724
+ "name": "RouterNotTrusted",
725
+ "type": "error"
726
+ },
727
+ {
728
+ "inputs": [
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "value",
732
+ "type": "uint256"
733
+ }
734
+ ],
735
+ "name": "SafeCastOverflowedUintToInt",
736
+ "type": "error"
737
+ },
738
+ {
739
+ "inputs": [
740
+ {
741
+ "internalType": "address",
742
+ "name": "sender",
743
+ "type": "address"
744
+ }
745
+ ],
746
+ "name": "SenderIsNotVault",
747
+ "type": "error"
748
+ },
749
+ {
750
+ "inputs": [],
751
+ "name": "SwapFeePercentageTooHigh",
752
+ "type": "error"
753
+ },
754
+ {
755
+ "inputs": [],
756
+ "name": "SwapFeePercentageTooLow",
757
+ "type": "error"
758
+ },
759
+ {
760
+ "inputs": [
761
+ {
762
+ "internalType": "uint256",
763
+ "name": "amount",
764
+ "type": "uint256"
765
+ },
766
+ {
767
+ "internalType": "uint256",
768
+ "name": "limit",
769
+ "type": "uint256"
770
+ }
771
+ ],
772
+ "name": "SwapLimit",
773
+ "type": "error"
774
+ },
775
+ {
776
+ "inputs": [
777
+ {
778
+ "internalType": "contract IERC20",
779
+ "name": "token",
780
+ "type": "address"
781
+ }
782
+ ],
783
+ "name": "TokenAlreadyRegistered",
784
+ "type": "error"
785
+ },
786
+ {
787
+ "inputs": [
788
+ {
789
+ "internalType": "contract IERC20",
790
+ "name": "token",
791
+ "type": "address"
792
+ }
793
+ ],
794
+ "name": "TokenNotRegistered",
795
+ "type": "error"
796
+ },
797
+ {
798
+ "inputs": [
799
+ {
800
+ "internalType": "address",
801
+ "name": "pool",
802
+ "type": "address"
803
+ },
804
+ {
805
+ "internalType": "address",
806
+ "name": "expectedToken",
807
+ "type": "address"
808
+ },
809
+ {
810
+ "internalType": "address",
811
+ "name": "actualToken",
812
+ "type": "address"
813
+ }
814
+ ],
815
+ "name": "TokensMismatch",
816
+ "type": "error"
817
+ },
818
+ {
819
+ "inputs": [],
820
+ "name": "TokensNotSorted",
821
+ "type": "error"
822
+ },
823
+ {
824
+ "inputs": [],
825
+ "name": "TradeAmountTooSmall",
826
+ "type": "error"
827
+ },
828
+ {
829
+ "inputs": [],
830
+ "name": "VaultBuffersArePaused",
831
+ "type": "error"
832
+ },
833
+ {
834
+ "inputs": [],
835
+ "name": "VaultIsNotUnlocked",
836
+ "type": "error"
837
+ },
838
+ {
839
+ "inputs": [],
840
+ "name": "VaultNotPaused",
841
+ "type": "error"
842
+ },
843
+ {
844
+ "inputs": [],
845
+ "name": "VaultPauseWindowDurationTooLarge",
846
+ "type": "error"
847
+ },
848
+ {
849
+ "inputs": [],
850
+ "name": "VaultPauseWindowExpired",
851
+ "type": "error"
852
+ },
853
+ {
854
+ "inputs": [],
855
+ "name": "VaultPaused",
856
+ "type": "error"
857
+ },
858
+ {
859
+ "inputs": [
860
+ {
861
+ "internalType": "contract IERC4626",
862
+ "name": "wrappedToken",
863
+ "type": "address"
864
+ }
865
+ ],
866
+ "name": "WrapAmountTooSmall",
867
+ "type": "error"
868
+ },
869
+ {
870
+ "inputs": [],
871
+ "name": "WrongProtocolFeeControllerDeployment",
872
+ "type": "error"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "contract IERC4626",
878
+ "name": "wrappedToken",
879
+ "type": "address"
880
+ },
881
+ {
882
+ "internalType": "address",
883
+ "name": "underlyingToken",
884
+ "type": "address"
885
+ }
886
+ ],
887
+ "name": "WrongUnderlyingToken",
888
+ "type": "error"
889
+ },
890
+ {
891
+ "inputs": [],
892
+ "name": "WrongVaultAdminDeployment",
893
+ "type": "error"
894
+ },
895
+ {
896
+ "inputs": [],
897
+ "name": "WrongVaultExtensionDeployment",
898
+ "type": "error"
899
+ },
900
+ {
901
+ "anonymous": false,
902
+ "inputs": [
903
+ {
904
+ "indexed": true,
905
+ "internalType": "address",
906
+ "name": "pool",
907
+ "type": "address"
908
+ },
909
+ {
910
+ "indexed": false,
911
+ "internalType": "uint256",
912
+ "name": "aggregateSwapFeePercentage",
913
+ "type": "uint256"
914
+ }
915
+ ],
916
+ "name": "AggregateSwapFeePercentageChanged",
917
+ "type": "event"
918
+ },
919
+ {
920
+ "anonymous": false,
921
+ "inputs": [
922
+ {
923
+ "indexed": true,
924
+ "internalType": "address",
925
+ "name": "pool",
926
+ "type": "address"
927
+ },
928
+ {
929
+ "indexed": false,
930
+ "internalType": "uint256",
931
+ "name": "aggregateYieldFeePercentage",
932
+ "type": "uint256"
933
+ }
934
+ ],
935
+ "name": "AggregateYieldFeePercentageChanged",
936
+ "type": "event"
937
+ },
938
+ {
939
+ "anonymous": false,
940
+ "inputs": [
941
+ {
942
+ "indexed": true,
943
+ "internalType": "address",
944
+ "name": "pool",
945
+ "type": "address"
946
+ },
947
+ {
948
+ "indexed": true,
949
+ "internalType": "address",
950
+ "name": "owner",
951
+ "type": "address"
952
+ },
953
+ {
954
+ "indexed": true,
955
+ "internalType": "address",
956
+ "name": "spender",
957
+ "type": "address"
958
+ },
959
+ {
960
+ "indexed": false,
961
+ "internalType": "uint256",
962
+ "name": "value",
963
+ "type": "uint256"
964
+ }
965
+ ],
966
+ "name": "Approval",
967
+ "type": "event"
968
+ },
969
+ {
970
+ "anonymous": false,
971
+ "inputs": [
972
+ {
973
+ "indexed": true,
974
+ "internalType": "contract IAuthorizer",
975
+ "name": "newAuthorizer",
976
+ "type": "address"
977
+ }
978
+ ],
979
+ "name": "AuthorizerChanged",
980
+ "type": "event"
981
+ },
982
+ {
983
+ "anonymous": false,
984
+ "inputs": [
985
+ {
986
+ "indexed": true,
987
+ "internalType": "contract IERC4626",
988
+ "name": "wrappedToken",
989
+ "type": "address"
990
+ },
991
+ {
992
+ "indexed": true,
993
+ "internalType": "address",
994
+ "name": "from",
995
+ "type": "address"
996
+ },
997
+ {
998
+ "indexed": false,
999
+ "internalType": "uint256",
1000
+ "name": "burnedShares",
1001
+ "type": "uint256"
1002
+ }
1003
+ ],
1004
+ "name": "BufferSharesBurned",
1005
+ "type": "event"
1006
+ },
1007
+ {
1008
+ "anonymous": false,
1009
+ "inputs": [
1010
+ {
1011
+ "indexed": true,
1012
+ "internalType": "contract IERC4626",
1013
+ "name": "wrappedToken",
1014
+ "type": "address"
1015
+ },
1016
+ {
1017
+ "indexed": true,
1018
+ "internalType": "address",
1019
+ "name": "to",
1020
+ "type": "address"
1021
+ },
1022
+ {
1023
+ "indexed": false,
1024
+ "internalType": "uint256",
1025
+ "name": "issuedShares",
1026
+ "type": "uint256"
1027
+ }
1028
+ ],
1029
+ "name": "BufferSharesMinted",
1030
+ "type": "event"
1031
+ },
1032
+ {
1033
+ "anonymous": false,
1034
+ "inputs": [
1035
+ {
1036
+ "indexed": true,
1037
+ "internalType": "address",
1038
+ "name": "pool",
1039
+ "type": "address"
1040
+ },
1041
+ {
1042
+ "indexed": true,
1043
+ "internalType": "address",
1044
+ "name": "liquidityProvider",
1045
+ "type": "address"
1046
+ },
1047
+ {
1048
+ "indexed": true,
1049
+ "internalType": "enum AddLiquidityKind",
1050
+ "name": "kind",
1051
+ "type": "uint8"
1052
+ },
1053
+ {
1054
+ "indexed": false,
1055
+ "internalType": "uint256",
1056
+ "name": "totalSupply",
1057
+ "type": "uint256"
1058
+ },
1059
+ {
1060
+ "indexed": false,
1061
+ "internalType": "uint256[]",
1062
+ "name": "amountsAddedRaw",
1063
+ "type": "uint256[]"
1064
+ },
1065
+ {
1066
+ "indexed": false,
1067
+ "internalType": "uint256[]",
1068
+ "name": "swapFeeAmountsRaw",
1069
+ "type": "uint256[]"
1070
+ }
1071
+ ],
1072
+ "name": "LiquidityAdded",
1073
+ "type": "event"
1074
+ },
1075
+ {
1076
+ "anonymous": false,
1077
+ "inputs": [
1078
+ {
1079
+ "indexed": true,
1080
+ "internalType": "contract IERC4626",
1081
+ "name": "wrappedToken",
1082
+ "type": "address"
1083
+ },
1084
+ {
1085
+ "indexed": false,
1086
+ "internalType": "uint256",
1087
+ "name": "amountUnderlying",
1088
+ "type": "uint256"
1089
+ },
1090
+ {
1091
+ "indexed": false,
1092
+ "internalType": "uint256",
1093
+ "name": "amountWrapped",
1094
+ "type": "uint256"
1095
+ },
1096
+ {
1097
+ "indexed": false,
1098
+ "internalType": "bytes32",
1099
+ "name": "bufferBalances",
1100
+ "type": "bytes32"
1101
+ }
1102
+ ],
1103
+ "name": "LiquidityAddedToBuffer",
1104
+ "type": "event"
1105
+ },
1106
+ {
1107
+ "anonymous": false,
1108
+ "inputs": [
1109
+ {
1110
+ "indexed": true,
1111
+ "internalType": "address",
1112
+ "name": "pool",
1113
+ "type": "address"
1114
+ },
1115
+ {
1116
+ "indexed": true,
1117
+ "internalType": "address",
1118
+ "name": "liquidityProvider",
1119
+ "type": "address"
1120
+ },
1121
+ {
1122
+ "indexed": true,
1123
+ "internalType": "enum RemoveLiquidityKind",
1124
+ "name": "kind",
1125
+ "type": "uint8"
1126
+ },
1127
+ {
1128
+ "indexed": false,
1129
+ "internalType": "uint256",
1130
+ "name": "totalSupply",
1131
+ "type": "uint256"
1132
+ },
1133
+ {
1134
+ "indexed": false,
1135
+ "internalType": "uint256[]",
1136
+ "name": "amountsRemovedRaw",
1137
+ "type": "uint256[]"
1138
+ },
1139
+ {
1140
+ "indexed": false,
1141
+ "internalType": "uint256[]",
1142
+ "name": "swapFeeAmountsRaw",
1143
+ "type": "uint256[]"
1144
+ }
1145
+ ],
1146
+ "name": "LiquidityRemoved",
1147
+ "type": "event"
1148
+ },
1149
+ {
1150
+ "anonymous": false,
1151
+ "inputs": [
1152
+ {
1153
+ "indexed": true,
1154
+ "internalType": "contract IERC4626",
1155
+ "name": "wrappedToken",
1156
+ "type": "address"
1157
+ },
1158
+ {
1159
+ "indexed": false,
1160
+ "internalType": "uint256",
1161
+ "name": "amountUnderlying",
1162
+ "type": "uint256"
1163
+ },
1164
+ {
1165
+ "indexed": false,
1166
+ "internalType": "uint256",
1167
+ "name": "amountWrapped",
1168
+ "type": "uint256"
1169
+ },
1170
+ {
1171
+ "indexed": false,
1172
+ "internalType": "bytes32",
1173
+ "name": "bufferBalances",
1174
+ "type": "bytes32"
1175
+ }
1176
+ ],
1177
+ "name": "LiquidityRemovedFromBuffer",
1178
+ "type": "event"
1179
+ },
1180
+ {
1181
+ "anonymous": false,
1182
+ "inputs": [
1183
+ {
1184
+ "indexed": true,
1185
+ "internalType": "address",
1186
+ "name": "pool",
1187
+ "type": "address"
1188
+ }
1189
+ ],
1190
+ "name": "PoolInitialized",
1191
+ "type": "event"
1192
+ },
1193
+ {
1194
+ "anonymous": false,
1195
+ "inputs": [
1196
+ {
1197
+ "indexed": true,
1198
+ "internalType": "address",
1199
+ "name": "pool",
1200
+ "type": "address"
1201
+ },
1202
+ {
1203
+ "indexed": false,
1204
+ "internalType": "bool",
1205
+ "name": "paused",
1206
+ "type": "bool"
1207
+ }
1208
+ ],
1209
+ "name": "PoolPausedStateChanged",
1210
+ "type": "event"
1211
+ },
1212
+ {
1213
+ "anonymous": false,
1214
+ "inputs": [
1215
+ {
1216
+ "indexed": true,
1217
+ "internalType": "address",
1218
+ "name": "pool",
1219
+ "type": "address"
1220
+ },
1221
+ {
1222
+ "indexed": false,
1223
+ "internalType": "bool",
1224
+ "name": "recoveryMode",
1225
+ "type": "bool"
1226
+ }
1227
+ ],
1228
+ "name": "PoolRecoveryModeStateChanged",
1229
+ "type": "event"
1230
+ },
1231
+ {
1232
+ "anonymous": false,
1233
+ "inputs": [
1234
+ {
1235
+ "indexed": true,
1236
+ "internalType": "address",
1237
+ "name": "pool",
1238
+ "type": "address"
1239
+ },
1240
+ {
1241
+ "indexed": true,
1242
+ "internalType": "address",
1243
+ "name": "factory",
1244
+ "type": "address"
1245
+ },
1246
+ {
1247
+ "components": [
1248
+ {
1249
+ "internalType": "contract IERC20",
1250
+ "name": "token",
1251
+ "type": "address"
1252
+ },
1253
+ {
1254
+ "internalType": "enum TokenType",
1255
+ "name": "tokenType",
1256
+ "type": "uint8"
1257
+ },
1258
+ {
1259
+ "internalType": "contract IRateProvider",
1260
+ "name": "rateProvider",
1261
+ "type": "address"
1262
+ },
1263
+ {
1264
+ "internalType": "bool",
1265
+ "name": "paysYieldFees",
1266
+ "type": "bool"
1267
+ }
1268
+ ],
1269
+ "indexed": false,
1270
+ "internalType": "struct TokenConfig[]",
1271
+ "name": "tokenConfig",
1272
+ "type": "tuple[]"
1273
+ },
1274
+ {
1275
+ "indexed": false,
1276
+ "internalType": "uint256",
1277
+ "name": "swapFeePercentage",
1278
+ "type": "uint256"
1279
+ },
1280
+ {
1281
+ "indexed": false,
1282
+ "internalType": "uint32",
1283
+ "name": "pauseWindowEndTime",
1284
+ "type": "uint32"
1285
+ },
1286
+ {
1287
+ "components": [
1288
+ {
1289
+ "internalType": "address",
1290
+ "name": "pauseManager",
1291
+ "type": "address"
1292
+ },
1293
+ {
1294
+ "internalType": "address",
1295
+ "name": "swapFeeManager",
1296
+ "type": "address"
1297
+ },
1298
+ {
1299
+ "internalType": "address",
1300
+ "name": "poolCreator",
1301
+ "type": "address"
1302
+ }
1303
+ ],
1304
+ "indexed": false,
1305
+ "internalType": "struct PoolRoleAccounts",
1306
+ "name": "roleAccounts",
1307
+ "type": "tuple"
1308
+ },
1309
+ {
1310
+ "components": [
1311
+ {
1312
+ "internalType": "bool",
1313
+ "name": "enableHookAdjustedAmounts",
1314
+ "type": "bool"
1315
+ },
1316
+ {
1317
+ "internalType": "bool",
1318
+ "name": "shouldCallBeforeInitialize",
1319
+ "type": "bool"
1320
+ },
1321
+ {
1322
+ "internalType": "bool",
1323
+ "name": "shouldCallAfterInitialize",
1324
+ "type": "bool"
1325
+ },
1326
+ {
1327
+ "internalType": "bool",
1328
+ "name": "shouldCallComputeDynamicSwapFee",
1329
+ "type": "bool"
1330
+ },
1331
+ {
1332
+ "internalType": "bool",
1333
+ "name": "shouldCallBeforeSwap",
1334
+ "type": "bool"
1335
+ },
1336
+ {
1337
+ "internalType": "bool",
1338
+ "name": "shouldCallAfterSwap",
1339
+ "type": "bool"
1340
+ },
1341
+ {
1342
+ "internalType": "bool",
1343
+ "name": "shouldCallBeforeAddLiquidity",
1344
+ "type": "bool"
1345
+ },
1346
+ {
1347
+ "internalType": "bool",
1348
+ "name": "shouldCallAfterAddLiquidity",
1349
+ "type": "bool"
1350
+ },
1351
+ {
1352
+ "internalType": "bool",
1353
+ "name": "shouldCallBeforeRemoveLiquidity",
1354
+ "type": "bool"
1355
+ },
1356
+ {
1357
+ "internalType": "bool",
1358
+ "name": "shouldCallAfterRemoveLiquidity",
1359
+ "type": "bool"
1360
+ },
1361
+ {
1362
+ "internalType": "address",
1363
+ "name": "hooksContract",
1364
+ "type": "address"
1365
+ }
1366
+ ],
1367
+ "indexed": false,
1368
+ "internalType": "struct HooksConfig",
1369
+ "name": "hooksConfig",
1370
+ "type": "tuple"
1371
+ },
1372
+ {
1373
+ "components": [
1374
+ {
1375
+ "internalType": "bool",
1376
+ "name": "disableUnbalancedLiquidity",
1377
+ "type": "bool"
1378
+ },
1379
+ {
1380
+ "internalType": "bool",
1381
+ "name": "enableAddLiquidityCustom",
1382
+ "type": "bool"
1383
+ },
1384
+ {
1385
+ "internalType": "bool",
1386
+ "name": "enableRemoveLiquidityCustom",
1387
+ "type": "bool"
1388
+ },
1389
+ {
1390
+ "internalType": "bool",
1391
+ "name": "enableDonation",
1392
+ "type": "bool"
1393
+ }
1394
+ ],
1395
+ "indexed": false,
1396
+ "internalType": "struct LiquidityManagement",
1397
+ "name": "liquidityManagement",
1398
+ "type": "tuple"
1399
+ }
1400
+ ],
1401
+ "name": "PoolRegistered",
1402
+ "type": "event"
1403
+ },
1404
+ {
1405
+ "anonymous": false,
1406
+ "inputs": [
1407
+ {
1408
+ "indexed": true,
1409
+ "internalType": "contract IProtocolFeeController",
1410
+ "name": "newProtocolFeeController",
1411
+ "type": "address"
1412
+ }
1413
+ ],
1414
+ "name": "ProtocolFeeControllerChanged",
1415
+ "type": "event"
1416
+ },
1417
+ {
1418
+ "anonymous": false,
1419
+ "inputs": [
1420
+ {
1421
+ "indexed": true,
1422
+ "internalType": "address",
1423
+ "name": "pool",
1424
+ "type": "address"
1425
+ },
1426
+ {
1427
+ "indexed": true,
1428
+ "internalType": "contract IERC20",
1429
+ "name": "tokenIn",
1430
+ "type": "address"
1431
+ },
1432
+ {
1433
+ "indexed": true,
1434
+ "internalType": "contract IERC20",
1435
+ "name": "tokenOut",
1436
+ "type": "address"
1437
+ },
1438
+ {
1439
+ "indexed": false,
1440
+ "internalType": "uint256",
1441
+ "name": "amountIn",
1442
+ "type": "uint256"
1443
+ },
1444
+ {
1445
+ "indexed": false,
1446
+ "internalType": "uint256",
1447
+ "name": "amountOut",
1448
+ "type": "uint256"
1449
+ },
1450
+ {
1451
+ "indexed": false,
1452
+ "internalType": "uint256",
1453
+ "name": "swapFeePercentage",
1454
+ "type": "uint256"
1455
+ },
1456
+ {
1457
+ "indexed": false,
1458
+ "internalType": "uint256",
1459
+ "name": "swapFeeAmount",
1460
+ "type": "uint256"
1461
+ }
1462
+ ],
1463
+ "name": "Swap",
1464
+ "type": "event"
1465
+ },
1466
+ {
1467
+ "anonymous": false,
1468
+ "inputs": [
1469
+ {
1470
+ "indexed": true,
1471
+ "internalType": "address",
1472
+ "name": "pool",
1473
+ "type": "address"
1474
+ },
1475
+ {
1476
+ "indexed": false,
1477
+ "internalType": "uint256",
1478
+ "name": "swapFeePercentage",
1479
+ "type": "uint256"
1480
+ }
1481
+ ],
1482
+ "name": "SwapFeePercentageChanged",
1483
+ "type": "event"
1484
+ },
1485
+ {
1486
+ "anonymous": false,
1487
+ "inputs": [
1488
+ {
1489
+ "indexed": true,
1490
+ "internalType": "address",
1491
+ "name": "pool",
1492
+ "type": "address"
1493
+ },
1494
+ {
1495
+ "indexed": true,
1496
+ "internalType": "address",
1497
+ "name": "from",
1498
+ "type": "address"
1499
+ },
1500
+ {
1501
+ "indexed": true,
1502
+ "internalType": "address",
1503
+ "name": "to",
1504
+ "type": "address"
1505
+ },
1506
+ {
1507
+ "indexed": false,
1508
+ "internalType": "uint256",
1509
+ "name": "value",
1510
+ "type": "uint256"
1511
+ }
1512
+ ],
1513
+ "name": "Transfer",
1514
+ "type": "event"
1515
+ },
1516
+ {
1517
+ "anonymous": false,
1518
+ "inputs": [
1519
+ {
1520
+ "indexed": true,
1521
+ "internalType": "contract IERC4626",
1522
+ "name": "wrappedToken",
1523
+ "type": "address"
1524
+ },
1525
+ {
1526
+ "indexed": false,
1527
+ "internalType": "uint256",
1528
+ "name": "burnedShares",
1529
+ "type": "uint256"
1530
+ },
1531
+ {
1532
+ "indexed": false,
1533
+ "internalType": "uint256",
1534
+ "name": "withdrawnUnderlying",
1535
+ "type": "uint256"
1536
+ },
1537
+ {
1538
+ "indexed": false,
1539
+ "internalType": "bytes32",
1540
+ "name": "bufferBalances",
1541
+ "type": "bytes32"
1542
+ }
1543
+ ],
1544
+ "name": "Unwrap",
1545
+ "type": "event"
1546
+ },
1547
+ {
1548
+ "anonymous": false,
1549
+ "inputs": [
1550
+ {
1551
+ "indexed": false,
1552
+ "internalType": "address",
1553
+ "name": "pool",
1554
+ "type": "address"
1555
+ },
1556
+ {
1557
+ "indexed": false,
1558
+ "internalType": "string",
1559
+ "name": "eventKey",
1560
+ "type": "string"
1561
+ },
1562
+ {
1563
+ "indexed": false,
1564
+ "internalType": "bytes",
1565
+ "name": "eventData",
1566
+ "type": "bytes"
1567
+ }
1568
+ ],
1569
+ "name": "VaultAuxiliary",
1570
+ "type": "event"
1571
+ },
1572
+ {
1573
+ "anonymous": false,
1574
+ "inputs": [
1575
+ {
1576
+ "indexed": false,
1577
+ "internalType": "bool",
1578
+ "name": "paused",
1579
+ "type": "bool"
1580
+ }
1581
+ ],
1582
+ "name": "VaultBuffersPausedStateChanged",
1583
+ "type": "event"
1584
+ },
1585
+ {
1586
+ "anonymous": false,
1587
+ "inputs": [
1588
+ {
1589
+ "indexed": false,
1590
+ "internalType": "bool",
1591
+ "name": "paused",
1592
+ "type": "bool"
1593
+ }
1594
+ ],
1595
+ "name": "VaultPausedStateChanged",
1596
+ "type": "event"
1597
+ },
1598
+ {
1599
+ "anonymous": false,
1600
+ "inputs": [],
1601
+ "name": "VaultQueriesDisabled",
1602
+ "type": "event"
1603
+ },
1604
+ {
1605
+ "anonymous": false,
1606
+ "inputs": [],
1607
+ "name": "VaultQueriesEnabled",
1608
+ "type": "event"
1609
+ },
1610
+ {
1611
+ "anonymous": false,
1612
+ "inputs": [
1613
+ {
1614
+ "indexed": true,
1615
+ "internalType": "contract IERC4626",
1616
+ "name": "wrappedToken",
1617
+ "type": "address"
1618
+ },
1619
+ {
1620
+ "indexed": false,
1621
+ "internalType": "uint256",
1622
+ "name": "depositedUnderlying",
1623
+ "type": "uint256"
1624
+ },
1625
+ {
1626
+ "indexed": false,
1627
+ "internalType": "uint256",
1628
+ "name": "mintedShares",
1629
+ "type": "uint256"
1630
+ },
1631
+ {
1632
+ "indexed": false,
1633
+ "internalType": "bytes32",
1634
+ "name": "bufferBalances",
1635
+ "type": "bytes32"
1636
+ }
1637
+ ],
1638
+ "name": "Wrap",
1639
+ "type": "event"
1640
+ },
1641
+ {
1642
+ "stateMutability": "payable",
1643
+ "type": "fallback"
1644
+ },
1645
+ {
1646
+ "inputs": [
1647
+ {
1648
+ "internalType": "address",
1649
+ "name": "token",
1650
+ "type": "address"
1651
+ },
1652
+ {
1653
+ "internalType": "address",
1654
+ "name": "owner",
1655
+ "type": "address"
1656
+ },
1657
+ {
1658
+ "internalType": "address",
1659
+ "name": "spender",
1660
+ "type": "address"
1661
+ }
1662
+ ],
1663
+ "name": "allowance",
1664
+ "outputs": [
1665
+ {
1666
+ "internalType": "uint256",
1667
+ "name": "",
1668
+ "type": "uint256"
1669
+ }
1670
+ ],
1671
+ "stateMutability": "view",
1672
+ "type": "function"
1673
+ },
1674
+ {
1675
+ "inputs": [
1676
+ {
1677
+ "internalType": "address",
1678
+ "name": "owner",
1679
+ "type": "address"
1680
+ },
1681
+ {
1682
+ "internalType": "address",
1683
+ "name": "spender",
1684
+ "type": "address"
1685
+ },
1686
+ {
1687
+ "internalType": "uint256",
1688
+ "name": "amount",
1689
+ "type": "uint256"
1690
+ }
1691
+ ],
1692
+ "name": "approve",
1693
+ "outputs": [
1694
+ {
1695
+ "internalType": "bool",
1696
+ "name": "",
1697
+ "type": "bool"
1698
+ }
1699
+ ],
1700
+ "stateMutability": "nonpayable",
1701
+ "type": "function"
1702
+ },
1703
+ {
1704
+ "inputs": [
1705
+ {
1706
+ "internalType": "address",
1707
+ "name": "token",
1708
+ "type": "address"
1709
+ },
1710
+ {
1711
+ "internalType": "address",
1712
+ "name": "account",
1713
+ "type": "address"
1714
+ }
1715
+ ],
1716
+ "name": "balanceOf",
1717
+ "outputs": [
1718
+ {
1719
+ "internalType": "uint256",
1720
+ "name": "",
1721
+ "type": "uint256"
1722
+ }
1723
+ ],
1724
+ "stateMutability": "view",
1725
+ "type": "function"
1726
+ },
1727
+ {
1728
+ "inputs": [
1729
+ {
1730
+ "internalType": "address",
1731
+ "name": "pool",
1732
+ "type": "address"
1733
+ },
1734
+ {
1735
+ "components": [
1736
+ {
1737
+ "internalType": "enum SwapKind",
1738
+ "name": "kind",
1739
+ "type": "uint8"
1740
+ },
1741
+ {
1742
+ "internalType": "uint256",
1743
+ "name": "amountGivenScaled18",
1744
+ "type": "uint256"
1745
+ },
1746
+ {
1747
+ "internalType": "uint256[]",
1748
+ "name": "balancesScaled18",
1749
+ "type": "uint256[]"
1750
+ },
1751
+ {
1752
+ "internalType": "uint256",
1753
+ "name": "indexIn",
1754
+ "type": "uint256"
1755
+ },
1756
+ {
1757
+ "internalType": "uint256",
1758
+ "name": "indexOut",
1759
+ "type": "uint256"
1760
+ },
1761
+ {
1762
+ "internalType": "address",
1763
+ "name": "router",
1764
+ "type": "address"
1765
+ },
1766
+ {
1767
+ "internalType": "bytes",
1768
+ "name": "userData",
1769
+ "type": "bytes"
1770
+ }
1771
+ ],
1772
+ "internalType": "struct PoolSwapParams",
1773
+ "name": "swapParams",
1774
+ "type": "tuple"
1775
+ }
1776
+ ],
1777
+ "name": "computeDynamicSwapFeePercentage",
1778
+ "outputs": [
1779
+ {
1780
+ "internalType": "uint256",
1781
+ "name": "dynamicSwapFeePercentage",
1782
+ "type": "uint256"
1783
+ }
1784
+ ],
1785
+ "stateMutability": "view",
1786
+ "type": "function"
1787
+ },
1788
+ {
1789
+ "inputs": [
1790
+ {
1791
+ "internalType": "string",
1792
+ "name": "eventKey",
1793
+ "type": "string"
1794
+ },
1795
+ {
1796
+ "internalType": "bytes",
1797
+ "name": "eventData",
1798
+ "type": "bytes"
1799
+ }
1800
+ ],
1801
+ "name": "emitAuxiliaryEvent",
1802
+ "outputs": [],
1803
+ "stateMutability": "nonpayable",
1804
+ "type": "function"
1805
+ },
1806
+ {
1807
+ "inputs": [
1808
+ {
1809
+ "internalType": "address",
1810
+ "name": "pool",
1811
+ "type": "address"
1812
+ }
1813
+ ],
1814
+ "name": "getAddLiquidityCalledFlag",
1815
+ "outputs": [
1816
+ {
1817
+ "internalType": "bool",
1818
+ "name": "",
1819
+ "type": "bool"
1820
+ }
1821
+ ],
1822
+ "stateMutability": "view",
1823
+ "type": "function"
1824
+ },
1825
+ {
1826
+ "inputs": [
1827
+ {
1828
+ "internalType": "address",
1829
+ "name": "pool",
1830
+ "type": "address"
1831
+ },
1832
+ {
1833
+ "internalType": "contract IERC20",
1834
+ "name": "token",
1835
+ "type": "address"
1836
+ }
1837
+ ],
1838
+ "name": "getAggregateSwapFeeAmount",
1839
+ "outputs": [
1840
+ {
1841
+ "internalType": "uint256",
1842
+ "name": "",
1843
+ "type": "uint256"
1844
+ }
1845
+ ],
1846
+ "stateMutability": "view",
1847
+ "type": "function"
1848
+ },
1849
+ {
1850
+ "inputs": [
1851
+ {
1852
+ "internalType": "address",
1853
+ "name": "pool",
1854
+ "type": "address"
1855
+ },
1856
+ {
1857
+ "internalType": "contract IERC20",
1858
+ "name": "token",
1859
+ "type": "address"
1860
+ }
1861
+ ],
1862
+ "name": "getAggregateYieldFeeAmount",
1863
+ "outputs": [
1864
+ {
1865
+ "internalType": "uint256",
1866
+ "name": "",
1867
+ "type": "uint256"
1868
+ }
1869
+ ],
1870
+ "stateMutability": "view",
1871
+ "type": "function"
1872
+ },
1873
+ {
1874
+ "inputs": [
1875
+ {
1876
+ "internalType": "address",
1877
+ "name": "pool",
1878
+ "type": "address"
1879
+ }
1880
+ ],
1881
+ "name": "getBptRate",
1882
+ "outputs": [
1883
+ {
1884
+ "internalType": "uint256",
1885
+ "name": "rate",
1886
+ "type": "uint256"
1887
+ }
1888
+ ],
1889
+ "stateMutability": "view",
1890
+ "type": "function"
1891
+ },
1892
+ {
1893
+ "inputs": [
1894
+ {
1895
+ "internalType": "address",
1896
+ "name": "pool",
1897
+ "type": "address"
1898
+ }
1899
+ ],
1900
+ "name": "getCurrentLiveBalances",
1901
+ "outputs": [
1902
+ {
1903
+ "internalType": "uint256[]",
1904
+ "name": "balancesLiveScaled18",
1905
+ "type": "uint256[]"
1906
+ }
1907
+ ],
1908
+ "stateMutability": "view",
1909
+ "type": "function"
1910
+ },
1911
+ {
1912
+ "inputs": [
1913
+ {
1914
+ "internalType": "contract IERC4626",
1915
+ "name": "wrappedToken",
1916
+ "type": "address"
1917
+ }
1918
+ ],
1919
+ "name": "getERC4626BufferAsset",
1920
+ "outputs": [
1921
+ {
1922
+ "internalType": "address",
1923
+ "name": "asset",
1924
+ "type": "address"
1925
+ }
1926
+ ],
1927
+ "stateMutability": "view",
1928
+ "type": "function"
1929
+ },
1930
+ {
1931
+ "inputs": [
1932
+ {
1933
+ "internalType": "address",
1934
+ "name": "pool",
1935
+ "type": "address"
1936
+ }
1937
+ ],
1938
+ "name": "getHooksConfig",
1939
+ "outputs": [
1940
+ {
1941
+ "components": [
1942
+ {
1943
+ "internalType": "bool",
1944
+ "name": "enableHookAdjustedAmounts",
1945
+ "type": "bool"
1946
+ },
1947
+ {
1948
+ "internalType": "bool",
1949
+ "name": "shouldCallBeforeInitialize",
1950
+ "type": "bool"
1951
+ },
1952
+ {
1953
+ "internalType": "bool",
1954
+ "name": "shouldCallAfterInitialize",
1955
+ "type": "bool"
1956
+ },
1957
+ {
1958
+ "internalType": "bool",
1959
+ "name": "shouldCallComputeDynamicSwapFee",
1960
+ "type": "bool"
1961
+ },
1962
+ {
1963
+ "internalType": "bool",
1964
+ "name": "shouldCallBeforeSwap",
1965
+ "type": "bool"
1966
+ },
1967
+ {
1968
+ "internalType": "bool",
1969
+ "name": "shouldCallAfterSwap",
1970
+ "type": "bool"
1971
+ },
1972
+ {
1973
+ "internalType": "bool",
1974
+ "name": "shouldCallBeforeAddLiquidity",
1975
+ "type": "bool"
1976
+ },
1977
+ {
1978
+ "internalType": "bool",
1979
+ "name": "shouldCallAfterAddLiquidity",
1980
+ "type": "bool"
1981
+ },
1982
+ {
1983
+ "internalType": "bool",
1984
+ "name": "shouldCallBeforeRemoveLiquidity",
1985
+ "type": "bool"
1986
+ },
1987
+ {
1988
+ "internalType": "bool",
1989
+ "name": "shouldCallAfterRemoveLiquidity",
1990
+ "type": "bool"
1991
+ },
1992
+ {
1993
+ "internalType": "address",
1994
+ "name": "hooksContract",
1995
+ "type": "address"
1996
+ }
1997
+ ],
1998
+ "internalType": "struct HooksConfig",
1999
+ "name": "",
2000
+ "type": "tuple"
2001
+ }
2002
+ ],
2003
+ "stateMutability": "view",
2004
+ "type": "function"
2005
+ },
2006
+ {
2007
+ "inputs": [],
2008
+ "name": "getNonzeroDeltaCount",
2009
+ "outputs": [
2010
+ {
2011
+ "internalType": "uint256",
2012
+ "name": "",
2013
+ "type": "uint256"
2014
+ }
2015
+ ],
2016
+ "stateMutability": "view",
2017
+ "type": "function"
2018
+ },
2019
+ {
2020
+ "inputs": [
2021
+ {
2022
+ "internalType": "address",
2023
+ "name": "pool",
2024
+ "type": "address"
2025
+ }
2026
+ ],
2027
+ "name": "getPoolConfig",
2028
+ "outputs": [
2029
+ {
2030
+ "components": [
2031
+ {
2032
+ "components": [
2033
+ {
2034
+ "internalType": "bool",
2035
+ "name": "disableUnbalancedLiquidity",
2036
+ "type": "bool"
2037
+ },
2038
+ {
2039
+ "internalType": "bool",
2040
+ "name": "enableAddLiquidityCustom",
2041
+ "type": "bool"
2042
+ },
2043
+ {
2044
+ "internalType": "bool",
2045
+ "name": "enableRemoveLiquidityCustom",
2046
+ "type": "bool"
2047
+ },
2048
+ {
2049
+ "internalType": "bool",
2050
+ "name": "enableDonation",
2051
+ "type": "bool"
2052
+ }
2053
+ ],
2054
+ "internalType": "struct LiquidityManagement",
2055
+ "name": "liquidityManagement",
2056
+ "type": "tuple"
2057
+ },
2058
+ {
2059
+ "internalType": "uint256",
2060
+ "name": "staticSwapFeePercentage",
2061
+ "type": "uint256"
2062
+ },
2063
+ {
2064
+ "internalType": "uint256",
2065
+ "name": "aggregateSwapFeePercentage",
2066
+ "type": "uint256"
2067
+ },
2068
+ {
2069
+ "internalType": "uint256",
2070
+ "name": "aggregateYieldFeePercentage",
2071
+ "type": "uint256"
2072
+ },
2073
+ {
2074
+ "internalType": "uint40",
2075
+ "name": "tokenDecimalDiffs",
2076
+ "type": "uint40"
2077
+ },
2078
+ {
2079
+ "internalType": "uint32",
2080
+ "name": "pauseWindowEndTime",
2081
+ "type": "uint32"
2082
+ },
2083
+ {
2084
+ "internalType": "bool",
2085
+ "name": "isPoolRegistered",
2086
+ "type": "bool"
2087
+ },
2088
+ {
2089
+ "internalType": "bool",
2090
+ "name": "isPoolInitialized",
2091
+ "type": "bool"
2092
+ },
2093
+ {
2094
+ "internalType": "bool",
2095
+ "name": "isPoolPaused",
2096
+ "type": "bool"
2097
+ },
2098
+ {
2099
+ "internalType": "bool",
2100
+ "name": "isPoolInRecoveryMode",
2101
+ "type": "bool"
2102
+ }
2103
+ ],
2104
+ "internalType": "struct PoolConfig",
2105
+ "name": "",
2106
+ "type": "tuple"
2107
+ }
2108
+ ],
2109
+ "stateMutability": "view",
2110
+ "type": "function"
2111
+ },
2112
+ {
2113
+ "inputs": [
2114
+ {
2115
+ "internalType": "address",
2116
+ "name": "pool",
2117
+ "type": "address"
2118
+ }
2119
+ ],
2120
+ "name": "getPoolData",
2121
+ "outputs": [
2122
+ {
2123
+ "components": [
2124
+ {
2125
+ "internalType": "PoolConfigBits",
2126
+ "name": "poolConfigBits",
2127
+ "type": "bytes32"
2128
+ },
2129
+ {
2130
+ "internalType": "contract IERC20[]",
2131
+ "name": "tokens",
2132
+ "type": "address[]"
2133
+ },
2134
+ {
2135
+ "components": [
2136
+ {
2137
+ "internalType": "enum TokenType",
2138
+ "name": "tokenType",
2139
+ "type": "uint8"
2140
+ },
2141
+ {
2142
+ "internalType": "contract IRateProvider",
2143
+ "name": "rateProvider",
2144
+ "type": "address"
2145
+ },
2146
+ {
2147
+ "internalType": "bool",
2148
+ "name": "paysYieldFees",
2149
+ "type": "bool"
2150
+ }
2151
+ ],
2152
+ "internalType": "struct TokenInfo[]",
2153
+ "name": "tokenInfo",
2154
+ "type": "tuple[]"
2155
+ },
2156
+ {
2157
+ "internalType": "uint256[]",
2158
+ "name": "balancesRaw",
2159
+ "type": "uint256[]"
2160
+ },
2161
+ {
2162
+ "internalType": "uint256[]",
2163
+ "name": "balancesLiveScaled18",
2164
+ "type": "uint256[]"
2165
+ },
2166
+ {
2167
+ "internalType": "uint256[]",
2168
+ "name": "tokenRates",
2169
+ "type": "uint256[]"
2170
+ },
2171
+ {
2172
+ "internalType": "uint256[]",
2173
+ "name": "decimalScalingFactors",
2174
+ "type": "uint256[]"
2175
+ }
2176
+ ],
2177
+ "internalType": "struct PoolData",
2178
+ "name": "",
2179
+ "type": "tuple"
2180
+ }
2181
+ ],
2182
+ "stateMutability": "view",
2183
+ "type": "function"
2184
+ },
2185
+ {
2186
+ "inputs": [
2187
+ {
2188
+ "internalType": "address",
2189
+ "name": "pool",
2190
+ "type": "address"
2191
+ }
2192
+ ],
2193
+ "name": "getPoolPausedState",
2194
+ "outputs": [
2195
+ {
2196
+ "internalType": "bool",
2197
+ "name": "",
2198
+ "type": "bool"
2199
+ },
2200
+ {
2201
+ "internalType": "uint32",
2202
+ "name": "",
2203
+ "type": "uint32"
2204
+ },
2205
+ {
2206
+ "internalType": "uint32",
2207
+ "name": "",
2208
+ "type": "uint32"
2209
+ },
2210
+ {
2211
+ "internalType": "address",
2212
+ "name": "",
2213
+ "type": "address"
2214
+ }
2215
+ ],
2216
+ "stateMutability": "view",
2217
+ "type": "function"
2218
+ },
2219
+ {
2220
+ "inputs": [
2221
+ {
2222
+ "internalType": "address",
2223
+ "name": "pool",
2224
+ "type": "address"
2225
+ }
2226
+ ],
2227
+ "name": "getPoolRoleAccounts",
2228
+ "outputs": [
2229
+ {
2230
+ "components": [
2231
+ {
2232
+ "internalType": "address",
2233
+ "name": "pauseManager",
2234
+ "type": "address"
2235
+ },
2236
+ {
2237
+ "internalType": "address",
2238
+ "name": "swapFeeManager",
2239
+ "type": "address"
2240
+ },
2241
+ {
2242
+ "internalType": "address",
2243
+ "name": "poolCreator",
2244
+ "type": "address"
2245
+ }
2246
+ ],
2247
+ "internalType": "struct PoolRoleAccounts",
2248
+ "name": "",
2249
+ "type": "tuple"
2250
+ }
2251
+ ],
2252
+ "stateMutability": "view",
2253
+ "type": "function"
2254
+ },
2255
+ {
2256
+ "inputs": [
2257
+ {
2258
+ "internalType": "address",
2259
+ "name": "pool",
2260
+ "type": "address"
2261
+ }
2262
+ ],
2263
+ "name": "getPoolTokenInfo",
2264
+ "outputs": [
2265
+ {
2266
+ "internalType": "contract IERC20[]",
2267
+ "name": "tokens",
2268
+ "type": "address[]"
2269
+ },
2270
+ {
2271
+ "components": [
2272
+ {
2273
+ "internalType": "enum TokenType",
2274
+ "name": "tokenType",
2275
+ "type": "uint8"
2276
+ },
2277
+ {
2278
+ "internalType": "contract IRateProvider",
2279
+ "name": "rateProvider",
2280
+ "type": "address"
2281
+ },
2282
+ {
2283
+ "internalType": "bool",
2284
+ "name": "paysYieldFees",
2285
+ "type": "bool"
2286
+ }
2287
+ ],
2288
+ "internalType": "struct TokenInfo[]",
2289
+ "name": "tokenInfo",
2290
+ "type": "tuple[]"
2291
+ },
2292
+ {
2293
+ "internalType": "uint256[]",
2294
+ "name": "balancesRaw",
2295
+ "type": "uint256[]"
2296
+ },
2297
+ {
2298
+ "internalType": "uint256[]",
2299
+ "name": "lastBalancesLiveScaled18",
2300
+ "type": "uint256[]"
2301
+ }
2302
+ ],
2303
+ "stateMutability": "view",
2304
+ "type": "function"
2305
+ },
2306
+ {
2307
+ "inputs": [
2308
+ {
2309
+ "internalType": "address",
2310
+ "name": "pool",
2311
+ "type": "address"
2312
+ }
2313
+ ],
2314
+ "name": "getPoolTokenRates",
2315
+ "outputs": [
2316
+ {
2317
+ "internalType": "uint256[]",
2318
+ "name": "decimalScalingFactors",
2319
+ "type": "uint256[]"
2320
+ },
2321
+ {
2322
+ "internalType": "uint256[]",
2323
+ "name": "tokenRates",
2324
+ "type": "uint256[]"
2325
+ }
2326
+ ],
2327
+ "stateMutability": "view",
2328
+ "type": "function"
2329
+ },
2330
+ {
2331
+ "inputs": [
2332
+ {
2333
+ "internalType": "address",
2334
+ "name": "pool",
2335
+ "type": "address"
2336
+ }
2337
+ ],
2338
+ "name": "getPoolTokens",
2339
+ "outputs": [
2340
+ {
2341
+ "internalType": "contract IERC20[]",
2342
+ "name": "tokens",
2343
+ "type": "address[]"
2344
+ }
2345
+ ],
2346
+ "stateMutability": "view",
2347
+ "type": "function"
2348
+ },
2349
+ {
2350
+ "inputs": [],
2351
+ "name": "getProtocolFeeController",
2352
+ "outputs": [
2353
+ {
2354
+ "internalType": "contract IProtocolFeeController",
2355
+ "name": "",
2356
+ "type": "address"
2357
+ }
2358
+ ],
2359
+ "stateMutability": "view",
2360
+ "type": "function"
2361
+ },
2362
+ {
2363
+ "inputs": [
2364
+ {
2365
+ "internalType": "contract IERC20",
2366
+ "name": "token",
2367
+ "type": "address"
2368
+ }
2369
+ ],
2370
+ "name": "getReservesOf",
2371
+ "outputs": [
2372
+ {
2373
+ "internalType": "uint256",
2374
+ "name": "",
2375
+ "type": "uint256"
2376
+ }
2377
+ ],
2378
+ "stateMutability": "view",
2379
+ "type": "function"
2380
+ },
2381
+ {
2382
+ "inputs": [
2383
+ {
2384
+ "internalType": "address",
2385
+ "name": "pool",
2386
+ "type": "address"
2387
+ }
2388
+ ],
2389
+ "name": "getStaticSwapFeePercentage",
2390
+ "outputs": [
2391
+ {
2392
+ "internalType": "uint256",
2393
+ "name": "",
2394
+ "type": "uint256"
2395
+ }
2396
+ ],
2397
+ "stateMutability": "view",
2398
+ "type": "function"
2399
+ },
2400
+ {
2401
+ "inputs": [
2402
+ {
2403
+ "internalType": "contract IERC20",
2404
+ "name": "token",
2405
+ "type": "address"
2406
+ }
2407
+ ],
2408
+ "name": "getTokenDelta",
2409
+ "outputs": [
2410
+ {
2411
+ "internalType": "int256",
2412
+ "name": "",
2413
+ "type": "int256"
2414
+ }
2415
+ ],
2416
+ "stateMutability": "view",
2417
+ "type": "function"
2418
+ },
2419
+ {
2420
+ "inputs": [],
2421
+ "name": "getVaultAdmin",
2422
+ "outputs": [
2423
+ {
2424
+ "internalType": "address",
2425
+ "name": "",
2426
+ "type": "address"
2427
+ }
2428
+ ],
2429
+ "stateMutability": "view",
2430
+ "type": "function"
2431
+ },
2432
+ {
2433
+ "inputs": [
2434
+ {
2435
+ "internalType": "address",
2436
+ "name": "pool",
2437
+ "type": "address"
2438
+ },
2439
+ {
2440
+ "internalType": "address",
2441
+ "name": "to",
2442
+ "type": "address"
2443
+ },
2444
+ {
2445
+ "internalType": "contract IERC20[]",
2446
+ "name": "tokens",
2447
+ "type": "address[]"
2448
+ },
2449
+ {
2450
+ "internalType": "uint256[]",
2451
+ "name": "exactAmountsIn",
2452
+ "type": "uint256[]"
2453
+ },
2454
+ {
2455
+ "internalType": "uint256",
2456
+ "name": "minBptAmountOut",
2457
+ "type": "uint256"
2458
+ },
2459
+ {
2460
+ "internalType": "bytes",
2461
+ "name": "userData",
2462
+ "type": "bytes"
2463
+ }
2464
+ ],
2465
+ "name": "initialize",
2466
+ "outputs": [
2467
+ {
2468
+ "internalType": "uint256",
2469
+ "name": "bptAmountOut",
2470
+ "type": "uint256"
2471
+ }
2472
+ ],
2473
+ "stateMutability": "nonpayable",
2474
+ "type": "function"
2475
+ },
2476
+ {
2477
+ "inputs": [
2478
+ {
2479
+ "internalType": "contract IERC4626",
2480
+ "name": "wrappedToken",
2481
+ "type": "address"
2482
+ }
2483
+ ],
2484
+ "name": "isERC4626BufferInitialized",
2485
+ "outputs": [
2486
+ {
2487
+ "internalType": "bool",
2488
+ "name": "",
2489
+ "type": "bool"
2490
+ }
2491
+ ],
2492
+ "stateMutability": "view",
2493
+ "type": "function"
2494
+ },
2495
+ {
2496
+ "inputs": [
2497
+ {
2498
+ "internalType": "address",
2499
+ "name": "pool",
2500
+ "type": "address"
2501
+ }
2502
+ ],
2503
+ "name": "isPoolInRecoveryMode",
2504
+ "outputs": [
2505
+ {
2506
+ "internalType": "bool",
2507
+ "name": "",
2508
+ "type": "bool"
2509
+ }
2510
+ ],
2511
+ "stateMutability": "view",
2512
+ "type": "function"
2513
+ },
2514
+ {
2515
+ "inputs": [
2516
+ {
2517
+ "internalType": "address",
2518
+ "name": "pool",
2519
+ "type": "address"
2520
+ }
2521
+ ],
2522
+ "name": "isPoolInitialized",
2523
+ "outputs": [
2524
+ {
2525
+ "internalType": "bool",
2526
+ "name": "",
2527
+ "type": "bool"
2528
+ }
2529
+ ],
2530
+ "stateMutability": "view",
2531
+ "type": "function"
2532
+ },
2533
+ {
2534
+ "inputs": [
2535
+ {
2536
+ "internalType": "address",
2537
+ "name": "pool",
2538
+ "type": "address"
2539
+ }
2540
+ ],
2541
+ "name": "isPoolPaused",
2542
+ "outputs": [
2543
+ {
2544
+ "internalType": "bool",
2545
+ "name": "",
2546
+ "type": "bool"
2547
+ }
2548
+ ],
2549
+ "stateMutability": "view",
2550
+ "type": "function"
2551
+ },
2552
+ {
2553
+ "inputs": [
2554
+ {
2555
+ "internalType": "address",
2556
+ "name": "pool",
2557
+ "type": "address"
2558
+ }
2559
+ ],
2560
+ "name": "isPoolRegistered",
2561
+ "outputs": [
2562
+ {
2563
+ "internalType": "bool",
2564
+ "name": "",
2565
+ "type": "bool"
2566
+ }
2567
+ ],
2568
+ "stateMutability": "view",
2569
+ "type": "function"
2570
+ },
2571
+ {
2572
+ "inputs": [],
2573
+ "name": "isQueryDisabled",
2574
+ "outputs": [
2575
+ {
2576
+ "internalType": "bool",
2577
+ "name": "",
2578
+ "type": "bool"
2579
+ }
2580
+ ],
2581
+ "stateMutability": "view",
2582
+ "type": "function"
2583
+ },
2584
+ {
2585
+ "inputs": [],
2586
+ "name": "isQueryDisabledPermanently",
2587
+ "outputs": [
2588
+ {
2589
+ "internalType": "bool",
2590
+ "name": "",
2591
+ "type": "bool"
2592
+ }
2593
+ ],
2594
+ "stateMutability": "view",
2595
+ "type": "function"
2596
+ },
2597
+ {
2598
+ "inputs": [],
2599
+ "name": "isUnlocked",
2600
+ "outputs": [
2601
+ {
2602
+ "internalType": "bool",
2603
+ "name": "",
2604
+ "type": "bool"
2605
+ }
2606
+ ],
2607
+ "stateMutability": "view",
2608
+ "type": "function"
2609
+ },
2610
+ {
2611
+ "inputs": [
2612
+ {
2613
+ "internalType": "bytes",
2614
+ "name": "data",
2615
+ "type": "bytes"
2616
+ }
2617
+ ],
2618
+ "name": "quote",
2619
+ "outputs": [
2620
+ {
2621
+ "internalType": "bytes",
2622
+ "name": "result",
2623
+ "type": "bytes"
2624
+ }
2625
+ ],
2626
+ "stateMutability": "nonpayable",
2627
+ "type": "function"
2628
+ },
2629
+ {
2630
+ "inputs": [
2631
+ {
2632
+ "internalType": "bytes",
2633
+ "name": "data",
2634
+ "type": "bytes"
2635
+ }
2636
+ ],
2637
+ "name": "quoteAndRevert",
2638
+ "outputs": [],
2639
+ "stateMutability": "nonpayable",
2640
+ "type": "function"
2641
+ },
2642
+ {
2643
+ "inputs": [],
2644
+ "name": "reentrancyGuardEntered",
2645
+ "outputs": [
2646
+ {
2647
+ "internalType": "bool",
2648
+ "name": "",
2649
+ "type": "bool"
2650
+ }
2651
+ ],
2652
+ "stateMutability": "view",
2653
+ "type": "function"
2654
+ },
2655
+ {
2656
+ "inputs": [
2657
+ {
2658
+ "internalType": "address",
2659
+ "name": "pool",
2660
+ "type": "address"
2661
+ },
2662
+ {
2663
+ "components": [
2664
+ {
2665
+ "internalType": "contract IERC20",
2666
+ "name": "token",
2667
+ "type": "address"
2668
+ },
2669
+ {
2670
+ "internalType": "enum TokenType",
2671
+ "name": "tokenType",
2672
+ "type": "uint8"
2673
+ },
2674
+ {
2675
+ "internalType": "contract IRateProvider",
2676
+ "name": "rateProvider",
2677
+ "type": "address"
2678
+ },
2679
+ {
2680
+ "internalType": "bool",
2681
+ "name": "paysYieldFees",
2682
+ "type": "bool"
2683
+ }
2684
+ ],
2685
+ "internalType": "struct TokenConfig[]",
2686
+ "name": "tokenConfig",
2687
+ "type": "tuple[]"
2688
+ },
2689
+ {
2690
+ "internalType": "uint256",
2691
+ "name": "swapFeePercentage",
2692
+ "type": "uint256"
2693
+ },
2694
+ {
2695
+ "internalType": "uint32",
2696
+ "name": "pauseWindowEndTime",
2697
+ "type": "uint32"
2698
+ },
2699
+ {
2700
+ "internalType": "bool",
2701
+ "name": "protocolFeeExempt",
2702
+ "type": "bool"
2703
+ },
2704
+ {
2705
+ "components": [
2706
+ {
2707
+ "internalType": "address",
2708
+ "name": "pauseManager",
2709
+ "type": "address"
2710
+ },
2711
+ {
2712
+ "internalType": "address",
2713
+ "name": "swapFeeManager",
2714
+ "type": "address"
2715
+ },
2716
+ {
2717
+ "internalType": "address",
2718
+ "name": "poolCreator",
2719
+ "type": "address"
2720
+ }
2721
+ ],
2722
+ "internalType": "struct PoolRoleAccounts",
2723
+ "name": "roleAccounts",
2724
+ "type": "tuple"
2725
+ },
2726
+ {
2727
+ "internalType": "address",
2728
+ "name": "poolHooksContract",
2729
+ "type": "address"
2730
+ },
2731
+ {
2732
+ "components": [
2733
+ {
2734
+ "internalType": "bool",
2735
+ "name": "disableUnbalancedLiquidity",
2736
+ "type": "bool"
2737
+ },
2738
+ {
2739
+ "internalType": "bool",
2740
+ "name": "enableAddLiquidityCustom",
2741
+ "type": "bool"
2742
+ },
2743
+ {
2744
+ "internalType": "bool",
2745
+ "name": "enableRemoveLiquidityCustom",
2746
+ "type": "bool"
2747
+ },
2748
+ {
2749
+ "internalType": "bool",
2750
+ "name": "enableDonation",
2751
+ "type": "bool"
2752
+ }
2753
+ ],
2754
+ "internalType": "struct LiquidityManagement",
2755
+ "name": "liquidityManagement",
2756
+ "type": "tuple"
2757
+ }
2758
+ ],
2759
+ "name": "registerPool",
2760
+ "outputs": [],
2761
+ "stateMutability": "nonpayable",
2762
+ "type": "function"
2763
+ },
2764
+ {
2765
+ "inputs": [
2766
+ {
2767
+ "internalType": "address",
2768
+ "name": "pool",
2769
+ "type": "address"
2770
+ },
2771
+ {
2772
+ "internalType": "address",
2773
+ "name": "from",
2774
+ "type": "address"
2775
+ },
2776
+ {
2777
+ "internalType": "uint256",
2778
+ "name": "exactBptAmountIn",
2779
+ "type": "uint256"
2780
+ },
2781
+ {
2782
+ "internalType": "uint256[]",
2783
+ "name": "minAmountsOut",
2784
+ "type": "uint256[]"
2785
+ }
2786
+ ],
2787
+ "name": "removeLiquidityRecovery",
2788
+ "outputs": [
2789
+ {
2790
+ "internalType": "uint256[]",
2791
+ "name": "amountsOutRaw",
2792
+ "type": "uint256[]"
2793
+ }
2794
+ ],
2795
+ "stateMutability": "nonpayable",
2796
+ "type": "function"
2797
+ },
2798
+ {
2799
+ "inputs": [
2800
+ {
2801
+ "internalType": "address",
2802
+ "name": "token",
2803
+ "type": "address"
2804
+ }
2805
+ ],
2806
+ "name": "totalSupply",
2807
+ "outputs": [
2808
+ {
2809
+ "internalType": "uint256",
2810
+ "name": "",
2811
+ "type": "uint256"
2812
+ }
2813
+ ],
2814
+ "stateMutability": "view",
2815
+ "type": "function"
2816
+ },
2817
+ {
2818
+ "inputs": [],
2819
+ "name": "vault",
2820
+ "outputs": [
2821
+ {
2822
+ "internalType": "contract IVault",
2823
+ "name": "",
2824
+ "type": "address"
2825
+ }
2826
+ ],
2827
+ "stateMutability": "view",
2828
+ "type": "function"
2829
+ },
2830
+ {
2831
+ "stateMutability": "payable",
2832
+ "type": "receive"
2833
+ }
2834
+ ]