@paraswap/dex-lib 4.0.27 → 4.0.28
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.
- package/build/abi/Aave_GSM.json +751 -0
- package/build/abi/Balancer.json +257 -0
- package/build/abi/BalancerV2.json +1179 -0
- package/build/abi/RamsesV2Pool.abi.json +1554 -0
- package/build/abi/RamsesV2Quoter.abi.json +274 -0
- package/build/abi/USDM.json +807 -0
- package/build/abi/UniswapV2Router.json +397 -0
- package/build/abi/{wombat/pool.json → angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json} +594 -637
- package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +509 -0
- package/build/abi/curve-v1/CurveBUSDv2.abi.json +1356 -0
- package/build/abi/curve-v1/CurveTokenV1.json +305 -0
- package/build/abi/curve-v1/CurveTokenV2.json +318 -0
- package/build/abi/curve-v1/CurveV1StableNg.json +1452 -0
- package/build/abi/curve-v1/CurveV2Swap.json +700 -0
- package/build/abi/curve-v1/FactoryCryptoRegistry.json +316 -0
- package/build/abi/curve-v1/FactoryRegistry.json +508 -0
- package/build/abi/curve-v1/StableSwapAave.json +1152 -0
- package/build/abi/curve-v1/StableSwapBUSD.json +814 -0
- package/build/abi/curve-v1/StableSwapCompound.json +814 -0
- package/build/abi/curve-v1/StableSwapIDLE.json +1253 -0
- package/build/abi/curve-v1/StableSwapPax.json +865 -0
- package/build/abi/curve-v1/StableSwapSnow.json +900 -0
- package/build/abi/curve-v1/StableSwapUSDN.json +1004 -0
- package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
- package/build/abi/curve-v1/StableSwapY.json +814 -0
- package/build/abi/inception/inception-ineth.json +609 -0
- package/build/abi/kyberdmm/kyber-storage.abi.json +824 -0
- package/build/abi/kyberdmm.abi.json +1148 -0
- package/build/abi/maverick-v2/MaverickV2Quoter.json +278 -0
- package/build/abi/nerve/nerve-metapool.json +790 -0
- package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
- package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +267 -0
- package/build/dex/aave-v1/aave-v1.js +0 -1
- package/build/dex/aave-v1/aave-v1.js.map +1 -1
- package/build/dex/algebra/config.js +1 -1
- package/build/dex/algebra/config.js.map +1 -1
- package/build/dex/balancer-v1/balancer-pools.json +33333 -0
- package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
- package/build/dex/bebop/websocket-fetcher.js +87 -0
- package/build/dex/bebop/websocket-fetcher.js.map +1 -0
- package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
- package/build/dex/idle-dao/idle-dao-pool.js +176 -0
- package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
- package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
- package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
- package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
- package/build/dex/idle-dao/scripts.d.ts +9 -0
- package/build/dex/idle-dao/scripts.js +552 -0
- package/build/dex/idle-dao/scripts.js.map +1 -0
- package/build/dex/inception/inception-event-pool.d.ts +4 -4
- package/build/dex/inception/inception-event-pool.js +9 -7
- package/build/dex/inception/inception-event-pool.js.map +1 -1
- package/build/dex/inception/inception-native.d.ts +43 -0
- package/build/dex/inception/inception-native.js +131 -0
- package/build/dex/inception/inception-native.js.map +1 -0
- package/build/dex/inception/inception-pool.d.ts +18 -0
- package/build/dex/inception/inception-pool.js +32 -0
- package/build/dex/inception/inception-pool.js.map +1 -0
- package/build/dex/inception/inception-price-feed.d.ts +19 -0
- package/build/dex/inception/inception-price-feed.js +51 -0
- package/build/dex/inception/inception-price-feed.js.map +1 -0
- package/build/dex/inception/inception.d.ts +6 -6
- package/build/dex/inception/inception.js +40 -16
- package/build/dex/inception/inception.js.map +1 -1
- package/build/dex/inception/utils.d.ts +0 -1
- package/build/dex/inception/utils.js +1 -22
- package/build/dex/inception/utils.js.map +1 -1
- package/build/dex/platypus/platypus.js +3 -17
- package/build/dex/platypus/platypus.js.map +1 -1
- package/build/dex/swaap-v1/swaap-v1.js +0 -4
- package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
- package/package.json +1 -1
- package/src/dex/algebra/config.ts +1 -1
- package/.vscode/launch.json +0 -53
- package/.vscode/settings.json +0 -2
- package/.vscode/tasks.json +0 -15
- package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
- package/build/abi/usual-m-smart-m/usualM.abi.json +0 -483
- package/build/dex/aave-v2/tokens-avalanche.json +0 -44
- package/build/dex/aave-v2/tokens-mainnet.json +0 -188
- package/build/dex/aave-v2/tokens-polygon.json +0 -44
- package/build/dex/bProtocol.d.ts +0 -18
- package/build/dex/bProtocol.js +0 -39
- package/build/dex/bProtocol.js.map +0 -1
- package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +0 -729
- package/build/dex/balancer-v3/abi/balancerBatchRouter.js +0 -732
- package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +0 -1
- package/build/dex/balancer-v3/abi/balancerRouter.d.ts +0 -1406
- package/build/dex/balancer-v3/abi/balancerRouter.js +0 -1175
- package/build/dex/balancer-v3/abi/balancerRouter.js.map +0 -1
- package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +0 -2081
- package/build/dex/balancer-v3/abi/vaultExtension.V3.js +0 -1851
- package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +0 -1
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +0 -34
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +0 -406
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +0 -1
- package/build/dex/bancor.d.ts +0 -26
- package/build/dex/bancor.js +0 -58
- package/build/dex/bancor.js.map +0 -1
- package/build/dex/compound.d.ts +0 -18
- package/build/dex/compound.js +0 -46
- package/build/dex/compound.js.map +0 -1
- package/build/dex/curve-v2.d.ts +0 -58
- package/build/dex/curve-v2.js +0 -180
- package/build/dex/curve-v2.js.map +0 -1
- package/build/dex/dodo-v1.d.ts +0 -33
- package/build/dex/dodo-v1.js +0 -63
- package/build/dex/dodo-v1.js.map +0 -1
- package/build/dex/lido.d.ts +0 -19
- package/build/dex/lido.js +0 -42
- package/build/dex/lido.js.map +0 -1
- package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
- package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
- package/build/dex/maker-psm/scripts/validate-state.js +0 -185
- package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
- package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
- package/build/dex/onebit.d.ts +0 -25
- package/build/dex/onebit.js +0 -42
- package/build/dex/onebit.js.map +0 -1
- package/build/dex/smoothy.d.ts +0 -26
- package/build/dex/smoothy.js +0 -48
- package/build/dex/smoothy.js.map +0 -1
- package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
- package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
- package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
- package/build/dex/stable-pool.d.ts +0 -28
- package/build/dex/stable-pool.js +0 -55
- package/build/dex/stable-pool.js.map +0 -1
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
- package/build/dex/trader-joe-v2.1.d.ts +0 -43
- package/build/dex/trader-joe-v2.1.js +0 -79
- package/build/dex/trader-joe-v2.1.js.map +0 -1
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +0 -4
- package/build/dex/uniswap-v3/uniswap-v3-pricing.js +0 -43
- package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-worker.js +0 -10
- package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +0 -1
- package/build/dex/usual/usual-m-smart-m.d.ts +0 -17
- package/build/dex/usual/usual-m-smart-m.js +0 -50
- package/build/dex/usual/usual-m-smart-m.js.map +0 -1
- package/build/dex/usual-m-smart-m/config.d.ts +0 -3
- package/build/dex/usual-m-smart-m/config.js +0 -13
- package/build/dex/usual-m-smart-m/config.js.map +0 -1
- package/build/dex/usual-m-smart-m/types.d.ts +0 -7
- package/build/dex/usual-m-smart-m/types.js +0 -3
- package/build/dex/usual-m-smart-m/types.js.map +0 -1
- package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +0 -35
- package/build/dex/usual-m-smart-m/usual-m-smart-m.js +0 -161
- package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +0 -1
- package/build/dex/usual-m-usd0/config.d.ts +0 -3
- package/build/dex/usual-m-usd0/config.js +0 -14
- package/build/dex/usual-m-usd0/config.js.map +0 -1
- package/build/dex/usual-m-usd0/types.d.ts +0 -8
- package/build/dex/usual-m-usd0/types.js +0 -3
- package/build/dex/usual-m-usd0/types.js.map +0 -1
- package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +0 -35
- package/build/dex/usual-m-usd0/usual-m-usd0.js +0 -159
- package/build/dex/usual-m-usd0/usual-m-usd0.js.map +0 -1
- package/src/dex/balancer-v2/scripts/abi.json +0 -339
- package/src/dex/balancer-v2/scripts/test.test.ts +0 -121
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"blockNumber": 19040301,
|
|
3
|
+
"network": 1,
|
|
4
|
+
"srcToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
5
|
+
"srcDecimals": 18,
|
|
6
|
+
"srcAmount": "1000000000000000000000000",
|
|
7
|
+
"destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
8
|
+
"destDecimals": 8,
|
|
9
|
+
"destAmount": "592446751",
|
|
10
|
+
"bestRoute": [
|
|
11
|
+
{
|
|
12
|
+
"percent": 100,
|
|
13
|
+
"swaps": [
|
|
14
|
+
{
|
|
15
|
+
"srcToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
16
|
+
"srcDecimals": 18,
|
|
17
|
+
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
18
|
+
"destDecimals": 18,
|
|
19
|
+
"swapExchanges": [
|
|
20
|
+
{
|
|
21
|
+
"exchange": "UniswapV3",
|
|
22
|
+
"srcAmount": "20000000000000000000000",
|
|
23
|
+
"destAmount": "403452896981135609",
|
|
24
|
+
"percent": 2,
|
|
25
|
+
"poolAddresses": ["0x73a6a761fe483ba19debb8f56ac5bbf14c0cdad1"],
|
|
26
|
+
"data": {
|
|
27
|
+
"path": [
|
|
28
|
+
{
|
|
29
|
+
"tokenIn": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
30
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
31
|
+
"fee": "3000",
|
|
32
|
+
"currentFee": "3000"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"gasUSD": "86.616491"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"exchange": "SushiSwapV3",
|
|
40
|
+
"srcAmount": "980000000000000000000000",
|
|
41
|
+
"destAmount": "98337039696029884296",
|
|
42
|
+
"percent": 98,
|
|
43
|
+
"poolAddresses": ["0x87c7056bbe6084f03304196be51c6b90b6d85aa2"],
|
|
44
|
+
"data": {
|
|
45
|
+
"path": [
|
|
46
|
+
{
|
|
47
|
+
"tokenIn": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
48
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
49
|
+
"fee": "3000",
|
|
50
|
+
"currentFee": "3000"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"gasUSD": "29.303339"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
60
|
+
"srcDecimals": 18,
|
|
61
|
+
"destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
62
|
+
"destDecimals": 8,
|
|
63
|
+
"swapExchanges": [
|
|
64
|
+
{
|
|
65
|
+
"exchange": "UniswapV3",
|
|
66
|
+
"srcAmount": "98740492593011019905",
|
|
67
|
+
"destAmount": "592446751",
|
|
68
|
+
"percent": 100,
|
|
69
|
+
"poolAddresses": ["0x4585fe77225b41b697c938b018e2ac67ac5a20c0"],
|
|
70
|
+
"data": {
|
|
71
|
+
"path": [
|
|
72
|
+
{
|
|
73
|
+
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
74
|
+
"tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
75
|
+
"fee": "500",
|
|
76
|
+
"currentFee": "500"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"gasUSD": "6.616883"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"gasCostUSD": "128.869712",
|
|
88
|
+
"gasCost": "2590294",
|
|
89
|
+
"side": "SELL",
|
|
90
|
+
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
91
|
+
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
92
|
+
"contractMethod": "multiSwap",
|
|
93
|
+
"partnerFee": 0,
|
|
94
|
+
"srcUSD": "1052000.0000000000",
|
|
95
|
+
"destUSD": "245142.6166287800",
|
|
96
|
+
"maxImpact": 100,
|
|
97
|
+
"partner": "any",
|
|
98
|
+
"maxImpactReached": false,
|
|
99
|
+
"hmac": "ec0b318bb7815c7604056e9486b90098c9b4d379"
|
|
100
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"blockNumber": 19040282,
|
|
3
|
+
"network": 1,
|
|
4
|
+
"srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
5
|
+
"srcDecimals": 8,
|
|
6
|
+
"srcAmount": "200000000",
|
|
7
|
+
"destToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
8
|
+
"destDecimals": 18,
|
|
9
|
+
"destAmount": "71850307128466490177572",
|
|
10
|
+
"bestRoute": [
|
|
11
|
+
{
|
|
12
|
+
"percent": 100,
|
|
13
|
+
"swaps": [
|
|
14
|
+
{
|
|
15
|
+
"srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
16
|
+
"srcDecimals": 8,
|
|
17
|
+
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
18
|
+
"destDecimals": 18,
|
|
19
|
+
"swapExchanges": [
|
|
20
|
+
{
|
|
21
|
+
"exchange": "UniswapV3",
|
|
22
|
+
"srcAmount": "200000000",
|
|
23
|
+
"destAmount": "33290954892243157138",
|
|
24
|
+
"percent": 100,
|
|
25
|
+
"poolAddresses": ["0xcbcdf9626bc03e24f779434178a73a0b4bad62ed"],
|
|
26
|
+
"data": {
|
|
27
|
+
"path": [
|
|
28
|
+
{
|
|
29
|
+
"tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
30
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
31
|
+
"fee": "3000",
|
|
32
|
+
"currentFee": "3000"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"gasUSD": "5.434566"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
42
|
+
"srcDecimals": 18,
|
|
43
|
+
"destToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
44
|
+
"destDecimals": 18,
|
|
45
|
+
"swapExchanges": [
|
|
46
|
+
{
|
|
47
|
+
"exchange": "UniswapV3",
|
|
48
|
+
"srcAmount": "665819097844863143",
|
|
49
|
+
"destAmount": "1431561152736741648613",
|
|
50
|
+
"percent": 2,
|
|
51
|
+
"poolAddresses": ["0x73a6a761fe483ba19debb8f56ac5bbf14c0cdad1"],
|
|
52
|
+
"data": {
|
|
53
|
+
"path": [
|
|
54
|
+
{
|
|
55
|
+
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
56
|
+
"tokenOut": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
57
|
+
"fee": "3000",
|
|
58
|
+
"currentFee": "3000"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"gasUSD": "28.169996"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"exchange": "SushiSwapV3",
|
|
66
|
+
"srcAmount": "32625135794398293995",
|
|
67
|
+
"destAmount": "70418745975729748528959",
|
|
68
|
+
"percent": 98,
|
|
69
|
+
"poolAddresses": ["0x87c7056bbe6084f03304196be51c6b90b6d85aa2"],
|
|
70
|
+
"data": {
|
|
71
|
+
"path": [
|
|
72
|
+
{
|
|
73
|
+
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
74
|
+
"tokenOut": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
75
|
+
"fee": "3000",
|
|
76
|
+
"currentFee": "3000"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"gasUSD": "11.417574"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"gasCostUSD": "51.369110",
|
|
88
|
+
"gasCost": "1030300",
|
|
89
|
+
"side": "SELL",
|
|
90
|
+
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
91
|
+
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
92
|
+
"contractMethod": "multiSwap",
|
|
93
|
+
"partnerFee": 0,
|
|
94
|
+
"srcUSD": "82884.0000000000",
|
|
95
|
+
"destUSD": "75658.3734062752",
|
|
96
|
+
"maxImpact": 100,
|
|
97
|
+
"partner": "any",
|
|
98
|
+
"maxImpactReached": false,
|
|
99
|
+
"hmac": "a532e72e082c7ede359f619d79ccd9c0e1eab72c"
|
|
100
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
{
|
|
2
|
+
"blockNumber": 19040473,
|
|
3
|
+
"network": 1,
|
|
4
|
+
"srcToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
5
|
+
"srcDecimals": 18,
|
|
6
|
+
"srcAmount": "100000000000000000000000000",
|
|
7
|
+
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
8
|
+
"destDecimals": 18,
|
|
9
|
+
"destAmount": "23196544011101550354425",
|
|
10
|
+
"bestRoute": [
|
|
11
|
+
{
|
|
12
|
+
"percent": 100,
|
|
13
|
+
"swaps": [
|
|
14
|
+
{
|
|
15
|
+
"srcToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
16
|
+
"srcDecimals": 18,
|
|
17
|
+
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
18
|
+
"destDecimals": 6,
|
|
19
|
+
"swapExchanges": [
|
|
20
|
+
{
|
|
21
|
+
"exchange": "CurveV1",
|
|
22
|
+
"srcAmount": "2000000000000000000000000",
|
|
23
|
+
"destAmount": "1989103591329",
|
|
24
|
+
"percent": 2,
|
|
25
|
+
"poolAddresses": ["0xa5407eae9ba41422680e2e00537571bcc53efbfd"],
|
|
26
|
+
"data": {
|
|
27
|
+
"exchange": "0xa5407eae9ba41422680e2e00537571bcc53efbfd",
|
|
28
|
+
"i": 0,
|
|
29
|
+
"j": 1,
|
|
30
|
+
"underlyingSwap": true,
|
|
31
|
+
"deadline": 0,
|
|
32
|
+
"gasUSD": "10.949092"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"exchange": "CurveV1",
|
|
37
|
+
"srcAmount": "34000000000000000000000000",
|
|
38
|
+
"destAmount": "32882142496369",
|
|
39
|
+
"percent": 34,
|
|
40
|
+
"poolAddresses": ["0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7"],
|
|
41
|
+
"data": {
|
|
42
|
+
"exchange": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7",
|
|
43
|
+
"i": 0,
|
|
44
|
+
"j": 1,
|
|
45
|
+
"underlyingSwap": false,
|
|
46
|
+
"deadline": 0,
|
|
47
|
+
"gasUSD": "10.949092"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"exchange": "UniswapV3",
|
|
52
|
+
"srcAmount": "20000000000000000000000000",
|
|
53
|
+
"destAmount": "19987945165236",
|
|
54
|
+
"percent": 20,
|
|
55
|
+
"poolAddresses": ["0x6c6bc977e13df9b0de53b251522280bb72383700"],
|
|
56
|
+
"data": {
|
|
57
|
+
"path": [
|
|
58
|
+
{
|
|
59
|
+
"tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
60
|
+
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
61
|
+
"fee": "500",
|
|
62
|
+
"currentFee": "500"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"gasUSD": "5.967255"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"exchange": "UniswapV3",
|
|
70
|
+
"srcAmount": "44000000000000000000000000",
|
|
71
|
+
"destAmount": "43991226383014",
|
|
72
|
+
"percent": 44,
|
|
73
|
+
"poolAddresses": ["0x5777d92f208679db4b9778590fa3cab3ac9e2168"],
|
|
74
|
+
"data": {
|
|
75
|
+
"path": [
|
|
76
|
+
{
|
|
77
|
+
"tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
78
|
+
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
79
|
+
"fee": "100",
|
|
80
|
+
"currentFee": "100"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"gasUSD": "7.281146"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
90
|
+
"srcDecimals": 6,
|
|
91
|
+
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
92
|
+
"destDecimals": 18,
|
|
93
|
+
"swapExchanges": [
|
|
94
|
+
{
|
|
95
|
+
"exchange": "UniswapV3",
|
|
96
|
+
"srcAmount": "31632133643503",
|
|
97
|
+
"destAmount": "690766863089193206593",
|
|
98
|
+
"percent": 32,
|
|
99
|
+
"poolAddresses": ["0x7bea39867e4169dbe237d55c8242a8f2fcdcc387"],
|
|
100
|
+
"data": {
|
|
101
|
+
"path": [
|
|
102
|
+
{
|
|
103
|
+
"tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
104
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
105
|
+
"fee": "10000",
|
|
106
|
+
"currentFee": "10000"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"gasUSD": "87.428500"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"exchange": "UniswapV3",
|
|
114
|
+
"srcAmount": "43494183759817",
|
|
115
|
+
"destAmount": "13609979664300659606373",
|
|
116
|
+
"percent": 44,
|
|
117
|
+
"poolAddresses": ["0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"],
|
|
118
|
+
"data": {
|
|
119
|
+
"path": [
|
|
120
|
+
{
|
|
121
|
+
"tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
122
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
123
|
+
"fee": "3000",
|
|
124
|
+
"currentFee": "3000"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"gasUSD": "170.203635"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"exchange": "UniswapV3",
|
|
132
|
+
"srcAmount": "23724100232628",
|
|
133
|
+
"destAmount": "8895797483711697541459",
|
|
134
|
+
"percent": 24,
|
|
135
|
+
"poolAddresses": ["0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"],
|
|
136
|
+
"data": {
|
|
137
|
+
"path": [
|
|
138
|
+
{
|
|
139
|
+
"tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
140
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
141
|
+
"fee": "500",
|
|
142
|
+
"currentFee": "500"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"gasUSD": "170.203635"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"gasCostUSD": "469.163115",
|
|
154
|
+
"gasCost": "8569900",
|
|
155
|
+
"side": "SELL",
|
|
156
|
+
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
157
|
+
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
158
|
+
"contractMethod": "multiSwap",
|
|
159
|
+
"partnerFee": 0,
|
|
160
|
+
"srcUSD": "99966100.0000000000",
|
|
161
|
+
"destUSD": "57722976.0135454309",
|
|
162
|
+
"maxImpact": 100,
|
|
163
|
+
"partner": "any",
|
|
164
|
+
"maxImpactReached": false,
|
|
165
|
+
"hmac": "355815fe5a0a2c9e89ed53893ec79d02f50be5cb"
|
|
166
|
+
}
|
package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
{
|
|
2
|
+
"blockNumber": 19040457,
|
|
3
|
+
"network": 1,
|
|
4
|
+
"srcToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
5
|
+
"srcDecimals": 6,
|
|
6
|
+
"srcAmount": "1000000000000",
|
|
7
|
+
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
8
|
+
"destDecimals": 18,
|
|
9
|
+
"destAmount": "373532720317771981846",
|
|
10
|
+
"bestRoute": [
|
|
11
|
+
{
|
|
12
|
+
"percent": 100,
|
|
13
|
+
"swaps": [
|
|
14
|
+
{
|
|
15
|
+
"srcToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
16
|
+
"srcDecimals": 6,
|
|
17
|
+
"destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
18
|
+
"destDecimals": 18,
|
|
19
|
+
"swapExchanges": [
|
|
20
|
+
{
|
|
21
|
+
"exchange": "UniswapV3",
|
|
22
|
+
"srcAmount": "60000000000",
|
|
23
|
+
"destAmount": "0",
|
|
24
|
+
"percent": 6,
|
|
25
|
+
"poolAddresses": ["0x6f48eca74b38d2936b02ab603ff4e36a6c0e3a77"],
|
|
26
|
+
"data": {
|
|
27
|
+
"path": [
|
|
28
|
+
{
|
|
29
|
+
"tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
30
|
+
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
31
|
+
"fee": "500",
|
|
32
|
+
"currentFee": "500"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"gasUSD": "0.000000"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"exchange": "UniswapV3",
|
|
40
|
+
"srcAmount": "460000000000",
|
|
41
|
+
"destAmount": "457864187951813179132761",
|
|
42
|
+
"percent": 46,
|
|
43
|
+
"poolAddresses": ["0x48da0965ab2d2cbf1c17c09cfb5cbe67ad5b1406"],
|
|
44
|
+
"data": {
|
|
45
|
+
"path": [
|
|
46
|
+
{
|
|
47
|
+
"tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
48
|
+
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
49
|
+
"fee": "100",
|
|
50
|
+
"currentFee": "100"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"gasUSD": "12.737492"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"exchange": "UniswapV3",
|
|
58
|
+
"srcAmount": "20000000000",
|
|
59
|
+
"destAmount": "19958385664875089259102",
|
|
60
|
+
"percent": 2,
|
|
61
|
+
"poolAddresses": ["0x6f48eca74b38d2936b02ab603ff4e36a6c0e3a77"],
|
|
62
|
+
"data": {
|
|
63
|
+
"path": [
|
|
64
|
+
{
|
|
65
|
+
"tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
66
|
+
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
67
|
+
"fee": "500",
|
|
68
|
+
"currentFee": "500"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"gasUSD": "5.628194"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"exchange": "UniswapV3",
|
|
76
|
+
"srcAmount": "460000000000",
|
|
77
|
+
"destAmount": "457864187951813179132761",
|
|
78
|
+
"percent": 46,
|
|
79
|
+
"poolAddresses": ["0x48da0965ab2d2cbf1c17c09cfb5cbe67ad5b1406"],
|
|
80
|
+
"data": {
|
|
81
|
+
"path": [
|
|
82
|
+
{
|
|
83
|
+
"tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
84
|
+
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
85
|
+
"fee": "100",
|
|
86
|
+
"currentFee": "100"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"gasUSD": "12.737492"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"srcToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
96
|
+
"srcDecimals": 18,
|
|
97
|
+
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
98
|
+
"destDecimals": 18,
|
|
99
|
+
"swapExchanges": [
|
|
100
|
+
{
|
|
101
|
+
"exchange": "UniswapV3",
|
|
102
|
+
"srcAmount": "400567502627475469685291",
|
|
103
|
+
"destAmount": "159857076481099704731",
|
|
104
|
+
"percent": 42.81,
|
|
105
|
+
"poolAddresses": ["0xc2e9f25be6257c210d7adf0d4cd6e3e881ba25f8"],
|
|
106
|
+
"data": {
|
|
107
|
+
"path": [
|
|
108
|
+
{
|
|
109
|
+
"tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
110
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
111
|
+
"fee": "3000",
|
|
112
|
+
"currentFee": "3000"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"gasUSD": "7.659422"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"exchange": "UniswapV3",
|
|
120
|
+
"srcAmount": "76445608420146568262762",
|
|
121
|
+
"destAmount": "30532348540459551709",
|
|
122
|
+
"percent": 8.17,
|
|
123
|
+
"poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
|
|
124
|
+
"data": {
|
|
125
|
+
"path": [
|
|
126
|
+
{
|
|
127
|
+
"tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
128
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
129
|
+
"fee": "500",
|
|
130
|
+
"currentFee": "500"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"gasUSD": "6.643808"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"exchange": "UniswapV3",
|
|
138
|
+
"srcAmount": "382228042100732841313809",
|
|
139
|
+
"destAmount": "152610946755753173697",
|
|
140
|
+
"percent": 40.85,
|
|
141
|
+
"poolAddresses": ["0xc2e9f25be6257c210d7adf0d4cd6e3e881ba25f8"],
|
|
142
|
+
"data": {
|
|
143
|
+
"path": [
|
|
144
|
+
{
|
|
145
|
+
"tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
146
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
147
|
+
"fee": "3000",
|
|
148
|
+
"currentFee": "3000"
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"gasUSD": "6.643808"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"exchange": "UniswapV3",
|
|
156
|
+
"srcAmount": "76445608420146568262762",
|
|
157
|
+
"destAmount": "30532348540459551709",
|
|
158
|
+
"percent": 8.17,
|
|
159
|
+
"poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
|
|
160
|
+
"data": {
|
|
161
|
+
"path": [
|
|
162
|
+
{
|
|
163
|
+
"tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
164
|
+
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
165
|
+
"fee": "500",
|
|
166
|
+
"currentFee": "500"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"gasUSD": "6.643808"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"gasCostUSD": "2.704072",
|
|
178
|
+
"gasCost": "63900",
|
|
179
|
+
"side": "SELL",
|
|
180
|
+
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
181
|
+
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
182
|
+
"contractMethod": "multiSwap",
|
|
183
|
+
"partnerFee": 0,
|
|
184
|
+
"srcUSD": "998440.0000000000",
|
|
185
|
+
"destUSD": "929816.3240510139",
|
|
186
|
+
"maxImpact": 100,
|
|
187
|
+
"partner": "any",
|
|
188
|
+
"maxImpactReached": false,
|
|
189
|
+
"hmac": "cce48c8ef442430c13a5c388f830cb3cc54711e5"
|
|
190
|
+
}
|