@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,571 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 137,
4
- "blockNumber": 53558000,
5
- "forkId": "e9f021ca-5123-465c-937f-659ce57f8c0d",
6
- "lastTx": "ac3bbf24-e1be-4198-8b0e-f80113a0cee8",
7
- "contracts": {
8
- "AugustusV6": "0xfA2990AD0bF31FEBF042daD8d205ecE76eAf40f4",
9
- "Executor01": "0x924194608d1AdDc27E83C0E5e8fCFf6dBC12E1ff",
10
- "Executor02": "0xbbCa33136781ef85f223cd1d7D21bdb43A96e16D",
11
- "Executor03": "0x1cB5C5b1885844a71b0F83f20f9EA4c16Bd1941a"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 53558000,
16
- "network": 137,
17
- "srcToken": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
18
- "srcDecimals": 8,
19
- "srcAmount": "10000000000",
20
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
21
- "destDecimals": 18,
22
- "destAmount": "5343499516228359639563333",
23
- "bestRoute": [
24
- {
25
- "percent": 6,
26
- "swaps": [
27
- {
28
- "srcToken": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
29
- "srcDecimals": 8,
30
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
31
- "destDecimals": 18,
32
- "swapExchanges": [
33
- {
34
- "exchange": "UniswapV3",
35
- "srcAmount": "400020000",
36
- "destAmount": "205953659042244214978549",
37
- "percent": 66.67,
38
- "poolAddresses": ["0x642f28a89fa9d0fa30e664f71804bfdd7341d21f"],
39
- "data": {
40
- "path": [
41
- {
42
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
43
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
44
- "fee": "3000",
45
- "currentFee": "3000"
46
- }
47
- ],
48
- "gasUSD": "0.122374"
49
- }
50
- },
51
- {
52
- "exchange": "UniswapV3",
53
- "srcAmount": "199980000",
54
- "destAmount": "101264941635482348072823",
55
- "percent": 33.33,
56
- "poolAddresses": ["0x6b75f2189f0e11c52e814e09e280eb1a9a8a094a"],
57
- "data": {
58
- "path": [
59
- {
60
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
61
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
62
- "fee": "500",
63
- "currentFee": "500"
64
- }
65
- ],
66
- "gasUSD": "0.124660"
67
- }
68
- }
69
- ]
70
- }
71
- ]
72
- },
73
- {
74
- "percent": 76,
75
- "swaps": [
76
- {
77
- "srcToken": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
78
- "srcDecimals": 8,
79
- "destToken": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
80
- "destDecimals": 18,
81
- "swapExchanges": [
82
- {
83
- "exchange": "QuickSwap",
84
- "srcAmount": "199880000",
85
- "destAmount": "34172139909833561533",
86
- "percent": 2.63,
87
- "poolAddresses": ["0xdC9232E2Df177d7a12FdFf6EcBAb114E2231198D"],
88
- "data": {
89
- "router": "0xf3938337F7294fEf84e9B2c6D548A93F956Cc281",
90
- "path": [
91
- "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
92
- "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619"
93
- ],
94
- "factory": "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32",
95
- "initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
96
- "feeFactor": 10000,
97
- "pools": [
98
- {
99
- "address": "0xdC9232E2Df177d7a12FdFf6EcBAb114E2231198D",
100
- "fee": 30,
101
- "direction": true
102
- }
103
- ],
104
- "gasUSD": "0.008571"
105
- }
106
- },
107
- {
108
- "exchange": "UniswapV3",
109
- "srcAmount": "399760000",
110
- "destAmount": "70023742844104144342",
111
- "percent": 5.26,
112
- "poolAddresses": ["0xfe343675878100b344802a6763fd373fdeed07a4"],
113
- "data": {
114
- "path": [
115
- {
116
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
117
- "tokenOut": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
118
- "fee": "3000",
119
- "currentFee": "3000"
120
- }
121
- ],
122
- "gasUSD": "0.046950"
123
- }
124
- },
125
- {
126
- "exchange": "UniswapV3",
127
- "srcAmount": "3600120000",
128
- "destAmount": "640852789633778258243",
129
- "percent": 47.37,
130
- "poolAddresses": ["0x50eaedb835021e4a108b7290636d62e9765cc6d7"],
131
- "data": {
132
- "path": [
133
- {
134
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
135
- "tokenOut": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
136
- "fee": "500",
137
- "currentFee": "500"
138
- }
139
- ],
140
- "gasUSD": "0.206941"
141
- }
142
- },
143
- {
144
- "exchange": "Retro",
145
- "srcAmount": "399760000",
146
- "destAmount": "71672331073428299783",
147
- "percent": 5.26,
148
- "poolAddresses": ["0xb694e3bdd4bcdf843510983d257679d1e627c474"],
149
- "data": {
150
- "path": [
151
- {
152
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
153
- "tokenOut": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
154
- "fee": "500",
155
- "currentFee": "500"
156
- }
157
- ],
158
- "gasUSD": "0.030951"
159
- }
160
- },
161
- {
162
- "exchange": "QuickSwapV3",
163
- "srcAmount": "3000480000",
164
- "destAmount": "541215956406215716432",
165
- "percent": 39.48,
166
- "poolAddresses": ["0xac4494e30a85369e332bdb5230d6d694d4259dbc"],
167
- "data": {
168
- "feeOnTransfer": false,
169
- "path": [
170
- {
171
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
172
- "tokenOut": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619"
173
- }
174
- ],
175
- "gasUSD": "0.035522"
176
- }
177
- }
178
- ]
179
- },
180
- {
181
- "srcToken": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
182
- "srcDecimals": 18,
183
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
184
- "destDecimals": 18,
185
- "swapExchanges": [
186
- {
187
- "exchange": "SushiSwap",
188
- "srcAmount": "35034773564577887492",
189
- "destAmount": "105807787428546253648636",
190
- "percent": 2.58,
191
- "poolAddresses": ["0xc4e595acDD7d12feC385E5dA5D43160e8A0bAC0E"],
192
- "data": {
193
- "router": "0xf3938337F7294fEf84e9B2c6D548A93F956Cc281",
194
- "path": [
195
- "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
196
- "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
197
- ],
198
- "factory": "0xc35DADB65012eC5796536bD9864eD8773aBc74C4",
199
- "initCode": "0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303",
200
- "feeFactor": 10000,
201
- "pools": [
202
- {
203
- "address": "0xc4e595acDD7d12feC385E5dA5D43160e8A0bAC0E",
204
- "fee": 30,
205
- "direction": false
206
- }
207
- ],
208
- "gasUSD": "0.008571"
209
- }
210
- },
211
- {
212
- "exchange": "QuickSwap",
213
- "srcAmount": "35170567260564623491",
214
- "destAmount": "102876382849149709683812",
215
- "percent": 2.59,
216
- "poolAddresses": ["0xadbF1854e5883eB8aa7BAf50705338739e558E5b"],
217
- "data": {
218
- "router": "0xf3938337F7294fEf84e9B2c6D548A93F956Cc281",
219
- "path": [
220
- "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
221
- "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
222
- ],
223
- "factory": "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32",
224
- "initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
225
- "feeFactor": 10000,
226
- "pools": [
227
- {
228
- "address": "0xadbF1854e5883eB8aa7BAf50705338739e558E5b",
229
- "fee": 30,
230
- "direction": false
231
- }
232
- ],
233
- "gasUSD": "0.008571"
234
- }
235
- },
236
- {
237
- "exchange": "UniswapV3",
238
- "srcAmount": "351026704125712554916",
239
- "destAmount": "1033953147565928797411311",
240
- "percent": 25.85,
241
- "poolAddresses": ["0x167384319b41f7094e62f7506409eb38079abff8"],
242
- "data": {
243
- "path": [
244
- {
245
- "tokenIn": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
246
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
247
- "fee": "3000",
248
- "currentFee": "3000"
249
- }
250
- ],
251
- "gasUSD": "0.062949"
252
- }
253
- },
254
- {
255
- "exchange": "UniswapV3",
256
- "srcAmount": "386197271386277178407",
257
- "destAmount": "1154658263300752581970840",
258
- "percent": 28.44,
259
- "poolAddresses": ["0x86f1d8390222a3691c28938ec7404a1661e618e0"],
260
- "data": {
261
- "path": [
262
- {
263
- "tokenIn": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
264
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
265
- "fee": "500",
266
- "currentFee": "500"
267
- }
268
- ],
269
- "gasUSD": "0.296079"
270
- }
271
- },
272
- {
273
- "exchange": "Retro",
274
- "srcAmount": "70205340825142510983",
275
- "destAmount": "215553403974771407675576",
276
- "percent": 5.17,
277
- "poolAddresses": ["0x1a34eabbe928bf431b679959379b2225d60d9cda"],
278
- "data": {
279
- "path": [
280
- {
281
- "tokenIn": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
282
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
283
- "fee": "500",
284
- "currentFee": "500"
285
- }
286
- ],
287
- "gasUSD": "0.026380"
288
- }
289
- },
290
- {
291
- "exchange": "QuickSwapV3",
292
- "srcAmount": "480302302705085225044",
293
- "destAmount": "1459135278052165745520895",
294
- "percent": 35.37,
295
- "poolAddresses": ["0x479e1b71a702a595e19b6d5932cd5c863ab57ee0"],
296
- "data": {
297
- "feeOnTransfer": false,
298
- "path": [
299
- {
300
- "tokenIn": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
301
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
302
- }
303
- ],
304
- "gasUSD": "0.067520"
305
- }
306
- }
307
- ]
308
- }
309
- ]
310
- },
311
- {
312
- "percent": 14,
313
- "swaps": [
314
- {
315
- "srcToken": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
316
- "srcDecimals": 8,
317
- "destToken": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
318
- "destDecimals": 6,
319
- "swapExchanges": [
320
- {
321
- "exchange": "UniswapV3",
322
- "srcAmount": "399980000",
323
- "destAmount": "189106503219",
324
- "percent": 28.57,
325
- "poolAddresses": ["0x847b64f9d3a95e977d157866447a5c0a5dfa0ee5"],
326
- "data": {
327
- "path": [
328
- {
329
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
330
- "tokenOut": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
331
- "fee": "3000",
332
- "currentFee": "3000"
333
- }
334
- ],
335
- "gasUSD": "0.090376"
336
- }
337
- },
338
- {
339
- "exchange": "UniswapV3",
340
- "srcAmount": "399980000",
341
- "destAmount": "195655123053",
342
- "percent": 28.57,
343
- "poolAddresses": ["0xeef1a9507b3d505f0062f2be9453981255b503c8"],
344
- "data": {
345
- "path": [
346
- {
347
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
348
- "tokenOut": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
349
- "fee": "500",
350
- "currentFee": "500"
351
- }
352
- ],
353
- "gasUSD": "0.133802"
354
- }
355
- },
356
- {
357
- "exchange": "QuickSwapV3",
358
- "srcAmount": "600040000",
359
- "destAmount": "300960817294",
360
- "percent": 42.86,
361
- "poolAddresses": ["0xa5cd8351cbf30b531c7b11b0d9d3ff38ea2e280f"],
362
- "data": {
363
- "feeOnTransfer": false,
364
- "path": [
365
- {
366
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
367
- "tokenOut": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174"
368
- }
369
- ],
370
- "gasUSD": "0.030951"
371
- }
372
- }
373
- ]
374
- },
375
- {
376
- "srcToken": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
377
- "srcDecimals": 6,
378
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
379
- "destDecimals": 18,
380
- "swapExchanges": [
381
- {
382
- "exchange": "QuickSwap",
383
- "srcAmount": "27017464276",
384
- "destAmount": "29469602967649312623703",
385
- "percent": 3.94,
386
- "poolAddresses": ["0x6e7a5FAFcec6BB1e78bAE2A1F0B612012BF14827"],
387
- "data": {
388
- "router": "0xf3938337F7294fEf84e9B2c6D548A93F956Cc281",
389
- "path": [
390
- "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
391
- "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
392
- ],
393
- "factory": "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32",
394
- "initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
395
- "feeFactor": 10000,
396
- "pools": [
397
- {
398
- "address": "0x6e7a5FAFcec6BB1e78bAE2A1F0B612012BF14827",
399
- "fee": 30,
400
- "direction": false
401
- }
402
- ],
403
- "gasUSD": "0.008571"
404
- }
405
- },
406
- {
407
- "exchange": "UniswapV3",
408
- "srcAmount": "27017464277",
409
- "destAmount": "29780223250884039043869",
410
- "percent": 3.94,
411
- "poolAddresses": ["0x88f3c15523544835ff6c738ddb30995339ad57d6"],
412
- "data": {
413
- "path": [
414
- {
415
- "tokenIn": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
416
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
417
- "fee": "3000",
418
- "currentFee": "3000"
419
- }
420
- ],
421
- "gasUSD": "0.021808"
422
- }
423
- },
424
- {
425
- "exchange": "UniswapV3",
426
- "srcAmount": "415753517534",
427
- "destAmount": "458891871745379860712621",
428
- "percent": 60.63,
429
- "poolAddresses": ["0xa374094527e1673a86de625aa59517c5de346d32"],
430
- "data": {
431
- "path": [
432
- {
433
- "tokenIn": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
434
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
435
- "fee": "500",
436
- "currentFee": "500"
437
- }
438
- ],
439
- "gasUSD": "0.106375"
440
- }
441
- },
442
- {
443
- "exchange": "Retro",
444
- "srcAmount": "27017464277",
445
- "destAmount": "30060510123958861013290",
446
- "percent": 3.94,
447
- "poolAddresses": ["0xec15624fbb314eb05baad4ca49b7904c0cb6b645"],
448
- "data": {
449
- "path": [
450
- {
451
- "tokenIn": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
452
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
453
- "fee": "500",
454
- "currentFee": "500"
455
- }
456
- ],
457
- "gasUSD": "0.017237"
458
- }
459
- },
460
- {
461
- "exchange": "QuickSwapV3",
462
- "srcAmount": "188916533202",
463
- "destAmount": "208622343810123493768447",
464
- "percent": 27.55,
465
- "poolAddresses": ["0xae81fac689a1b4b1e06e7ef4a2ab4cd8ac0a087d"],
466
- "data": {
467
- "feeOnTransfer": false,
468
- "path": [
469
- {
470
- "tokenIn": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
471
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
472
- }
473
- ],
474
- "gasUSD": "0.028665"
475
- }
476
- }
477
- ]
478
- }
479
- ]
480
- },
481
- {
482
- "percent": 4,
483
- "swaps": [
484
- {
485
- "srcToken": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
486
- "srcDecimals": 8,
487
- "destToken": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
488
- "destDecimals": 6,
489
- "swapExchanges": [
490
- {
491
- "exchange": "UniswapV3",
492
- "srcAmount": "400000000",
493
- "destAmount": "186719251799",
494
- "percent": 100,
495
- "poolAddresses": ["0xe6ba22265aefe9dc392f544437acce2aedf8ef36"],
496
- "data": {
497
- "path": [
498
- {
499
- "tokenIn": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6",
500
- "tokenOut": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
501
- "fee": "3000",
502
- "currentFee": "3000"
503
- }
504
- ],
505
- "gasUSD": "0.072091"
506
- }
507
- }
508
- ]
509
- },
510
- {
511
- "srcToken": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
512
- "srcDecimals": 6,
513
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
514
- "destDecimals": 18,
515
- "swapExchanges": [
516
- {
517
- "exchange": "UniswapV3",
518
- "srcAmount": "9541353767",
519
- "destAmount": "10593377693498418537838",
520
- "percent": 5.11,
521
- "poolAddresses": ["0x2db87c4831b2fec2e35591221455834193b50d1b"],
522
- "data": {
523
- "path": [
524
- {
525
- "tokenIn": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
526
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
527
- "fee": "3000",
528
- "currentFee": "3000"
529
- }
530
- ],
531
- "gasUSD": "0.014952"
532
- }
533
- },
534
- {
535
- "exchange": "UniswapV3",
536
- "srcAmount": "177177898032",
537
- "destAmount": "196878722787824594901123",
538
- "percent": 94.89,
539
- "poolAddresses": ["0xb6e57ed85c4c9dbfef2a68711e9d6f36c56e0fcb"],
540
- "data": {
541
- "path": [
542
- {
543
- "tokenIn": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
544
- "tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
545
- "fee": "500",
546
- "currentFee": "500"
547
- }
548
- ],
549
- "gasUSD": "0.065235"
550
- }
551
- }
552
- ]
553
- }
554
- ]
555
- }
556
- ],
557
- "gasCostUSD": "1.657803",
558
- "gasCost": "17407880",
559
- "others": [],
560
- "side": "SELL",
561
- "version": "6",
562
- "contractAddress": "0x80492bC2A01172A6796af80576D185018BF34d5B",
563
- "contractMethod": "swapExactAmountIn",
564
- "partnerFee": 0,
565
- "srcUSD": "5215100.0000000000",
566
- "destUSD": "4755858.8439301782",
567
- "partner": "paraswap.io",
568
- "maxImpactReached": false,
569
- "hmac": "47e575d13aa26851c34b7e19b541cbf801ba6fee"
570
- }
571
- }