@paraswap/dex-lib 4.1.21 → 4.1.22-cables-angle-type-errors.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 (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,1148 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "_factory",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "contract IWETH",
11
- "name": "_weth",
12
- "type": "address"
13
- }
14
- ],
15
- "stateMutability": "nonpayable",
16
- "type": "constructor"
17
- },
18
- {
19
- "inputs": [
20
- {
21
- "internalType": "contract IERC20",
22
- "name": "tokenA",
23
- "type": "address"
24
- },
25
- {
26
- "internalType": "contract IERC20",
27
- "name": "tokenB",
28
- "type": "address"
29
- },
30
- {
31
- "internalType": "address",
32
- "name": "pool",
33
- "type": "address"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "amountADesired",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "amountBDesired",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "amountAMin",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "amountBMin",
53
- "type": "uint256"
54
- },
55
- {
56
- "internalType": "uint256[2]",
57
- "name": "vReserveRatioBounds",
58
- "type": "uint256[2]"
59
- },
60
- {
61
- "internalType": "address",
62
- "name": "to",
63
- "type": "address"
64
- },
65
- {
66
- "internalType": "uint256",
67
- "name": "deadline",
68
- "type": "uint256"
69
- }
70
- ],
71
- "name": "addLiquidity",
72
- "outputs": [
73
- {
74
- "internalType": "uint256",
75
- "name": "amountA",
76
- "type": "uint256"
77
- },
78
- {
79
- "internalType": "uint256",
80
- "name": "amountB",
81
- "type": "uint256"
82
- },
83
- {
84
- "internalType": "uint256",
85
- "name": "liquidity",
86
- "type": "uint256"
87
- }
88
- ],
89
- "stateMutability": "nonpayable",
90
- "type": "function"
91
- },
92
- {
93
- "inputs": [
94
- {
95
- "internalType": "contract IERC20",
96
- "name": "token",
97
- "type": "address"
98
- },
99
- {
100
- "internalType": "address",
101
- "name": "pool",
102
- "type": "address"
103
- },
104
- {
105
- "internalType": "uint256",
106
- "name": "amountTokenDesired",
107
- "type": "uint256"
108
- },
109
- {
110
- "internalType": "uint256",
111
- "name": "amountTokenMin",
112
- "type": "uint256"
113
- },
114
- {
115
- "internalType": "uint256",
116
- "name": "amountETHMin",
117
- "type": "uint256"
118
- },
119
- {
120
- "internalType": "uint256[2]",
121
- "name": "vReserveRatioBounds",
122
- "type": "uint256[2]"
123
- },
124
- {
125
- "internalType": "address",
126
- "name": "to",
127
- "type": "address"
128
- },
129
- {
130
- "internalType": "uint256",
131
- "name": "deadline",
132
- "type": "uint256"
133
- }
134
- ],
135
- "name": "addLiquidityETH",
136
- "outputs": [
137
- {
138
- "internalType": "uint256",
139
- "name": "amountToken",
140
- "type": "uint256"
141
- },
142
- {
143
- "internalType": "uint256",
144
- "name": "amountETH",
145
- "type": "uint256"
146
- },
147
- {
148
- "internalType": "uint256",
149
- "name": "liquidity",
150
- "type": "uint256"
151
- }
152
- ],
153
- "stateMutability": "payable",
154
- "type": "function"
155
- },
156
- {
157
- "inputs": [
158
- {
159
- "internalType": "contract IERC20",
160
- "name": "tokenA",
161
- "type": "address"
162
- },
163
- {
164
- "internalType": "contract IERC20",
165
- "name": "tokenB",
166
- "type": "address"
167
- },
168
- {
169
- "internalType": "uint32",
170
- "name": "ampBps",
171
- "type": "uint32"
172
- },
173
- {
174
- "internalType": "uint256",
175
- "name": "amountADesired",
176
- "type": "uint256"
177
- },
178
- {
179
- "internalType": "uint256",
180
- "name": "amountBDesired",
181
- "type": "uint256"
182
- },
183
- {
184
- "internalType": "uint256",
185
- "name": "amountAMin",
186
- "type": "uint256"
187
- },
188
- {
189
- "internalType": "uint256",
190
- "name": "amountBMin",
191
- "type": "uint256"
192
- },
193
- {
194
- "internalType": "address",
195
- "name": "to",
196
- "type": "address"
197
- },
198
- {
199
- "internalType": "uint256",
200
- "name": "deadline",
201
- "type": "uint256"
202
- }
203
- ],
204
- "name": "addLiquidityNewPool",
205
- "outputs": [
206
- {
207
- "internalType": "uint256",
208
- "name": "amountA",
209
- "type": "uint256"
210
- },
211
- {
212
- "internalType": "uint256",
213
- "name": "amountB",
214
- "type": "uint256"
215
- },
216
- {
217
- "internalType": "uint256",
218
- "name": "liquidity",
219
- "type": "uint256"
220
- }
221
- ],
222
- "stateMutability": "nonpayable",
223
- "type": "function"
224
- },
225
- {
226
- "inputs": [
227
- {
228
- "internalType": "contract IERC20",
229
- "name": "token",
230
- "type": "address"
231
- },
232
- {
233
- "internalType": "uint32",
234
- "name": "ampBps",
235
- "type": "uint32"
236
- },
237
- {
238
- "internalType": "uint256",
239
- "name": "amountTokenDesired",
240
- "type": "uint256"
241
- },
242
- {
243
- "internalType": "uint256",
244
- "name": "amountTokenMin",
245
- "type": "uint256"
246
- },
247
- {
248
- "internalType": "uint256",
249
- "name": "amountETHMin",
250
- "type": "uint256"
251
- },
252
- {
253
- "internalType": "address",
254
- "name": "to",
255
- "type": "address"
256
- },
257
- {
258
- "internalType": "uint256",
259
- "name": "deadline",
260
- "type": "uint256"
261
- }
262
- ],
263
- "name": "addLiquidityNewPoolETH",
264
- "outputs": [
265
- {
266
- "internalType": "uint256",
267
- "name": "amountToken",
268
- "type": "uint256"
269
- },
270
- {
271
- "internalType": "uint256",
272
- "name": "amountETH",
273
- "type": "uint256"
274
- },
275
- {
276
- "internalType": "uint256",
277
- "name": "liquidity",
278
- "type": "uint256"
279
- }
280
- ],
281
- "stateMutability": "payable",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [],
286
- "name": "factory",
287
- "outputs": [
288
- {
289
- "internalType": "address",
290
- "name": "",
291
- "type": "address"
292
- }
293
- ],
294
- "stateMutability": "view",
295
- "type": "function"
296
- },
297
- {
298
- "inputs": [
299
- {
300
- "internalType": "uint256",
301
- "name": "amountOut",
302
- "type": "uint256"
303
- },
304
- {
305
- "internalType": "address[]",
306
- "name": "poolsPath",
307
- "type": "address[]"
308
- },
309
- {
310
- "internalType": "contract IERC20[]",
311
- "name": "path",
312
- "type": "address[]"
313
- }
314
- ],
315
- "name": "getAmountsIn",
316
- "outputs": [
317
- {
318
- "internalType": "uint256[]",
319
- "name": "amounts",
320
- "type": "uint256[]"
321
- }
322
- ],
323
- "stateMutability": "view",
324
- "type": "function"
325
- },
326
- {
327
- "inputs": [
328
- {
329
- "internalType": "uint256",
330
- "name": "amountIn",
331
- "type": "uint256"
332
- },
333
- {
334
- "internalType": "address[]",
335
- "name": "poolsPath",
336
- "type": "address[]"
337
- },
338
- {
339
- "internalType": "contract IERC20[]",
340
- "name": "path",
341
- "type": "address[]"
342
- }
343
- ],
344
- "name": "getAmountsOut",
345
- "outputs": [
346
- {
347
- "internalType": "uint256[]",
348
- "name": "amounts",
349
- "type": "uint256[]"
350
- }
351
- ],
352
- "stateMutability": "view",
353
- "type": "function"
354
- },
355
- {
356
- "inputs": [
357
- {
358
- "internalType": "uint256",
359
- "name": "amountA",
360
- "type": "uint256"
361
- },
362
- {
363
- "internalType": "uint256",
364
- "name": "reserveA",
365
- "type": "uint256"
366
- },
367
- {
368
- "internalType": "uint256",
369
- "name": "reserveB",
370
- "type": "uint256"
371
- }
372
- ],
373
- "name": "quote",
374
- "outputs": [
375
- {
376
- "internalType": "uint256",
377
- "name": "amountB",
378
- "type": "uint256"
379
- }
380
- ],
381
- "stateMutability": "pure",
382
- "type": "function"
383
- },
384
- {
385
- "inputs": [
386
- {
387
- "internalType": "contract IERC20",
388
- "name": "tokenA",
389
- "type": "address"
390
- },
391
- {
392
- "internalType": "contract IERC20",
393
- "name": "tokenB",
394
- "type": "address"
395
- },
396
- {
397
- "internalType": "address",
398
- "name": "pool",
399
- "type": "address"
400
- },
401
- {
402
- "internalType": "uint256",
403
- "name": "liquidity",
404
- "type": "uint256"
405
- },
406
- {
407
- "internalType": "uint256",
408
- "name": "amountAMin",
409
- "type": "uint256"
410
- },
411
- {
412
- "internalType": "uint256",
413
- "name": "amountBMin",
414
- "type": "uint256"
415
- },
416
- {
417
- "internalType": "address",
418
- "name": "to",
419
- "type": "address"
420
- },
421
- {
422
- "internalType": "uint256",
423
- "name": "deadline",
424
- "type": "uint256"
425
- }
426
- ],
427
- "name": "removeLiquidity",
428
- "outputs": [
429
- {
430
- "internalType": "uint256",
431
- "name": "amountA",
432
- "type": "uint256"
433
- },
434
- {
435
- "internalType": "uint256",
436
- "name": "amountB",
437
- "type": "uint256"
438
- }
439
- ],
440
- "stateMutability": "nonpayable",
441
- "type": "function"
442
- },
443
- {
444
- "inputs": [
445
- {
446
- "internalType": "contract IERC20",
447
- "name": "token",
448
- "type": "address"
449
- },
450
- {
451
- "internalType": "address",
452
- "name": "pool",
453
- "type": "address"
454
- },
455
- {
456
- "internalType": "uint256",
457
- "name": "liquidity",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "amountTokenMin",
463
- "type": "uint256"
464
- },
465
- {
466
- "internalType": "uint256",
467
- "name": "amountETHMin",
468
- "type": "uint256"
469
- },
470
- {
471
- "internalType": "address",
472
- "name": "to",
473
- "type": "address"
474
- },
475
- {
476
- "internalType": "uint256",
477
- "name": "deadline",
478
- "type": "uint256"
479
- }
480
- ],
481
- "name": "removeLiquidityETH",
482
- "outputs": [
483
- {
484
- "internalType": "uint256",
485
- "name": "amountToken",
486
- "type": "uint256"
487
- },
488
- {
489
- "internalType": "uint256",
490
- "name": "amountETH",
491
- "type": "uint256"
492
- }
493
- ],
494
- "stateMutability": "nonpayable",
495
- "type": "function"
496
- },
497
- {
498
- "inputs": [
499
- {
500
- "internalType": "contract IERC20",
501
- "name": "token",
502
- "type": "address"
503
- },
504
- {
505
- "internalType": "address",
506
- "name": "pool",
507
- "type": "address"
508
- },
509
- {
510
- "internalType": "uint256",
511
- "name": "liquidity",
512
- "type": "uint256"
513
- },
514
- {
515
- "internalType": "uint256",
516
- "name": "amountTokenMin",
517
- "type": "uint256"
518
- },
519
- {
520
- "internalType": "uint256",
521
- "name": "amountETHMin",
522
- "type": "uint256"
523
- },
524
- {
525
- "internalType": "address",
526
- "name": "to",
527
- "type": "address"
528
- },
529
- {
530
- "internalType": "uint256",
531
- "name": "deadline",
532
- "type": "uint256"
533
- }
534
- ],
535
- "name": "removeLiquidityETHSupportingFeeOnTransferTokens",
536
- "outputs": [
537
- {
538
- "internalType": "uint256",
539
- "name": "amountETH",
540
- "type": "uint256"
541
- }
542
- ],
543
- "stateMutability": "nonpayable",
544
- "type": "function"
545
- },
546
- {
547
- "inputs": [
548
- {
549
- "internalType": "contract IERC20",
550
- "name": "token",
551
- "type": "address"
552
- },
553
- {
554
- "internalType": "address",
555
- "name": "pool",
556
- "type": "address"
557
- },
558
- {
559
- "internalType": "uint256",
560
- "name": "liquidity",
561
- "type": "uint256"
562
- },
563
- {
564
- "internalType": "uint256",
565
- "name": "amountTokenMin",
566
- "type": "uint256"
567
- },
568
- {
569
- "internalType": "uint256",
570
- "name": "amountETHMin",
571
- "type": "uint256"
572
- },
573
- {
574
- "internalType": "address",
575
- "name": "to",
576
- "type": "address"
577
- },
578
- {
579
- "internalType": "uint256",
580
- "name": "deadline",
581
- "type": "uint256"
582
- },
583
- {
584
- "internalType": "bool",
585
- "name": "approveMax",
586
- "type": "bool"
587
- },
588
- {
589
- "internalType": "uint8",
590
- "name": "v",
591
- "type": "uint8"
592
- },
593
- {
594
- "internalType": "bytes32",
595
- "name": "r",
596
- "type": "bytes32"
597
- },
598
- {
599
- "internalType": "bytes32",
600
- "name": "s",
601
- "type": "bytes32"
602
- }
603
- ],
604
- "name": "removeLiquidityETHWithPermit",
605
- "outputs": [
606
- {
607
- "internalType": "uint256",
608
- "name": "amountToken",
609
- "type": "uint256"
610
- },
611
- {
612
- "internalType": "uint256",
613
- "name": "amountETH",
614
- "type": "uint256"
615
- }
616
- ],
617
- "stateMutability": "nonpayable",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "contract IERC20",
624
- "name": "token",
625
- "type": "address"
626
- },
627
- {
628
- "internalType": "address",
629
- "name": "pool",
630
- "type": "address"
631
- },
632
- {
633
- "internalType": "uint256",
634
- "name": "liquidity",
635
- "type": "uint256"
636
- },
637
- {
638
- "internalType": "uint256",
639
- "name": "amountTokenMin",
640
- "type": "uint256"
641
- },
642
- {
643
- "internalType": "uint256",
644
- "name": "amountETHMin",
645
- "type": "uint256"
646
- },
647
- {
648
- "internalType": "address",
649
- "name": "to",
650
- "type": "address"
651
- },
652
- {
653
- "internalType": "uint256",
654
- "name": "deadline",
655
- "type": "uint256"
656
- },
657
- {
658
- "internalType": "bool",
659
- "name": "approveMax",
660
- "type": "bool"
661
- },
662
- {
663
- "internalType": "uint8",
664
- "name": "v",
665
- "type": "uint8"
666
- },
667
- {
668
- "internalType": "bytes32",
669
- "name": "r",
670
- "type": "bytes32"
671
- },
672
- {
673
- "internalType": "bytes32",
674
- "name": "s",
675
- "type": "bytes32"
676
- }
677
- ],
678
- "name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens",
679
- "outputs": [
680
- {
681
- "internalType": "uint256",
682
- "name": "amountETH",
683
- "type": "uint256"
684
- }
685
- ],
686
- "stateMutability": "nonpayable",
687
- "type": "function"
688
- },
689
- {
690
- "inputs": [
691
- {
692
- "internalType": "contract IERC20",
693
- "name": "tokenA",
694
- "type": "address"
695
- },
696
- {
697
- "internalType": "contract IERC20",
698
- "name": "tokenB",
699
- "type": "address"
700
- },
701
- {
702
- "internalType": "address",
703
- "name": "pool",
704
- "type": "address"
705
- },
706
- {
707
- "internalType": "uint256",
708
- "name": "liquidity",
709
- "type": "uint256"
710
- },
711
- {
712
- "internalType": "uint256",
713
- "name": "amountAMin",
714
- "type": "uint256"
715
- },
716
- {
717
- "internalType": "uint256",
718
- "name": "amountBMin",
719
- "type": "uint256"
720
- },
721
- {
722
- "internalType": "address",
723
- "name": "to",
724
- "type": "address"
725
- },
726
- {
727
- "internalType": "uint256",
728
- "name": "deadline",
729
- "type": "uint256"
730
- },
731
- {
732
- "internalType": "bool",
733
- "name": "approveMax",
734
- "type": "bool"
735
- },
736
- {
737
- "internalType": "uint8",
738
- "name": "v",
739
- "type": "uint8"
740
- },
741
- {
742
- "internalType": "bytes32",
743
- "name": "r",
744
- "type": "bytes32"
745
- },
746
- {
747
- "internalType": "bytes32",
748
- "name": "s",
749
- "type": "bytes32"
750
- }
751
- ],
752
- "name": "removeLiquidityWithPermit",
753
- "outputs": [
754
- {
755
- "internalType": "uint256",
756
- "name": "amountA",
757
- "type": "uint256"
758
- },
759
- {
760
- "internalType": "uint256",
761
- "name": "amountB",
762
- "type": "uint256"
763
- }
764
- ],
765
- "stateMutability": "nonpayable",
766
- "type": "function"
767
- },
768
- {
769
- "inputs": [
770
- {
771
- "internalType": "uint256",
772
- "name": "amountOut",
773
- "type": "uint256"
774
- },
775
- {
776
- "internalType": "address[]",
777
- "name": "poolsPath",
778
- "type": "address[]"
779
- },
780
- {
781
- "internalType": "contract IERC20[]",
782
- "name": "path",
783
- "type": "address[]"
784
- },
785
- {
786
- "internalType": "address",
787
- "name": "to",
788
- "type": "address"
789
- },
790
- {
791
- "internalType": "uint256",
792
- "name": "deadline",
793
- "type": "uint256"
794
- }
795
- ],
796
- "name": "swapETHForExactTokens",
797
- "outputs": [
798
- {
799
- "internalType": "uint256[]",
800
- "name": "amounts",
801
- "type": "uint256[]"
802
- }
803
- ],
804
- "stateMutability": "payable",
805
- "type": "function"
806
- },
807
- {
808
- "inputs": [
809
- {
810
- "internalType": "uint256",
811
- "name": "amountOutMin",
812
- "type": "uint256"
813
- },
814
- {
815
- "internalType": "address[]",
816
- "name": "poolsPath",
817
- "type": "address[]"
818
- },
819
- {
820
- "internalType": "contract IERC20[]",
821
- "name": "path",
822
- "type": "address[]"
823
- },
824
- {
825
- "internalType": "address",
826
- "name": "to",
827
- "type": "address"
828
- },
829
- {
830
- "internalType": "uint256",
831
- "name": "deadline",
832
- "type": "uint256"
833
- }
834
- ],
835
- "name": "swapExactETHForTokens",
836
- "outputs": [
837
- {
838
- "internalType": "uint256[]",
839
- "name": "amounts",
840
- "type": "uint256[]"
841
- }
842
- ],
843
- "stateMutability": "payable",
844
- "type": "function"
845
- },
846
- {
847
- "inputs": [
848
- {
849
- "internalType": "uint256",
850
- "name": "amountOutMin",
851
- "type": "uint256"
852
- },
853
- {
854
- "internalType": "address[]",
855
- "name": "poolsPath",
856
- "type": "address[]"
857
- },
858
- {
859
- "internalType": "contract IERC20[]",
860
- "name": "path",
861
- "type": "address[]"
862
- },
863
- {
864
- "internalType": "address",
865
- "name": "to",
866
- "type": "address"
867
- },
868
- {
869
- "internalType": "uint256",
870
- "name": "deadline",
871
- "type": "uint256"
872
- }
873
- ],
874
- "name": "swapExactETHForTokensSupportingFeeOnTransferTokens",
875
- "outputs": [],
876
- "stateMutability": "payable",
877
- "type": "function"
878
- },
879
- {
880
- "inputs": [
881
- {
882
- "internalType": "uint256",
883
- "name": "amountIn",
884
- "type": "uint256"
885
- },
886
- {
887
- "internalType": "uint256",
888
- "name": "amountOutMin",
889
- "type": "uint256"
890
- },
891
- {
892
- "internalType": "address[]",
893
- "name": "poolsPath",
894
- "type": "address[]"
895
- },
896
- {
897
- "internalType": "contract IERC20[]",
898
- "name": "path",
899
- "type": "address[]"
900
- },
901
- {
902
- "internalType": "address",
903
- "name": "to",
904
- "type": "address"
905
- },
906
- {
907
- "internalType": "uint256",
908
- "name": "deadline",
909
- "type": "uint256"
910
- }
911
- ],
912
- "name": "swapExactTokensForETH",
913
- "outputs": [
914
- {
915
- "internalType": "uint256[]",
916
- "name": "amounts",
917
- "type": "uint256[]"
918
- }
919
- ],
920
- "stateMutability": "nonpayable",
921
- "type": "function"
922
- },
923
- {
924
- "inputs": [
925
- {
926
- "internalType": "uint256",
927
- "name": "amountIn",
928
- "type": "uint256"
929
- },
930
- {
931
- "internalType": "uint256",
932
- "name": "amountOutMin",
933
- "type": "uint256"
934
- },
935
- {
936
- "internalType": "address[]",
937
- "name": "poolsPath",
938
- "type": "address[]"
939
- },
940
- {
941
- "internalType": "contract IERC20[]",
942
- "name": "path",
943
- "type": "address[]"
944
- },
945
- {
946
- "internalType": "address",
947
- "name": "to",
948
- "type": "address"
949
- },
950
- {
951
- "internalType": "uint256",
952
- "name": "deadline",
953
- "type": "uint256"
954
- }
955
- ],
956
- "name": "swapExactTokensForETHSupportingFeeOnTransferTokens",
957
- "outputs": [],
958
- "stateMutability": "nonpayable",
959
- "type": "function"
960
- },
961
- {
962
- "inputs": [
963
- {
964
- "internalType": "uint256",
965
- "name": "amountIn",
966
- "type": "uint256"
967
- },
968
- {
969
- "internalType": "uint256",
970
- "name": "amountOutMin",
971
- "type": "uint256"
972
- },
973
- {
974
- "internalType": "address[]",
975
- "name": "poolsPath",
976
- "type": "address[]"
977
- },
978
- {
979
- "internalType": "contract IERC20[]",
980
- "name": "path",
981
- "type": "address[]"
982
- },
983
- {
984
- "internalType": "address",
985
- "name": "to",
986
- "type": "address"
987
- },
988
- {
989
- "internalType": "uint256",
990
- "name": "deadline",
991
- "type": "uint256"
992
- }
993
- ],
994
- "name": "swapExactTokensForTokens",
995
- "outputs": [
996
- {
997
- "internalType": "uint256[]",
998
- "name": "amounts",
999
- "type": "uint256[]"
1000
- }
1001
- ],
1002
- "stateMutability": "nonpayable",
1003
- "type": "function"
1004
- },
1005
- {
1006
- "inputs": [
1007
- {
1008
- "internalType": "uint256",
1009
- "name": "amountIn",
1010
- "type": "uint256"
1011
- },
1012
- {
1013
- "internalType": "uint256",
1014
- "name": "amountOutMin",
1015
- "type": "uint256"
1016
- },
1017
- {
1018
- "internalType": "address[]",
1019
- "name": "poolsPath",
1020
- "type": "address[]"
1021
- },
1022
- {
1023
- "internalType": "contract IERC20[]",
1024
- "name": "path",
1025
- "type": "address[]"
1026
- },
1027
- {
1028
- "internalType": "address",
1029
- "name": "to",
1030
- "type": "address"
1031
- },
1032
- {
1033
- "internalType": "uint256",
1034
- "name": "deadline",
1035
- "type": "uint256"
1036
- }
1037
- ],
1038
- "name": "swapExactTokensForTokensSupportingFeeOnTransferTokens",
1039
- "outputs": [],
1040
- "stateMutability": "nonpayable",
1041
- "type": "function"
1042
- },
1043
- {
1044
- "inputs": [
1045
- {
1046
- "internalType": "uint256",
1047
- "name": "amountOut",
1048
- "type": "uint256"
1049
- },
1050
- {
1051
- "internalType": "uint256",
1052
- "name": "amountInMax",
1053
- "type": "uint256"
1054
- },
1055
- {
1056
- "internalType": "address[]",
1057
- "name": "poolsPath",
1058
- "type": "address[]"
1059
- },
1060
- {
1061
- "internalType": "contract IERC20[]",
1062
- "name": "path",
1063
- "type": "address[]"
1064
- },
1065
- {
1066
- "internalType": "address",
1067
- "name": "to",
1068
- "type": "address"
1069
- },
1070
- {
1071
- "internalType": "uint256",
1072
- "name": "deadline",
1073
- "type": "uint256"
1074
- }
1075
- ],
1076
- "name": "swapTokensForExactETH",
1077
- "outputs": [
1078
- {
1079
- "internalType": "uint256[]",
1080
- "name": "amounts",
1081
- "type": "uint256[]"
1082
- }
1083
- ],
1084
- "stateMutability": "nonpayable",
1085
- "type": "function"
1086
- },
1087
- {
1088
- "inputs": [
1089
- {
1090
- "internalType": "uint256",
1091
- "name": "amountOut",
1092
- "type": "uint256"
1093
- },
1094
- {
1095
- "internalType": "uint256",
1096
- "name": "amountInMax",
1097
- "type": "uint256"
1098
- },
1099
- {
1100
- "internalType": "address[]",
1101
- "name": "poolsPath",
1102
- "type": "address[]"
1103
- },
1104
- {
1105
- "internalType": "contract IERC20[]",
1106
- "name": "path",
1107
- "type": "address[]"
1108
- },
1109
- {
1110
- "internalType": "address",
1111
- "name": "to",
1112
- "type": "address"
1113
- },
1114
- {
1115
- "internalType": "uint256",
1116
- "name": "deadline",
1117
- "type": "uint256"
1118
- }
1119
- ],
1120
- "name": "swapTokensForExactTokens",
1121
- "outputs": [
1122
- {
1123
- "internalType": "uint256[]",
1124
- "name": "amounts",
1125
- "type": "uint256[]"
1126
- }
1127
- ],
1128
- "stateMutability": "nonpayable",
1129
- "type": "function"
1130
- },
1131
- {
1132
- "inputs": [],
1133
- "name": "weth",
1134
- "outputs": [
1135
- {
1136
- "internalType": "contract IWETH",
1137
- "name": "",
1138
- "type": "address"
1139
- }
1140
- ],
1141
- "stateMutability": "view",
1142
- "type": "function"
1143
- },
1144
- {
1145
- "stateMutability": "payable",
1146
- "type": "receive"
1147
- }
1148
- ]