@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,434 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 42161,
4
- "blockNumber": 182997920,
5
- "forkId": "69d8250c-8643-488b-94fe-35ac7a87cc67",
6
- "lastTx": "6607622a-7e16-4656-8390-4af61ba048b1",
7
- "contracts": {
8
- "AugustusV6": "0x025eA269A05400EE415632B5615C106e91837C70",
9
- "Executor01": "0x2161D311b3D4DF1e57D8eAb375212F5222e9AfE7",
10
- "Executor02": "0xE07e327166eeC8D1572dAB2962a4C4D35335F2af",
11
- "Executor03": "0x04c1ce32d8f9C271cc8dDd39657317F9bCc81943"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 182997920,
16
- "network": 42161,
17
- "srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
18
- "srcDecimals": 18,
19
- "srcAmount": "1000000000000000000000000",
20
- "destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
21
- "destDecimals": 18,
22
- "destAmount": "531478626131803615467452",
23
- "bestRoute": [
24
- {
25
- "percent": 68,
26
- "swaps": [
27
- {
28
- "srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
29
- "srcDecimals": 18,
30
- "destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
31
- "destDecimals": 6,
32
- "swapExchanges": [
33
- {
34
- "exchange": "UniswapV3",
35
- "srcAmount": "680000000000000000000000",
36
- "destAmount": "679901660334",
37
- "percent": 100,
38
- "poolAddresses": ["0x7cf803e8d82a50504180f417b8bc7a493c0a0503"],
39
- "data": {
40
- "path": [
41
- {
42
- "tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
43
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
44
- "fee": "100",
45
- "currentFee": "100"
46
- }
47
- ],
48
- "gasUSD": "0.398946"
49
- }
50
- }
51
- ]
52
- },
53
- {
54
- "srcToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
55
- "srcDecimals": 6,
56
- "destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
57
- "destDecimals": 18,
58
- "swapExchanges": [
59
- {
60
- "exchange": "UniswapV3",
61
- "srcAmount": "19989108814",
62
- "destAmount": "10498429016151006255986",
63
- "percent": 2.94,
64
- "poolAddresses": ["0xaebdca1bc8d89177ebe2308d62af5e74885dccc3"],
65
- "data": {
66
- "path": [
67
- {
68
- "tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
69
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
70
- "fee": "3000",
71
- "currentFee": "3000"
72
- }
73
- ],
74
- "gasUSD": "0.490629"
75
- }
76
- },
77
- {
78
- "exchange": "UniswapV3",
79
- "srcAmount": "120002643049",
80
- "destAmount": "63794001600190252694069",
81
- "percent": 17.65,
82
- "poolAddresses": ["0xb0f6ca40411360c03d41c5ffc5f179b8403cdcf8"],
83
- "data": {
84
- "path": [
85
- {
86
- "tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
87
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
88
- "fee": "500",
89
- "currentFee": "500"
90
- }
91
- ],
92
- "gasUSD": "0.628153"
93
- }
94
- },
95
- {
96
- "exchange": "RamsesV2",
97
- "srcAmount": "179969969490",
98
- "destAmount": "95532136367554929294946",
99
- "percent": 26.47,
100
- "poolAddresses": ["0xee5f2e39d8abf28e449327bfd44317fc500eb4d8"],
101
- "data": {
102
- "path": [
103
- {
104
- "tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
105
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
106
- "fee": "500",
107
- "currentFee": "550"
108
- }
109
- ],
110
- "gasUSD": "0.582312"
111
- }
112
- },
113
- {
114
- "exchange": "CamelotV3",
115
- "srcAmount": "359939938981",
116
- "destAmount": "190982531396492559313588",
117
- "percent": 52.94,
118
- "poolAddresses": ["0xfae2ae0a9f87fd35b5b0e24b47bac796a7eefea1"],
119
- "data": {
120
- "feeOnTransfer": false,
121
- "path": [
122
- {
123
- "tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
124
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548"
125
- }
126
- ],
127
- "gasUSD": "0.612872"
128
- }
129
- }
130
- ]
131
- }
132
- ]
133
- },
134
- {
135
- "percent": 26,
136
- "swaps": [
137
- {
138
- "srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
139
- "srcDecimals": 18,
140
- "destToken": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
141
- "destDecimals": 6,
142
- "swapExchanges": [
143
- {
144
- "exchange": "TraderJoeV2.1",
145
- "srcAmount": "99996000000000000000000",
146
- "destAmount": "99975231450",
147
- "percent": 38.46,
148
- "poolAddresses": ["0x500173F418137090dad96421811147b63b448A0f"],
149
- "data": {
150
- "tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
151
- "tokenOut": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
152
- "binStep": "1",
153
- "gasUSD": "0.456885"
154
- }
155
- },
156
- {
157
- "exchange": "UniswapV3",
158
- "srcAmount": "119990000000000000000000",
159
- "destAmount": "119893461856",
160
- "percent": 46.15,
161
- "poolAddresses": ["0xd37af656abf91c7f548fffc0133175b5e4d3d5e6"],
162
- "data": {
163
- "path": [
164
- {
165
- "tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
166
- "tokenOut": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
167
- "fee": "500",
168
- "currentFee": "500"
169
- }
170
- ],
171
- "gasUSD": "0.414227"
172
- }
173
- },
174
- {
175
- "exchange": "BalancerV2",
176
- "srcAmount": "40014000000000000000000",
177
- "destAmount": "39946233371",
178
- "percent": 15.39,
179
- "poolAddresses": ["0x1533a3278f3f9141d5f820a184ea4b017fce2382"],
180
- "data": {
181
- "swaps": [
182
- {
183
- "poolId": "0x1533a3278f3f9141d5f820a184ea4b017fce2382000000000000000000000016",
184
- "amount": "40014000000000000000000"
185
- }
186
- ],
187
- "gasUSD": "0.940128"
188
- }
189
- }
190
- ]
191
- },
192
- {
193
- "srcToken": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
194
- "srcDecimals": 6,
195
- "destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
196
- "destDecimals": 18,
197
- "swapExchanges": [
198
- {
199
- "exchange": "TraderJoeV2.1",
200
- "srcAmount": "58042654620",
201
- "destAmount": "31021828465542759942114",
202
- "percent": 22.34,
203
- "poolAddresses": ["0xF8a60082039A1Acbe43b045f87AA0c5f24a358a4"],
204
- "data": {
205
- "tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
206
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
207
- "binStep": "20",
208
- "gasUSD": "0.456885"
209
- }
210
- },
211
- {
212
- "exchange": "UniswapV3",
213
- "srcAmount": "5819854358",
214
- "destAmount": "3080371634395607343406",
215
- "percent": 2.24,
216
- "poolAddresses": ["0xa8328bf492ba1b77ad6381b3f7567d942b000baf"],
217
- "data": {
218
- "path": [
219
- {
220
- "tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
221
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
222
- "fee": "10000",
223
- "currentFee": "10000"
224
- }
225
- ],
226
- "gasUSD": "0.414227"
227
- }
228
- },
229
- {
230
- "exchange": "UniswapV3",
231
- "srcAmount": "16004599483",
232
- "destAmount": "8520592847287782617064",
233
- "percent": 6.16,
234
- "poolAddresses": ["0x81c48d31365e6b526f6bbadc5c9aafd822134863"],
235
- "data": {
236
- "path": [
237
- {
238
- "tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
239
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
240
- "fee": "3000",
241
- "currentFee": "3000"
242
- }
243
- ],
244
- "gasUSD": "0.444788"
245
- }
246
- },
247
- {
248
- "exchange": "UniswapV3",
249
- "srcAmount": "179947818216",
250
- "destAmount": "96098794234249368744611",
251
- "percent": 69.26,
252
- "poolAddresses": ["0xcda53b1f66614552f834ceef361a8d12a0b8dad8"],
253
- "data": {
254
- "path": [
255
- {
256
- "tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
257
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
258
- "fee": "500",
259
- "currentFee": "500"
260
- }
261
- ],
262
- "gasUSD": "0.719835"
263
- }
264
- }
265
- ]
266
- }
267
- ]
268
- },
269
- {
270
- "percent": 2,
271
- "swaps": [
272
- {
273
- "srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
274
- "srcDecimals": 18,
275
- "destToken": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
276
- "destDecimals": 6,
277
- "swapExchanges": [
278
- {
279
- "exchange": "UniswapV3",
280
- "srcAmount": "20000000000000000000000",
281
- "destAmount": "19993805790",
282
- "percent": 100,
283
- "poolAddresses": ["0x7f580f8a02b759c350e6b8340e7c2d4b8162b6a9"],
284
- "data": {
285
- "path": [
286
- {
287
- "tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
288
- "tokenOut": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
289
- "fee": "100",
290
- "currentFee": "100"
291
- }
292
- ],
293
- "gasUSD": "0.414227"
294
- }
295
- }
296
- ]
297
- },
298
- {
299
- "srcToken": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
300
- "srcDecimals": 6,
301
- "destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
302
- "destDecimals": 18,
303
- "swapExchanges": [
304
- {
305
- "exchange": "UniswapV3",
306
- "srcAmount": "4624567279",
307
- "destAmount": "2481688077400793785136",
308
- "percent": 23.13,
309
- "poolAddresses": ["0x97bca422ec0ee4851f2110ea743c1cd0a14835a1"],
310
- "data": {
311
- "path": [
312
- {
313
- "tokenIn": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
314
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
315
- "fee": "3000",
316
- "currentFee": "3000"
317
- }
318
- ],
319
- "gasUSD": "0.414227"
320
- }
321
- },
322
- {
323
- "exchange": "UniswapV3",
324
- "srcAmount": "15369238511",
325
- "destAmount": "8249737866441565462231",
326
- "percent": 76.87,
327
- "poolAddresses": ["0xb791ad21ba45c76629003b4a2f04c0d544406e37"],
328
- "data": {
329
- "path": [
330
- {
331
- "tokenIn": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
332
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
333
- "fee": "500",
334
- "currentFee": "500"
335
- }
336
- ],
337
- "gasUSD": "0.429507"
338
- }
339
- }
340
- ]
341
- }
342
- ]
343
- },
344
- {
345
- "percent": 4,
346
- "swaps": [
347
- {
348
- "srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
349
- "srcDecimals": 18,
350
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
351
- "destDecimals": 18,
352
- "swapExchanges": [
353
- {
354
- "exchange": "UniswapV3",
355
- "srcAmount": "40000000000000000000000",
356
- "destAmount": "13556817072806568156",
357
- "percent": 100,
358
- "poolAddresses": ["0xa961f0473da4864c5ed28e00fcc53a3aab056c1b"],
359
- "data": {
360
- "path": [
361
- {
362
- "tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
363
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
364
- "fee": "3000",
365
- "currentFee": "3000"
366
- }
367
- ],
368
- "gasUSD": "0.475349"
369
- }
370
- }
371
- ]
372
- },
373
- {
374
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
375
- "srcDecimals": 18,
376
- "destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
377
- "destDecimals": 18,
378
- "swapExchanges": [
379
- {
380
- "exchange": "UniswapV3",
381
- "srcAmount": "9994085546073002045",
382
- "destAmount": "15642408409629080267825",
383
- "percent": 73.72,
384
- "poolAddresses": ["0xc6f780497a95e246eb9449f5e4770916dcd6396a"],
385
- "data": {
386
- "path": [
387
- {
388
- "tokenIn": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
389
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
390
- "fee": "500",
391
- "currentFee": "500"
392
- }
393
- ],
394
- "gasUSD": "0.414227"
395
- }
396
- },
397
- {
398
- "exchange": "RamsesV2",
399
- "srcAmount": "3562731526733566111",
400
- "destAmount": "5576106216467909746476",
401
- "percent": 26.28,
402
- "poolAddresses": ["0x6ce9bc2d8093d32adde4695a4530b96558388f7e"],
403
- "data": {
404
- "path": [
405
- {
406
- "tokenIn": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
407
- "tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
408
- "fee": "500",
409
- "currentFee": "550"
410
- }
411
- ],
412
- "gasUSD": "0.398946"
413
- }
414
- }
415
- ]
416
- }
417
- ]
418
- }
419
- ],
420
- "gasCostUSD": "11.930381",
421
- "gasCost": "4402300",
422
- "others": [],
423
- "side": "SELL",
424
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
425
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
426
- "contractMethod": "megaSwap",
427
- "partnerFee": 0,
428
- "srcUSD": "998588.0000000000",
429
- "destUSD": "977920.6720825187",
430
- "partner": "paraswap.io",
431
- "maxImpactReached": false,
432
- "hmac": "31c83b8364901e3f0527dda7d6aa33fe55ab795b"
433
- }
434
- }
@@ -1,182 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 42161,
4
- "blockNumber": 182995080,
5
- "forkId": "f9949752-8412-4faf-9c38-3458ff6e1264",
6
- "lastTx": "c141b215-9fef-4b6a-9612-b616b5737f1b",
7
- "contracts": {
8
- "AugustusV6": "0xD42D85eC08809f6d4798b984aC23dE41b85E5110",
9
- "Executor01": "0xD96C7c4feA9792d78b06d0aE394E770DfD07EBBa",
10
- "Executor02": "0x966Ad82014C827a56129Da7dDacc40FFAf9FB59f",
11
- "Executor03": "0x5Ad1077638F206C9495C64C1419E7B04312eC5C8"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 182995080,
16
- "network": 42161,
17
- "srcToken": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
18
- "srcDecimals": 18,
19
- "srcAmount": "255000000000000000000000",
20
- "destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
21
- "destDecimals": 6,
22
- "destAmount": "4594974097617",
23
- "bestRoute": [
24
- {
25
- "percent": 84,
26
- "swaps": [
27
- {
28
- "srcToken": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
29
- "srcDecimals": 18,
30
- "destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
31
- "destDecimals": 6,
32
- "swapExchanges": [
33
- {
34
- "exchange": "UniswapV3",
35
- "srcAmount": "5097960000000000000000",
36
- "destAmount": "85009628858",
37
- "percent": 2.38,
38
- "poolAddresses": ["0x655c1607f8c2e73d5b4ddabce9ba8792b87592b6"],
39
- "data": {
40
- "path": [
41
- {
42
- "tokenIn": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
43
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
44
- "fee": "500",
45
- "currentFee": "500"
46
- }
47
- ],
48
- "gasUSD": "0.437698"
49
- }
50
- },
51
- {
52
- "exchange": "GMX",
53
- "srcAmount": "209102040000000000000000",
54
- "destAmount": "3794004495000",
55
- "percent": 97.62,
56
- "poolAddresses": ["0x489ee077994B6658eAfA855C308275EAd8097C4A"],
57
- "data": {
58
- "gasUSD": "0.334416"
59
- }
60
- }
61
- ]
62
- }
63
- ]
64
- },
65
- {
66
- "percent": 16,
67
- "swaps": [
68
- {
69
- "srcToken": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
70
- "srcDecimals": 18,
71
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
72
- "destDecimals": 18,
73
- "swapExchanges": [
74
- {
75
- "exchange": "UniswapV3",
76
- "srcAmount": "35700000000000000000000",
77
- "destAmount": "215921921733603798883",
78
- "percent": 87.5,
79
- "poolAddresses": ["0x468b88941e7cc0b88c1869d68ab6b570bcef62ff"],
80
- "data": {
81
- "path": [
82
- {
83
- "tokenIn": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
84
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
85
- "fee": "3000",
86
- "currentFee": "3000"
87
- }
88
- ],
89
- "gasUSD": "0.636388"
90
- }
91
- },
92
- {
93
- "exchange": "CamelotV3",
94
- "srcAmount": "5100000000000000000000",
95
- "destAmount": "31294580559384515798",
96
- "percent": 12.5,
97
- "poolAddresses": ["0xe8795cf9c2309ecfe05df028eb0f21d5d6e3a951"],
98
- "data": {
99
- "feeOnTransfer": false,
100
- "path": [
101
- {
102
- "tokenIn": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
103
- "tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
104
- }
105
- ],
106
- "gasUSD": "0.789227"
107
- }
108
- }
109
- ]
110
- },
111
- {
112
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
113
- "srcDecimals": 18,
114
- "destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
115
- "destDecimals": 6,
116
- "swapExchanges": [
117
- {
118
- "exchange": "UniswapV3",
119
- "srcAmount": "79257610635132053687",
120
- "destAmount": "229646027831",
121
- "percent": 32.06,
122
- "poolAddresses": ["0xc6962004f452be9203591991d15f6b388e09e8d0"],
123
- "data": {
124
- "path": [
125
- {
126
- "tokenIn": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
127
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
128
- "fee": "500",
129
- "currentFee": "500"
130
- }
131
- ],
132
- "gasUSD": "0.422414"
133
- }
134
- },
135
- {
136
- "exchange": "RamsesV2",
137
- "srcAmount": "9913381741948831419",
138
- "destAmount": "28707991302",
139
- "percent": 4.01,
140
- "poolAddresses": ["0x30afbcf9458c3131a6d051c621e307e6278e4110"],
141
- "data": {
142
- "path": [
143
- {
144
- "tokenIn": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
145
- "tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
146
- "fee": "500",
147
- "currentFee": "550"
148
- }
149
- ],
150
- "gasUSD": "0.376562"
151
- }
152
- },
153
- {
154
- "exchange": "WooFiV2",
155
- "srcAmount": "158045509915907429575",
156
- "destAmount": "457605954626",
157
- "percent": 63.93,
158
- "poolAddresses": ["0xeff23b4be1091b53205e35f3afcd9c7182bf3062"],
159
- "data": {
160
- "gasUSD": "0.301764"
161
- }
162
- }
163
- ]
164
- }
165
- ]
166
- }
167
- ],
168
- "gasCostUSD": "4.571188",
169
- "gasCost": "2424300",
170
- "others": [],
171
- "side": "SELL",
172
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
173
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
174
- "contractMethod": "megaSwap",
175
- "partnerFee": 0,
176
- "srcUSD": "4663950.0000000000",
177
- "destUSD": "4588017.3068332079",
178
- "partner": "paraswap.io",
179
- "maxImpactReached": false,
180
- "hmac": "92d67aa83924fa817c15c5c436f6034e784e10f0"
181
- }
182
- }