@paraswap/dex-lib 4.0.20 → 4.0.21

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 (241) hide show
  1. package/.vscode/launch.json +53 -0
  2. package/.vscode/settings.json +2 -0
  3. package/.vscode/tasks.json +15 -0
  4. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +52 -0
  5. package/build/abi/usual-m-smart-m/usualM.abi.json +483 -0
  6. package/build/abi/{angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json → wombat/pool.json} +637 -594
  7. package/build/dex/aave-v1/aave-v1.js +1 -0
  8. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  9. package/build/dex/aave-v2/tokens-avalanche.json +44 -0
  10. package/build/dex/aave-v2/tokens-mainnet.json +188 -0
  11. package/build/dex/aave-v2/tokens-polygon.json +44 -0
  12. package/build/dex/bProtocol.d.ts +18 -0
  13. package/build/dex/bProtocol.js +39 -0
  14. package/build/dex/bProtocol.js.map +1 -0
  15. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +729 -0
  16. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +732 -0
  17. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +1 -0
  18. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +1406 -0
  19. package/build/dex/balancer-v3/abi/balancerRouter.js +1175 -0
  20. package/build/dex/balancer-v3/abi/balancerRouter.js.map +1 -0
  21. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +2081 -0
  22. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +1851 -0
  23. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +1 -0
  24. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +34 -0
  25. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +406 -0
  26. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +1 -0
  27. package/build/dex/bancor.d.ts +26 -0
  28. package/build/dex/bancor.js +58 -0
  29. package/build/dex/bancor.js.map +1 -0
  30. package/build/dex/compound.d.ts +18 -0
  31. package/build/dex/compound.js +46 -0
  32. package/build/dex/compound.js.map +1 -0
  33. package/build/dex/curve-v2.d.ts +58 -0
  34. package/build/dex/curve-v2.js +180 -0
  35. package/build/dex/curve-v2.js.map +1 -0
  36. package/build/dex/dodo-v1.d.ts +33 -0
  37. package/build/dex/dodo-v1.js +63 -0
  38. package/build/dex/dodo-v1.js.map +1 -0
  39. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  40. package/build/dex/inception/inception-event-pool.js +7 -9
  41. package/build/dex/inception/inception-event-pool.js.map +1 -1
  42. package/build/dex/inception/inception.d.ts +6 -6
  43. package/build/dex/inception/inception.js +16 -40
  44. package/build/dex/inception/inception.js.map +1 -1
  45. package/build/dex/inception/utils.d.ts +1 -0
  46. package/build/dex/inception/utils.js +22 -1
  47. package/build/dex/inception/utils.js.map +1 -1
  48. package/build/dex/lido.d.ts +19 -0
  49. package/build/dex/lido.js +42 -0
  50. package/build/dex/lido.js.map +1 -0
  51. package/build/dex/maker-psm/scripts/gem.abi.json +136 -0
  52. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  53. package/build/dex/maker-psm/scripts/validate-state.js +185 -0
  54. package/build/dex/maker-psm/scripts/validate-state.js.map +1 -0
  55. package/build/dex/maker-psm/scripts/vat.abi.json +243 -0
  56. package/build/dex/onebit.d.ts +25 -0
  57. package/build/dex/onebit.js +42 -0
  58. package/build/dex/onebit.js.map +1 -0
  59. package/build/dex/platypus/platypus.js +17 -3
  60. package/build/dex/platypus/platypus.js.map +1 -1
  61. package/build/dex/smoothy.d.ts +26 -0
  62. package/build/dex/smoothy.js +48 -0
  63. package/build/dex/smoothy.js.map +1 -0
  64. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
  65. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
  66. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
  67. package/build/dex/stable-pool.d.ts +28 -0
  68. package/build/dex/stable-pool.js +55 -0
  69. package/build/dex/stable-pool.js.map +1 -0
  70. package/build/dex/stkgho/stkgho.js +4 -2
  71. package/build/dex/stkgho/stkgho.js.map +1 -1
  72. package/build/dex/swaap-v1/swaap-v1.js +4 -0
  73. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  74. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
  75. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
  76. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
  77. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  78. package/build/dex/trader-joe-v2.1.js +79 -0
  79. package/build/dex/trader-joe-v2.1.js.map +1 -0
  80. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
  81. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
  82. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
  83. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
  84. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
  85. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
  86. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +4 -0
  87. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +43 -0
  88. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +1 -0
  89. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +1 -0
  90. package/build/dex/uniswap-v3/uniswap-v3-worker.js +10 -0
  91. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +1 -0
  92. package/build/dex/usual/usual-m-smart-m.d.ts +17 -0
  93. package/build/dex/usual/usual-m-smart-m.js +50 -0
  94. package/build/dex/usual/usual-m-smart-m.js.map +1 -0
  95. package/build/dex/usual-m-smart-m/config.d.ts +3 -0
  96. package/build/dex/usual-m-smart-m/config.js +13 -0
  97. package/build/dex/usual-m-smart-m/config.js.map +1 -0
  98. package/build/dex/usual-m-smart-m/types.d.ts +7 -0
  99. package/build/dex/usual-m-smart-m/types.js +3 -0
  100. package/build/dex/usual-m-smart-m/types.js.map +1 -0
  101. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +35 -0
  102. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +161 -0
  103. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +1 -0
  104. package/build/dex/usual-m-usd0/config.d.ts +3 -0
  105. package/build/dex/usual-m-usd0/config.js +14 -0
  106. package/build/dex/usual-m-usd0/config.js.map +1 -0
  107. package/build/dex/usual-m-usd0/types.d.ts +8 -0
  108. package/build/dex/usual-m-usd0/types.js +3 -0
  109. package/build/dex/usual-m-usd0/types.js.map +1 -0
  110. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +35 -0
  111. package/build/dex/usual-m-usd0/usual-m-usd0.js +159 -0
  112. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +1 -0
  113. package/package.json +1 -1
  114. package/src/dex/stkgho/stkgho.ts +4 -2
  115. package/build/abi/Aave_GSM.json +0 -751
  116. package/build/abi/Balancer.json +0 -257
  117. package/build/abi/BalancerV2.json +0 -1179
  118. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  119. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  120. package/build/abi/USDM.json +0 -807
  121. package/build/abi/UniswapV2Router.json +0 -397
  122. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  123. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  124. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  125. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  126. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  127. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  128. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  129. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  130. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  131. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  132. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  133. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  134. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  135. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  136. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  137. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  138. package/build/abi/curve-v1/StableSwapY.json +0 -814
  139. package/build/abi/inception/inception-ineth.json +0 -609
  140. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  141. package/build/abi/kyberdmm.abi.json +0 -1148
  142. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  143. package/build/abi/nerve/nerve-metapool.json +0 -790
  144. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  145. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  146. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  147. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  148. package/build/dex/bebop/websocket-fetcher.js +0 -87
  149. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  150. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  151. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  152. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  153. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  154. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  155. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  156. package/build/dex/idle-dao/scripts.d.ts +0 -9
  157. package/build/dex/idle-dao/scripts.js +0 -552
  158. package/build/dex/idle-dao/scripts.js.map +0 -1
  159. package/build/dex/inception/inception-native.d.ts +0 -43
  160. package/build/dex/inception/inception-native.js +0 -131
  161. package/build/dex/inception/inception-native.js.map +0 -1
  162. package/build/dex/inception/inception-pool.d.ts +0 -18
  163. package/build/dex/inception/inception-pool.js +0 -32
  164. package/build/dex/inception/inception-pool.js.map +0 -1
  165. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  166. package/build/dex/inception/inception-price-feed.js +0 -51
  167. package/build/dex/inception/inception-price-feed.js.map +0 -1
  168. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  169. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  170. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  171. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  172. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  173. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  174. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  175. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  176. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  177. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  178. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  179. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  180. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  181. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  182. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  183. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  184. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  185. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  186. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  187. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  188. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  189. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  190. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  191. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  192. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  193. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  194. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  195. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  196. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  197. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  198. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  199. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  200. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  201. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  202. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  203. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  204. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  205. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  206. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  207. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  208. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  209. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  210. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  211. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  212. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  213. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  214. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  215. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  216. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  217. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  218. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  219. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  220. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  221. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  222. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  223. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  224. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  225. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  226. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  227. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  228. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  229. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  230. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  231. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  232. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  233. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  234. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  235. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  236. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  237. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  238. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  239. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  240. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  241. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -0,0 +1,1851 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.vaultExtensionAbi_V3 = void 0;
4
+ exports.vaultExtensionAbi_V3 = [
5
+ {
6
+ inputs: [
7
+ {
8
+ internalType: 'contract IVault',
9
+ name: 'mainVault',
10
+ type: 'address',
11
+ },
12
+ {
13
+ internalType: 'contract IVaultAdmin',
14
+ name: 'vaultAdmin',
15
+ type: 'address',
16
+ },
17
+ ],
18
+ stateMutability: 'nonpayable',
19
+ type: 'constructor',
20
+ },
21
+ {
22
+ inputs: [{ internalType: 'address', name: 'target', type: 'address' }],
23
+ name: 'AddressEmptyCode',
24
+ type: 'error',
25
+ },
26
+ {
27
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
28
+ name: 'AddressInsufficientBalance',
29
+ type: 'error',
30
+ },
31
+ { inputs: [], name: 'AfterAddLiquidityHookFailed', type: 'error' },
32
+ { inputs: [], name: 'AfterInitializeHookFailed', type: 'error' },
33
+ { inputs: [], name: 'AfterRemoveLiquidityHookFailed', type: 'error' },
34
+ { inputs: [], name: 'AfterSwapHookFailed', type: 'error' },
35
+ { inputs: [], name: 'AmountGivenZero', type: 'error' },
36
+ {
37
+ inputs: [
38
+ {
39
+ internalType: 'contract IERC20',
40
+ name: 'tokenIn',
41
+ type: 'address',
42
+ },
43
+ { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
44
+ { internalType: 'uint256', name: 'maxAmountIn', type: 'uint256' },
45
+ ],
46
+ name: 'AmountInAboveMax',
47
+ type: 'error',
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: 'contract IERC20',
53
+ name: 'tokenOut',
54
+ type: 'address',
55
+ },
56
+ { internalType: 'uint256', name: 'amountOut', type: 'uint256' },
57
+ { internalType: 'uint256', name: 'minAmountOut', type: 'uint256' },
58
+ ],
59
+ name: 'AmountOutBelowMin',
60
+ type: 'error',
61
+ },
62
+ { inputs: [], name: 'BalanceNotSettled', type: 'error' },
63
+ { inputs: [], name: 'BalanceOverflow', type: 'error' },
64
+ { inputs: [], name: 'BeforeAddLiquidityHookFailed', type: 'error' },
65
+ { inputs: [], name: 'BeforeInitializeHookFailed', type: 'error' },
66
+ { inputs: [], name: 'BeforeRemoveLiquidityHookFailed', type: 'error' },
67
+ { inputs: [], name: 'BeforeSwapHookFailed', type: 'error' },
68
+ {
69
+ inputs: [
70
+ { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
71
+ { internalType: 'uint256', name: 'maxAmountIn', type: 'uint256' },
72
+ ],
73
+ name: 'BptAmountInAboveMax',
74
+ type: 'error',
75
+ },
76
+ {
77
+ inputs: [
78
+ { internalType: 'uint256', name: 'amountOut', type: 'uint256' },
79
+ { internalType: 'uint256', name: 'minAmountOut', type: 'uint256' },
80
+ ],
81
+ name: 'BptAmountOutBelowMin',
82
+ type: 'error',
83
+ },
84
+ {
85
+ inputs: [
86
+ {
87
+ internalType: 'contract IERC4626',
88
+ name: 'wrappedToken',
89
+ type: 'address',
90
+ },
91
+ ],
92
+ name: 'BufferAlreadyInitialized',
93
+ type: 'error',
94
+ },
95
+ {
96
+ inputs: [
97
+ {
98
+ internalType: 'contract IERC4626',
99
+ name: 'wrappedToken',
100
+ type: 'address',
101
+ },
102
+ ],
103
+ name: 'BufferNotInitialized',
104
+ type: 'error',
105
+ },
106
+ { inputs: [], name: 'BufferSharesInvalidOwner', type: 'error' },
107
+ { inputs: [], name: 'BufferSharesInvalidReceiver', type: 'error' },
108
+ {
109
+ inputs: [{ internalType: 'uint256', name: 'totalSupply', type: 'uint256' }],
110
+ name: 'BufferTotalSupplyTooLow',
111
+ type: 'error',
112
+ },
113
+ { inputs: [], name: 'CannotReceiveEth', type: 'error' },
114
+ { inputs: [], name: 'CannotSwapSameToken', type: 'error' },
115
+ { inputs: [], name: 'CodecOverflow', type: 'error' },
116
+ { inputs: [], name: 'DoesNotSupportAddLiquidityCustom', type: 'error' },
117
+ { inputs: [], name: 'DoesNotSupportDonation', type: 'error' },
118
+ { inputs: [], name: 'DoesNotSupportRemoveLiquidityCustom', type: 'error' },
119
+ { inputs: [], name: 'DoesNotSupportUnbalancedLiquidity', type: 'error' },
120
+ { inputs: [], name: 'DynamicSwapFeeHookFailed', type: 'error' },
121
+ {
122
+ inputs: [
123
+ { internalType: 'address', name: 'spender', type: 'address' },
124
+ { internalType: 'uint256', name: 'allowance', type: 'uint256' },
125
+ { internalType: 'uint256', name: 'needed', type: 'uint256' },
126
+ ],
127
+ name: 'ERC20InsufficientAllowance',
128
+ type: 'error',
129
+ },
130
+ {
131
+ inputs: [
132
+ { internalType: 'address', name: 'sender', type: 'address' },
133
+ { internalType: 'uint256', name: 'balance', type: 'uint256' },
134
+ { internalType: 'uint256', name: 'needed', type: 'uint256' },
135
+ ],
136
+ name: 'ERC20InsufficientBalance',
137
+ type: 'error',
138
+ },
139
+ {
140
+ inputs: [{ internalType: 'address', name: 'approver', type: 'address' }],
141
+ name: 'ERC20InvalidApprover',
142
+ type: 'error',
143
+ },
144
+ {
145
+ inputs: [{ internalType: 'address', name: 'receiver', type: 'address' }],
146
+ name: 'ERC20InvalidReceiver',
147
+ type: 'error',
148
+ },
149
+ {
150
+ inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
151
+ name: 'ERC20InvalidSender',
152
+ type: 'error',
153
+ },
154
+ {
155
+ inputs: [{ internalType: 'address', name: 'spender', type: 'address' }],
156
+ name: 'ERC20InvalidSpender',
157
+ type: 'error',
158
+ },
159
+ { inputs: [], name: 'ErrorSelectorNotFound', type: 'error' },
160
+ { inputs: [], name: 'FailedInnerCall', type: 'error' },
161
+ { inputs: [], name: 'FeePrecisionTooHigh', type: 'error' },
162
+ {
163
+ inputs: [
164
+ {
165
+ internalType: 'contract IERC20',
166
+ name: 'tokenIn',
167
+ type: 'address',
168
+ },
169
+ { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
170
+ { internalType: 'uint256', name: 'maxAmountIn', type: 'uint256' },
171
+ ],
172
+ name: 'HookAdjustedAmountInAboveMax',
173
+ type: 'error',
174
+ },
175
+ {
176
+ inputs: [
177
+ {
178
+ internalType: 'contract IERC20',
179
+ name: 'tokenOut',
180
+ type: 'address',
181
+ },
182
+ { internalType: 'uint256', name: 'amountOut', type: 'uint256' },
183
+ { internalType: 'uint256', name: 'minAmountOut', type: 'uint256' },
184
+ ],
185
+ name: 'HookAdjustedAmountOutBelowMin',
186
+ type: 'error',
187
+ },
188
+ {
189
+ inputs: [
190
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
191
+ { internalType: 'uint256', name: 'limit', type: 'uint256' },
192
+ ],
193
+ name: 'HookAdjustedSwapLimit',
194
+ type: 'error',
195
+ },
196
+ {
197
+ inputs: [
198
+ {
199
+ internalType: 'address',
200
+ name: 'poolHooksContract',
201
+ type: 'address',
202
+ },
203
+ { internalType: 'address', name: 'pool', type: 'address' },
204
+ { internalType: 'address', name: 'poolFactory', type: 'address' },
205
+ ],
206
+ name: 'HookRegistrationFailed',
207
+ type: 'error',
208
+ },
209
+ { inputs: [], name: 'InputLengthMismatch', type: 'error' },
210
+ { inputs: [], name: 'InvalidAddLiquidityKind', type: 'error' },
211
+ { inputs: [], name: 'InvalidRemoveLiquidityKind', type: 'error' },
212
+ { inputs: [], name: 'InvalidToken', type: 'error' },
213
+ { inputs: [], name: 'InvalidTokenConfiguration', type: 'error' },
214
+ { inputs: [], name: 'InvalidTokenType', type: 'error' },
215
+ {
216
+ inputs: [
217
+ {
218
+ internalType: 'contract IERC4626',
219
+ name: 'wrappedToken',
220
+ type: 'address',
221
+ },
222
+ ],
223
+ name: 'InvalidUnderlyingToken',
224
+ type: 'error',
225
+ },
226
+ { inputs: [], name: 'MaxTokens', type: 'error' },
227
+ { inputs: [], name: 'MinTokens', type: 'error' },
228
+ { inputs: [], name: 'NotEnoughBufferShares', type: 'error' },
229
+ {
230
+ inputs: [
231
+ {
232
+ internalType: 'contract IERC4626',
233
+ name: 'wrappedToken',
234
+ type: 'address',
235
+ },
236
+ {
237
+ internalType: 'uint256',
238
+ name: 'expectedUnderlyingAmount',
239
+ type: 'uint256',
240
+ },
241
+ {
242
+ internalType: 'uint256',
243
+ name: 'actualUnderlyingAmount',
244
+ type: 'uint256',
245
+ },
246
+ ],
247
+ name: 'NotEnoughUnderlying',
248
+ type: 'error',
249
+ },
250
+ {
251
+ inputs: [
252
+ {
253
+ internalType: 'contract IERC4626',
254
+ name: 'wrappedToken',
255
+ type: 'address',
256
+ },
257
+ {
258
+ internalType: 'uint256',
259
+ name: 'expectedWrappedAmount',
260
+ type: 'uint256',
261
+ },
262
+ {
263
+ internalType: 'uint256',
264
+ name: 'actualWrappedAmount',
265
+ type: 'uint256',
266
+ },
267
+ ],
268
+ name: 'NotEnoughWrapped',
269
+ type: 'error',
270
+ },
271
+ { inputs: [], name: 'NotStaticCall', type: 'error' },
272
+ { inputs: [], name: 'NotVaultDelegateCall', type: 'error' },
273
+ { inputs: [], name: 'OutOfBounds', type: 'error' },
274
+ { inputs: [], name: 'PauseBufferPeriodDurationTooLarge', type: 'error' },
275
+ { inputs: [], name: 'PercentageAboveMax', type: 'error' },
276
+ {
277
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
278
+ name: 'PoolAlreadyInitialized',
279
+ type: 'error',
280
+ },
281
+ {
282
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
283
+ name: 'PoolAlreadyRegistered',
284
+ type: 'error',
285
+ },
286
+ {
287
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
288
+ name: 'PoolInRecoveryMode',
289
+ type: 'error',
290
+ },
291
+ {
292
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
293
+ name: 'PoolNotInRecoveryMode',
294
+ type: 'error',
295
+ },
296
+ {
297
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
298
+ name: 'PoolNotInitialized',
299
+ type: 'error',
300
+ },
301
+ {
302
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
303
+ name: 'PoolNotPaused',
304
+ type: 'error',
305
+ },
306
+ {
307
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
308
+ name: 'PoolNotRegistered',
309
+ type: 'error',
310
+ },
311
+ {
312
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
313
+ name: 'PoolPauseWindowExpired',
314
+ type: 'error',
315
+ },
316
+ {
317
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
318
+ name: 'PoolPaused',
319
+ type: 'error',
320
+ },
321
+ {
322
+ inputs: [{ internalType: 'uint256', name: 'totalSupply', type: 'uint256' }],
323
+ name: 'PoolTotalSupplyTooLow',
324
+ type: 'error',
325
+ },
326
+ { inputs: [], name: 'ProtocolFeesExceedTotalCollected', type: 'error' },
327
+ { inputs: [], name: 'QueriesDisabled', type: 'error' },
328
+ { inputs: [], name: 'QuoteResultSpoofed', type: 'error' },
329
+ { inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
330
+ {
331
+ inputs: [{ internalType: 'bytes', name: 'result', type: 'bytes' }],
332
+ name: 'Result',
333
+ type: 'error',
334
+ },
335
+ { inputs: [], name: 'RouterNotTrusted', type: 'error' },
336
+ {
337
+ inputs: [{ internalType: 'uint256', name: 'value', type: 'uint256' }],
338
+ name: 'SafeCastOverflowedUintToInt',
339
+ type: 'error',
340
+ },
341
+ {
342
+ inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
343
+ name: 'SenderIsNotVault',
344
+ type: 'error',
345
+ },
346
+ { inputs: [], name: 'SwapFeePercentageTooHigh', type: 'error' },
347
+ { inputs: [], name: 'SwapFeePercentageTooLow', type: 'error' },
348
+ {
349
+ inputs: [
350
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
351
+ { internalType: 'uint256', name: 'limit', type: 'uint256' },
352
+ ],
353
+ name: 'SwapLimit',
354
+ type: 'error',
355
+ },
356
+ {
357
+ inputs: [
358
+ { internalType: 'contract IERC20', name: 'token', type: 'address' },
359
+ ],
360
+ name: 'TokenAlreadyRegistered',
361
+ type: 'error',
362
+ },
363
+ {
364
+ inputs: [
365
+ { internalType: 'contract IERC20', name: 'token', type: 'address' },
366
+ ],
367
+ name: 'TokenNotRegistered',
368
+ type: 'error',
369
+ },
370
+ {
371
+ inputs: [
372
+ { internalType: 'address', name: 'pool', type: 'address' },
373
+ { internalType: 'address', name: 'expectedToken', type: 'address' },
374
+ { internalType: 'address', name: 'actualToken', type: 'address' },
375
+ ],
376
+ name: 'TokensMismatch',
377
+ type: 'error',
378
+ },
379
+ { inputs: [], name: 'TokensNotSorted', type: 'error' },
380
+ { inputs: [], name: 'TradeAmountTooSmall', type: 'error' },
381
+ { inputs: [], name: 'VaultBuffersArePaused', type: 'error' },
382
+ { inputs: [], name: 'VaultIsNotUnlocked', type: 'error' },
383
+ { inputs: [], name: 'VaultNotPaused', type: 'error' },
384
+ { inputs: [], name: 'VaultPauseWindowDurationTooLarge', type: 'error' },
385
+ { inputs: [], name: 'VaultPauseWindowExpired', type: 'error' },
386
+ { inputs: [], name: 'VaultPaused', type: 'error' },
387
+ {
388
+ inputs: [
389
+ {
390
+ internalType: 'contract IERC4626',
391
+ name: 'wrappedToken',
392
+ type: 'address',
393
+ },
394
+ ],
395
+ name: 'WrapAmountTooSmall',
396
+ type: 'error',
397
+ },
398
+ { inputs: [], name: 'WrongProtocolFeeControllerDeployment', type: 'error' },
399
+ {
400
+ inputs: [
401
+ {
402
+ internalType: 'contract IERC4626',
403
+ name: 'wrappedToken',
404
+ type: 'address',
405
+ },
406
+ {
407
+ internalType: 'address',
408
+ name: 'underlyingToken',
409
+ type: 'address',
410
+ },
411
+ ],
412
+ name: 'WrongUnderlyingToken',
413
+ type: 'error',
414
+ },
415
+ { inputs: [], name: 'WrongVaultAdminDeployment', type: 'error' },
416
+ { inputs: [], name: 'WrongVaultExtensionDeployment', type: 'error' },
417
+ {
418
+ anonymous: false,
419
+ inputs: [
420
+ {
421
+ indexed: true,
422
+ internalType: 'address',
423
+ name: 'pool',
424
+ type: 'address',
425
+ },
426
+ {
427
+ indexed: false,
428
+ internalType: 'uint256',
429
+ name: 'aggregateSwapFeePercentage',
430
+ type: 'uint256',
431
+ },
432
+ ],
433
+ name: 'AggregateSwapFeePercentageChanged',
434
+ type: 'event',
435
+ },
436
+ {
437
+ anonymous: false,
438
+ inputs: [
439
+ {
440
+ indexed: true,
441
+ internalType: 'address',
442
+ name: 'pool',
443
+ type: 'address',
444
+ },
445
+ {
446
+ indexed: false,
447
+ internalType: 'uint256',
448
+ name: 'aggregateYieldFeePercentage',
449
+ type: 'uint256',
450
+ },
451
+ ],
452
+ name: 'AggregateYieldFeePercentageChanged',
453
+ type: 'event',
454
+ },
455
+ {
456
+ anonymous: false,
457
+ inputs: [
458
+ {
459
+ indexed: true,
460
+ internalType: 'address',
461
+ name: 'pool',
462
+ type: 'address',
463
+ },
464
+ {
465
+ indexed: true,
466
+ internalType: 'address',
467
+ name: 'owner',
468
+ type: 'address',
469
+ },
470
+ {
471
+ indexed: true,
472
+ internalType: 'address',
473
+ name: 'spender',
474
+ type: 'address',
475
+ },
476
+ {
477
+ indexed: false,
478
+ internalType: 'uint256',
479
+ name: 'value',
480
+ type: 'uint256',
481
+ },
482
+ ],
483
+ name: 'Approval',
484
+ type: 'event',
485
+ },
486
+ {
487
+ anonymous: false,
488
+ inputs: [
489
+ {
490
+ indexed: true,
491
+ internalType: 'contract IAuthorizer',
492
+ name: 'newAuthorizer',
493
+ type: 'address',
494
+ },
495
+ ],
496
+ name: 'AuthorizerChanged',
497
+ type: 'event',
498
+ },
499
+ {
500
+ anonymous: false,
501
+ inputs: [
502
+ {
503
+ indexed: true,
504
+ internalType: 'contract IERC4626',
505
+ name: 'wrappedToken',
506
+ type: 'address',
507
+ },
508
+ {
509
+ indexed: true,
510
+ internalType: 'address',
511
+ name: 'from',
512
+ type: 'address',
513
+ },
514
+ {
515
+ indexed: false,
516
+ internalType: 'uint256',
517
+ name: 'burnedShares',
518
+ type: 'uint256',
519
+ },
520
+ ],
521
+ name: 'BufferSharesBurned',
522
+ type: 'event',
523
+ },
524
+ {
525
+ anonymous: false,
526
+ inputs: [
527
+ {
528
+ indexed: true,
529
+ internalType: 'contract IERC4626',
530
+ name: 'wrappedToken',
531
+ type: 'address',
532
+ },
533
+ {
534
+ indexed: true,
535
+ internalType: 'address',
536
+ name: 'to',
537
+ type: 'address',
538
+ },
539
+ {
540
+ indexed: false,
541
+ internalType: 'uint256',
542
+ name: 'issuedShares',
543
+ type: 'uint256',
544
+ },
545
+ ],
546
+ name: 'BufferSharesMinted',
547
+ type: 'event',
548
+ },
549
+ {
550
+ anonymous: false,
551
+ inputs: [
552
+ {
553
+ indexed: true,
554
+ internalType: 'contract IERC4626',
555
+ name: 'wrappedToken',
556
+ type: 'address',
557
+ },
558
+ {
559
+ indexed: false,
560
+ internalType: 'uint256',
561
+ name: 'amountUnderlying',
562
+ type: 'uint256',
563
+ },
564
+ {
565
+ indexed: false,
566
+ internalType: 'uint256',
567
+ name: 'amountWrapped',
568
+ type: 'uint256',
569
+ },
570
+ ],
571
+ name: 'LiquidityAddedToBuffer',
572
+ type: 'event',
573
+ },
574
+ {
575
+ anonymous: false,
576
+ inputs: [
577
+ {
578
+ indexed: true,
579
+ internalType: 'contract IERC4626',
580
+ name: 'wrappedToken',
581
+ type: 'address',
582
+ },
583
+ {
584
+ indexed: false,
585
+ internalType: 'uint256',
586
+ name: 'amountUnderlying',
587
+ type: 'uint256',
588
+ },
589
+ {
590
+ indexed: false,
591
+ internalType: 'uint256',
592
+ name: 'amountWrapped',
593
+ type: 'uint256',
594
+ },
595
+ ],
596
+ name: 'LiquidityRemovedFromBuffer',
597
+ type: 'event',
598
+ },
599
+ {
600
+ anonymous: false,
601
+ inputs: [
602
+ {
603
+ indexed: true,
604
+ internalType: 'address',
605
+ name: 'pool',
606
+ type: 'address',
607
+ },
608
+ {
609
+ indexed: true,
610
+ internalType: 'address',
611
+ name: 'liquidityProvider',
612
+ type: 'address',
613
+ },
614
+ {
615
+ indexed: false,
616
+ internalType: 'uint256',
617
+ name: 'totalSupply',
618
+ type: 'uint256',
619
+ },
620
+ {
621
+ indexed: false,
622
+ internalType: 'int256[]',
623
+ name: 'deltas',
624
+ type: 'int256[]',
625
+ },
626
+ {
627
+ indexed: false,
628
+ internalType: 'uint256[]',
629
+ name: 'swapFeeAmountsRaw',
630
+ type: 'uint256[]',
631
+ },
632
+ ],
633
+ name: 'PoolBalanceChanged',
634
+ type: 'event',
635
+ },
636
+ {
637
+ anonymous: false,
638
+ inputs: [
639
+ {
640
+ indexed: true,
641
+ internalType: 'address',
642
+ name: 'pool',
643
+ type: 'address',
644
+ },
645
+ ],
646
+ name: 'PoolInitialized',
647
+ type: 'event',
648
+ },
649
+ {
650
+ anonymous: false,
651
+ inputs: [
652
+ {
653
+ indexed: true,
654
+ internalType: 'address',
655
+ name: 'pool',
656
+ type: 'address',
657
+ },
658
+ {
659
+ indexed: false,
660
+ internalType: 'bool',
661
+ name: 'paused',
662
+ type: 'bool',
663
+ },
664
+ ],
665
+ name: 'PoolPausedStateChanged',
666
+ type: 'event',
667
+ },
668
+ {
669
+ anonymous: false,
670
+ inputs: [
671
+ {
672
+ indexed: true,
673
+ internalType: 'address',
674
+ name: 'pool',
675
+ type: 'address',
676
+ },
677
+ {
678
+ indexed: false,
679
+ internalType: 'bool',
680
+ name: 'recoveryMode',
681
+ type: 'bool',
682
+ },
683
+ ],
684
+ name: 'PoolRecoveryModeStateChanged',
685
+ type: 'event',
686
+ },
687
+ {
688
+ anonymous: false,
689
+ inputs: [
690
+ {
691
+ indexed: true,
692
+ internalType: 'address',
693
+ name: 'pool',
694
+ type: 'address',
695
+ },
696
+ {
697
+ indexed: true,
698
+ internalType: 'address',
699
+ name: 'factory',
700
+ type: 'address',
701
+ },
702
+ {
703
+ components: [
704
+ {
705
+ internalType: 'contract IERC20',
706
+ name: 'token',
707
+ type: 'address',
708
+ },
709
+ {
710
+ internalType: 'enum TokenType',
711
+ name: 'tokenType',
712
+ type: 'uint8',
713
+ },
714
+ {
715
+ internalType: 'contract IRateProvider',
716
+ name: 'rateProvider',
717
+ type: 'address',
718
+ },
719
+ {
720
+ internalType: 'bool',
721
+ name: 'paysYieldFees',
722
+ type: 'bool',
723
+ },
724
+ ],
725
+ indexed: false,
726
+ internalType: 'struct TokenConfig[]',
727
+ name: 'tokenConfig',
728
+ type: 'tuple[]',
729
+ },
730
+ {
731
+ indexed: false,
732
+ internalType: 'uint256',
733
+ name: 'swapFeePercentage',
734
+ type: 'uint256',
735
+ },
736
+ {
737
+ indexed: false,
738
+ internalType: 'uint32',
739
+ name: 'pauseWindowEndTime',
740
+ type: 'uint32',
741
+ },
742
+ {
743
+ components: [
744
+ {
745
+ internalType: 'address',
746
+ name: 'pauseManager',
747
+ type: 'address',
748
+ },
749
+ {
750
+ internalType: 'address',
751
+ name: 'swapFeeManager',
752
+ type: 'address',
753
+ },
754
+ {
755
+ internalType: 'address',
756
+ name: 'poolCreator',
757
+ type: 'address',
758
+ },
759
+ ],
760
+ indexed: false,
761
+ internalType: 'struct PoolRoleAccounts',
762
+ name: 'roleAccounts',
763
+ type: 'tuple',
764
+ },
765
+ {
766
+ components: [
767
+ {
768
+ internalType: 'bool',
769
+ name: 'enableHookAdjustedAmounts',
770
+ type: 'bool',
771
+ },
772
+ {
773
+ internalType: 'bool',
774
+ name: 'shouldCallBeforeInitialize',
775
+ type: 'bool',
776
+ },
777
+ {
778
+ internalType: 'bool',
779
+ name: 'shouldCallAfterInitialize',
780
+ type: 'bool',
781
+ },
782
+ {
783
+ internalType: 'bool',
784
+ name: 'shouldCallComputeDynamicSwapFee',
785
+ type: 'bool',
786
+ },
787
+ {
788
+ internalType: 'bool',
789
+ name: 'shouldCallBeforeSwap',
790
+ type: 'bool',
791
+ },
792
+ {
793
+ internalType: 'bool',
794
+ name: 'shouldCallAfterSwap',
795
+ type: 'bool',
796
+ },
797
+ {
798
+ internalType: 'bool',
799
+ name: 'shouldCallBeforeAddLiquidity',
800
+ type: 'bool',
801
+ },
802
+ {
803
+ internalType: 'bool',
804
+ name: 'shouldCallAfterAddLiquidity',
805
+ type: 'bool',
806
+ },
807
+ {
808
+ internalType: 'bool',
809
+ name: 'shouldCallBeforeRemoveLiquidity',
810
+ type: 'bool',
811
+ },
812
+ {
813
+ internalType: 'bool',
814
+ name: 'shouldCallAfterRemoveLiquidity',
815
+ type: 'bool',
816
+ },
817
+ {
818
+ internalType: 'address',
819
+ name: 'hooksContract',
820
+ type: 'address',
821
+ },
822
+ ],
823
+ indexed: false,
824
+ internalType: 'struct HooksConfig',
825
+ name: 'hooksConfig',
826
+ type: 'tuple',
827
+ },
828
+ {
829
+ components: [
830
+ {
831
+ internalType: 'bool',
832
+ name: 'disableUnbalancedLiquidity',
833
+ type: 'bool',
834
+ },
835
+ {
836
+ internalType: 'bool',
837
+ name: 'enableAddLiquidityCustom',
838
+ type: 'bool',
839
+ },
840
+ {
841
+ internalType: 'bool',
842
+ name: 'enableRemoveLiquidityCustom',
843
+ type: 'bool',
844
+ },
845
+ {
846
+ internalType: 'bool',
847
+ name: 'enableDonation',
848
+ type: 'bool',
849
+ },
850
+ ],
851
+ indexed: false,
852
+ internalType: 'struct LiquidityManagement',
853
+ name: 'liquidityManagement',
854
+ type: 'tuple',
855
+ },
856
+ ],
857
+ name: 'PoolRegistered',
858
+ type: 'event',
859
+ },
860
+ {
861
+ anonymous: false,
862
+ inputs: [
863
+ {
864
+ indexed: true,
865
+ internalType: 'contract IProtocolFeeController',
866
+ name: 'newProtocolFeeController',
867
+ type: 'address',
868
+ },
869
+ ],
870
+ name: 'ProtocolFeeControllerChanged',
871
+ type: 'event',
872
+ },
873
+ {
874
+ anonymous: false,
875
+ inputs: [
876
+ {
877
+ indexed: true,
878
+ internalType: 'address',
879
+ name: 'pool',
880
+ type: 'address',
881
+ },
882
+ {
883
+ indexed: true,
884
+ internalType: 'contract IERC20',
885
+ name: 'tokenIn',
886
+ type: 'address',
887
+ },
888
+ {
889
+ indexed: true,
890
+ internalType: 'contract IERC20',
891
+ name: 'tokenOut',
892
+ type: 'address',
893
+ },
894
+ {
895
+ indexed: false,
896
+ internalType: 'uint256',
897
+ name: 'amountIn',
898
+ type: 'uint256',
899
+ },
900
+ {
901
+ indexed: false,
902
+ internalType: 'uint256',
903
+ name: 'amountOut',
904
+ type: 'uint256',
905
+ },
906
+ {
907
+ indexed: false,
908
+ internalType: 'uint256',
909
+ name: 'swapFeePercentage',
910
+ type: 'uint256',
911
+ },
912
+ {
913
+ indexed: false,
914
+ internalType: 'uint256',
915
+ name: 'swapFeeAmount',
916
+ type: 'uint256',
917
+ },
918
+ ],
919
+ name: 'Swap',
920
+ type: 'event',
921
+ },
922
+ {
923
+ anonymous: false,
924
+ inputs: [
925
+ {
926
+ indexed: true,
927
+ internalType: 'address',
928
+ name: 'pool',
929
+ type: 'address',
930
+ },
931
+ {
932
+ indexed: false,
933
+ internalType: 'uint256',
934
+ name: 'swapFeePercentage',
935
+ type: 'uint256',
936
+ },
937
+ ],
938
+ name: 'SwapFeePercentageChanged',
939
+ type: 'event',
940
+ },
941
+ {
942
+ anonymous: false,
943
+ inputs: [
944
+ {
945
+ indexed: true,
946
+ internalType: 'address',
947
+ name: 'pool',
948
+ type: 'address',
949
+ },
950
+ {
951
+ indexed: true,
952
+ internalType: 'address',
953
+ name: 'from',
954
+ type: 'address',
955
+ },
956
+ {
957
+ indexed: true,
958
+ internalType: 'address',
959
+ name: 'to',
960
+ type: 'address',
961
+ },
962
+ {
963
+ indexed: false,
964
+ internalType: 'uint256',
965
+ name: 'value',
966
+ type: 'uint256',
967
+ },
968
+ ],
969
+ name: 'Transfer',
970
+ type: 'event',
971
+ },
972
+ {
973
+ anonymous: false,
974
+ inputs: [
975
+ {
976
+ indexed: true,
977
+ internalType: 'contract IERC4626',
978
+ name: 'wrappedToken',
979
+ type: 'address',
980
+ },
981
+ {
982
+ indexed: true,
983
+ internalType: 'contract IERC20',
984
+ name: 'underlyingToken',
985
+ type: 'address',
986
+ },
987
+ {
988
+ indexed: false,
989
+ internalType: 'uint256',
990
+ name: 'burnedShares',
991
+ type: 'uint256',
992
+ },
993
+ {
994
+ indexed: false,
995
+ internalType: 'uint256',
996
+ name: 'withdrawnUnderlying',
997
+ type: 'uint256',
998
+ },
999
+ ],
1000
+ name: 'Unwrap',
1001
+ type: 'event',
1002
+ },
1003
+ {
1004
+ anonymous: false,
1005
+ inputs: [
1006
+ {
1007
+ indexed: false,
1008
+ internalType: 'bool',
1009
+ name: 'paused',
1010
+ type: 'bool',
1011
+ },
1012
+ ],
1013
+ name: 'VaultBuffersPausedStateChanged',
1014
+ type: 'event',
1015
+ },
1016
+ {
1017
+ anonymous: false,
1018
+ inputs: [
1019
+ {
1020
+ indexed: false,
1021
+ internalType: 'bool',
1022
+ name: 'paused',
1023
+ type: 'bool',
1024
+ },
1025
+ ],
1026
+ name: 'VaultPausedStateChanged',
1027
+ type: 'event',
1028
+ },
1029
+ {
1030
+ anonymous: false,
1031
+ inputs: [],
1032
+ name: 'VaultQueriesDisabled',
1033
+ type: 'event',
1034
+ },
1035
+ {
1036
+ anonymous: false,
1037
+ inputs: [
1038
+ {
1039
+ indexed: true,
1040
+ internalType: 'contract IERC20',
1041
+ name: 'underlyingToken',
1042
+ type: 'address',
1043
+ },
1044
+ {
1045
+ indexed: true,
1046
+ internalType: 'contract IERC4626',
1047
+ name: 'wrappedToken',
1048
+ type: 'address',
1049
+ },
1050
+ {
1051
+ indexed: false,
1052
+ internalType: 'uint256',
1053
+ name: 'depositedUnderlying',
1054
+ type: 'uint256',
1055
+ },
1056
+ {
1057
+ indexed: false,
1058
+ internalType: 'uint256',
1059
+ name: 'mintedShares',
1060
+ type: 'uint256',
1061
+ },
1062
+ ],
1063
+ name: 'Wrap',
1064
+ type: 'event',
1065
+ },
1066
+ { stateMutability: 'payable', type: 'fallback' },
1067
+ {
1068
+ inputs: [
1069
+ { internalType: 'address', name: 'token', type: 'address' },
1070
+ { internalType: 'address', name: 'owner', type: 'address' },
1071
+ { internalType: 'address', name: 'spender', type: 'address' },
1072
+ ],
1073
+ name: 'allowance',
1074
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1075
+ stateMutability: 'view',
1076
+ type: 'function',
1077
+ },
1078
+ {
1079
+ inputs: [
1080
+ { internalType: 'address', name: 'owner', type: 'address' },
1081
+ { internalType: 'address', name: 'spender', type: 'address' },
1082
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
1083
+ ],
1084
+ name: 'approve',
1085
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1086
+ stateMutability: 'nonpayable',
1087
+ type: 'function',
1088
+ },
1089
+ {
1090
+ inputs: [
1091
+ { internalType: 'address', name: 'token', type: 'address' },
1092
+ { internalType: 'address', name: 'account', type: 'address' },
1093
+ ],
1094
+ name: 'balanceOf',
1095
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1096
+ stateMutability: 'view',
1097
+ type: 'function',
1098
+ },
1099
+ {
1100
+ inputs: [
1101
+ { internalType: 'address', name: 'pool', type: 'address' },
1102
+ {
1103
+ components: [
1104
+ {
1105
+ internalType: 'enum SwapKind',
1106
+ name: 'kind',
1107
+ type: 'uint8',
1108
+ },
1109
+ {
1110
+ internalType: 'uint256',
1111
+ name: 'amountGivenScaled18',
1112
+ type: 'uint256',
1113
+ },
1114
+ {
1115
+ internalType: 'uint256[]',
1116
+ name: 'balancesScaled18',
1117
+ type: 'uint256[]',
1118
+ },
1119
+ {
1120
+ internalType: 'uint256',
1121
+ name: 'indexIn',
1122
+ type: 'uint256',
1123
+ },
1124
+ {
1125
+ internalType: 'uint256',
1126
+ name: 'indexOut',
1127
+ type: 'uint256',
1128
+ },
1129
+ {
1130
+ internalType: 'address',
1131
+ name: 'router',
1132
+ type: 'address',
1133
+ },
1134
+ { internalType: 'bytes', name: 'userData', type: 'bytes' },
1135
+ ],
1136
+ internalType: 'struct PoolSwapParams',
1137
+ name: 'swapParams',
1138
+ type: 'tuple',
1139
+ },
1140
+ ],
1141
+ name: 'computeDynamicSwapFeePercentage',
1142
+ outputs: [
1143
+ {
1144
+ internalType: 'uint256',
1145
+ name: 'dynamicSwapFeePercentage',
1146
+ type: 'uint256',
1147
+ },
1148
+ ],
1149
+ stateMutability: 'view',
1150
+ type: 'function',
1151
+ },
1152
+ {
1153
+ inputs: [
1154
+ { internalType: 'address', name: 'pool', type: 'address' },
1155
+ { internalType: 'contract IERC20', name: 'token', type: 'address' },
1156
+ ],
1157
+ name: 'getAggregateSwapFeeAmount',
1158
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1159
+ stateMutability: 'view',
1160
+ type: 'function',
1161
+ },
1162
+ {
1163
+ inputs: [
1164
+ { internalType: 'address', name: 'pool', type: 'address' },
1165
+ { internalType: 'contract IERC20', name: 'token', type: 'address' },
1166
+ ],
1167
+ name: 'getAggregateYieldFeeAmount',
1168
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1169
+ stateMutability: 'view',
1170
+ type: 'function',
1171
+ },
1172
+ {
1173
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1174
+ name: 'getBptRate',
1175
+ outputs: [{ internalType: 'uint256', name: 'rate', type: 'uint256' }],
1176
+ stateMutability: 'view',
1177
+ type: 'function',
1178
+ },
1179
+ {
1180
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1181
+ name: 'getCurrentLiveBalances',
1182
+ outputs: [
1183
+ {
1184
+ internalType: 'uint256[]',
1185
+ name: 'balancesLiveScaled18',
1186
+ type: 'uint256[]',
1187
+ },
1188
+ ],
1189
+ stateMutability: 'view',
1190
+ type: 'function',
1191
+ },
1192
+ {
1193
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1194
+ name: 'getHooksConfig',
1195
+ outputs: [
1196
+ {
1197
+ components: [
1198
+ {
1199
+ internalType: 'bool',
1200
+ name: 'enableHookAdjustedAmounts',
1201
+ type: 'bool',
1202
+ },
1203
+ {
1204
+ internalType: 'bool',
1205
+ name: 'shouldCallBeforeInitialize',
1206
+ type: 'bool',
1207
+ },
1208
+ {
1209
+ internalType: 'bool',
1210
+ name: 'shouldCallAfterInitialize',
1211
+ type: 'bool',
1212
+ },
1213
+ {
1214
+ internalType: 'bool',
1215
+ name: 'shouldCallComputeDynamicSwapFee',
1216
+ type: 'bool',
1217
+ },
1218
+ {
1219
+ internalType: 'bool',
1220
+ name: 'shouldCallBeforeSwap',
1221
+ type: 'bool',
1222
+ },
1223
+ {
1224
+ internalType: 'bool',
1225
+ name: 'shouldCallAfterSwap',
1226
+ type: 'bool',
1227
+ },
1228
+ {
1229
+ internalType: 'bool',
1230
+ name: 'shouldCallBeforeAddLiquidity',
1231
+ type: 'bool',
1232
+ },
1233
+ {
1234
+ internalType: 'bool',
1235
+ name: 'shouldCallAfterAddLiquidity',
1236
+ type: 'bool',
1237
+ },
1238
+ {
1239
+ internalType: 'bool',
1240
+ name: 'shouldCallBeforeRemoveLiquidity',
1241
+ type: 'bool',
1242
+ },
1243
+ {
1244
+ internalType: 'bool',
1245
+ name: 'shouldCallAfterRemoveLiquidity',
1246
+ type: 'bool',
1247
+ },
1248
+ {
1249
+ internalType: 'address',
1250
+ name: 'hooksContract',
1251
+ type: 'address',
1252
+ },
1253
+ ],
1254
+ internalType: 'struct HooksConfig',
1255
+ name: '',
1256
+ type: 'tuple',
1257
+ },
1258
+ ],
1259
+ stateMutability: 'view',
1260
+ type: 'function',
1261
+ },
1262
+ {
1263
+ inputs: [],
1264
+ name: 'getNonzeroDeltaCount',
1265
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1266
+ stateMutability: 'view',
1267
+ type: 'function',
1268
+ },
1269
+ {
1270
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1271
+ name: 'getPoolConfig',
1272
+ outputs: [
1273
+ {
1274
+ components: [
1275
+ {
1276
+ components: [
1277
+ {
1278
+ internalType: 'bool',
1279
+ name: 'disableUnbalancedLiquidity',
1280
+ type: 'bool',
1281
+ },
1282
+ {
1283
+ internalType: 'bool',
1284
+ name: 'enableAddLiquidityCustom',
1285
+ type: 'bool',
1286
+ },
1287
+ {
1288
+ internalType: 'bool',
1289
+ name: 'enableRemoveLiquidityCustom',
1290
+ type: 'bool',
1291
+ },
1292
+ {
1293
+ internalType: 'bool',
1294
+ name: 'enableDonation',
1295
+ type: 'bool',
1296
+ },
1297
+ ],
1298
+ internalType: 'struct LiquidityManagement',
1299
+ name: 'liquidityManagement',
1300
+ type: 'tuple',
1301
+ },
1302
+ {
1303
+ internalType: 'uint256',
1304
+ name: 'staticSwapFeePercentage',
1305
+ type: 'uint256',
1306
+ },
1307
+ {
1308
+ internalType: 'uint256',
1309
+ name: 'aggregateSwapFeePercentage',
1310
+ type: 'uint256',
1311
+ },
1312
+ {
1313
+ internalType: 'uint256',
1314
+ name: 'aggregateYieldFeePercentage',
1315
+ type: 'uint256',
1316
+ },
1317
+ {
1318
+ internalType: 'uint40',
1319
+ name: 'tokenDecimalDiffs',
1320
+ type: 'uint40',
1321
+ },
1322
+ {
1323
+ internalType: 'uint32',
1324
+ name: 'pauseWindowEndTime',
1325
+ type: 'uint32',
1326
+ },
1327
+ {
1328
+ internalType: 'bool',
1329
+ name: 'isPoolRegistered',
1330
+ type: 'bool',
1331
+ },
1332
+ {
1333
+ internalType: 'bool',
1334
+ name: 'isPoolInitialized',
1335
+ type: 'bool',
1336
+ },
1337
+ {
1338
+ internalType: 'bool',
1339
+ name: 'isPoolPaused',
1340
+ type: 'bool',
1341
+ },
1342
+ {
1343
+ internalType: 'bool',
1344
+ name: 'isPoolInRecoveryMode',
1345
+ type: 'bool',
1346
+ },
1347
+ ],
1348
+ internalType: 'struct PoolConfig',
1349
+ name: '',
1350
+ type: 'tuple',
1351
+ },
1352
+ ],
1353
+ stateMutability: 'view',
1354
+ type: 'function',
1355
+ },
1356
+ {
1357
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1358
+ name: 'getPoolData',
1359
+ outputs: [
1360
+ {
1361
+ components: [
1362
+ {
1363
+ internalType: 'PoolConfigBits',
1364
+ name: 'poolConfigBits',
1365
+ type: 'bytes32',
1366
+ },
1367
+ {
1368
+ internalType: 'contract IERC20[]',
1369
+ name: 'tokens',
1370
+ type: 'address[]',
1371
+ },
1372
+ {
1373
+ components: [
1374
+ {
1375
+ internalType: 'enum TokenType',
1376
+ name: 'tokenType',
1377
+ type: 'uint8',
1378
+ },
1379
+ {
1380
+ internalType: 'contract IRateProvider',
1381
+ name: 'rateProvider',
1382
+ type: 'address',
1383
+ },
1384
+ {
1385
+ internalType: 'bool',
1386
+ name: 'paysYieldFees',
1387
+ type: 'bool',
1388
+ },
1389
+ ],
1390
+ internalType: 'struct TokenInfo[]',
1391
+ name: 'tokenInfo',
1392
+ type: 'tuple[]',
1393
+ },
1394
+ {
1395
+ internalType: 'uint256[]',
1396
+ name: 'balancesRaw',
1397
+ type: 'uint256[]',
1398
+ },
1399
+ {
1400
+ internalType: 'uint256[]',
1401
+ name: 'balancesLiveScaled18',
1402
+ type: 'uint256[]',
1403
+ },
1404
+ {
1405
+ internalType: 'uint256[]',
1406
+ name: 'tokenRates',
1407
+ type: 'uint256[]',
1408
+ },
1409
+ {
1410
+ internalType: 'uint256[]',
1411
+ name: 'decimalScalingFactors',
1412
+ type: 'uint256[]',
1413
+ },
1414
+ ],
1415
+ internalType: 'struct PoolData',
1416
+ name: '',
1417
+ type: 'tuple',
1418
+ },
1419
+ ],
1420
+ stateMutability: 'view',
1421
+ type: 'function',
1422
+ },
1423
+ {
1424
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1425
+ name: 'getPoolPausedState',
1426
+ outputs: [
1427
+ { internalType: 'bool', name: '', type: 'bool' },
1428
+ { internalType: 'uint32', name: '', type: 'uint32' },
1429
+ { internalType: 'uint32', name: '', type: 'uint32' },
1430
+ { internalType: 'address', name: '', type: 'address' },
1431
+ ],
1432
+ stateMutability: 'view',
1433
+ type: 'function',
1434
+ },
1435
+ {
1436
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1437
+ name: 'getPoolRoleAccounts',
1438
+ outputs: [
1439
+ {
1440
+ components: [
1441
+ {
1442
+ internalType: 'address',
1443
+ name: 'pauseManager',
1444
+ type: 'address',
1445
+ },
1446
+ {
1447
+ internalType: 'address',
1448
+ name: 'swapFeeManager',
1449
+ type: 'address',
1450
+ },
1451
+ {
1452
+ internalType: 'address',
1453
+ name: 'poolCreator',
1454
+ type: 'address',
1455
+ },
1456
+ ],
1457
+ internalType: 'struct PoolRoleAccounts',
1458
+ name: '',
1459
+ type: 'tuple',
1460
+ },
1461
+ ],
1462
+ stateMutability: 'view',
1463
+ type: 'function',
1464
+ },
1465
+ {
1466
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1467
+ name: 'getPoolTokenInfo',
1468
+ outputs: [
1469
+ {
1470
+ internalType: 'contract IERC20[]',
1471
+ name: 'tokens',
1472
+ type: 'address[]',
1473
+ },
1474
+ {
1475
+ components: [
1476
+ {
1477
+ internalType: 'enum TokenType',
1478
+ name: 'tokenType',
1479
+ type: 'uint8',
1480
+ },
1481
+ {
1482
+ internalType: 'contract IRateProvider',
1483
+ name: 'rateProvider',
1484
+ type: 'address',
1485
+ },
1486
+ {
1487
+ internalType: 'bool',
1488
+ name: 'paysYieldFees',
1489
+ type: 'bool',
1490
+ },
1491
+ ],
1492
+ internalType: 'struct TokenInfo[]',
1493
+ name: 'tokenInfo',
1494
+ type: 'tuple[]',
1495
+ },
1496
+ {
1497
+ internalType: 'uint256[]',
1498
+ name: 'balancesRaw',
1499
+ type: 'uint256[]',
1500
+ },
1501
+ {
1502
+ internalType: 'uint256[]',
1503
+ name: 'lastBalancesLiveScaled18',
1504
+ type: 'uint256[]',
1505
+ },
1506
+ ],
1507
+ stateMutability: 'view',
1508
+ type: 'function',
1509
+ },
1510
+ {
1511
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1512
+ name: 'getPoolTokenRates',
1513
+ outputs: [
1514
+ {
1515
+ internalType: 'uint256[]',
1516
+ name: 'decimalScalingFactors',
1517
+ type: 'uint256[]',
1518
+ },
1519
+ {
1520
+ internalType: 'uint256[]',
1521
+ name: 'tokenRates',
1522
+ type: 'uint256[]',
1523
+ },
1524
+ ],
1525
+ stateMutability: 'view',
1526
+ type: 'function',
1527
+ },
1528
+ {
1529
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1530
+ name: 'getPoolTokens',
1531
+ outputs: [
1532
+ {
1533
+ internalType: 'contract IERC20[]',
1534
+ name: 'tokens',
1535
+ type: 'address[]',
1536
+ },
1537
+ ],
1538
+ stateMutability: 'view',
1539
+ type: 'function',
1540
+ },
1541
+ {
1542
+ inputs: [],
1543
+ name: 'getProtocolFeeController',
1544
+ outputs: [
1545
+ {
1546
+ internalType: 'contract IProtocolFeeController',
1547
+ name: '',
1548
+ type: 'address',
1549
+ },
1550
+ ],
1551
+ stateMutability: 'view',
1552
+ type: 'function',
1553
+ },
1554
+ {
1555
+ inputs: [
1556
+ { internalType: 'contract IERC20', name: 'token', type: 'address' },
1557
+ ],
1558
+ name: 'getReservesOf',
1559
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1560
+ stateMutability: 'view',
1561
+ type: 'function',
1562
+ },
1563
+ {
1564
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1565
+ name: 'getStaticSwapFeePercentage',
1566
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1567
+ stateMutability: 'view',
1568
+ type: 'function',
1569
+ },
1570
+ {
1571
+ inputs: [
1572
+ { internalType: 'contract IERC20', name: 'token', type: 'address' },
1573
+ ],
1574
+ name: 'getTokenDelta',
1575
+ outputs: [{ internalType: 'int256', name: '', type: 'int256' }],
1576
+ stateMutability: 'view',
1577
+ type: 'function',
1578
+ },
1579
+ {
1580
+ inputs: [],
1581
+ name: 'getVaultAdmin',
1582
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1583
+ stateMutability: 'view',
1584
+ type: 'function',
1585
+ },
1586
+ {
1587
+ inputs: [
1588
+ { internalType: 'address', name: 'pool', type: 'address' },
1589
+ { internalType: 'address', name: 'to', type: 'address' },
1590
+ {
1591
+ internalType: 'contract IERC20[]',
1592
+ name: 'tokens',
1593
+ type: 'address[]',
1594
+ },
1595
+ {
1596
+ internalType: 'uint256[]',
1597
+ name: 'exactAmountsIn',
1598
+ type: 'uint256[]',
1599
+ },
1600
+ {
1601
+ internalType: 'uint256',
1602
+ name: 'minBptAmountOut',
1603
+ type: 'uint256',
1604
+ },
1605
+ { internalType: 'bytes', name: 'userData', type: 'bytes' },
1606
+ ],
1607
+ name: 'initialize',
1608
+ outputs: [
1609
+ { internalType: 'uint256', name: 'bptAmountOut', type: 'uint256' },
1610
+ ],
1611
+ stateMutability: 'nonpayable',
1612
+ type: 'function',
1613
+ },
1614
+ {
1615
+ inputs: [
1616
+ {
1617
+ internalType: 'contract IERC4626',
1618
+ name: 'wrappedToken',
1619
+ type: 'address',
1620
+ },
1621
+ ],
1622
+ name: 'isERC4626BufferInitialized',
1623
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1624
+ stateMutability: 'view',
1625
+ type: 'function',
1626
+ },
1627
+ {
1628
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1629
+ name: 'isPoolInRecoveryMode',
1630
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1631
+ stateMutability: 'view',
1632
+ type: 'function',
1633
+ },
1634
+ {
1635
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1636
+ name: 'isPoolInitialized',
1637
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1638
+ stateMutability: 'view',
1639
+ type: 'function',
1640
+ },
1641
+ {
1642
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1643
+ name: 'isPoolPaused',
1644
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1645
+ stateMutability: 'view',
1646
+ type: 'function',
1647
+ },
1648
+ {
1649
+ inputs: [{ internalType: 'address', name: 'pool', type: 'address' }],
1650
+ name: 'isPoolRegistered',
1651
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1652
+ stateMutability: 'view',
1653
+ type: 'function',
1654
+ },
1655
+ {
1656
+ inputs: [],
1657
+ name: 'isQueryDisabled',
1658
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1659
+ stateMutability: 'view',
1660
+ type: 'function',
1661
+ },
1662
+ {
1663
+ inputs: [],
1664
+ name: 'isUnlocked',
1665
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1666
+ stateMutability: 'view',
1667
+ type: 'function',
1668
+ },
1669
+ {
1670
+ inputs: [{ internalType: 'bytes', name: 'data', type: 'bytes' }],
1671
+ name: 'quote',
1672
+ outputs: [{ internalType: 'bytes', name: 'result', type: 'bytes' }],
1673
+ stateMutability: 'nonpayable',
1674
+ type: 'function',
1675
+ },
1676
+ {
1677
+ inputs: [{ internalType: 'bytes', name: 'data', type: 'bytes' }],
1678
+ name: 'quoteAndRevert',
1679
+ outputs: [],
1680
+ stateMutability: 'nonpayable',
1681
+ type: 'function',
1682
+ },
1683
+ {
1684
+ inputs: [],
1685
+ name: 'reentrancyGuardEntered',
1686
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1687
+ stateMutability: 'view',
1688
+ type: 'function',
1689
+ },
1690
+ {
1691
+ inputs: [
1692
+ { internalType: 'address', name: 'pool', type: 'address' },
1693
+ {
1694
+ components: [
1695
+ {
1696
+ internalType: 'contract IERC20',
1697
+ name: 'token',
1698
+ type: 'address',
1699
+ },
1700
+ {
1701
+ internalType: 'enum TokenType',
1702
+ name: 'tokenType',
1703
+ type: 'uint8',
1704
+ },
1705
+ {
1706
+ internalType: 'contract IRateProvider',
1707
+ name: 'rateProvider',
1708
+ type: 'address',
1709
+ },
1710
+ {
1711
+ internalType: 'bool',
1712
+ name: 'paysYieldFees',
1713
+ type: 'bool',
1714
+ },
1715
+ ],
1716
+ internalType: 'struct TokenConfig[]',
1717
+ name: 'tokenConfig',
1718
+ type: 'tuple[]',
1719
+ },
1720
+ {
1721
+ internalType: 'uint256',
1722
+ name: 'swapFeePercentage',
1723
+ type: 'uint256',
1724
+ },
1725
+ {
1726
+ internalType: 'uint32',
1727
+ name: 'pauseWindowEndTime',
1728
+ type: 'uint32',
1729
+ },
1730
+ { internalType: 'bool', name: 'protocolFeeExempt', type: 'bool' },
1731
+ {
1732
+ components: [
1733
+ {
1734
+ internalType: 'address',
1735
+ name: 'pauseManager',
1736
+ type: 'address',
1737
+ },
1738
+ {
1739
+ internalType: 'address',
1740
+ name: 'swapFeeManager',
1741
+ type: 'address',
1742
+ },
1743
+ {
1744
+ internalType: 'address',
1745
+ name: 'poolCreator',
1746
+ type: 'address',
1747
+ },
1748
+ ],
1749
+ internalType: 'struct PoolRoleAccounts',
1750
+ name: 'roleAccounts',
1751
+ type: 'tuple',
1752
+ },
1753
+ {
1754
+ internalType: 'address',
1755
+ name: 'poolHooksContract',
1756
+ type: 'address',
1757
+ },
1758
+ {
1759
+ components: [
1760
+ {
1761
+ internalType: 'bool',
1762
+ name: 'disableUnbalancedLiquidity',
1763
+ type: 'bool',
1764
+ },
1765
+ {
1766
+ internalType: 'bool',
1767
+ name: 'enableAddLiquidityCustom',
1768
+ type: 'bool',
1769
+ },
1770
+ {
1771
+ internalType: 'bool',
1772
+ name: 'enableRemoveLiquidityCustom',
1773
+ type: 'bool',
1774
+ },
1775
+ {
1776
+ internalType: 'bool',
1777
+ name: 'enableDonation',
1778
+ type: 'bool',
1779
+ },
1780
+ ],
1781
+ internalType: 'struct LiquidityManagement',
1782
+ name: 'liquidityManagement',
1783
+ type: 'tuple',
1784
+ },
1785
+ ],
1786
+ name: 'registerPool',
1787
+ outputs: [],
1788
+ stateMutability: 'nonpayable',
1789
+ type: 'function',
1790
+ },
1791
+ {
1792
+ inputs: [
1793
+ { internalType: 'address', name: 'pool', type: 'address' },
1794
+ { internalType: 'address', name: 'from', type: 'address' },
1795
+ {
1796
+ internalType: 'uint256',
1797
+ name: 'exactBptAmountIn',
1798
+ type: 'uint256',
1799
+ },
1800
+ ],
1801
+ name: 'removeLiquidityRecovery',
1802
+ outputs: [
1803
+ {
1804
+ internalType: 'uint256[]',
1805
+ name: 'amountsOutRaw',
1806
+ type: 'uint256[]',
1807
+ },
1808
+ ],
1809
+ stateMutability: 'nonpayable',
1810
+ type: 'function',
1811
+ },
1812
+ {
1813
+ inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
1814
+ name: 'totalSupply',
1815
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1816
+ stateMutability: 'view',
1817
+ type: 'function',
1818
+ },
1819
+ {
1820
+ inputs: [
1821
+ { internalType: 'address', name: 'owner', type: 'address' },
1822
+ { internalType: 'address', name: 'to', type: 'address' },
1823
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
1824
+ ],
1825
+ name: 'transfer',
1826
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1827
+ stateMutability: 'nonpayable',
1828
+ type: 'function',
1829
+ },
1830
+ {
1831
+ inputs: [
1832
+ { internalType: 'address', name: 'spender', type: 'address' },
1833
+ { internalType: 'address', name: 'from', type: 'address' },
1834
+ { internalType: 'address', name: 'to', type: 'address' },
1835
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
1836
+ ],
1837
+ name: 'transferFrom',
1838
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1839
+ stateMutability: 'nonpayable',
1840
+ type: 'function',
1841
+ },
1842
+ {
1843
+ inputs: [],
1844
+ name: 'vault',
1845
+ outputs: [{ internalType: 'contract IVault', name: '', type: 'address' }],
1846
+ stateMutability: 'view',
1847
+ type: 'function',
1848
+ },
1849
+ { stateMutability: 'payable', type: 'receive' },
1850
+ ];
1851
+ //# sourceMappingURL=vaultExtension.V3.js.map