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