@paraswap/dex-lib 4.1.16 → 4.1.17-arena

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 (304) hide show
  1. package/.eslintrc.js +8 -0
  2. package/build/abi/Aave_GSM.json +751 -0
  3. package/build/abi/Balancer.json +257 -0
  4. package/build/abi/BalancerV2.json +1179 -0
  5. package/build/abi/RamsesV2Pool.abi.json +1554 -0
  6. package/build/abi/RamsesV2Quoter.abi.json +274 -0
  7. package/build/abi/USDM.json +807 -0
  8. package/build/abi/UniswapV2Router.json +397 -0
  9. package/build/abi/{wombat/pool.json → angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json} +594 -637
  10. package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +509 -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/dex/aave-v1/aave-v1.js +0 -1
  35. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  36. package/build/dex/balancer-v1/balancer-pools.json +33333 -0
  37. package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
  38. package/build/dex/bebop/websocket-fetcher.js +87 -0
  39. package/build/dex/bebop/websocket-fetcher.js.map +1 -0
  40. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  41. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  42. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  43. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  44. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  45. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  46. package/build/dex/idle-dao/scripts.d.ts +9 -0
  47. package/build/dex/idle-dao/scripts.js +552 -0
  48. package/build/dex/idle-dao/scripts.js.map +1 -0
  49. package/build/dex/inception/inception-event-pool.d.ts +4 -4
  50. package/build/dex/inception/inception-event-pool.js +9 -7
  51. package/build/dex/inception/inception-event-pool.js.map +1 -1
  52. package/build/dex/inception/inception-native.d.ts +43 -0
  53. package/build/dex/inception/inception-native.js +131 -0
  54. package/build/dex/inception/inception-native.js.map +1 -0
  55. package/build/dex/inception/inception-pool.d.ts +18 -0
  56. package/build/dex/inception/inception-pool.js +32 -0
  57. package/build/dex/inception/inception-pool.js.map +1 -0
  58. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  59. package/build/dex/inception/inception-price-feed.js +51 -0
  60. package/build/dex/inception/inception-price-feed.js.map +1 -0
  61. package/build/dex/inception/inception.d.ts +6 -6
  62. package/build/dex/inception/inception.js +40 -16
  63. package/build/dex/inception/inception.js.map +1 -1
  64. package/build/dex/inception/utils.d.ts +0 -1
  65. package/build/dex/inception/utils.js +1 -22
  66. package/build/dex/inception/utils.js.map +1 -1
  67. package/build/dex/platypus/platypus.js +3 -17
  68. package/build/dex/platypus/platypus.js.map +1 -1
  69. package/build/dex/swaap-v1/swaap-v1.js +0 -4
  70. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  71. package/build/dex/uniswap-v2/config.js +8 -0
  72. package/build/dex/uniswap-v2/config.js.map +1 -1
  73. package/build/dex/uniswap-v3/config.js +2 -1
  74. package/build/dex/uniswap-v3/config.js.map +1 -1
  75. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
  76. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
  77. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
  78. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
  79. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
  80. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
  81. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
  82. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
  83. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
  84. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
  85. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
  86. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
  87. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
  88. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
  89. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
  90. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
  91. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
  92. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
  93. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
  94. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
  95. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
  96. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
  97. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
  98. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
  99. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
  100. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
  101. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
  102. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
  103. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
  104. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
  105. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
  106. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
  107. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
  108. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
  109. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
  110. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
  111. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
  112. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
  113. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
  114. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
  115. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
  116. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
  117. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
  118. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
  119. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
  120. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
  121. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
  122. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
  123. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
  124. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
  125. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
  126. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
  127. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
  128. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
  129. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
  130. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
  131. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
  132. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
  133. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
  134. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
  135. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
  136. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
  137. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
  138. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
  139. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
  140. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
  141. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
  142. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
  143. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
  144. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
  145. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
  146. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
  147. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
  148. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
  149. package/package.json +1 -1
  150. package/src/dex/generic-rfq/example-api.test.ts +12 -1
  151. package/src/dex/generic-rfq/generic-rfq-e2e.test.ts +5 -47
  152. package/src/dex/generic-rfq/generic-rfq-local-e2e.test.ts +8 -22
  153. package/src/dex/uniswap-v2/config.ts +9 -0
  154. package/src/dex/uniswap-v2/uniswap-v2-e2e-avalanche.test.ts +105 -1
  155. package/src/dex/uniswap-v3/config.ts +2 -1
  156. package/tests/constants-e2e.ts +7 -53
  157. package/tests/{tenderly-simulation-new.test.ts → tenderly-simulation.test.ts} +2 -2
  158. package/tests/tenderly-simulation.ts +650 -241
  159. package/tests/token-storage-slots.json +166 -0
  160. package/tests/utils-e2e.ts +198 -712
  161. package/tests/v6/utils-e2e-v6.ts +60 -134
  162. package/.vscode/launch.json +0 -53
  163. package/.vscode/settings.json +0 -2
  164. package/.vscode/tasks.json +0 -15
  165. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
  166. package/build/abi/uniswap-v4/quoter.abi.json +0 -461
  167. package/build/abi/uniswap-v4/router.abi.json +0 -230
  168. package/build/abi/usual-m-smart-m/usualM.abi.json +0 -483
  169. package/build/dex/aave-v2/tokens-avalanche.json +0 -44
  170. package/build/dex/aave-v2/tokens-mainnet.json +0 -188
  171. package/build/dex/aave-v2/tokens-polygon.json +0 -44
  172. package/build/dex/bProtocol.d.ts +0 -18
  173. package/build/dex/bProtocol.js +0 -39
  174. package/build/dex/bProtocol.js.map +0 -1
  175. package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +0 -729
  176. package/build/dex/balancer-v3/abi/balancerBatchRouter.js +0 -732
  177. package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +0 -1
  178. package/build/dex/balancer-v3/abi/balancerRouter.d.ts +0 -1406
  179. package/build/dex/balancer-v3/abi/balancerRouter.js +0 -1175
  180. package/build/dex/balancer-v3/abi/balancerRouter.js.map +0 -1
  181. package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +0 -2081
  182. package/build/dex/balancer-v3/abi/vaultExtension.V3.js +0 -1851
  183. package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +0 -1
  184. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +0 -34
  185. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +0 -406
  186. package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +0 -1
  187. package/build/dex/bancor.d.ts +0 -26
  188. package/build/dex/bancor.js +0 -58
  189. package/build/dex/bancor.js.map +0 -1
  190. package/build/dex/compound.d.ts +0 -18
  191. package/build/dex/compound.js +0 -46
  192. package/build/dex/compound.js.map +0 -1
  193. package/build/dex/curve-v2.d.ts +0 -58
  194. package/build/dex/curve-v2.js +0 -180
  195. package/build/dex/curve-v2.js.map +0 -1
  196. package/build/dex/dodo-v1.d.ts +0 -33
  197. package/build/dex/dodo-v1.js +0 -63
  198. package/build/dex/dodo-v1.js.map +0 -1
  199. package/build/dex/erc4626/scripts/validate-state.d.ts +0 -0
  200. package/build/dex/erc4626/scripts/validate-state.js +0 -146
  201. package/build/dex/erc4626/scripts/validate-state.js.map +0 -1
  202. package/build/dex/lido.d.ts +0 -19
  203. package/build/dex/lido.js +0 -42
  204. package/build/dex/lido.js.map +0 -1
  205. package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
  206. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  207. package/build/dex/maker-psm/scripts/validate-state.js +0 -185
  208. package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
  209. package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
  210. package/build/dex/onebit.d.ts +0 -25
  211. package/build/dex/onebit.js +0 -42
  212. package/build/dex/onebit.js.map +0 -1
  213. package/build/dex/smoothy.d.ts +0 -26
  214. package/build/dex/smoothy.js +0 -48
  215. package/build/dex/smoothy.js.map +0 -1
  216. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
  217. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
  218. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
  219. package/build/dex/stable-pool.d.ts +0 -28
  220. package/build/dex/stable-pool.js +0 -55
  221. package/build/dex/stable-pool.js.map +0 -1
  222. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
  223. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
  224. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
  225. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  226. package/build/dex/trader-joe-v2.1.js +0 -79
  227. package/build/dex/trader-joe-v2.1.js.map +0 -1
  228. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
  229. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
  230. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
  231. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
  232. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
  233. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
  234. package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +0 -4
  235. package/build/dex/uniswap-v3/uniswap-v3-pricing.js +0 -43
  236. package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +0 -1
  237. package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +0 -1
  238. package/build/dex/uniswap-v3/uniswap-v3-worker.js +0 -10
  239. package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +0 -1
  240. package/build/dex/uniswap-v4/config.d.ts +0 -3
  241. package/build/dex/uniswap-v4/config.js +0 -15
  242. package/build/dex/uniswap-v4/config.js.map +0 -1
  243. package/build/dex/uniswap-v4/encoder.d.ts +0 -16
  244. package/build/dex/uniswap-v4/encoder.js +0 -94
  245. package/build/dex/uniswap-v4/encoder.js.map +0 -1
  246. package/build/dex/uniswap-v4/types.d.ts +0 -30
  247. package/build/dex/uniswap-v4/types.js +0 -3
  248. package/build/dex/uniswap-v4/types.js.map +0 -1
  249. package/build/dex/uniswap-v4/uniswap-v4.d.ts +0 -38
  250. package/build/dex/uniswap-v4/uniswap-v4.js +0 -187
  251. package/build/dex/uniswap-v4/uniswap-v4.js.map +0 -1
  252. package/build/dex/usual/usual-m-smart-m.d.ts +0 -17
  253. package/build/dex/usual/usual-m-smart-m.js +0 -50
  254. package/build/dex/usual/usual-m-smart-m.js.map +0 -1
  255. package/build/dex/usual-m-smart-m/config.d.ts +0 -3
  256. package/build/dex/usual-m-smart-m/config.js +0 -13
  257. package/build/dex/usual-m-smart-m/config.js.map +0 -1
  258. package/build/dex/usual-m-smart-m/types.d.ts +0 -7
  259. package/build/dex/usual-m-smart-m/types.js +0 -3
  260. package/build/dex/usual-m-smart-m/types.js.map +0 -1
  261. package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +0 -35
  262. package/build/dex/usual-m-smart-m/usual-m-smart-m.js +0 -161
  263. package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +0 -1
  264. package/build/dex/usual-m-usd0/config.d.ts +0 -3
  265. package/build/dex/usual-m-usd0/config.js +0 -14
  266. package/build/dex/usual-m-usd0/config.js.map +0 -1
  267. package/build/dex/usual-m-usd0/types.d.ts +0 -8
  268. package/build/dex/usual-m-usd0/types.js +0 -3
  269. package/build/dex/usual-m-usd0/types.js.map +0 -1
  270. package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +0 -35
  271. package/build/dex/usual-m-usd0/usual-m-usd0.js +0 -159
  272. package/build/dex/usual-m-usd0/usual-m-usd0.js.map +0 -1
  273. package/tests/augustus-approvals.test.ts +0 -628
  274. package/tests/smart-tokens.ts +0 -112
  275. package/tests/tenderly-simulation-new.ts +0 -698
  276. package/tests/v6/executors.test.ts +0 -110
  277. package/tests/v6/price-routes/arbitrum/sell-0.1-ETH-USDC.json +0 -104
  278. package/tests/v6/price-routes/arbitrum/sell-1_000-ETH-DAI.json +0 -294
  279. package/tests/v6/price-routes/arbitrum/sell-1_000-WETH-wstETH.json +0 -121
  280. package/tests/v6/price-routes/arbitrum/sell-1_000_000-ARB-DAI.json +0 -270
  281. package/tests/v6/price-routes/arbitrum/sell-1_000_000-ARB-ETH.json +0 -326
  282. package/tests/v6/price-routes/arbitrum/sell-1_000_000-DAI-ARB.json +0 -434
  283. package/tests/v6/price-routes/arbitrum/sell-250_000-LINK-USDC.json +0 -182
  284. package/tests/v6/price-routes/arbitrum/sell-3_000-BAL-UNI.json +0 -154
  285. package/tests/v6/price-routes/avalanche/sell-100_000-WAVAX-USDC.json +0 -315
  286. package/tests/v6/price-routes/avalanche/sell-40-BTC-AVAX.json +0 -207
  287. package/tests/v6/price-routes/mainnet/buy-3200-ETH-DAI.json +0 -228
  288. package/tests/v6/price-routes/mainnet/sell-1-USDC-USDT.json +0 -78
  289. package/tests/v6/price-routes/mainnet/sell-1-WBTC-BAL.json +0 -158
  290. package/tests/v6/price-routes/mainnet/sell-100-tBTC-WBTC.json +0 -100
  291. package/tests/v6/price-routes/mainnet/sell-1000-eth-dai.json +0 -340
  292. package/tests/v6/price-routes/mainnet/sell-1000-wbtc-eth-uniswapv3-balancerv2.json +0 -162
  293. package/tests/v6/price-routes/mainnet/sell-100_000-USDC-USDT-2-univ2-pools.json +0 -86
  294. package/tests/v6/price-routes/mainnet/sell-10_000-ETH-USDC-balancer.json +0 -383
  295. package/tests/v6/price-routes/mainnet/sell-10_000-ETH-stETH.json +0 -168
  296. package/tests/v6/price-routes/mainnet/sell-10_000-USDC-USDT-BalancerV2.json +0 -68
  297. package/tests/v6/price-routes/mainnet/sell-10_000-eth-usdc-uniswapv3-balancerv2.json +0 -348
  298. package/tests/v6/price-routes/mainnet/sell-1_000-stETH-ETH.json +0 -100
  299. package/tests/v6/price-routes/mainnet/sell-50-eth-usdc.json +0 -153
  300. package/tests/v6/price-routes/polygon/sell-100-WBTC-MATIC-1.json +0 -571
  301. package/tests/v6/price-routes/polygon/sell-100-WBTC-MATIC.json +0 -559
  302. package/tests/v6/price-routes/polygon/sell-1_000_000-DAI-MATIC-2.json +0 -447
  303. package/tests/v6/price-routes/polygon/sell-1_000_000-DAI-MATIC-3.json +0 -472
  304. package/tests/v6/price-routes/polygon/sell-1_000_000-DAI-MATIC.json +0 -628
@@ -1,270 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 42161,
4
- "blockNumber": 182322147,
5
- "forkId": "b194523f-4cfd-4d65-aa6a-12c083ab617d",
6
- "lastTx": "016fd853-3976-45ae-a151-f57e7fd88542",
7
- "contracts": {
8
- "AugustusV6": "0x74aFea18F1730AdfdEE3629e58273d5d015bdc55",
9
- "Executor01": "0xb08391827d828Fa26035f3Fe60f638c14d5Cce7B",
10
- "Executor02": "0x2570a4bBFc185f5CF7A36C779DA1b4F6cAA58F27",
11
- "Executor03": "0x69F3e4671e990EE696EC41483377D905dF1d5E7E"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 182322147,
16
- "network": 42161,
17
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
18
- "srcDecimals": 18,
19
- "srcAmount": "1000000000000000000000000",
20
- "destToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
21
- "destDecimals": 18,
22
- "destAmount": "2065161668848024676544180",
23
- "bestRoute": [
24
- {
25
- "percent": 94,
26
- "swaps": [
27
- {
28
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
29
- "srcDecimals": 18,
30
- "destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
31
- "destDecimals": 6,
32
- "swapExchanges": [
33
- {
34
- "exchange": "UniswapV3",
35
- "srcAmount": "39950000000000000000000",
36
- "destAmount": "82325845810",
37
- "percent": 4.25,
38
- "poolAddresses": ["0xb0f6ca40411360c03d41c5ffc5f179b8403cdcf8"],
39
- "data": {
40
- "path": [
41
- {
42
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
43
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
44
- "fee": "500",
45
- "currentFee": "500"
46
- }
47
- ],
48
- "gasUSD": "0.426996"
49
- }
50
- },
51
- {
52
- "exchange": "RamsesV2",
53
- "srcAmount": "79994000000000000000000",
54
- "destAmount": "164181271191",
55
- "percent": 8.51,
56
- "poolAddresses": ["0xee5f2e39d8abf28e449327bfd44317fc500eb4d8"],
57
- "data": {
58
- "path": [
59
- {
60
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
61
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
62
- "fee": "500",
63
- "currentFee": "550"
64
- }
65
- ],
66
- "gasUSD": "0.365460"
67
- }
68
- },
69
- {
70
- "exchange": "CamelotV3",
71
- "srcAmount": "100016000000000000000000",
72
- "destAmount": "205872644451",
73
- "percent": 10.64,
74
- "poolAddresses": ["0xfae2ae0a9f87fd35b5b0e24b47bac796a7eefea1"],
75
- "data": {
76
- "feeOnTransfer": false,
77
- "path": [
78
- {
79
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
80
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831"
81
- }
82
- ],
83
- "gasUSD": "1.500661"
84
- }
85
- },
86
- {
87
- "exchange": "WooFiV2",
88
- "srcAmount": "720040000000000000000000",
89
- "destAmount": "1488968001335",
90
- "percent": 76.6,
91
- "poolAddresses": ["0xeff23b4be1091b53205e35f3afcd9c7182bf3062"],
92
- "data": {
93
- "gasUSD": "0.253111"
94
- }
95
- }
96
- ]
97
- },
98
- {
99
- "srcToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
100
- "srcDecimals": 6,
101
- "destToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
102
- "destDecimals": 18,
103
- "swapExchanges": [
104
- {
105
- "exchange": "UniswapV3",
106
- "srcAmount": "1817489775521",
107
- "destAmount": "1817452687489022459699374",
108
- "percent": 93.62,
109
- "poolAddresses": ["0x7cf803e8d82a50504180f417b8bc7a493c0a0503"],
110
- "data": {
111
- "path": [
112
- {
113
- "tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
114
- "tokenOut": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
115
- "fee": "100",
116
- "currentFee": "100"
117
- }
118
- ],
119
- "gasUSD": "0.288541"
120
- }
121
- },
122
- {
123
- "exchange": "BalancerV2",
124
- "srcAmount": "123857987266",
125
- "destAmount": "123783894266545257255559",
126
- "percent": 6.38,
127
- "poolAddresses": ["0x423a1323c871abc9d89eb06855bf5347048fc4a5"],
128
- "data": {
129
- "swaps": [
130
- {
131
- "poolId": "0x423a1323c871abc9d89eb06855bf5347048fc4a5000000000000000000000496",
132
- "amount": "123857987266"
133
- }
134
- ],
135
- "gasUSD": "0.655947"
136
- }
137
- }
138
- ]
139
- }
140
- ]
141
- },
142
- {
143
- "percent": 4,
144
- "swaps": [
145
- {
146
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
147
- "srcDecimals": 18,
148
- "destToken": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
149
- "destDecimals": 6,
150
- "swapExchanges": [
151
- {
152
- "exchange": "UniswapV3",
153
- "srcAmount": "40000000000000000000000",
154
- "destAmount": "82970145058",
155
- "percent": 100,
156
- "poolAddresses": ["0xcda53b1f66614552f834ceef361a8d12a0b8dad8"],
157
- "data": {
158
- "path": [
159
- {
160
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
161
- "tokenOut": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
162
- "fee": "500",
163
- "currentFee": "500"
164
- }
165
- ],
166
- "gasUSD": "0.319309"
167
- }
168
- }
169
- ]
170
- },
171
- {
172
- "srcToken": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
173
- "srcDecimals": 6,
174
- "destToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
175
- "destDecimals": 18,
176
- "swapExchanges": [
177
- {
178
- "exchange": "UniswapV3",
179
- "srcAmount": "37593772726",
180
- "destAmount": "37569450721880782070400",
181
- "percent": 45.31,
182
- "poolAddresses": ["0xd37af656abf91c7f548fffc0133175b5e4d3d5e6"],
183
- "data": {
184
- "path": [
185
- {
186
- "tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
187
- "tokenOut": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
188
- "fee": "500",
189
- "currentFee": "500"
190
- }
191
- ],
192
- "gasUSD": "0.288541"
193
- }
194
- },
195
- {
196
- "exchange": "BalancerV2",
197
- "srcAmount": "45376372332",
198
- "destAmount": "45111433913811759214322",
199
- "percent": 54.69,
200
- "poolAddresses": ["0x1533a3278f3f9141d5f820a184ea4b017fce2382"],
201
- "data": {
202
- "swaps": [
203
- {
204
- "poolId": "0x1533a3278f3f9141d5f820a184ea4b017fce2382000000000000000000000016",
205
- "amount": "45376372332"
206
- }
207
- ],
208
- "gasUSD": "0.655947"
209
- }
210
- }
211
- ]
212
- }
213
- ]
214
- },
215
- {
216
- "percent": 2,
217
- "swaps": [
218
- {
219
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
220
- "srcDecimals": 18,
221
- "destToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
222
- "destDecimals": 18,
223
- "swapExchanges": [
224
- {
225
- "exchange": "UniswapV3",
226
- "srcAmount": "20000000000000000000000",
227
- "destAmount": "41244202456764418304525",
228
- "percent": 100,
229
- "poolAddresses": [
230
- "0xb791ad21ba45c76629003b4a2f04c0d544406e37",
231
- "0x7f580f8a02b759c350e6b8340e7c2d4b8162b6a9"
232
- ],
233
- "data": {
234
- "path": [
235
- {
236
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
237
- "tokenOut": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
238
- "fee": "500",
239
- "currentFee": "500"
240
- },
241
- {
242
- "tokenIn": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
243
- "tokenOut": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
244
- "fee": "100",
245
- "currentFee": "100"
246
- }
247
- ],
248
- "gasUSD": "0.730921"
249
- }
250
- }
251
- ]
252
- }
253
- ]
254
- }
255
- ],
256
- "gasCostUSD": "6.992158",
257
- "gasCost": "4064300",
258
- "others": [],
259
- "side": "SELL",
260
- "version": "6",
261
- "contractAddress": "0x6d9D0F49A229d5431ffAB4631631b81712ae4E88",
262
- "contractMethod": "swapExactAmountIn",
263
- "partnerFee": 0,
264
- "srcUSD": "2080000.0000000000",
265
- "destUSD": "2063755.2937515392",
266
- "partner": "anon",
267
- "maxImpactReached": false,
268
- "hmac": "1344e059fbca22ce188b66cddac09db7b081048b"
269
- }
270
- }
@@ -1,326 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 42161,
4
- "blockNumber": 182325066,
5
- "forkId": "45771593-8c40-454e-bd27-48d941972ac6",
6
- "lastTx": "76056de7-0333-4c6e-bf72-d57b229c9e88",
7
- "contracts": {
8
- "AugustusV6": "0x329283C42BE6472f0efb0c0406CE803550E95011",
9
- "Executor01": "0x4bD513D57E93475C554772D7610D13FBD08aca4e",
10
- "Executor02": "0xCBE900cb47509C046676eCE229E67bBdbd5496Bc",
11
- "Executor03": "0x5c329964F12BD4a783f077903B8db7886D0E18f7"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 182325066,
16
- "network": 42161,
17
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
18
- "srcDecimals": 18,
19
- "srcAmount": "1000000000000000000000000",
20
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
21
- "destDecimals": 18,
22
- "destAmount": "709144387424417266086",
23
- "bestRoute": [
24
- {
25
- "percent": 82,
26
- "swaps": [
27
- {
28
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
29
- "srcDecimals": 18,
30
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
31
- "destDecimals": 18,
32
- "swapExchanges": [
33
- {
34
- "exchange": "TraderJoeV2.1",
35
- "srcAmount": "300038000000000000000000",
36
- "destAmount": "212975857047307705126",
37
- "percent": 36.59,
38
- "poolAddresses": ["0x0Be4aC7dA6cd4bAD60d96FbC6d091e1098aFA358"],
39
- "data": {
40
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
41
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
42
- "binStep": "10",
43
- "gasUSD": "0.354256"
44
- }
45
- },
46
- {
47
- "exchange": "UniswapV3",
48
- "srcAmount": "60024000000000000000000",
49
- "destAmount": "42467073030959628225",
50
- "percent": 7.32,
51
- "poolAddresses": ["0x92c63d0e701caae670c9415d91c474f686298f00"],
52
- "data": {
53
- "path": [
54
- {
55
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
56
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
57
- "fee": "3000",
58
- "currentFee": "3000"
59
- }
60
- ],
61
- "gasUSD": "0.295952"
62
- }
63
- },
64
- {
65
- "exchange": "UniswapV3",
66
- "srcAmount": "240014000000000000000000",
67
- "destAmount": "170207942566228713868",
68
- "percent": 29.27,
69
- "poolAddresses": ["0xc6f780497a95e246eb9449f5e4770916dcd6396a"],
70
- "data": {
71
- "path": [
72
- {
73
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
74
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
75
- "fee": "500",
76
- "currentFee": "500"
77
- }
78
- ],
79
- "gasUSD": "0.449723"
80
- }
81
- },
82
- {
83
- "exchange": "RamsesV2",
84
- "srcAmount": "119966000000000000000000",
85
- "destAmount": "85117329885445664676",
86
- "percent": 14.63,
87
- "poolAddresses": ["0x6ce9bc2d8093d32adde4695a4530b96558388f7e"],
88
- "data": {
89
- "path": [
90
- {
91
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
92
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
93
- "fee": "500",
94
- "currentFee": "500"
95
- }
96
- ],
97
- "gasUSD": "0.403591"
98
- }
99
- },
100
- {
101
- "exchange": "CamelotV3",
102
- "srcAmount": "99958000000000000000000",
103
- "destAmount": "70838206244210079640",
104
- "percent": 12.19,
105
- "poolAddresses": ["0xe51635ae8136abac44906a8f230c2d235e9c195f"],
106
- "data": {
107
- "feeOnTransfer": false,
108
- "path": [
109
- {
110
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
111
- "tokenOut": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"
112
- }
113
- ],
114
- "gasUSD": "1.507539"
115
- }
116
- }
117
- ]
118
- }
119
- ]
120
- },
121
- {
122
- "percent": 8,
123
- "swaps": [
124
- {
125
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
126
- "srcDecimals": 18,
127
- "destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
128
- "destDecimals": 6,
129
- "swapExchanges": [
130
- {
131
- "exchange": "UniswapV3",
132
- "srcAmount": "20000000000000000000000",
133
- "destAmount": "41329059032",
134
- "percent": 25,
135
- "poolAddresses": ["0xb0f6ca40411360c03d41c5ffc5f179b8403cdcf8"],
136
- "data": {
137
- "path": [
138
- {
139
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
140
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
141
- "fee": "500",
142
- "currentFee": "500"
143
- }
144
- ],
145
- "gasUSD": "0.372837"
146
- }
147
- },
148
- {
149
- "exchange": "RamsesV2",
150
- "srcAmount": "20000000000000000000000",
151
- "destAmount": "41390361422",
152
- "percent": 25,
153
- "poolAddresses": ["0xee5f2e39d8abf28e449327bfd44317fc500eb4d8"],
154
- "data": {
155
- "path": [
156
- {
157
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
158
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
159
- "fee": "500",
160
- "currentFee": "550"
161
- }
162
- ],
163
- "gasUSD": "0.295952"
164
- }
165
- },
166
- {
167
- "exchange": "CamelotV3",
168
- "srcAmount": "40000000000000000000000",
169
- "destAmount": "82381435462",
170
- "percent": 50,
171
- "poolAddresses": ["0xfae2ae0a9f87fd35b5b0e24b47bac796a7eefea1"],
172
- "data": {
173
- "feeOnTransfer": false,
174
- "path": [
175
- {
176
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
177
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831"
178
- }
179
- ],
180
- "gasUSD": "1.507539"
181
- }
182
- }
183
- ]
184
- },
185
- {
186
- "srcToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
187
- "srcDecimals": 6,
188
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
189
- "destDecimals": 18,
190
- "swapExchanges": [
191
- {
192
- "exchange": "UniswapV3",
193
- "srcAmount": "159140715017",
194
- "destAmount": "54566178202576577634",
195
- "percent": 96.39,
196
- "poolAddresses": ["0xc6962004f452be9203591991d15f6b388e09e8d0"],
197
- "data": {
198
- "path": [
199
- {
200
- "tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
201
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
202
- "fee": "500",
203
- "currentFee": "500"
204
- }
205
- ],
206
- "gasUSD": "0.326706"
207
- }
208
- },
209
- {
210
- "exchange": "RamsesV2",
211
- "srcAmount": "5960140899",
212
- "destAmount": "2041878409101091808",
213
- "percent": 3.61,
214
- "poolAddresses": ["0x30afbcf9458c3131a6d051c621e307e6278e4110"],
215
- "data": {
216
- "path": [
217
- {
218
- "tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
219
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
220
- "fee": "500",
221
- "currentFee": "500"
222
- }
223
- ],
224
- "gasUSD": "0.311329"
225
- }
226
- }
227
- ]
228
- }
229
- ]
230
- },
231
- {
232
- "percent": 8,
233
- "swaps": [
234
- {
235
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
236
- "srcDecimals": 18,
237
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
238
- "destDecimals": 18,
239
- "swapExchanges": [
240
- {
241
- "exchange": "UniswapV3",
242
- "srcAmount": "80000000000000000000000",
243
- "destAmount": "56775394192845674750",
244
- "percent": 100,
245
- "poolAddresses": [
246
- "0xcda53b1f66614552f834ceef361a8d12a0b8dad8",
247
- "0xc31e54c7a869b9fcbecc14363cf510d1c41fa443"
248
- ],
249
- "data": {
250
- "path": [
251
- {
252
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
253
- "tokenOut": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
254
- "fee": "500",
255
- "currentFee": "500"
256
- },
257
- {
258
- "tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
259
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
260
- "fee": "500",
261
- "currentFee": "500"
262
- }
263
- ],
264
- "gasUSD": "0.730297"
265
- }
266
- }
267
- ]
268
- }
269
- ]
270
- },
271
- {
272
- "percent": 2,
273
- "swaps": [
274
- {
275
- "srcToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
276
- "srcDecimals": 18,
277
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
278
- "destDecimals": 18,
279
- "swapExchanges": [
280
- {
281
- "exchange": "UniswapV3",
282
- "srcAmount": "20000000000000000000000",
283
- "destAmount": "14154527845742130359",
284
- "percent": 100,
285
- "poolAddresses": [
286
- "0xb791ad21ba45c76629003b4a2f04c0d544406e37",
287
- "0x641c00a822e8b671738d32a431a4fb6074e5c79d"
288
- ],
289
- "data": {
290
- "path": [
291
- {
292
- "tokenIn": "0x912ce59144191c1204e64559fe8253a0e49e6548",
293
- "tokenOut": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
294
- "fee": "500",
295
- "currentFee": "500"
296
- },
297
- {
298
- "tokenIn": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
299
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
300
- "fee": "500",
301
- "currentFee": "500"
302
- }
303
- ],
304
- "gasUSD": "0.607281"
305
- }
306
- }
307
- ]
308
- }
309
- ]
310
- }
311
- ],
312
- "gasCostUSD": "8.927689",
313
- "gasCost": "6396900",
314
- "others": [],
315
- "side": "SELL",
316
- "version": "6",
317
- "contractAddress": "0x6d9D0F49A229d5431ffAB4631631b81712ae4E88",
318
- "contractMethod": "swapExactAmountIn",
319
- "partnerFee": 0,
320
- "srcUSD": "2080000.0000000000",
321
- "destUSD": "2065262.4738277531",
322
- "partner": "paraswap.io",
323
- "maxImpactReached": false,
324
- "hmac": "605f0507c723aa7b1ccf102e18431b9cbaccf973"
325
- }
326
- }