@paraswap/dex-lib 3.11.1 → 3.11.2

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 (280) hide show
  1. package/build/abi/Aave_GSM.json +751 -0
  2. package/build/abi/Balancer.json +257 -0
  3. package/build/abi/BalancerV2.json +1179 -0
  4. package/build/abi/RamsesV2Pool.abi.json +1554 -0
  5. package/build/abi/RamsesV2Quoter.abi.json +274 -0
  6. package/build/abi/USDM.json +807 -0
  7. package/build/abi/UniswapV2Router.json +397 -0
  8. package/build/abi/{wombat/pool.json → angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json} +594 -637
  9. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +509 -0
  10. package/build/abi/cables/CablesMainnetRFQ.json +1083 -0
  11. package/build/abi/curve-v1/CurveBUSDv2.abi.json +1356 -0
  12. package/build/abi/curve-v1/CurveTokenV1.json +305 -0
  13. package/build/abi/curve-v1/CurveTokenV2.json +318 -0
  14. package/build/abi/curve-v1/CurveV1StableNg.json +1452 -0
  15. package/build/abi/curve-v1/CurveV2Swap.json +700 -0
  16. package/build/abi/curve-v1/FactoryCryptoRegistry.json +316 -0
  17. package/build/abi/curve-v1/FactoryRegistry.json +508 -0
  18. package/build/abi/curve-v1/StableSwapAave.json +1152 -0
  19. package/build/abi/curve-v1/StableSwapBUSD.json +814 -0
  20. package/build/abi/curve-v1/StableSwapCompound.json +814 -0
  21. package/build/abi/curve-v1/StableSwapIDLE.json +1253 -0
  22. package/build/abi/curve-v1/StableSwapPax.json +865 -0
  23. package/build/abi/curve-v1/StableSwapSnow.json +900 -0
  24. package/build/abi/curve-v1/StableSwapUSDN.json +1004 -0
  25. package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
  26. package/build/abi/curve-v1/StableSwapY.json +814 -0
  27. package/build/abi/inception/inception-ineth.json +609 -0
  28. package/build/abi/kyberdmm/kyber-storage.abi.json +824 -0
  29. package/build/abi/kyberdmm.abi.json +1148 -0
  30. package/build/abi/maverick-v2/MaverickV2Quoter.json +278 -0
  31. package/build/abi/nerve/nerve-metapool.json +790 -0
  32. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
  33. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +267 -0
  34. package/build/config.js +1 -0
  35. package/build/config.js.map +1 -1
  36. package/build/dex/aave-v1/aave-v1.js +0 -1
  37. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  38. package/build/dex/balancer-v1/balancer-pools.json +33333 -0
  39. package/build/dex/bebop/bebop.js +1 -1
  40. package/build/dex/bebop/bebop.js.map +1 -1
  41. package/build/dex/bebop/config.js +5 -0
  42. package/build/dex/bebop/config.js.map +1 -1
  43. package/build/dex/bebop/rate-fetcher.d.ts +3 -1
  44. package/build/dex/bebop/rate-fetcher.js +42 -2
  45. package/build/dex/bebop/rate-fetcher.js.map +1 -1
  46. package/build/dex/bebop/validators.d.ts +2 -0
  47. package/build/dex/bebop/validators.js +9 -1
  48. package/build/dex/bebop/validators.js.map +1 -1
  49. package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
  50. package/build/dex/bebop/websocket-fetcher.js +87 -0
  51. package/build/dex/bebop/websocket-fetcher.js.map +1 -0
  52. package/build/dex/cables/cables.d.ts +57 -0
  53. package/build/dex/cables/cables.js +471 -0
  54. package/build/dex/cables/cables.js.map +1 -0
  55. package/build/dex/cables/config.d.ts +4 -0
  56. package/build/dex/cables/config.js +15 -0
  57. package/build/dex/cables/config.js.map +1 -0
  58. package/build/dex/cables/constants.d.ts +19 -0
  59. package/build/dex/cables/constants.js +26 -0
  60. package/build/dex/cables/constants.js.map +1 -0
  61. package/build/dex/cables/rate-fetcher.d.ts +34 -0
  62. package/build/dex/cables/rate-fetcher.js +106 -0
  63. package/build/dex/cables/rate-fetcher.js.map +1 -0
  64. package/build/dex/cables/types.d.ts +106 -0
  65. package/build/dex/cables/types.js +12 -0
  66. package/build/dex/cables/types.js.map +1 -0
  67. package/build/dex/cables/validators.d.ts +5 -0
  68. package/build/dex/cables/validators.js +49 -0
  69. package/build/dex/cables/validators.js.map +1 -0
  70. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  71. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  72. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  73. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  74. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  75. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  76. package/build/dex/idle-dao/scripts.d.ts +9 -0
  77. package/build/dex/idle-dao/scripts.js +552 -0
  78. package/build/dex/idle-dao/scripts.js.map +1 -0
  79. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  80. package/build/dex/inception/inception-event-pool.js +9 -7
  81. package/build/dex/inception/inception-event-pool.js.map +1 -1
  82. package/build/dex/inception/inception-native.d.ts +43 -0
  83. package/build/dex/inception/inception-native.js +131 -0
  84. package/build/dex/inception/inception-native.js.map +1 -0
  85. package/build/dex/inception/inception-pool.d.ts +18 -0
  86. package/build/dex/inception/inception-pool.js +32 -0
  87. package/build/dex/inception/inception-pool.js.map +1 -0
  88. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  89. package/build/dex/inception/inception-price-feed.js +51 -0
  90. package/build/dex/inception/inception-price-feed.js.map +1 -0
  91. package/build/dex/inception/inception.d.ts +6 -6
  92. package/build/dex/inception/inception.js +40 -16
  93. package/build/dex/inception/inception.js.map +1 -1
  94. package/build/dex/inception/utils.d.ts +0 -1
  95. package/build/dex/inception/utils.js +1 -22
  96. package/build/dex/inception/utils.js.map +1 -1
  97. package/build/dex/platypus/platypus.js +3 -17
  98. package/build/dex/platypus/platypus.js.map +1 -1
  99. package/build/dex/swaap-v1/swaap-v1.js +0 -4
  100. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  101. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
  102. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
  103. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
  104. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
  105. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
  106. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
  107. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
  108. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
  109. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
  110. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
  111. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
  112. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
  113. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
  114. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
  115. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
  116. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
  117. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
  118. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
  119. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
  120. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
  121. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
  122. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
  123. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
  124. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
  125. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
  126. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
  127. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
  128. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
  129. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
  130. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
  131. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
  132. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
  133. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
  134. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
  135. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
  136. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
  137. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
  138. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
  139. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
  140. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
  141. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
  142. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
  143. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
  144. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
  145. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
  146. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
  147. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
  148. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
  149. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
  150. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
  151. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
  152. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
  153. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
  154. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
  155. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
  156. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
  157. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
  158. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
  159. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
  160. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
  161. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
  162. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
  163. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
  164. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
  165. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
  166. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
  167. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
  168. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
  169. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
  170. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
  171. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
  172. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
  173. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
  174. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
  175. package/build/lib/fetcher/wsFetcher.d.ts +7 -3
  176. package/build/lib/fetcher/wsFetcher.js +64 -51
  177. package/build/lib/fetcher/wsFetcher.js.map +1 -1
  178. package/package.json +4 -2
  179. package/src/config.ts +1 -0
  180. package/src/dex/bebop/bebop-e2e.test.ts +21 -0
  181. package/src/dex/bebop/bebop.json +72 -0
  182. package/src/dex/bebop/bebop.proto +15 -0
  183. package/src/dex/bebop/bebop.ts +1 -1
  184. package/src/dex/bebop/config.ts +5 -0
  185. package/src/dex/bebop/rate-fetcher.ts +51 -6
  186. package/src/dex/bebop/validators.ts +10 -0
  187. package/src/lib/fetcher/wsFetcher.ts +79 -66
  188. package/.vscode/launch.json +0 -53
  189. package/.vscode/settings.json +0 -2
  190. package/.vscode/tasks.json +0 -15
  191. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
  192. package/build/dex/aave-v2/tokens-avalanche.json +0 -44
  193. package/build/dex/aave-v2/tokens-mainnet.json +0 -188
  194. package/build/dex/aave-v2/tokens-polygon.json +0 -44
  195. package/build/dex/bProtocol.d.ts +0 -18
  196. package/build/dex/bProtocol.js +0 -39
  197. package/build/dex/bProtocol.js.map +0 -1
  198. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +0 -729
  199. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +0 -732
  200. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +0 -1
  201. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +0 -1406
  202. package/build/dex/balancer-v3/abi/balancerRouter.js +0 -1175
  203. package/build/dex/balancer-v3/abi/balancerRouter.js.map +0 -1
  204. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +0 -2081
  205. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +0 -1851
  206. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +0 -1
  207. package/build/dex/balancer-v3/balancer-v3-pool.d.ts +0 -76
  208. package/build/dex/balancer-v3/balancer-v3-pool.js +0 -383
  209. package/build/dex/balancer-v3/balancer-v3-pool.js.map +0 -1
  210. package/build/dex/balancer-v3/balancer-v3.d.ts +0 -57
  211. package/build/dex/balancer-v3/balancer-v3.js +0 -373
  212. package/build/dex/balancer-v3/balancer-v3.js.map +0 -1
  213. package/build/dex/balancer-v3/config.d.ts +0 -8
  214. package/build/dex/balancer-v3/config.js +0 -24
  215. package/build/dex/balancer-v3/config.js.map +0 -1
  216. package/build/dex/balancer-v3/getOnChainState.d.ts +0 -10
  217. package/build/dex/balancer-v3/getOnChainState.js +0 -158
  218. package/build/dex/balancer-v3/getOnChainState.js.map +0 -1
  219. package/build/dex/balancer-v3/getPoolsApi.d.ts +0 -2
  220. package/build/dex/balancer-v3/getPoolsApi.js +0 -81
  221. package/build/dex/balancer-v3/getPoolsApi.js.map +0 -1
  222. package/build/dex/balancer-v3/getTopPoolsApi.d.ts +0 -13
  223. package/build/dex/balancer-v3/getTopPoolsApi.js +0 -62
  224. package/build/dex/balancer-v3/getTopPoolsApi.js.map +0 -1
  225. package/build/dex/balancer-v3/types.d.ts +0 -63
  226. package/build/dex/balancer-v3/types.js +0 -3
  227. package/build/dex/balancer-v3/types.js.map +0 -1
  228. package/build/dex/bancor.d.ts +0 -26
  229. package/build/dex/bancor.js +0 -58
  230. package/build/dex/bancor.js.map +0 -1
  231. package/build/dex/compound.d.ts +0 -18
  232. package/build/dex/compound.js +0 -46
  233. package/build/dex/compound.js.map +0 -1
  234. package/build/dex/curve-v2.d.ts +0 -58
  235. package/build/dex/curve-v2.js +0 -180
  236. package/build/dex/curve-v2.js.map +0 -1
  237. package/build/dex/dodo-v1.d.ts +0 -33
  238. package/build/dex/dodo-v1.js +0 -63
  239. package/build/dex/dodo-v1.js.map +0 -1
  240. package/build/dex/fluid-dex/fluid-dex-pool.d.ts +0 -47
  241. package/build/dex/fluid-dex/fluid-dex-pool.js +0 -119
  242. package/build/dex/fluid-dex/fluid-dex-pool.js.map +0 -1
  243. package/build/dex/lido.d.ts +0 -19
  244. package/build/dex/lido.js +0 -42
  245. package/build/dex/lido.js.map +0 -1
  246. package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
  247. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  248. package/build/dex/maker-psm/scripts/validate-state.js +0 -185
  249. package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
  250. package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
  251. package/build/dex/onebit.d.ts +0 -25
  252. package/build/dex/onebit.js +0 -42
  253. package/build/dex/onebit.js.map +0 -1
  254. package/build/dex/smoothy.d.ts +0 -26
  255. package/build/dex/smoothy.js +0 -48
  256. package/build/dex/smoothy.js.map +0 -1
  257. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
  258. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
  259. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
  260. package/build/dex/stable-pool.d.ts +0 -28
  261. package/build/dex/stable-pool.js +0 -55
  262. package/build/dex/stable-pool.js.map +0 -1
  263. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
  264. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
  265. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
  266. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  267. package/build/dex/trader-joe-v2.1.js +0 -79
  268. package/build/dex/trader-joe-v2.1.js.map +0 -1
  269. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
  270. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
  271. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
  272. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
  273. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
  274. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
  275. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +0 -4
  276. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +0 -43
  277. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +0 -1
  278. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +0 -1
  279. package/build/dex/uniswap-v3/uniswap-v3-worker.js +0 -10
  280. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +0 -1
@@ -0,0 +1,1148 @@
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
+ ]