@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,228 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 1,
4
- "blockNumber": 19321065,
5
- "forkId": "ee072a07-0826-43df-b2e9-75612ee40168",
6
- "lastTx": "dfc32d93-13e5-478b-a201-ec7541006769",
7
- "contracts": {
8
- "AugustusV6": "0x09b82A6E4A53fAE013fAdB3D84DC68C240CfAB02",
9
- "Executor01": "0x93c41914d150142052eE3Ba8eA9F64e64b549693",
10
- "Executor02": "0xaFe43Ec8d645049f80BEDfd009484ED28B765334",
11
- "Executor03": "0xbE66b7F65c94733915aA474353E0782392b684aD"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 19321065,
16
- "network": 1,
17
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
18
- "srcDecimals": 18,
19
- "srcAmount": "999136150936714703",
20
- "destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
21
- "destDecimals": 18,
22
- "destAmount": "3244690000000000000000",
23
- "bestRoute": [
24
- {
25
- "percent": 100,
26
- "swaps": [
27
- {
28
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
29
- "srcDecimals": 18,
30
- "destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
31
- "destDecimals": 18,
32
- "swapExchanges": [
33
- {
34
- "exchange": "UniswapV3",
35
- "srcAmount": "999136150936714702",
36
- "destAmount": "3244690000000000000000",
37
- "percent": 100,
38
- "poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
39
- "data": {
40
- "path": [
41
- {
42
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
43
- "tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
44
- "fee": "500",
45
- "currentFee": "500"
46
- }
47
- ],
48
- "gasUSD": "22.928013"
49
- }
50
- }
51
- ]
52
- }
53
- ]
54
- }
55
- ],
56
- "gasCostUSD": "41.712157",
57
- "gasCost": "198300",
58
- "others": [
59
- {
60
- "exchange": "BalancerV1",
61
- "srcAmount": "1036051032827187511",
62
- "destAmount": "3244690000000000000000",
63
- "unit": "310339509983367",
64
- "data": {
65
- "poolId": "0x69d460e01070a7ba1bc363885bc8f4f0daa19bf5",
66
- "gasUSD": "45.519469"
67
- }
68
- },
69
- {
70
- "exchange": "BalancerV2",
71
- "srcAmount": "1014709167437831258",
72
- "destAmount": "3244690000000000000000",
73
- "unit": "308797193597742",
74
- "data": {
75
- "poolId": "0x0b09dea16768f0799065c475be02919503cb2a3500020000000000000000001a",
76
- "gasUSD": "48.232968"
77
- }
78
- },
79
- {
80
- "exchange": "UniswapV2",
81
- "srcAmount": "1006284117434506971",
82
- "destAmount": "3244690000000000000000",
83
- "unit": "309997371572586",
84
- "data": {
85
- "router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
86
- "path": [
87
- "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
88
- "0x6b175474e89094c44da98b954eedeac495271d0f"
89
- ],
90
- "factory": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
91
- "initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
92
- "feeFactor": 10000,
93
- "pools": [
94
- {
95
- "address": "0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11",
96
- "fee": 30,
97
- "direction": false
98
- }
99
- ],
100
- "gasUSD": "25.291282"
101
- }
102
- },
103
- {
104
- "exchange": "DefiSwap",
105
- "srcAmount": "1035676664723283606",
106
- "destAmount": "3244690000000000000000",
107
- "unit": "308222915261340",
108
- "data": {
109
- "router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
110
- "path": [
111
- "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
112
- "0x6b175474e89094c44da98b954eedeac495271d0f"
113
- ],
114
- "factory": "0x9DEB29c9a4c7A88a3C0257393b7f3335338D9A9D",
115
- "initCode": "0x69d637e77615df9f235f642acebbdad8963ef35c5523142078c9b8f9d0ceba7e",
116
- "feeFactor": 10000,
117
- "pools": [
118
- {
119
- "address": "0x60A26d69263eF43e9a68964bA141263F19D71D51",
120
- "fee": 30,
121
- "direction": false
122
- }
123
- ],
124
- "gasUSD": "25.291282"
125
- }
126
- },
127
- {
128
- "exchange": "SushiSwap",
129
- "srcAmount": "1007198148871324531",
130
- "destAmount": "3244690000000000000000",
131
- "unit": "310213574279146",
132
- "data": {
133
- "router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
134
- "path": [
135
- "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
136
- "0x6b175474e89094c44da98b954eedeac495271d0f"
137
- ],
138
- "factory": "0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac",
139
- "initCode": "0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303",
140
- "feeFactor": 10000,
141
- "pools": [
142
- {
143
- "address": "0xC3D03e4F041Fd4cD388c549Ee2A29a9E5075882f",
144
- "fee": 30,
145
- "direction": false
146
- }
147
- ],
148
- "gasUSD": "25.291282"
149
- }
150
- },
151
- {
152
- "exchange": "ShibaSwap",
153
- "srcAmount": "1067898875242842054",
154
- "destAmount": "3244690000000000000000",
155
- "unit": "310368313656226",
156
- "data": {
157
- "router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
158
- "path": [
159
- "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
160
- "0x6b175474e89094c44da98b954eedeac495271d0f"
161
- ],
162
- "factory": "0x115934131916C8b277DD010Ee02de363c09d037c",
163
- "initCode": "0x65d1a3b1e46c6e4f1be1ad5f99ef14dc488ae0549dc97db9b30afe2241ce1c7a",
164
- "feeFactor": 10000,
165
- "pools": [
166
- {
167
- "address": "0x8faf958E36c6970497386118030e6297fFf8d275",
168
- "fee": 30,
169
- "direction": false
170
- }
171
- ],
172
- "gasUSD": "25.291282"
173
- }
174
- },
175
- {
176
- "exchange": "Verse",
177
- "srcAmount": "1201655750484073650",
178
- "destAmount": "3244690000000000000000",
179
- "unit": "311068557448933",
180
- "data": {
181
- "router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
182
- "path": [
183
- "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
184
- "0x6b175474e89094c44da98b954eedeac495271d0f"
185
- ],
186
- "factory": "0xee3E9E46E34a27dC755a63e2849C9913Ee1A06E2",
187
- "initCode": "0x34768b85d02b77066b16acc7f0875ed59566bb3c32ba4fb0438750e872fddf9e",
188
- "feeFactor": 10000,
189
- "pools": [
190
- {
191
- "address": "0x682831244b0E97946ABC52Cb1893Cce398De3A35",
192
- "fee": 30,
193
- "direction": false
194
- }
195
- ],
196
- "gasUSD": "25.291282"
197
- }
198
- },
199
- {
200
- "exchange": "UniswapV3",
201
- "srcAmount": "999136150936714703",
202
- "destAmount": "3244690000000000000000",
203
- "unit": "307927367777835",
204
- "data": {
205
- "path": [
206
- {
207
- "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
208
- "tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
209
- "fee": "500",
210
- "currentFee": "500"
211
- }
212
- ],
213
- "gasUSD": "43.205633"
214
- }
215
- }
216
- ],
217
- "side": "BUY",
218
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
219
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
220
- "contractMethod": "simpleBuy",
221
- "partnerFee": 0,
222
- "srcUSD": "3233.3390376835",
223
- "destUSD": "3243.4308331517",
224
- "partner": "paraswap.io",
225
- "maxImpactReached": false,
226
- "hmac": "f6d82fd750d543a558f93ab31d0e3b04875007d3"
227
- }
228
- }
@@ -1,78 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 1,
4
- "blockNumber": 19282687,
5
- "forkId": "0875555b-1f38-44d6-9474-d1022e87d966",
6
- "lastTx": "86639f93-eff7-4b60-97fb-bc0343c19ac2",
7
- "contracts": {
8
- "AugustusV6": "0x0A06A83f022373Fb458e4c593FD958Fa4Add0F4f",
9
- "Executor01": "0xFc4107286C412a06C091036707799921CCF05c85",
10
- "Executor02": "0xb656e6DBc017d6862F22d633F86FE33D41c5E6c8",
11
- "Executor03": "0x81c6da0000e6Df5e4DfB1D844Eaeb4e555999615"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 19282687,
16
- "network": 1,
17
- "srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
18
- "srcDecimals": 6,
19
- "srcAmount": "1000000",
20
- "destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
21
- "destDecimals": 6,
22
- "destAmount": "999039",
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": "SolidlyV2",
35
- "srcAmount": "1000000",
36
- "destAmount": "999039",
37
- "percent": 100,
38
- "poolAddresses": ["0x63A65a174Cc725824188940255aD41c371F28F28"],
39
- "data": {
40
- "router": "0x5b39e7A1C706464F5B3956b21CD22a43F0dB0eAC",
41
- "path": [
42
- "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
43
- "0xdac17f958d2ee523a2206206994597c13d831ec7"
44
- ],
45
- "factory": "0x777de5Fe8117cAAA7B44f396E93a401Cf5c9D4d6",
46
- "initCode": "0x413d36e4ab9e83cf39b8064a3b5c98253a9e46a6cf02c8efd185314c866d656b",
47
- "feeFactor": 1000000,
48
- "isFeeTokenInRoute": false,
49
- "pools": [
50
- {
51
- "address": "0x63A65a174Cc725824188940255aD41c371F28F28",
52
- "fee": 200,
53
- "direction": true
54
- }
55
- ],
56
- "gasUSD": "20.439267"
57
- }
58
- }
59
- ]
60
- }
61
- ]
62
- }
63
- ],
64
- "gasCostUSD": "30.593866",
65
- "gasCost": "329300",
66
- "others": [],
67
- "side": "SELL",
68
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
69
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
70
- "contractMethod": "simpleSwap",
71
- "partnerFee": 0,
72
- "srcUSD": "0.9976960000",
73
- "destUSD": "0.9969100479",
74
- "partner": "paraswap.io",
75
- "maxImpactReached": false,
76
- "hmac": "a5413a090707f20af673533a54485cf73d9c03e7"
77
- }
78
- }
@@ -1,158 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 1,
4
- "blockNumber": 19283421,
5
- "forkId": "8adb4722-92ed-4a07-a454-60ebd72b89b5",
6
- "lastTx": "588c1b3f-b09c-422d-b8dd-9ccaf721808b",
7
- "contracts": {
8
- "AugustusV6": "0x994221Af75ABc03F1b96a4B194cc992b00e7017d",
9
- "Executor01": "0x1eE6372ae4A73aCB8F2c193Eb44C69ecAb7CAA4c",
10
- "Executor02": "0x4C470859C4473fC1278Cf94DFEDf7B35c317eBd8",
11
- "Executor03": "0x86696d6E446065B6ef71c8ea90889972dCfeAf4a"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 19283421,
16
- "network": 1,
17
- "srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
18
- "srcDecimals": 8,
19
- "srcAmount": "10000000001000000000",
20
- "destToken": "0xba100000625a3754423978a60c9317c58a424e3d",
21
- "destDecimals": 18,
22
- "destAmount": "101932138850740058103120",
23
- "bestRoute": [
24
- {
25
- "percent": 100,
26
- "swaps": [
27
- {
28
- "srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
29
- "srcDecimals": 8,
30
- "destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
31
- "destDecimals": 18,
32
- "swapExchanges": [
33
- {
34
- "exchange": "BalancerV1",
35
- "srcAmount": "420000000",
36
- "destAmount": "61861942405375323883",
37
- "percent": 42,
38
- "poolAddresses": [
39
- "0x49ff149d649769033d43783e7456f626862cd160",
40
- "0x1eff8af5d577060ba4ac8a29a13525bb0ee2a3d5",
41
- "0x25af1f2c3772d6f19aa6615571203757365d29c6",
42
- "0xa751a143f8fe0a108800bfb915585e4255c2fe80",
43
- "0x221bf20c2ad9e5d7ec8a9d1991d8e2edcfcb9d6c"
44
- ],
45
- "data": {
46
- "swaps": [
47
- {
48
- "pool": "0x49ff149d649769033d43783e7456f626862cd160",
49
- "tokenInParam": "120000000",
50
- "tokenOutParam": "0",
51
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
52
- },
53
- {
54
- "pool": "0x1eff8af5d577060ba4ac8a29a13525bb0ee2a3d5",
55
- "tokenInParam": "160000000",
56
- "tokenOutParam": "0",
57
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
58
- },
59
- {
60
- "pool": "0x25af1f2c3772d6f19aa6615571203757365d29c6",
61
- "tokenInParam": "80000000",
62
- "tokenOutParam": "0",
63
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
64
- },
65
- {
66
- "pool": "0xa751a143f8fe0a108800bfb915585e4255c2fe80",
67
- "tokenInParam": "40000000",
68
- "tokenOutParam": "0",
69
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
70
- },
71
- {
72
- "pool": "0x221bf20c2ad9e5d7ec8a9d1991d8e2edcfcb9d6c",
73
- "tokenInParam": "20000000",
74
- "tokenOutParam": "0",
75
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
76
- }
77
- ],
78
- "gasUSD": "98.755415"
79
- }
80
- },
81
- {
82
- "exchange": "BalancerV2",
83
- "srcAmount": "580000000",
84
- "destAmount": "85930544113579782254",
85
- "percent": 58,
86
- "poolAddresses": ["0xa6f548df93de924d73be7d25dc02554c6bd66db5"],
87
- "data": {
88
- "swaps": [
89
- {
90
- "poolId": "0xa6f548df93de924d73be7d25dc02554c6bd66db500020000000000000000000e",
91
- "amount": "580000000"
92
- }
93
- ],
94
- "gasUSD": "24.195077"
95
- }
96
- }
97
- ]
98
- },
99
- {
100
- "srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
101
- "srcDecimals": 18,
102
- "destToken": "0xba100000625a3754423978a60c9317c58a424e3d",
103
- "destDecimals": 18,
104
- "swapExchanges": [
105
- {
106
- "exchange": "BalancerV1",
107
- "srcAmount": "2955849730379102123",
108
- "destAmount": "2037814715935304833737",
109
- "percent": 2,
110
- "poolAddresses": ["0xe867be952ee17d2d294f2de62b13b9f4af521e9a"],
111
- "data": {
112
- "swaps": [
113
- {
114
- "pool": "0xe867be952ee17d2d294f2de62b13b9f4af521e9a",
115
- "tokenInParam": "2955849730379102123",
116
- "tokenOutParam": "0",
117
- "maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
118
- }
119
- ],
120
- "gasUSD": "19.751083"
121
- }
122
- },
123
- {
124
- "exchange": "BalancerV2",
125
- "srcAmount": "144836636788576004014",
126
- "destAmount": "99894324134804753269383",
127
- "percent": 98,
128
- "poolAddresses": ["0x5c6ee304399dbdb9c8ef030ab642b10820db8f56"],
129
- "data": {
130
- "swaps": [
131
- {
132
- "poolId": "0x5c6ee304399dbdb9c8ef030ab642b10820db8f56000200000000000000000014",
133
- "amount": "144836636788576004014"
134
- }
135
- ],
136
- "gasUSD": "24.195077"
137
- }
138
- }
139
- ]
140
- }
141
- ]
142
- }
143
- ],
144
- "gasCostUSD": "193.609996",
145
- "gasCost": "1176300",
146
- "side": "SELL",
147
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
148
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
149
- "contractMethod": "multiSwap",
150
- "partnerFee": 0,
151
- "srcUSD": "511660.0000000000",
152
- "destUSD": "430153.6259501230",
153
- "maxImpact": 100,
154
- "partner": "any",
155
- "maxImpactReached": false,
156
- "hmac": "2358c07cb2670f79aa41038d969f2dbe568bd890"
157
- }
158
- }
@@ -1,100 +0,0 @@
1
- {
2
- "metadata": {
3
- "network": 1,
4
- "blockNumber": 19275690,
5
- "forkId": "76008c79-21f1-4863-ad24-68cfaaa05d84",
6
- "lastTx": "f638d8a8-8b82-4326-bbc8-88d155070733",
7
- "contracts": {
8
- "AugustusV6": "0x42E789731EFA8550710E7daEA48573d4B7D2B3bD",
9
- "Executor01": "0x8de203Ff7D4ECbd51117fB63fc8221Dd7AD9446a",
10
- "Executor02": "0xD41572F5c3f393775C718b336149e5107f66D130",
11
- "Executor03": "0x136F4C93921f35f394DE54763FB6b86Ff9ae786E"
12
- }
13
- },
14
- "priceRoute": {
15
- "blockNumber": 19275690,
16
- "network": 1,
17
- "srcToken": "0x18084fba666a33d37592fa2633fd49a74dd93a88",
18
- "srcDecimals": 18,
19
- "srcAmount": "100000000000000000000",
20
- "destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
21
- "destDecimals": 8,
22
- "destAmount": "9986627017",
23
- "bestRoute": [
24
- {
25
- "percent": 100,
26
- "swaps": [
27
- {
28
- "srcToken": "0x18084fba666a33d37592fa2633fd49a74dd93a88",
29
- "srcDecimals": 18,
30
- "destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
31
- "destDecimals": 8,
32
- "swapExchanges": [
33
- {
34
- "exchange": "UniswapV3",
35
- "srcAmount": "48000000000000000000",
36
- "destAmount": "4793409556",
37
- "percent": 48,
38
- "poolAddresses": ["0xdbac78be00503d10ae0074e5e5873a61fc56647c"],
39
- "data": {
40
- "path": [
41
- {
42
- "tokenIn": "0x18084fba666a33d37592fa2633fd49a74dd93a88",
43
- "tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
44
- "fee": "500",
45
- "currentFee": "500"
46
- }
47
- ],
48
- "gasUSD": "13.271676"
49
- }
50
- },
51
- {
52
- "exchange": "CurveV1Factory",
53
- "srcAmount": "50000000000000000000",
54
- "destAmount": "4993510862",
55
- "percent": 50,
56
- "poolAddresses": ["0xb7ecb2aa52aa64a717180e030241bc75cd946726"],
57
- "data": {
58
- "exchange": "0xb7ecb2aa52aa64a717180e030241bc75cd946726",
59
- "i": 1,
60
- "j": 0,
61
- "underlyingSwap": false,
62
- "gasUSD": "16.906594"
63
- }
64
- },
65
- {
66
- "exchange": "BalancerV2",
67
- "srcAmount": "2000000000000000000",
68
- "destAmount": "199706599",
69
- "percent": 2,
70
- "poolAddresses": ["0xe4e72f872c4048925a78e1e6fddac411c9ae348a"],
71
- "data": {
72
- "swaps": [
73
- {
74
- "poolId": "0xe4e72f872c4048925a78e1e6fddac411c9ae348a0000000000000000000005bc",
75
- "amount": "2000000000000000000"
76
- }
77
- ],
78
- "gasUSD": "12.426347"
79
- }
80
- }
81
- ]
82
- }
83
- ]
84
- }
85
- ],
86
- "gasCostUSD": "52.037992",
87
- "gasCost": "615594",
88
- "others": [],
89
- "side": "SELL",
90
- "tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
91
- "contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
92
- "contractMethod": "simpleSwap",
93
- "partnerFee": 0,
94
- "srcUSD": "5118500.0000000000",
95
- "destUSD": "5107660.3878446500",
96
- "partner": "paraswap.io",
97
- "maxImpactReached": false,
98
- "hmac": "797994ec8ce7b7007186f810b12227f9722eea0c"
99
- }
100
- }