@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,383 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 1,
4
- "blockNumber": 19284124,
5
- "forkId": "f79c4c23-05c2-4440-8451-c9cd15c74de0",
6
- "lastTx": "2ab9eaf8-324b-4ff4-a229-a68ae2fba158",
7
- "contracts": {
8
- "AugustusV6": "0x5FD496378786859D440c53E49DD75B863Cf77656",
9
- "Executor01": "0xe18a6494dEF4219c9a9c29F77BA6D78881c11113",
10
- "Executor02": "0x9F8247b8c0cB3d647bF5e76BCceeC6457d8fF980",
11
- "Executor03": "0xbaF96c982a8d0266ec1b9912e88c58b43ecB9312"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 19284124,
16
- "network": 1,
17
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
18
- "srcDecimals": 18,
19
- "srcAmount": "10000000000000000000000",
20
- "destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
21
- "destDecimals": 6,
22
- "destAmount": "28794043206859",
23
- "bestRoute": [
24
- {
25
- "percent": 70,
26
- "swaps": [
27
- {
28
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
29
- "srcDecimals": 18,
30
- "destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
31
- "destDecimals": 6,
32
- "swapExchanges": [
33
- {
34
- "exchange": "UniswapV3",
35
- "srcAmount": "1600200000000000000000",
36
- "destAmount": "4608806789733",
37
- "percent": 22.86,
38
- "poolAddresses": ["0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"],
39
- "data": {
40
- "path": [
41
- {
42
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
43
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
44
- "fee": "3000",
45
- "currentFee": "3000"
46
- }
47
- ],
48
- "gasUSD": "62.883553"
49
- }
50
- },
51
- {
52
- "exchange": "UniswapV3",
53
- "srcAmount": "5399800000000000000000",
54
- "destAmount": "15523761087049",
55
- "percent": 77.14,
56
- "poolAddresses": ["0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"],
57
- "data": {
58
- "path": [
59
- {
60
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
61
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
62
- "fee": "500",
63
- "currentFee": "500"
64
- }
65
- ],
66
- "gasUSD": "249.158261"
67
- }
68
- }
69
- ]
70
- }
71
- ]
72
- },
73
- {
74
- "percent": 8,
75
- "swaps": [
76
- {
77
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
78
- "srcDecimals": 18,
79
- "destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
80
- "destDecimals": 8,
81
- "swapExchanges": [
82
- {
83
- "exchange": "UniswapV3",
84
- "srcAmount": "400000000000000000000",
85
- "destAmount": "2306086615",
86
- "percent": 50,
87
- "poolAddresses": ["0xcbcdf9626bc03e24f779434178a73a0b4bad62ed"],
88
- "data": {
89
- "path": [
90
- {
91
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
92
- "tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
93
- "fee": "3000",
94
- "currentFee": "3000"
95
- }
96
- ],
97
- "gasUSD": "21.066782"
98
- }
99
- },
100
- {
101
- "exchange": "UniswapV3",
102
- "srcAmount": "400000000000000000000",
103
- "destAmount": "2307458530",
104
- "percent": 50,
105
- "poolAddresses": ["0x4585fe77225b41b697c938b018e2ac67ac5a20c0"],
106
- "data": {
107
- "path": [
108
- {
109
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
110
- "tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
111
- "fee": "500",
112
- "currentFee": "500"
113
- }
114
- ],
115
- "gasUSD": "28.669832"
116
- }
117
- }
118
- ]
119
- },
120
- {
121
- "srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
122
- "srcDecimals": 8,
123
- "destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
124
- "destDecimals": 6,
125
- "swapExchanges": [
126
- {
127
- "exchange": "UniswapV3",
128
- "srcAmount": "2337683325",
129
- "destAmount": "1152608170629",
130
- "percent": 50.67,
131
- "poolAddresses": ["0x99ac8ca7087fa4a2a1fb6357269965a2014abc35"],
132
- "data": {
133
- "path": [
134
- {
135
- "tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
136
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
137
- "fee": "3000",
138
- "currentFee": "3000"
139
- }
140
- ],
141
- "gasUSD": "70.486603"
142
- }
143
- },
144
- {
145
- "exchange": "UniswapV3",
146
- "srcAmount": "2275861820",
147
- "destAmount": "1121788850515",
148
- "percent": 49.33,
149
- "poolAddresses": ["0x9a772018fbd77fcd2d25657e5c547baff3fd7d16"],
150
- "data": {
151
- "path": [
152
- {
153
- "tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
154
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
155
- "fee": "500",
156
- "currentFee": "500"
157
- }
158
- ],
159
- "gasUSD": "43.875930"
160
- }
161
- }
162
- ]
163
- }
164
- ]
165
- },
166
- {
167
- "percent": 14,
168
- "swaps": [
169
- {
170
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
171
- "srcDecimals": 18,
172
- "destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
173
- "destDecimals": 6,
174
- "swapExchanges": [
175
- {
176
- "exchange": "UniswapV3",
177
- "srcAmount": "600040000000000000000",
178
- "destAmount": "1760444449433",
179
- "percent": 42.86,
180
- "poolAddresses": ["0x4e68ccd3e89f51c3074ca5072bbac773960dfa36"],
181
- "data": {
182
- "path": [
183
- {
184
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
185
- "tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
186
- "fee": "3000",
187
- "currentFee": "3000"
188
- }
189
- ],
190
- "gasUSD": "36.272881"
191
- }
192
- },
193
- {
194
- "exchange": "UniswapV3",
195
- "srcAmount": "600040000000000000000",
196
- "destAmount": "1768682397346",
197
- "percent": 42.86,
198
- "poolAddresses": ["0x11b815efb8f581194ae79006d24e0d814b7697f6"],
199
- "data": {
200
- "path": [
201
- {
202
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
203
- "tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
204
- "fee": "500",
205
- "currentFee": "500"
206
- }
207
- ],
208
- "gasUSD": "47.677455"
209
- }
210
- },
211
- {
212
- "exchange": "UniswapV3",
213
- "srcAmount": "199920000000000000000",
214
- "destAmount": "588656134565",
215
- "percent": 14.28,
216
- "poolAddresses": ["0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b"],
217
- "data": {
218
- "path": [
219
- {
220
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
221
- "tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
222
- "fee": "100",
223
- "currentFee": "100"
224
- }
225
- ],
226
- "gasUSD": "40.074406"
227
- }
228
- }
229
- ]
230
- },
231
- {
232
- "srcToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
233
- "srcDecimals": 6,
234
- "destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
235
- "destDecimals": 6,
236
- "swapExchanges": [
237
- {
238
- "exchange": "UniswapV3",
239
- "srcAmount": "1606758919321",
240
- "destAmount": "1605124543886",
241
- "percent": 39.02,
242
- "poolAddresses": ["0x7858e59e0c01ea06df3af3d20ac7b0003275d4bf"],
243
- "data": {
244
- "path": [
245
- {
246
- "tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
247
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
248
- "fee": "500",
249
- "currentFee": "500"
250
- }
251
- ],
252
- "gasUSD": "17.265258"
253
- }
254
- },
255
- {
256
- "exchange": "UniswapV3",
257
- "srcAmount": "1606758919320",
258
- "destAmount": "1605276111505",
259
- "percent": 39.02,
260
- "poolAddresses": ["0x3416cf6c708da44db2624d63ea0aaef7113527c6"],
261
- "data": {
262
- "path": [
263
- {
264
- "tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
265
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
266
- "fee": "100",
267
- "currentFee": "100"
268
- }
269
- ],
270
- "gasUSD": "70.486603"
271
- }
272
- },
273
- {
274
- "exchange": "BalancerV2",
275
- "srcAmount": "904265142703",
276
- "destAmount": "877524022605",
277
- "percent": 21.96,
278
- "poolAddresses": ["0x8353157092ed8be69a9df8f95af097bbf33cb2af"],
279
- "data": {
280
- "swaps": [
281
- {
282
- "poolId": "0x8353157092ed8be69a9df8f95af097bbf33cb2af0000000000000000000005d9",
283
- "amount": "904265142703"
284
- }
285
- ],
286
- "gasUSD": "23.284338"
287
- }
288
- }
289
- ]
290
- }
291
- ]
292
- },
293
- {
294
- "percent": 8,
295
- "swaps": [
296
- {
297
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
298
- "srcDecimals": 18,
299
- "destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
300
- "destDecimals": 18,
301
- "swapExchanges": [
302
- {
303
- "exchange": "UniswapV3",
304
- "srcAmount": "600000000000000000000",
305
- "destAmount": "1730278559276737843123840",
306
- "percent": 75,
307
- "poolAddresses": ["0xc2e9f25be6257c210d7adf0d4cd6e3e881ba25f8"],
308
- "data": {
309
- "path": [
310
- {
311
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
312
- "tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
313
- "fee": "3000",
314
- "currentFee": "3000"
315
- }
316
- ],
317
- "gasUSD": "55.280504"
318
- }
319
- },
320
- {
321
- "exchange": "UniswapV3",
322
- "srcAmount": "200000000000000000000",
323
- "destAmount": "569062531463593376868661",
324
- "percent": 25,
325
- "poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
326
- "data": {
327
- "path": [
328
- {
329
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
330
- "tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
331
- "fee": "500",
332
- "currentFee": "500"
333
- }
334
- ],
335
- "gasUSD": "81.891177"
336
- }
337
- }
338
- ]
339
- },
340
- {
341
- "srcToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
342
- "srcDecimals": 18,
343
- "destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
344
- "destDecimals": 6,
345
- "swapExchanges": [
346
- {
347
- "exchange": "UniswapV3",
348
- "srcAmount": "2299341090740331219992501",
349
- "destAmount": "2299153630937",
350
- "percent": 100,
351
- "poolAddresses": ["0x5777d92f208679db4b9778590fa3cab3ac9e2168"],
352
- "data": {
353
- "path": [
354
- {
355
- "tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
356
- "tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
357
- "fee": "100",
358
- "currentFee": "100"
359
- }
360
- ],
361
- "gasUSD": "17.265258"
362
- }
363
- }
364
- ]
365
- }
366
- ]
367
- }
368
- ],
369
- "gasCostUSD": "895.305745",
370
- "gasCost": "5652295",
371
- "side": "SELL",
372
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
373
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
374
- "contractMethod": "megaSwap",
375
- "partnerFee": 0,
376
- "srcUSD": "29886200.0000000000",
377
- "destUSD": "28794043.2068590000",
378
- "maxImpact": 100,
379
- "partner": "any",
380
- "maxImpactReached": false,
381
- "hmac": "c7ab7379f1cd7536efd166711eafc3a8a041d119"
382
- }
383
- }
@@ -1,168 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 1,
4
- "blockNumber": 19275582,
5
- "forkId": "00fcb7e6-3b54-40e7-a27b-5eb041b01e62",
6
- "lastTx": "1a06fc8f-2fcf-4ec2-aff7-719f7bc71669",
7
- "contracts": {
8
- "AugustusV6": "0x0604550a76f2ab29aD4b547067B729a8FCb7e129",
9
- "Executor01": "0xC96acc495c236E00c340E176175E6107642793C5",
10
- "Executor02": "0xECf615Ef99f8F491B30240525a8226913ec154B9",
11
- "Executor03": "0xcb8a5d3c4965d3d444Eed09CeA462dF1933c2BFD"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 19275582,
16
- "network": 1,
17
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
18
- "srcDecimals": 18,
19
- "srcAmount": "10000000000000000000000",
20
- "destToken": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
21
- "destDecimals": 18,
22
- "destAmount": "9999639873012276363418",
23
- "bestRoute": [
24
- {
25
- "percent": 60,
26
- "swaps": [
27
- {
28
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
29
- "srcDecimals": 18,
30
- "destToken": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
31
- "destDecimals": 18,
32
- "swapExchanges": [
33
- {
34
- "exchange": "Lido",
35
- "srcAmount": "4800000000000000000000",
36
- "destAmount": "4799520000000000000000",
37
- "percent": 80,
38
- "poolAddresses": ["0xae7ab96520de3a18e5e111b5eaab095312d7fe84"],
39
- "data": {
40
- "gasUSD": "3.650937"
41
- }
42
- },
43
- {
44
- "exchange": "CurveV1",
45
- "srcAmount": "199800000000000000000",
46
- "destAmount": "199998654428874428069",
47
- "percent": 3.33,
48
- "poolAddresses": ["0xdc24316b9ae028f1497c275eb9192a3ea0f67022"],
49
- "data": {
50
- "exchange": "0xdc24316b9ae028f1497c275eb9192a3ea0f67022",
51
- "i": 0,
52
- "j": 1,
53
- "underlyingSwap": false,
54
- "deadline": 0,
55
- "gasUSD": "14.603750"
56
- }
57
- },
58
- {
59
- "exchange": "CurveV1Factory",
60
- "srcAmount": "1000200000000000000000",
61
- "destAmount": "999975435409703987899",
62
- "percent": 16.67,
63
- "poolAddresses": ["0x21e27a5e5513d6e65c4f830167390997aa84843a"],
64
- "data": {
65
- "exchange": "0x21e27a5e5513d6e65c4f830167390997aa84843a",
66
- "i": 0,
67
- "j": 1,
68
- "underlyingSwap": false,
69
- "gasUSD": "14.603750"
70
- }
71
- }
72
- ]
73
- }
74
- ]
75
- },
76
- {
77
- "percent": 40,
78
- "swaps": [
79
- {
80
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
81
- "srcDecimals": 18,
82
- "destToken": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
83
- "destDecimals": 18,
84
- "swapExchanges": [
85
- {
86
- "exchange": "UniswapV3",
87
- "srcAmount": "2200000000000000000000",
88
- "destAmount": "1900367806376180098001",
89
- "percent": 55,
90
- "poolAddresses": ["0x109830a1aaad605bbf02a9dfa7b0b92ec2fb7daa"],
91
- "data": {
92
- "path": [
93
- {
94
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
95
- "tokenOut": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
96
- "fee": "100",
97
- "currentFee": "100"
98
- }
99
- ],
100
- "gasUSD": "9.711494"
101
- }
102
- },
103
- {
104
- "exchange": "SolidlyV3",
105
- "srcAmount": "200000000000000000000",
106
- "destAmount": "172771888374995601883",
107
- "percent": 5,
108
- "poolAddresses": ["0x4370e48e610d2e02d3d091a9d79c8eb9a54c5b1c"],
109
- "data": {
110
- "zeroForOne": false,
111
- "poolAddress": "0x4370e48e610d2e02d3d091a9d79c8eb9a54c5b1c",
112
- "gasUSD": "5.841500"
113
- }
114
- },
115
- {
116
- "exchange": "BalancerV2",
117
- "srcAmount": "1600000000000000000000",
118
- "destAmount": "1381999886132617600163",
119
- "percent": 40,
120
- "poolAddresses": ["0x93d199263632a4ef4bb438f1feb99e57b4b5f0bd"],
121
- "data": {
122
- "swaps": [
123
- {
124
- "poolId": "0x93d199263632a4ef4bb438f1feb99e57b4b5f0bd0000000000000000000005c2",
125
- "amount": "1600000000000000000000"
126
- }
127
- ],
128
- "gasUSD": "10.733756"
129
- }
130
- }
131
- ]
132
- },
133
- {
134
- "srcToken": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
135
- "srcDecimals": 18,
136
- "destToken": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
137
- "destDecimals": 18,
138
- "swapExchanges": [
139
- {
140
- "exchange": "wstETH",
141
- "srcAmount": "3455139580883793300047",
142
- "destAmount": "4000145783173697947450",
143
- "percent": 100,
144
- "poolAddresses": ["0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"],
145
- "data": {
146
- "gasUSD": "5.111312"
147
- }
148
- }
149
- ]
150
- }
151
- ]
152
- }
153
- ],
154
- "gasCostUSD": "73.843862",
155
- "gasCost": "1011300",
156
- "others": [],
157
- "side": "SELL",
158
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
159
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
160
- "contractMethod": "megaSwap",
161
- "partnerFee": 0,
162
- "srcUSD": "29207500.0000000000",
163
- "destUSD": "29161949.7616657016",
164
- "partner": "paraswap.io",
165
- "maxImpactReached": false,
166
- "hmac": "ab250ad19737969395b3865be54651a3482d8030"
167
- }
168
- }
@@ -1,68 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 1,
4
- "blockNumber": 19283144,
5
- "forkId": "10495991-0800-4040-982f-7fce2929f1d0",
6
- "lastTx": "7f177a25-e3ef-4a5d-a843-394819825a44",
7
- "contracts": {
8
- "AugustusV6": "0x205B3B85B87Ce4784bf7Bba805A0D9671FeFD2F4",
9
- "Executor01": "0x9C552e35F2e7609c4AbD7aac1143120b3c1620ed",
10
- "Executor02": "0x9809E03adA6DBF9E0AD49e88A6134dFd2e35fd3E",
11
- "Executor03": "0x5F7DCdaf181a8E92EfFE46C863940d8E92B1A074"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 19283144,
16
- "network": 1,
17
- "srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
18
- "srcDecimals": 6,
19
- "srcAmount": "10000000000",
20
- "destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
21
- "destDecimals": 6,
22
- "destAmount": "9999876695",
23
- "bestRoute": [
24
- {
25
- "percent": 100,
26
- "swaps": [
27
- {
28
- "srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
29
- "srcDecimals": 6,
30
- "destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
31
- "destDecimals": 6,
32
- "swapExchanges": [
33
- {
34
- "exchange": "BalancerV2",
35
- "srcAmount": "10000000000",
36
- "destAmount": "9999876695",
37
- "percent": 100,
38
- "poolAddresses": ["0x79c58f70905f734641735bc61e45c19dd9ad60bc"],
39
- "data": {
40
- "swaps": [
41
- {
42
- "poolId": "0x79c58f70905f734641735bc61e45c19dd9ad60bc0000000000000000000004e7",
43
- "amount": "10000000000"
44
- }
45
- ],
46
- "gasUSD": "14.980006"
47
- }
48
- }
49
- ]
50
- }
51
- ]
52
- }
53
- ],
54
- "gasCostUSD": "25.404866",
55
- "gasCost": "249300",
56
- "others": [],
57
- "side": "SELL",
58
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
59
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
60
- "contractMethod": "directBalancerV2GivenInSwap",
61
- "partnerFee": 0,
62
- "srcUSD": "9995.1000000000",
63
- "destUSD": "9999.8766950000",
64
- "partner": "paraswap.io",
65
- "maxImpactReached": false,
66
- "hmac": "253bff7395acb2a0ac965b9cae524acf56d1f859"
67
- }
68
- }