@paraswap/dex-lib 4.1.18 → 4.1.19-pools.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) 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/uniswap-v4/quoter.abi.json +461 -0
  6. package/build/abi/uniswap-v4/router.abi.json +230 -0
  7. package/build/abi/usual-m-smart-m/usualM.abi.json +483 -0
  8. package/build/abi/{angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json → wombat/pool.json} +637 -594
  9. package/build/dex/aave-v1/aave-v1.js +1 -0
  10. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  11. package/build/dex/aave-v2/tokens-avalanche.json +44 -0
  12. package/build/dex/aave-v2/tokens-mainnet.json +188 -0
  13. package/build/dex/aave-v2/tokens-polygon.json +44 -0
  14. package/build/dex/bProtocol.d.ts +18 -0
  15. package/build/dex/bProtocol.js +39 -0
  16. package/build/dex/bProtocol.js.map +1 -0
  17. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +729 -0
  18. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +732 -0
  19. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +1 -0
  20. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +1406 -0
  21. package/build/dex/balancer-v3/abi/balancerRouter.js +1175 -0
  22. package/build/dex/balancer-v3/abi/balancerRouter.js.map +1 -0
  23. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +2081 -0
  24. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +1851 -0
  25. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +1 -0
  26. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +34 -0
  27. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +406 -0
  28. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +1 -0
  29. package/build/dex/bancor.d.ts +26 -0
  30. package/build/dex/bancor.js +58 -0
  31. package/build/dex/bancor.js.map +1 -0
  32. package/build/dex/compound.d.ts +18 -0
  33. package/build/dex/compound.js +46 -0
  34. package/build/dex/compound.js.map +1 -0
  35. package/build/dex/curve-v2.d.ts +58 -0
  36. package/build/dex/curve-v2.js +180 -0
  37. package/build/dex/curve-v2.js.map +1 -0
  38. package/build/dex/dodo-v1.d.ts +33 -0
  39. package/build/dex/dodo-v1.js +63 -0
  40. package/build/dex/dodo-v1.js.map +1 -0
  41. package/build/dex/erc4626/scripts/validate-state.d.ts +0 -0
  42. package/build/dex/erc4626/scripts/validate-state.js +146 -0
  43. package/build/dex/erc4626/scripts/validate-state.js.map +1 -0
  44. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  45. package/build/dex/inception/inception-event-pool.js +7 -9
  46. package/build/dex/inception/inception-event-pool.js.map +1 -1
  47. package/build/dex/inception/inception.d.ts +6 -6
  48. package/build/dex/inception/inception.js +16 -40
  49. package/build/dex/inception/inception.js.map +1 -1
  50. package/build/dex/inception/utils.d.ts +1 -0
  51. package/build/dex/inception/utils.js +22 -1
  52. package/build/dex/inception/utils.js.map +1 -1
  53. package/build/dex/lido.d.ts +19 -0
  54. package/build/dex/lido.js +42 -0
  55. package/build/dex/lido.js.map +1 -0
  56. package/build/dex/maker-psm/scripts/gem.abi.json +136 -0
  57. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  58. package/build/dex/maker-psm/scripts/validate-state.js +185 -0
  59. package/build/dex/maker-psm/scripts/validate-state.js.map +1 -0
  60. package/build/dex/maker-psm/scripts/vat.abi.json +243 -0
  61. package/build/dex/onebit.d.ts +25 -0
  62. package/build/dex/onebit.js +42 -0
  63. package/build/dex/onebit.js.map +1 -0
  64. package/build/dex/platypus/platypus.js +17 -3
  65. package/build/dex/platypus/platypus.js.map +1 -1
  66. package/build/dex/smoothy.d.ts +26 -0
  67. package/build/dex/smoothy.js +48 -0
  68. package/build/dex/smoothy.js.map +1 -0
  69. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
  70. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
  71. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
  72. package/build/dex/stable-pool.d.ts +28 -0
  73. package/build/dex/stable-pool.js +55 -0
  74. package/build/dex/stable-pool.js.map +1 -0
  75. package/build/dex/swaap-v1/swaap-v1.js +4 -0
  76. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  77. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
  78. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
  79. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
  80. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  81. package/build/dex/trader-joe-v2.1.js +79 -0
  82. package/build/dex/trader-joe-v2.1.js.map +1 -0
  83. package/build/dex/uniswap-v2/uniswap-v2.d.ts +1 -0
  84. package/build/dex/uniswap-v2/uniswap-v2.js +8 -10
  85. package/build/dex/uniswap-v2/uniswap-v2.js.map +1 -1
  86. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
  87. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
  88. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
  89. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
  90. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
  91. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
  92. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +4 -0
  93. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +43 -0
  94. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +1 -0
  95. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +1 -0
  96. package/build/dex/uniswap-v3/uniswap-v3-worker.js +10 -0
  97. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +1 -0
  98. package/build/dex/uniswap-v3/uniswap-v3.js +4 -0
  99. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  100. package/build/dex/uniswap-v4/config.d.ts +3 -0
  101. package/build/dex/uniswap-v4/config.js +15 -0
  102. package/build/dex/uniswap-v4/config.js.map +1 -0
  103. package/build/dex/uniswap-v4/encoder.d.ts +16 -0
  104. package/build/dex/uniswap-v4/encoder.js +94 -0
  105. package/build/dex/uniswap-v4/encoder.js.map +1 -0
  106. package/build/dex/uniswap-v4/types.d.ts +30 -0
  107. package/build/dex/uniswap-v4/types.js +3 -0
  108. package/build/dex/uniswap-v4/types.js.map +1 -0
  109. package/build/dex/uniswap-v4/uniswap-v4.d.ts +38 -0
  110. package/build/dex/uniswap-v4/uniswap-v4.js +187 -0
  111. package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -0
  112. package/build/dex/usual/usual-m-smart-m.d.ts +17 -0
  113. package/build/dex/usual/usual-m-smart-m.js +50 -0
  114. package/build/dex/usual/usual-m-smart-m.js.map +1 -0
  115. package/build/dex/usual-m-smart-m/config.d.ts +3 -0
  116. package/build/dex/usual-m-smart-m/config.js +13 -0
  117. package/build/dex/usual-m-smart-m/config.js.map +1 -0
  118. package/build/dex/usual-m-smart-m/types.d.ts +7 -0
  119. package/build/dex/usual-m-smart-m/types.js +3 -0
  120. package/build/dex/usual-m-smart-m/types.js.map +1 -0
  121. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +35 -0
  122. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +161 -0
  123. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +1 -0
  124. package/build/dex/usual-m-usd0/config.d.ts +3 -0
  125. package/build/dex/usual-m-usd0/config.js +14 -0
  126. package/build/dex/usual-m-usd0/config.js.map +1 -0
  127. package/build/dex/usual-m-usd0/types.d.ts +8 -0
  128. package/build/dex/usual-m-usd0/types.js +3 -0
  129. package/build/dex/usual-m-usd0/types.js.map +1 -0
  130. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +35 -0
  131. package/build/dex/usual-m-usd0/usual-m-usd0.js +159 -0
  132. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +1 -0
  133. package/build/types.d.ts +1 -0
  134. package/package.json +1 -1
  135. package/src/dex/uniswap-v2/uniswap-v2.ts +9 -11
  136. package/src/dex/uniswap-v3/uniswap-v3.ts +14 -0
  137. package/src/types.ts +1 -0
  138. package/build/abi/Aave_GSM.json +0 -751
  139. package/build/abi/Balancer.json +0 -257
  140. package/build/abi/BalancerV2.json +0 -1179
  141. package/build/abi/RamsesV2Pool.abi.json +0 -1554
  142. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  143. package/build/abi/USDM.json +0 -807
  144. package/build/abi/UniswapV2Router.json +0 -397
  145. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
  146. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  147. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  148. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  149. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  150. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  151. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  152. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  153. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  154. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  155. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  156. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  157. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  158. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  159. package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
  160. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  161. package/build/abi/curve-v1/StableSwapY.json +0 -814
  162. package/build/abi/inception/inception-ineth.json +0 -609
  163. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  164. package/build/abi/kyberdmm.abi.json +0 -1148
  165. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  166. package/build/abi/nerve/nerve-metapool.json +0 -790
  167. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  168. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  169. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  170. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  171. package/build/dex/bebop/websocket-fetcher.js +0 -87
  172. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  173. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  174. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  175. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  176. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  177. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  178. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  179. package/build/dex/idle-dao/scripts.d.ts +0 -9
  180. package/build/dex/idle-dao/scripts.js +0 -552
  181. package/build/dex/idle-dao/scripts.js.map +0 -1
  182. package/build/dex/inception/inception-native.d.ts +0 -43
  183. package/build/dex/inception/inception-native.js +0 -131
  184. package/build/dex/inception/inception-native.js.map +0 -1
  185. package/build/dex/inception/inception-pool.d.ts +0 -18
  186. package/build/dex/inception/inception-pool.js +0 -32
  187. package/build/dex/inception/inception-pool.js.map +0 -1
  188. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  189. package/build/dex/inception/inception-price-feed.js +0 -51
  190. package/build/dex/inception/inception-price-feed.js.map +0 -1
  191. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  192. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  193. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  194. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  195. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  196. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  197. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  198. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  199. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  200. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  201. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  202. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  203. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  204. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  205. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  206. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  207. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  208. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  209. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  210. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  211. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  212. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  213. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  214. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  215. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  216. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  217. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  218. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  219. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  220. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  221. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  222. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  223. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  224. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  225. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  226. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  227. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  228. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  229. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  230. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  231. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  232. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  233. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  234. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  235. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  236. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  237. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  238. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  239. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  240. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  241. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  242. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  243. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  244. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  245. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  246. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  247. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  248. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  249. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  250. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  251. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  252. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  253. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  254. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  255. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  256. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  257. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  258. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  259. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  260. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  261. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  262. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  263. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  264. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
@@ -0,0 +1,230 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "components": [
6
+ { "internalType": "address", "name": "permit2", "type": "address" },
7
+ { "internalType": "address", "name": "weth9", "type": "address" },
8
+ { "internalType": "address", "name": "v2Factory", "type": "address" },
9
+ { "internalType": "address", "name": "v3Factory", "type": "address" },
10
+ {
11
+ "internalType": "bytes32",
12
+ "name": "pairInitCodeHash",
13
+ "type": "bytes32"
14
+ },
15
+ {
16
+ "internalType": "bytes32",
17
+ "name": "poolInitCodeHash",
18
+ "type": "bytes32"
19
+ },
20
+ {
21
+ "internalType": "address",
22
+ "name": "v4PoolManager",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "internalType": "address",
27
+ "name": "v3NFTPositionManager",
28
+ "type": "address"
29
+ },
30
+ {
31
+ "internalType": "address",
32
+ "name": "v4PositionManager",
33
+ "type": "address"
34
+ }
35
+ ],
36
+ "internalType": "struct RouterParameters",
37
+ "name": "params",
38
+ "type": "tuple"
39
+ }
40
+ ],
41
+ "stateMutability": "nonpayable",
42
+ "type": "constructor"
43
+ },
44
+ { "inputs": [], "name": "BalanceTooLow", "type": "error" },
45
+ { "inputs": [], "name": "ContractLocked", "type": "error" },
46
+ {
47
+ "inputs": [
48
+ { "internalType": "Currency", "name": "currency", "type": "address" }
49
+ ],
50
+ "name": "DeltaNotNegative",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [
55
+ { "internalType": "Currency", "name": "currency", "type": "address" }
56
+ ],
57
+ "name": "DeltaNotPositive",
58
+ "type": "error"
59
+ },
60
+ { "inputs": [], "name": "ETHNotAccepted", "type": "error" },
61
+ {
62
+ "inputs": [
63
+ { "internalType": "uint256", "name": "commandIndex", "type": "uint256" },
64
+ { "internalType": "bytes", "name": "message", "type": "bytes" }
65
+ ],
66
+ "name": "ExecutionFailed",
67
+ "type": "error"
68
+ },
69
+ { "inputs": [], "name": "FromAddressIsNotOwner", "type": "error" },
70
+ { "inputs": [], "name": "InputLengthMismatch", "type": "error" },
71
+ { "inputs": [], "name": "InsufficientBalance", "type": "error" },
72
+ { "inputs": [], "name": "InsufficientETH", "type": "error" },
73
+ { "inputs": [], "name": "InsufficientToken", "type": "error" },
74
+ {
75
+ "inputs": [
76
+ { "internalType": "bytes4", "name": "action", "type": "bytes4" }
77
+ ],
78
+ "name": "InvalidAction",
79
+ "type": "error"
80
+ },
81
+ { "inputs": [], "name": "InvalidBips", "type": "error" },
82
+ {
83
+ "inputs": [
84
+ { "internalType": "uint256", "name": "commandType", "type": "uint256" }
85
+ ],
86
+ "name": "InvalidCommandType",
87
+ "type": "error"
88
+ },
89
+ { "inputs": [], "name": "InvalidEthSender", "type": "error" },
90
+ { "inputs": [], "name": "InvalidPath", "type": "error" },
91
+ { "inputs": [], "name": "InvalidReserves", "type": "error" },
92
+ { "inputs": [], "name": "LengthMismatch", "type": "error" },
93
+ {
94
+ "inputs": [
95
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
96
+ ],
97
+ "name": "NotAuthorizedForToken",
98
+ "type": "error"
99
+ },
100
+ { "inputs": [], "name": "NotPoolManager", "type": "error" },
101
+ { "inputs": [], "name": "OnlyMintAllowed", "type": "error" },
102
+ { "inputs": [], "name": "SliceOutOfBounds", "type": "error" },
103
+ { "inputs": [], "name": "TransactionDeadlinePassed", "type": "error" },
104
+ { "inputs": [], "name": "UnsafeCast", "type": "error" },
105
+ {
106
+ "inputs": [
107
+ { "internalType": "uint256", "name": "action", "type": "uint256" }
108
+ ],
109
+ "name": "UnsupportedAction",
110
+ "type": "error"
111
+ },
112
+ { "inputs": [], "name": "V2InvalidPath", "type": "error" },
113
+ { "inputs": [], "name": "V2TooLittleReceived", "type": "error" },
114
+ { "inputs": [], "name": "V2TooMuchRequested", "type": "error" },
115
+ { "inputs": [], "name": "V3InvalidAmountOut", "type": "error" },
116
+ { "inputs": [], "name": "V3InvalidCaller", "type": "error" },
117
+ { "inputs": [], "name": "V3InvalidSwap", "type": "error" },
118
+ { "inputs": [], "name": "V3TooLittleReceived", "type": "error" },
119
+ { "inputs": [], "name": "V3TooMuchRequested", "type": "error" },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "minAmountOutReceived",
125
+ "type": "uint256"
126
+ },
127
+ { "internalType": "uint256", "name": "amountReceived", "type": "uint256" }
128
+ ],
129
+ "name": "V4TooLittleReceived",
130
+ "type": "error"
131
+ },
132
+ {
133
+ "inputs": [
134
+ {
135
+ "internalType": "uint256",
136
+ "name": "maxAmountInRequested",
137
+ "type": "uint256"
138
+ },
139
+ {
140
+ "internalType": "uint256",
141
+ "name": "amountRequested",
142
+ "type": "uint256"
143
+ }
144
+ ],
145
+ "name": "V4TooMuchRequested",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "V3_POSITION_MANAGER",
151
+ "outputs": [
152
+ {
153
+ "internalType": "contract INonfungiblePositionManager",
154
+ "name": "",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "stateMutability": "view",
159
+ "type": "function"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "V4_POSITION_MANAGER",
164
+ "outputs": [
165
+ {
166
+ "internalType": "contract IPositionManager",
167
+ "name": "",
168
+ "type": "address"
169
+ }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ },
174
+ {
175
+ "inputs": [
176
+ { "internalType": "bytes", "name": "commands", "type": "bytes" },
177
+ { "internalType": "bytes[]", "name": "inputs", "type": "bytes[]" }
178
+ ],
179
+ "name": "execute",
180
+ "outputs": [],
181
+ "stateMutability": "payable",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [
186
+ { "internalType": "bytes", "name": "commands", "type": "bytes" },
187
+ { "internalType": "bytes[]", "name": "inputs", "type": "bytes[]" },
188
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
189
+ ],
190
+ "name": "execute",
191
+ "outputs": [],
192
+ "stateMutability": "payable",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [],
197
+ "name": "msgSender",
198
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ },
202
+ {
203
+ "inputs": [],
204
+ "name": "poolManager",
205
+ "outputs": [
206
+ { "internalType": "contract IPoolManager", "name": "", "type": "address" }
207
+ ],
208
+ "stateMutability": "view",
209
+ "type": "function"
210
+ },
211
+ {
212
+ "inputs": [
213
+ { "internalType": "int256", "name": "amount0Delta", "type": "int256" },
214
+ { "internalType": "int256", "name": "amount1Delta", "type": "int256" },
215
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
216
+ ],
217
+ "name": "uniswapV3SwapCallback",
218
+ "outputs": [],
219
+ "stateMutability": "nonpayable",
220
+ "type": "function"
221
+ },
222
+ {
223
+ "inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }],
224
+ "name": "unlockCallback",
225
+ "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
226
+ "stateMutability": "nonpayable",
227
+ "type": "function"
228
+ },
229
+ { "stateMutability": "payable", "type": "receive" }
230
+ ]