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