@paraswap/dex-lib 4.1.21 → 4.1.22

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 (289) hide show
  1. package/build/dex/angle-transmuter/angle-transmuter.d.ts +3 -4
  2. package/build/dex/angle-transmuter/angle-transmuter.js +7 -5
  3. package/build/dex/angle-transmuter/angle-transmuter.js.map +1 -1
  4. package/build/dex/cables/cables.js +4 -0
  5. package/build/dex/cables/cables.js.map +1 -1
  6. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +94 -0
  7. package/build/dex/uniswap-v3/uniswap-v3-new.js +923 -0
  8. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +1 -0
  9. package/build/dex/zerox/index.d.ts +1 -1
  10. package/build/dex/zerox/index.js.map +1 -1
  11. package/package.json +1 -1
  12. package/build/abi/AaveV1_lending_pool.json +0 -27
  13. package/build/abi/Aave_GSM.json +0 -751
  14. package/build/abi/Balancer.json +0 -257
  15. package/build/abi/BalancerV2.json +0 -1179
  16. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  17. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  18. package/build/abi/USDM.json +0 -807
  19. package/build/abi/UniswapV2Router.json +0 -397
  20. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
  21. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  22. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  23. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  24. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  25. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  26. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  27. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  28. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  29. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  30. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  31. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  32. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  33. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  34. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  35. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  36. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  37. package/build/abi/curve-v1/StableSwapY.json +0 -814
  38. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  39. package/build/abi/inception/inception-ineth.json +0 -609
  40. package/build/abi/inception/inception-ratio-feed.json +0 -329
  41. package/build/abi/inception/inception-vault.json +0 -991
  42. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  43. package/build/abi/kyberdmm.abi.json +0 -1148
  44. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  45. package/build/abi/nerve/nerve-metapool.json +0 -790
  46. package/build/abi/platypus/asset.json +0 -490
  47. package/build/abi/platypus/avax-pool.json +0 -820
  48. package/build/abi/platypus/oracle.json +0 -119
  49. package/build/abi/platypus/pool.json +0 -677
  50. package/build/abi/smardex/all/smardex-router.json +0 -648
  51. package/build/abi/smardex/layer-1/smardex-factory.json +0 -242
  52. package/build/abi/smardex/layer-1/smardex-pool.json +0 -506
  53. package/build/abi/smardex/layer-2/smardex-factory.json +0 -185
  54. package/build/abi/smardex/layer-2/smardex-pool.json +0 -578
  55. package/build/abi/swaap-v1/pool.json +0 -1346
  56. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  57. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  58. package/build/dex/aave-v1/aave-v1.d.ts +0 -34
  59. package/build/dex/aave-v1/aave-v1.js +0 -180
  60. package/build/dex/aave-v1/aave-v1.js.map +0 -1
  61. package/build/dex/aave-v1/config.d.ts +0 -11
  62. package/build/dex/aave-v1/config.js +0 -20
  63. package/build/dex/aave-v1/config.js.map +0 -1
  64. package/build/dex/aave-v1/tokens-mainnet.json +0 -134
  65. package/build/dex/aave-v1/tokens.d.ts +0 -3
  66. package/build/dex/aave-v1/tokens.js +0 -50
  67. package/build/dex/aave-v1/tokens.js.map +0 -1
  68. package/build/dex/aave-v1/types.d.ts +0 -12
  69. package/build/dex/aave-v1/types.js +0 -3
  70. package/build/dex/aave-v1/types.js.map +0 -1
  71. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  72. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  73. package/build/dex/bebop/websocket-fetcher.js +0 -87
  74. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  75. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  76. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  77. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  78. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  79. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  80. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  81. package/build/dex/idle-dao/scripts.d.ts +0 -9
  82. package/build/dex/idle-dao/scripts.js +0 -552
  83. package/build/dex/idle-dao/scripts.js.map +0 -1
  84. package/build/dex/inception/config.d.ts +0 -4
  85. package/build/dex/inception/config.js +0 -109
  86. package/build/dex/inception/config.js.map +0 -1
  87. package/build/dex/inception/inception-event-pool.d.ts +0 -16
  88. package/build/dex/inception/inception-event-pool.js +0 -51
  89. package/build/dex/inception/inception-event-pool.js.map +0 -1
  90. package/build/dex/inception/inception-native.d.ts +0 -43
  91. package/build/dex/inception/inception-native.js +0 -131
  92. package/build/dex/inception/inception-native.js.map +0 -1
  93. package/build/dex/inception/inception-pool.d.ts +0 -18
  94. package/build/dex/inception/inception-pool.js +0 -32
  95. package/build/dex/inception/inception-pool.js.map +0 -1
  96. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  97. package/build/dex/inception/inception-price-feed.js +0 -51
  98. package/build/dex/inception/inception-price-feed.js.map +0 -1
  99. package/build/dex/inception/inception.d.ts +0 -43
  100. package/build/dex/inception/inception.js +0 -204
  101. package/build/dex/inception/inception.js.map +0 -1
  102. package/build/dex/inception/tokens.d.ts +0 -9
  103. package/build/dex/inception/tokens.js +0 -28
  104. package/build/dex/inception/tokens.js.map +0 -1
  105. package/build/dex/inception/types.d.ts +0 -22
  106. package/build/dex/inception/types.js +0 -3
  107. package/build/dex/inception/types.js.map +0 -1
  108. package/build/dex/inception/utils.d.ts +0 -6
  109. package/build/dex/inception/utils.js +0 -37
  110. package/build/dex/inception/utils.js.map +0 -1
  111. package/build/dex/platypus/asset.d.ts +0 -14
  112. package/build/dex/platypus/asset.js +0 -97
  113. package/build/dex/platypus/asset.js.map +0 -1
  114. package/build/dex/platypus/config.d.ts +0 -11
  115. package/build/dex/platypus/config.js +0 -69
  116. package/build/dex/platypus/config.js.map +0 -1
  117. package/build/dex/platypus/platypus.d.ts +0 -63
  118. package/build/dex/platypus/platypus.js +0 -473
  119. package/build/dex/platypus/platypus.js.map +0 -1
  120. package/build/dex/platypus/pool-avax.d.ts +0 -8
  121. package/build/dex/platypus/pool-avax.js +0 -54
  122. package/build/dex/platypus/pool-avax.js.map +0 -1
  123. package/build/dex/platypus/pool-base.d.ts +0 -19
  124. package/build/dex/platypus/pool-base.js +0 -86
  125. package/build/dex/platypus/pool-base.js.map +0 -1
  126. package/build/dex/platypus/pool-pure.d.ts +0 -8
  127. package/build/dex/platypus/pool-pure.js +0 -37
  128. package/build/dex/platypus/pool-pure.js.map +0 -1
  129. package/build/dex/platypus/pool-subscriber.d.ts +0 -14
  130. package/build/dex/platypus/pool-subscriber.js +0 -167
  131. package/build/dex/platypus/pool-subscriber.js.map +0 -1
  132. package/build/dex/platypus/pool.d.ts +0 -8
  133. package/build/dex/platypus/pool.js +0 -58
  134. package/build/dex/platypus/pool.js.map +0 -1
  135. package/build/dex/platypus/types.d.ts +0 -92
  136. package/build/dex/platypus/types.js +0 -10
  137. package/build/dex/platypus/types.js.map +0 -1
  138. package/build/dex/quickswap/spiritswap-v3.d.ts +0 -6
  139. package/build/dex/quickswap/spiritswap-v3.js +0 -19
  140. package/build/dex/quickswap/spiritswap-v3.js.map +0 -1
  141. package/build/dex/smardex/config.d.ts +0 -4
  142. package/build/dex/smardex/config.js +0 -64
  143. package/build/dex/smardex/config.js.map +0 -1
  144. package/build/dex/smardex/constants.d.ts +0 -18
  145. package/build/dex/smardex/constants.js +0 -33
  146. package/build/dex/smardex/constants.js.map +0 -1
  147. package/build/dex/smardex/sdk/constants.d.ts +0 -6
  148. package/build/dex/smardex/sdk/constants.js +0 -13
  149. package/build/dex/smardex/sdk/constants.js.map +0 -1
  150. package/build/dex/smardex/sdk/core.d.ts +0 -113
  151. package/build/dex/smardex/sdk/core.js +0 -499
  152. package/build/dex/smardex/sdk/core.js.map +0 -1
  153. package/build/dex/smardex/sdk/errors.d.ts +0 -15
  154. package/build/dex/smardex/sdk/errors.js +0 -22
  155. package/build/dex/smardex/sdk/errors.js.map +0 -1
  156. package/build/dex/smardex/sdk/types.d.ts +0 -62
  157. package/build/dex/smardex/sdk/types.js +0 -3
  158. package/build/dex/smardex/sdk/types.js.map +0 -1
  159. package/build/dex/smardex/sdk/utils.d.ts +0 -44
  160. package/build/dex/smardex/sdk/utils.js +0 -133
  161. package/build/dex/smardex/sdk/utils.js.map +0 -1
  162. package/build/dex/smardex/smardex-event-pool.d.ts +0 -28
  163. package/build/dex/smardex/smardex-event-pool.js +0 -119
  164. package/build/dex/smardex/smardex-event-pool.js.map +0 -1
  165. package/build/dex/smardex/smardex.d.ts +0 -65
  166. package/build/dex/smardex/smardex.js +0 -519
  167. package/build/dex/smardex/smardex.js.map +0 -1
  168. package/build/dex/smardex/types.d.ts +0 -55
  169. package/build/dex/smardex/types.js +0 -3
  170. package/build/dex/smardex/types.js.map +0 -1
  171. package/build/dex/solidly/forks-override/cone.d.ts +0 -22
  172. package/build/dex/solidly/forks-override/cone.js +0 -53
  173. package/build/dex/solidly/forks-override/cone.js.map +0 -1
  174. package/build/dex/solidly/forks-override/solisnek.d.ts +0 -8
  175. package/build/dex/solidly/forks-override/solisnek.js +0 -15
  176. package/build/dex/solidly/forks-override/solisnek.js.map +0 -1
  177. package/build/dex/swaap-v1/config.d.ts +0 -17
  178. package/build/dex/swaap-v1/config.js +0 -56
  179. package/build/dex/swaap-v1/config.js.map +0 -1
  180. package/build/dex/swaap-v1/constants.d.ts +0 -6
  181. package/build/dex/swaap-v1/constants.js +0 -17
  182. package/build/dex/swaap-v1/constants.js.map +0 -1
  183. package/build/dex/swaap-v1/libraries/ChainlinkUtils.d.ts +0 -25
  184. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js +0 -62
  185. package/build/dex/swaap-v1/libraries/ChainlinkUtils.js.map +0 -1
  186. package/build/dex/swaap-v1/libraries/Const.d.ts +0 -18
  187. package/build/dex/swaap-v1/libraries/Const.js +0 -26
  188. package/build/dex/swaap-v1/libraries/Const.js.map +0 -1
  189. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.d.ts +0 -77
  190. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js +0 -316
  191. package/build/dex/swaap-v1/libraries/GeometricBrownianMotion.js.map +0 -1
  192. package/build/dex/swaap-v1/libraries/LogExpMath.d.ts +0 -75
  193. package/build/dex/swaap-v1/libraries/LogExpMath.js +0 -418
  194. package/build/dex/swaap-v1/libraries/LogExpMath.js.map +0 -1
  195. package/build/dex/swaap-v1/libraries/MathMMM.d.ts +0 -185
  196. package/build/dex/swaap-v1/libraries/MathMMM.js +0 -453
  197. package/build/dex/swaap-v1/libraries/MathMMM.js.map +0 -1
  198. package/build/dex/swaap-v1/libraries/Num.d.ts +0 -31
  199. package/build/dex/swaap-v1/libraries/Num.js +0 -167
  200. package/build/dex/swaap-v1/libraries/Num.js.map +0 -1
  201. package/build/dex/swaap-v1/libraries/PoolQuotations.d.ts +0 -23
  202. package/build/dex/swaap-v1/libraries/PoolQuotations.js +0 -131
  203. package/build/dex/swaap-v1/libraries/PoolQuotations.js.map +0 -1
  204. package/build/dex/swaap-v1/libraries/Struct.d.ts +0 -56
  205. package/build/dex/swaap-v1/libraries/Struct.js +0 -3
  206. package/build/dex/swaap-v1/libraries/Struct.js.map +0 -1
  207. package/build/dex/swaap-v1/swaap-v1-pool.d.ts +0 -45
  208. package/build/dex/swaap-v1/swaap-v1-pool.js +0 -656
  209. package/build/dex/swaap-v1/swaap-v1-pool.js.map +0 -1
  210. package/build/dex/swaap-v1/swaap-v1.d.ts +0 -62
  211. package/build/dex/swaap-v1/swaap-v1.js +0 -379
  212. package/build/dex/swaap-v1/swaap-v1.js.map +0 -1
  213. package/build/dex/swaap-v1/types.d.ts +0 -106
  214. package/build/dex/swaap-v1/types.js +0 -9
  215. package/build/dex/swaap-v1/types.js.map +0 -1
  216. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  217. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  218. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  219. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  220. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  221. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  222. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  223. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  224. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  225. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  226. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  227. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  228. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  229. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  230. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  231. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  232. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  233. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  234. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  235. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  236. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  237. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  238. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  239. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  240. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  241. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  242. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  243. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  244. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  245. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  246. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  247. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  248. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  249. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  250. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  251. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  252. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  253. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  254. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  255. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  256. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  257. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  258. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  259. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  260. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  261. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  262. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  263. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  264. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  265. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  266. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  267. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  268. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  269. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  270. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  271. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  272. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  273. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  274. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  275. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  276. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  277. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  278. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  279. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  280. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  281. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  282. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  283. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  284. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  285. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  286. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  287. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  288. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  289. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -1,1179 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "contract IAuthorizer",
6
- "name": "authorizer",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "contract IWETH",
11
- "name": "weth",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "uint256",
16
- "name": "pauseWindowDuration",
17
- "type": "uint256"
18
- },
19
- {
20
- "internalType": "uint256",
21
- "name": "bufferPeriodDuration",
22
- "type": "uint256"
23
- }
24
- ],
25
- "stateMutability": "nonpayable",
26
- "type": "constructor"
27
- },
28
- {
29
- "anonymous": false,
30
- "inputs": [
31
- {
32
- "indexed": true,
33
- "internalType": "contract IAuthorizer",
34
- "name": "newAuthorizer",
35
- "type": "address"
36
- }
37
- ],
38
- "name": "AuthorizerChanged",
39
- "type": "event"
40
- },
41
- {
42
- "anonymous": false,
43
- "inputs": [
44
- {
45
- "indexed": true,
46
- "internalType": "contract IERC20",
47
- "name": "token",
48
- "type": "address"
49
- },
50
- {
51
- "indexed": true,
52
- "internalType": "address",
53
- "name": "sender",
54
- "type": "address"
55
- },
56
- {
57
- "indexed": false,
58
- "internalType": "address",
59
- "name": "recipient",
60
- "type": "address"
61
- },
62
- {
63
- "indexed": false,
64
- "internalType": "uint256",
65
- "name": "amount",
66
- "type": "uint256"
67
- }
68
- ],
69
- "name": "ExternalBalanceTransfer",
70
- "type": "event"
71
- },
72
- {
73
- "anonymous": false,
74
- "inputs": [
75
- {
76
- "indexed": true,
77
- "internalType": "contract IFlashLoanRecipient",
78
- "name": "recipient",
79
- "type": "address"
80
- },
81
- {
82
- "indexed": true,
83
- "internalType": "contract IERC20",
84
- "name": "token",
85
- "type": "address"
86
- },
87
- {
88
- "indexed": false,
89
- "internalType": "uint256",
90
- "name": "amount",
91
- "type": "uint256"
92
- },
93
- {
94
- "indexed": false,
95
- "internalType": "uint256",
96
- "name": "feeAmount",
97
- "type": "uint256"
98
- }
99
- ],
100
- "name": "FlashLoan",
101
- "type": "event"
102
- },
103
- {
104
- "anonymous": false,
105
- "inputs": [
106
- {
107
- "indexed": true,
108
- "internalType": "address",
109
- "name": "user",
110
- "type": "address"
111
- },
112
- {
113
- "indexed": true,
114
- "internalType": "contract IERC20",
115
- "name": "token",
116
- "type": "address"
117
- },
118
- {
119
- "indexed": false,
120
- "internalType": "int256",
121
- "name": "delta",
122
- "type": "int256"
123
- }
124
- ],
125
- "name": "InternalBalanceChanged",
126
- "type": "event"
127
- },
128
- {
129
- "anonymous": false,
130
- "inputs": [
131
- {
132
- "indexed": false,
133
- "internalType": "bool",
134
- "name": "paused",
135
- "type": "bool"
136
- }
137
- ],
138
- "name": "PausedStateChanged",
139
- "type": "event"
140
- },
141
- {
142
- "anonymous": false,
143
- "inputs": [
144
- {
145
- "indexed": true,
146
- "internalType": "bytes32",
147
- "name": "poolId",
148
- "type": "bytes32"
149
- },
150
- {
151
- "indexed": true,
152
- "internalType": "address",
153
- "name": "liquidityProvider",
154
- "type": "address"
155
- },
156
- {
157
- "indexed": false,
158
- "internalType": "contract IERC20[]",
159
- "name": "tokens",
160
- "type": "address[]"
161
- },
162
- {
163
- "indexed": false,
164
- "internalType": "int256[]",
165
- "name": "deltas",
166
- "type": "int256[]"
167
- },
168
- {
169
- "indexed": false,
170
- "internalType": "uint256[]",
171
- "name": "protocolFeeAmounts",
172
- "type": "uint256[]"
173
- }
174
- ],
175
- "name": "PoolBalanceChanged",
176
- "type": "event"
177
- },
178
- {
179
- "anonymous": false,
180
- "inputs": [
181
- {
182
- "indexed": true,
183
- "internalType": "bytes32",
184
- "name": "poolId",
185
- "type": "bytes32"
186
- },
187
- {
188
- "indexed": true,
189
- "internalType": "address",
190
- "name": "assetManager",
191
- "type": "address"
192
- },
193
- {
194
- "indexed": true,
195
- "internalType": "contract IERC20",
196
- "name": "token",
197
- "type": "address"
198
- },
199
- {
200
- "indexed": false,
201
- "internalType": "int256",
202
- "name": "cashDelta",
203
- "type": "int256"
204
- },
205
- {
206
- "indexed": false,
207
- "internalType": "int256",
208
- "name": "managedDelta",
209
- "type": "int256"
210
- }
211
- ],
212
- "name": "PoolBalanceManaged",
213
- "type": "event"
214
- },
215
- {
216
- "anonymous": false,
217
- "inputs": [
218
- {
219
- "indexed": true,
220
- "internalType": "bytes32",
221
- "name": "poolId",
222
- "type": "bytes32"
223
- },
224
- {
225
- "indexed": true,
226
- "internalType": "address",
227
- "name": "poolAddress",
228
- "type": "address"
229
- },
230
- {
231
- "indexed": false,
232
- "internalType": "enum IVault.PoolSpecialization",
233
- "name": "specialization",
234
- "type": "uint8"
235
- }
236
- ],
237
- "name": "PoolRegistered",
238
- "type": "event"
239
- },
240
- {
241
- "anonymous": false,
242
- "inputs": [
243
- {
244
- "indexed": true,
245
- "internalType": "address",
246
- "name": "relayer",
247
- "type": "address"
248
- },
249
- {
250
- "indexed": true,
251
- "internalType": "address",
252
- "name": "sender",
253
- "type": "address"
254
- },
255
- {
256
- "indexed": false,
257
- "internalType": "bool",
258
- "name": "approved",
259
- "type": "bool"
260
- }
261
- ],
262
- "name": "RelayerApprovalChanged",
263
- "type": "event"
264
- },
265
- {
266
- "anonymous": false,
267
- "inputs": [
268
- {
269
- "indexed": true,
270
- "internalType": "bytes32",
271
- "name": "poolId",
272
- "type": "bytes32"
273
- },
274
- {
275
- "indexed": true,
276
- "internalType": "contract IERC20",
277
- "name": "tokenIn",
278
- "type": "address"
279
- },
280
- {
281
- "indexed": true,
282
- "internalType": "contract IERC20",
283
- "name": "tokenOut",
284
- "type": "address"
285
- },
286
- {
287
- "indexed": false,
288
- "internalType": "uint256",
289
- "name": "amountIn",
290
- "type": "uint256"
291
- },
292
- {
293
- "indexed": false,
294
- "internalType": "uint256",
295
- "name": "amountOut",
296
- "type": "uint256"
297
- }
298
- ],
299
- "name": "Swap",
300
- "type": "event"
301
- },
302
- {
303
- "anonymous": false,
304
- "inputs": [
305
- {
306
- "indexed": true,
307
- "internalType": "bytes32",
308
- "name": "poolId",
309
- "type": "bytes32"
310
- },
311
- {
312
- "indexed": false,
313
- "internalType": "contract IERC20[]",
314
- "name": "tokens",
315
- "type": "address[]"
316
- }
317
- ],
318
- "name": "TokensDeregistered",
319
- "type": "event"
320
- },
321
- {
322
- "anonymous": false,
323
- "inputs": [
324
- {
325
- "indexed": true,
326
- "internalType": "bytes32",
327
- "name": "poolId",
328
- "type": "bytes32"
329
- },
330
- {
331
- "indexed": false,
332
- "internalType": "contract IERC20[]",
333
- "name": "tokens",
334
- "type": "address[]"
335
- },
336
- {
337
- "indexed": false,
338
- "internalType": "address[]",
339
- "name": "assetManagers",
340
- "type": "address[]"
341
- }
342
- ],
343
- "name": "TokensRegistered",
344
- "type": "event"
345
- },
346
- {
347
- "inputs": [],
348
- "name": "WETH",
349
- "outputs": [
350
- {
351
- "internalType": "contract IWETH",
352
- "name": "",
353
- "type": "address"
354
- }
355
- ],
356
- "stateMutability": "view",
357
- "type": "function"
358
- },
359
- {
360
- "inputs": [
361
- {
362
- "internalType": "enum IVault.SwapKind",
363
- "name": "kind",
364
- "type": "uint8"
365
- },
366
- {
367
- "components": [
368
- {
369
- "internalType": "bytes32",
370
- "name": "poolId",
371
- "type": "bytes32"
372
- },
373
- {
374
- "internalType": "uint256",
375
- "name": "assetInIndex",
376
- "type": "uint256"
377
- },
378
- {
379
- "internalType": "uint256",
380
- "name": "assetOutIndex",
381
- "type": "uint256"
382
- },
383
- {
384
- "internalType": "uint256",
385
- "name": "amount",
386
- "type": "uint256"
387
- },
388
- {
389
- "internalType": "bytes",
390
- "name": "userData",
391
- "type": "bytes"
392
- }
393
- ],
394
- "internalType": "struct IVault.BatchSwapStep[]",
395
- "name": "swaps",
396
- "type": "tuple[]"
397
- },
398
- {
399
- "internalType": "contract IAsset[]",
400
- "name": "assets",
401
- "type": "address[]"
402
- },
403
- {
404
- "components": [
405
- {
406
- "internalType": "address",
407
- "name": "sender",
408
- "type": "address"
409
- },
410
- {
411
- "internalType": "bool",
412
- "name": "fromInternalBalance",
413
- "type": "bool"
414
- },
415
- {
416
- "internalType": "address payable",
417
- "name": "recipient",
418
- "type": "address"
419
- },
420
- {
421
- "internalType": "bool",
422
- "name": "toInternalBalance",
423
- "type": "bool"
424
- }
425
- ],
426
- "internalType": "struct IVault.FundManagement",
427
- "name": "funds",
428
- "type": "tuple"
429
- },
430
- {
431
- "internalType": "int256[]",
432
- "name": "limits",
433
- "type": "int256[]"
434
- },
435
- {
436
- "internalType": "uint256",
437
- "name": "deadline",
438
- "type": "uint256"
439
- }
440
- ],
441
- "name": "batchSwap",
442
- "outputs": [
443
- {
444
- "internalType": "int256[]",
445
- "name": "assetDeltas",
446
- "type": "int256[]"
447
- }
448
- ],
449
- "stateMutability": "payable",
450
- "type": "function"
451
- },
452
- {
453
- "inputs": [
454
- {
455
- "internalType": "bytes32",
456
- "name": "poolId",
457
- "type": "bytes32"
458
- },
459
- {
460
- "internalType": "contract IERC20[]",
461
- "name": "tokens",
462
- "type": "address[]"
463
- }
464
- ],
465
- "name": "deregisterTokens",
466
- "outputs": [],
467
- "stateMutability": "nonpayable",
468
- "type": "function"
469
- },
470
- {
471
- "inputs": [
472
- {
473
- "internalType": "bytes32",
474
- "name": "poolId",
475
- "type": "bytes32"
476
- },
477
- {
478
- "internalType": "address",
479
- "name": "sender",
480
- "type": "address"
481
- },
482
- {
483
- "internalType": "address payable",
484
- "name": "recipient",
485
- "type": "address"
486
- },
487
- {
488
- "components": [
489
- {
490
- "internalType": "contract IAsset[]",
491
- "name": "assets",
492
- "type": "address[]"
493
- },
494
- {
495
- "internalType": "uint256[]",
496
- "name": "minAmountsOut",
497
- "type": "uint256[]"
498
- },
499
- {
500
- "internalType": "bytes",
501
- "name": "userData",
502
- "type": "bytes"
503
- },
504
- {
505
- "internalType": "bool",
506
- "name": "toInternalBalance",
507
- "type": "bool"
508
- }
509
- ],
510
- "internalType": "struct IVault.ExitPoolRequest",
511
- "name": "request",
512
- "type": "tuple"
513
- }
514
- ],
515
- "name": "exitPool",
516
- "outputs": [],
517
- "stateMutability": "nonpayable",
518
- "type": "function"
519
- },
520
- {
521
- "inputs": [
522
- {
523
- "internalType": "contract IFlashLoanRecipient",
524
- "name": "recipient",
525
- "type": "address"
526
- },
527
- {
528
- "internalType": "contract IERC20[]",
529
- "name": "tokens",
530
- "type": "address[]"
531
- },
532
- {
533
- "internalType": "uint256[]",
534
- "name": "amounts",
535
- "type": "uint256[]"
536
- },
537
- {
538
- "internalType": "bytes",
539
- "name": "userData",
540
- "type": "bytes"
541
- }
542
- ],
543
- "name": "flashLoan",
544
- "outputs": [],
545
- "stateMutability": "nonpayable",
546
- "type": "function"
547
- },
548
- {
549
- "inputs": [
550
- {
551
- "internalType": "bytes4",
552
- "name": "selector",
553
- "type": "bytes4"
554
- }
555
- ],
556
- "name": "getActionId",
557
- "outputs": [
558
- {
559
- "internalType": "bytes32",
560
- "name": "",
561
- "type": "bytes32"
562
- }
563
- ],
564
- "stateMutability": "view",
565
- "type": "function"
566
- },
567
- {
568
- "inputs": [],
569
- "name": "getAuthorizer",
570
- "outputs": [
571
- {
572
- "internalType": "contract IAuthorizer",
573
- "name": "",
574
- "type": "address"
575
- }
576
- ],
577
- "stateMutability": "view",
578
- "type": "function"
579
- },
580
- {
581
- "inputs": [],
582
- "name": "getDomainSeparator",
583
- "outputs": [
584
- {
585
- "internalType": "bytes32",
586
- "name": "",
587
- "type": "bytes32"
588
- }
589
- ],
590
- "stateMutability": "view",
591
- "type": "function"
592
- },
593
- {
594
- "inputs": [
595
- {
596
- "internalType": "address",
597
- "name": "user",
598
- "type": "address"
599
- },
600
- {
601
- "internalType": "contract IERC20[]",
602
- "name": "tokens",
603
- "type": "address[]"
604
- }
605
- ],
606
- "name": "getInternalBalance",
607
- "outputs": [
608
- {
609
- "internalType": "uint256[]",
610
- "name": "balances",
611
- "type": "uint256[]"
612
- }
613
- ],
614
- "stateMutability": "view",
615
- "type": "function"
616
- },
617
- {
618
- "inputs": [
619
- {
620
- "internalType": "address",
621
- "name": "user",
622
- "type": "address"
623
- }
624
- ],
625
- "name": "getNextNonce",
626
- "outputs": [
627
- {
628
- "internalType": "uint256",
629
- "name": "",
630
- "type": "uint256"
631
- }
632
- ],
633
- "stateMutability": "view",
634
- "type": "function"
635
- },
636
- {
637
- "inputs": [],
638
- "name": "getPausedState",
639
- "outputs": [
640
- {
641
- "internalType": "bool",
642
- "name": "paused",
643
- "type": "bool"
644
- },
645
- {
646
- "internalType": "uint256",
647
- "name": "pauseWindowEndTime",
648
- "type": "uint256"
649
- },
650
- {
651
- "internalType": "uint256",
652
- "name": "bufferPeriodEndTime",
653
- "type": "uint256"
654
- }
655
- ],
656
- "stateMutability": "view",
657
- "type": "function"
658
- },
659
- {
660
- "inputs": [
661
- {
662
- "internalType": "bytes32",
663
- "name": "poolId",
664
- "type": "bytes32"
665
- }
666
- ],
667
- "name": "getPool",
668
- "outputs": [
669
- {
670
- "internalType": "address",
671
- "name": "",
672
- "type": "address"
673
- },
674
- {
675
- "internalType": "enum IVault.PoolSpecialization",
676
- "name": "",
677
- "type": "uint8"
678
- }
679
- ],
680
- "stateMutability": "view",
681
- "type": "function"
682
- },
683
- {
684
- "inputs": [
685
- {
686
- "internalType": "bytes32",
687
- "name": "poolId",
688
- "type": "bytes32"
689
- },
690
- {
691
- "internalType": "contract IERC20",
692
- "name": "token",
693
- "type": "address"
694
- }
695
- ],
696
- "name": "getPoolTokenInfo",
697
- "outputs": [
698
- {
699
- "internalType": "uint256",
700
- "name": "cash",
701
- "type": "uint256"
702
- },
703
- {
704
- "internalType": "uint256",
705
- "name": "managed",
706
- "type": "uint256"
707
- },
708
- {
709
- "internalType": "uint256",
710
- "name": "lastChangeBlock",
711
- "type": "uint256"
712
- },
713
- {
714
- "internalType": "address",
715
- "name": "assetManager",
716
- "type": "address"
717
- }
718
- ],
719
- "stateMutability": "view",
720
- "type": "function"
721
- },
722
- {
723
- "inputs": [
724
- {
725
- "internalType": "bytes32",
726
- "name": "poolId",
727
- "type": "bytes32"
728
- }
729
- ],
730
- "name": "getPoolTokens",
731
- "outputs": [
732
- {
733
- "internalType": "contract IERC20[]",
734
- "name": "tokens",
735
- "type": "address[]"
736
- },
737
- {
738
- "internalType": "uint256[]",
739
- "name": "balances",
740
- "type": "uint256[]"
741
- },
742
- {
743
- "internalType": "uint256",
744
- "name": "lastChangeBlock",
745
- "type": "uint256"
746
- }
747
- ],
748
- "stateMutability": "view",
749
- "type": "function"
750
- },
751
- {
752
- "inputs": [],
753
- "name": "getProtocolFeesCollector",
754
- "outputs": [
755
- {
756
- "internalType": "contract ProtocolFeesCollector",
757
- "name": "",
758
- "type": "address"
759
- }
760
- ],
761
- "stateMutability": "view",
762
- "type": "function"
763
- },
764
- {
765
- "inputs": [
766
- {
767
- "internalType": "address",
768
- "name": "user",
769
- "type": "address"
770
- },
771
- {
772
- "internalType": "address",
773
- "name": "relayer",
774
- "type": "address"
775
- }
776
- ],
777
- "name": "hasApprovedRelayer",
778
- "outputs": [
779
- {
780
- "internalType": "bool",
781
- "name": "",
782
- "type": "bool"
783
- }
784
- ],
785
- "stateMutability": "view",
786
- "type": "function"
787
- },
788
- {
789
- "inputs": [
790
- {
791
- "internalType": "bytes32",
792
- "name": "poolId",
793
- "type": "bytes32"
794
- },
795
- {
796
- "internalType": "address",
797
- "name": "sender",
798
- "type": "address"
799
- },
800
- {
801
- "internalType": "address",
802
- "name": "recipient",
803
- "type": "address"
804
- },
805
- {
806
- "components": [
807
- {
808
- "internalType": "contract IAsset[]",
809
- "name": "assets",
810
- "type": "address[]"
811
- },
812
- {
813
- "internalType": "uint256[]",
814
- "name": "maxAmountsIn",
815
- "type": "uint256[]"
816
- },
817
- {
818
- "internalType": "bytes",
819
- "name": "userData",
820
- "type": "bytes"
821
- },
822
- {
823
- "internalType": "bool",
824
- "name": "fromInternalBalance",
825
- "type": "bool"
826
- }
827
- ],
828
- "internalType": "struct IVault.JoinPoolRequest",
829
- "name": "request",
830
- "type": "tuple"
831
- }
832
- ],
833
- "name": "joinPool",
834
- "outputs": [],
835
- "stateMutability": "payable",
836
- "type": "function"
837
- },
838
- {
839
- "inputs": [
840
- {
841
- "components": [
842
- {
843
- "internalType": "enum IVault.PoolBalanceOpKind",
844
- "name": "kind",
845
- "type": "uint8"
846
- },
847
- {
848
- "internalType": "bytes32",
849
- "name": "poolId",
850
- "type": "bytes32"
851
- },
852
- {
853
- "internalType": "contract IERC20",
854
- "name": "token",
855
- "type": "address"
856
- },
857
- {
858
- "internalType": "uint256",
859
- "name": "amount",
860
- "type": "uint256"
861
- }
862
- ],
863
- "internalType": "struct IVault.PoolBalanceOp[]",
864
- "name": "ops",
865
- "type": "tuple[]"
866
- }
867
- ],
868
- "name": "managePoolBalance",
869
- "outputs": [],
870
- "stateMutability": "nonpayable",
871
- "type": "function"
872
- },
873
- {
874
- "inputs": [
875
- {
876
- "components": [
877
- {
878
- "internalType": "enum IVault.UserBalanceOpKind",
879
- "name": "kind",
880
- "type": "uint8"
881
- },
882
- {
883
- "internalType": "contract IAsset",
884
- "name": "asset",
885
- "type": "address"
886
- },
887
- {
888
- "internalType": "uint256",
889
- "name": "amount",
890
- "type": "uint256"
891
- },
892
- {
893
- "internalType": "address",
894
- "name": "sender",
895
- "type": "address"
896
- },
897
- {
898
- "internalType": "address payable",
899
- "name": "recipient",
900
- "type": "address"
901
- }
902
- ],
903
- "internalType": "struct IVault.UserBalanceOp[]",
904
- "name": "ops",
905
- "type": "tuple[]"
906
- }
907
- ],
908
- "name": "manageUserBalance",
909
- "outputs": [],
910
- "stateMutability": "payable",
911
- "type": "function"
912
- },
913
- {
914
- "inputs": [
915
- {
916
- "internalType": "enum IVault.SwapKind",
917
- "name": "kind",
918
- "type": "uint8"
919
- },
920
- {
921
- "components": [
922
- {
923
- "internalType": "bytes32",
924
- "name": "poolId",
925
- "type": "bytes32"
926
- },
927
- {
928
- "internalType": "uint256",
929
- "name": "assetInIndex",
930
- "type": "uint256"
931
- },
932
- {
933
- "internalType": "uint256",
934
- "name": "assetOutIndex",
935
- "type": "uint256"
936
- },
937
- {
938
- "internalType": "uint256",
939
- "name": "amount",
940
- "type": "uint256"
941
- },
942
- {
943
- "internalType": "bytes",
944
- "name": "userData",
945
- "type": "bytes"
946
- }
947
- ],
948
- "internalType": "struct IVault.BatchSwapStep[]",
949
- "name": "swaps",
950
- "type": "tuple[]"
951
- },
952
- {
953
- "internalType": "contract IAsset[]",
954
- "name": "assets",
955
- "type": "address[]"
956
- },
957
- {
958
- "components": [
959
- {
960
- "internalType": "address",
961
- "name": "sender",
962
- "type": "address"
963
- },
964
- {
965
- "internalType": "bool",
966
- "name": "fromInternalBalance",
967
- "type": "bool"
968
- },
969
- {
970
- "internalType": "address payable",
971
- "name": "recipient",
972
- "type": "address"
973
- },
974
- {
975
- "internalType": "bool",
976
- "name": "toInternalBalance",
977
- "type": "bool"
978
- }
979
- ],
980
- "internalType": "struct IVault.FundManagement",
981
- "name": "funds",
982
- "type": "tuple"
983
- }
984
- ],
985
- "name": "queryBatchSwap",
986
- "outputs": [
987
- {
988
- "internalType": "int256[]",
989
- "name": "",
990
- "type": "int256[]"
991
- }
992
- ],
993
- "stateMutability": "nonpayable",
994
- "type": "function"
995
- },
996
- {
997
- "inputs": [
998
- {
999
- "internalType": "enum IVault.PoolSpecialization",
1000
- "name": "specialization",
1001
- "type": "uint8"
1002
- }
1003
- ],
1004
- "name": "registerPool",
1005
- "outputs": [
1006
- {
1007
- "internalType": "bytes32",
1008
- "name": "",
1009
- "type": "bytes32"
1010
- }
1011
- ],
1012
- "stateMutability": "nonpayable",
1013
- "type": "function"
1014
- },
1015
- {
1016
- "inputs": [
1017
- {
1018
- "internalType": "bytes32",
1019
- "name": "poolId",
1020
- "type": "bytes32"
1021
- },
1022
- {
1023
- "internalType": "contract IERC20[]",
1024
- "name": "tokens",
1025
- "type": "address[]"
1026
- },
1027
- {
1028
- "internalType": "address[]",
1029
- "name": "assetManagers",
1030
- "type": "address[]"
1031
- }
1032
- ],
1033
- "name": "registerTokens",
1034
- "outputs": [],
1035
- "stateMutability": "nonpayable",
1036
- "type": "function"
1037
- },
1038
- {
1039
- "inputs": [
1040
- {
1041
- "internalType": "contract IAuthorizer",
1042
- "name": "newAuthorizer",
1043
- "type": "address"
1044
- }
1045
- ],
1046
- "name": "setAuthorizer",
1047
- "outputs": [],
1048
- "stateMutability": "nonpayable",
1049
- "type": "function"
1050
- },
1051
- {
1052
- "inputs": [
1053
- {
1054
- "internalType": "bool",
1055
- "name": "paused",
1056
- "type": "bool"
1057
- }
1058
- ],
1059
- "name": "setPaused",
1060
- "outputs": [],
1061
- "stateMutability": "nonpayable",
1062
- "type": "function"
1063
- },
1064
- {
1065
- "inputs": [
1066
- {
1067
- "internalType": "address",
1068
- "name": "sender",
1069
- "type": "address"
1070
- },
1071
- {
1072
- "internalType": "address",
1073
- "name": "relayer",
1074
- "type": "address"
1075
- },
1076
- {
1077
- "internalType": "bool",
1078
- "name": "approved",
1079
- "type": "bool"
1080
- }
1081
- ],
1082
- "name": "setRelayerApproval",
1083
- "outputs": [],
1084
- "stateMutability": "nonpayable",
1085
- "type": "function"
1086
- },
1087
- {
1088
- "inputs": [
1089
- {
1090
- "components": [
1091
- {
1092
- "internalType": "bytes32",
1093
- "name": "poolId",
1094
- "type": "bytes32"
1095
- },
1096
- {
1097
- "internalType": "enum IVault.SwapKind",
1098
- "name": "kind",
1099
- "type": "uint8"
1100
- },
1101
- {
1102
- "internalType": "contract IAsset",
1103
- "name": "assetIn",
1104
- "type": "address"
1105
- },
1106
- {
1107
- "internalType": "contract IAsset",
1108
- "name": "assetOut",
1109
- "type": "address"
1110
- },
1111
- {
1112
- "internalType": "uint256",
1113
- "name": "amount",
1114
- "type": "uint256"
1115
- },
1116
- {
1117
- "internalType": "bytes",
1118
- "name": "userData",
1119
- "type": "bytes"
1120
- }
1121
- ],
1122
- "internalType": "struct IVault.SingleSwap",
1123
- "name": "singleSwap",
1124
- "type": "tuple"
1125
- },
1126
- {
1127
- "components": [
1128
- {
1129
- "internalType": "address",
1130
- "name": "sender",
1131
- "type": "address"
1132
- },
1133
- {
1134
- "internalType": "bool",
1135
- "name": "fromInternalBalance",
1136
- "type": "bool"
1137
- },
1138
- {
1139
- "internalType": "address payable",
1140
- "name": "recipient",
1141
- "type": "address"
1142
- },
1143
- {
1144
- "internalType": "bool",
1145
- "name": "toInternalBalance",
1146
- "type": "bool"
1147
- }
1148
- ],
1149
- "internalType": "struct IVault.FundManagement",
1150
- "name": "funds",
1151
- "type": "tuple"
1152
- },
1153
- {
1154
- "internalType": "uint256",
1155
- "name": "limit",
1156
- "type": "uint256"
1157
- },
1158
- {
1159
- "internalType": "uint256",
1160
- "name": "deadline",
1161
- "type": "uint256"
1162
- }
1163
- ],
1164
- "name": "swap",
1165
- "outputs": [
1166
- {
1167
- "internalType": "uint256",
1168
- "name": "amountCalculated",
1169
- "type": "uint256"
1170
- }
1171
- ],
1172
- "stateMutability": "payable",
1173
- "type": "function"
1174
- },
1175
- {
1176
- "stateMutability": "payable",
1177
- "type": "receive"
1178
- }
1179
- ]