@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,628 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 137,
|
|
4
|
-
"blockNumber": 53550894,
|
|
5
|
-
"forkId": "069a1a51-36c8-4262-a6af-390bb42a8ef6",
|
|
6
|
-
"lastTx": "9ba1183b-1aaa-40d6-922a-f1105c175b41",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x5Fa02286b0AC0Ef710911AFe90761064610A3CB9",
|
|
9
|
-
"Executor01": "0x62c5d540DCb18e45E3596D1C89300e9F18f04DF4",
|
|
10
|
-
"Executor02": "0xC10D34a061e4dcC33E196bd460a69F1854e94302",
|
|
11
|
-
"Executor03": "0xf109411E5282A97122eE8d11B04a63075F48E490"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 53550894,
|
|
16
|
-
"network": 137,
|
|
17
|
-
"srcToken": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "1000000000000000000000000",
|
|
20
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
21
|
-
"destDecimals": 18,
|
|
22
|
-
"destAmount": "1115272823212864113243522",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 74,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
|
|
31
|
-
"destDecimals": 6,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "CurveV2",
|
|
35
|
-
"srcAmount": "100048000000000000000000",
|
|
36
|
-
"destAmount": "99982873078",
|
|
37
|
-
"percent": 13.52,
|
|
38
|
-
"poolAddresses": ["0x3FCD5De6A9fC8A99995c406c77DDa3eD7E406f81"],
|
|
39
|
-
"data": {
|
|
40
|
-
"i": 0,
|
|
41
|
-
"j": 1,
|
|
42
|
-
"exchange": "0x3FCD5De6A9fC8A99995c406c77DDa3eD7E406f81",
|
|
43
|
-
"originalPoolAddress": "0x751b1e21756bdbc307cbcc5085c042a0e9aaef36",
|
|
44
|
-
"swapType": 1,
|
|
45
|
-
"gasUSD": "0.039329"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"exchange": "CurveV2",
|
|
50
|
-
"srcAmount": "99974000000000000000000",
|
|
51
|
-
"destAmount": "99982873078",
|
|
52
|
-
"percent": 13.51,
|
|
53
|
-
"poolAddresses": ["0x1d8b86e3D88cDb2d34688e87E72F388Cb541B7C8"],
|
|
54
|
-
"data": {
|
|
55
|
-
"i": 0,
|
|
56
|
-
"j": 1,
|
|
57
|
-
"exchange": "0x1d8b86e3D88cDb2d34688e87E72F388Cb541B7C8",
|
|
58
|
-
"originalPoolAddress": "0x92215849c439e1f8612b6646060b4e3e5ef822cc",
|
|
59
|
-
"swapType": 1,
|
|
60
|
-
"gasUSD": "0.039329"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"exchange": "CurveV2",
|
|
65
|
-
"srcAmount": "99974000000000000000000",
|
|
66
|
-
"destAmount": "99982873078",
|
|
67
|
-
"percent": 13.51,
|
|
68
|
-
"poolAddresses": ["0x3d8EADb739D1Ef95dd53D718e4810721837c69c1"],
|
|
69
|
-
"data": {
|
|
70
|
-
"i": 1,
|
|
71
|
-
"j": 2,
|
|
72
|
-
"exchange": "0x3d8EADb739D1Ef95dd53D718e4810721837c69c1",
|
|
73
|
-
"originalPoolAddress": "0xc7c939A474CB10EB837894D1ed1a77C61B268Fa7",
|
|
74
|
-
"swapType": 2,
|
|
75
|
-
"gasUSD": "0.039329"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"exchange": "CurveV1",
|
|
80
|
-
"srcAmount": "99974000000000000000000",
|
|
81
|
-
"destAmount": "99982873078",
|
|
82
|
-
"percent": 13.51,
|
|
83
|
-
"poolAddresses": ["0x445fe580ef8d70ff569ab36e80c647af338db351"],
|
|
84
|
-
"data": {
|
|
85
|
-
"exchange": "0x445fe580ef8d70ff569ab36e80c647af338db351",
|
|
86
|
-
"i": 0,
|
|
87
|
-
"j": 1,
|
|
88
|
-
"underlyingSwap": true,
|
|
89
|
-
"deadline": 0,
|
|
90
|
-
"gasUSD": "0.038205"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"exchange": "UniswapV3",
|
|
95
|
-
"srcAmount": "200022000000000000000000",
|
|
96
|
-
"destAmount": "200000461308",
|
|
97
|
-
"percent": 27.03,
|
|
98
|
-
"poolAddresses": ["0x5645dcb64c059aa11212707fbf4e7f984440a8cf"],
|
|
99
|
-
"data": {
|
|
100
|
-
"path": [
|
|
101
|
-
{
|
|
102
|
-
"tokenIn": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
103
|
-
"tokenOut": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
|
|
104
|
-
"fee": "100",
|
|
105
|
-
"currentFee": "100"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
"gasUSD": "0.020339"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"exchange": "QuickSwapV3",
|
|
113
|
-
"srcAmount": "60014000000000000000000",
|
|
114
|
-
"destAmount": "59997205918",
|
|
115
|
-
"percent": 8.11,
|
|
116
|
-
"poolAddresses": ["0xe7e0eb9f6bcccfe847fdf62a3628319a092f11a2"],
|
|
117
|
-
"data": {
|
|
118
|
-
"feeOnTransfer": false,
|
|
119
|
-
"path": [
|
|
120
|
-
{
|
|
121
|
-
"tokenIn": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
122
|
-
"tokenOut": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174"
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"gasUSD": "0.012248"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"exchange": "IronV2",
|
|
130
|
-
"srcAmount": "19980000000000000000000",
|
|
131
|
-
"destAmount": "19998736759",
|
|
132
|
-
"percent": 2.7,
|
|
133
|
-
"poolAddresses": ["0x837503e8A8753ae17fB8C8151B8e6f586defCb57"],
|
|
134
|
-
"data": {
|
|
135
|
-
"i": "2",
|
|
136
|
-
"j": "0",
|
|
137
|
-
"exchange": "0x837503e8A8753ae17fB8C8151B8e6f586defCb57",
|
|
138
|
-
"deadline": "1708002078",
|
|
139
|
-
"gasUSD": "0.022474"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"exchange": "Synapse",
|
|
144
|
-
"srcAmount": "60014000000000000000000",
|
|
145
|
-
"destAmount": "59998015937",
|
|
146
|
-
"percent": 8.11,
|
|
147
|
-
"poolAddresses": ["0x85fCD7Dd0a1e1A9FCD5FD886ED522dE8221C3EE5"],
|
|
148
|
-
"data": {
|
|
149
|
-
"i": "1",
|
|
150
|
-
"j": "2",
|
|
151
|
-
"exchange": "0x85fCD7Dd0a1e1A9FCD5FD886ED522dE8221C3EE5",
|
|
152
|
-
"deadline": "1708002078",
|
|
153
|
-
"gasUSD": "0.022474"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"srcToken": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
|
|
160
|
-
"srcDecimals": 6,
|
|
161
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
162
|
-
"destDecimals": 18,
|
|
163
|
-
"swapExchanges": [
|
|
164
|
-
{
|
|
165
|
-
"exchange": "QuickSwap",
|
|
166
|
-
"srcAmount": "19977999630",
|
|
167
|
-
"destAmount": "22007813608395683354215",
|
|
168
|
-
"percent": 2.7,
|
|
169
|
-
"poolAddresses": ["0x6e7a5FAFcec6BB1e78bAE2A1F0B612012BF14827"],
|
|
170
|
-
"data": {
|
|
171
|
-
"router": "0xf3938337F7294fEf84e9B2c6D548A93F956Cc281",
|
|
172
|
-
"path": [
|
|
173
|
-
"0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
|
|
174
|
-
"0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
|
|
175
|
-
],
|
|
176
|
-
"factory": "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32",
|
|
177
|
-
"initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
|
|
178
|
-
"feeFactor": 10000,
|
|
179
|
-
"pools": [
|
|
180
|
-
{
|
|
181
|
-
"address": "0x6e7a5FAFcec6BB1e78bAE2A1F0B612012BF14827",
|
|
182
|
-
"fee": 30,
|
|
183
|
-
"direction": false
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
"gasUSD": "0.010113"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"exchange": "UniswapV3",
|
|
191
|
-
"srcAmount": "19977999630",
|
|
192
|
-
"destAmount": "22124577213524503536691",
|
|
193
|
-
"percent": 2.7,
|
|
194
|
-
"poolAddresses": ["0x88f3c15523544835ff6c738ddb30995339ad57d6"],
|
|
195
|
-
"data": {
|
|
196
|
-
"path": [
|
|
197
|
-
{
|
|
198
|
-
"tokenIn": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
|
|
199
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
200
|
-
"fee": "3000",
|
|
201
|
-
"currentFee": "3000"
|
|
202
|
-
}
|
|
203
|
-
],
|
|
204
|
-
"gasUSD": "0.023035"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"exchange": "UniswapV3",
|
|
209
|
-
"srcAmount": "200001974077",
|
|
210
|
-
"destAmount": "222150741880970956843789",
|
|
211
|
-
"percent": 27.03,
|
|
212
|
-
"poolAddresses": ["0xa374094527e1673a86de625aa59517c5de346d32"],
|
|
213
|
-
"data": {
|
|
214
|
-
"path": [
|
|
215
|
-
{
|
|
216
|
-
"tokenIn": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
|
|
217
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
218
|
-
"fee": "500",
|
|
219
|
-
"currentFee": "500"
|
|
220
|
-
}
|
|
221
|
-
],
|
|
222
|
-
"gasUSD": "0.068881"
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"exchange": "Retro",
|
|
227
|
-
"srcAmount": "19977999630",
|
|
228
|
-
"destAmount": "22104284639427034891125",
|
|
229
|
-
"percent": 2.7,
|
|
230
|
-
"poolAddresses": ["0xec15624fbb314eb05baad4ca49b7904c0cb6b645"],
|
|
231
|
-
"data": {
|
|
232
|
-
"path": [
|
|
233
|
-
{
|
|
234
|
-
"tokenIn": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
|
|
235
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
236
|
-
"fee": "500",
|
|
237
|
-
"currentFee": "500"
|
|
238
|
-
}
|
|
239
|
-
],
|
|
240
|
-
"gasUSD": "0.025732"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"exchange": "QuickSwapV3",
|
|
245
|
-
"srcAmount": "79985991113",
|
|
246
|
-
"destAmount": "88892024824644829627453",
|
|
247
|
-
"percent": 10.81,
|
|
248
|
-
"poolAddresses": ["0xae81fac689a1b4b1e06e7ef4a2ab4cd8ac0a087d"],
|
|
249
|
-
"data": {
|
|
250
|
-
"feeOnTransfer": false,
|
|
251
|
-
"path": [
|
|
252
|
-
{
|
|
253
|
-
"tokenIn": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
|
|
254
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
|
|
255
|
-
}
|
|
256
|
-
],
|
|
257
|
-
"gasUSD": "0.020339"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"exchange": "WooFiV2",
|
|
262
|
-
"srcAmount": "400003948154",
|
|
263
|
-
"destAmount": "448097426116425051212909",
|
|
264
|
-
"percent": 54.06,
|
|
265
|
-
"poolAddresses": ["0x7081a38158bd050ae4a86e38e0225bc281887d7e"],
|
|
266
|
-
"data": {
|
|
267
|
-
"gasUSD": "0.016293"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
]
|
|
271
|
-
}
|
|
272
|
-
]
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"percent": 10,
|
|
276
|
-
"swaps": [
|
|
277
|
-
{
|
|
278
|
-
"srcToken": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
279
|
-
"srcDecimals": 18,
|
|
280
|
-
"destToken": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
|
|
281
|
-
"destDecimals": 6,
|
|
282
|
-
"swapExchanges": [
|
|
283
|
-
{
|
|
284
|
-
"exchange": "UniswapV3",
|
|
285
|
-
"srcAmount": "20000000000000000000000",
|
|
286
|
-
"destAmount": "19987695943",
|
|
287
|
-
"percent": 20,
|
|
288
|
-
"poolAddresses": ["0x254aa3a898071d6a2da0db11da73b02b4646078f"],
|
|
289
|
-
"data": {
|
|
290
|
-
"path": [
|
|
291
|
-
{
|
|
292
|
-
"tokenIn": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
293
|
-
"tokenOut": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
|
|
294
|
-
"fee": "100",
|
|
295
|
-
"currentFee": "100"
|
|
296
|
-
}
|
|
297
|
-
],
|
|
298
|
-
"gasUSD": "0.017642"
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"exchange": "QuickSwapV3",
|
|
303
|
-
"srcAmount": "40000000000000000000000",
|
|
304
|
-
"destAmount": "39883156830",
|
|
305
|
-
"percent": 40,
|
|
306
|
-
"poolAddresses": ["0xeffa9e5e63ba18160ee26bda56b42f3368719615"],
|
|
307
|
-
"data": {
|
|
308
|
-
"feeOnTransfer": false,
|
|
309
|
-
"path": [
|
|
310
|
-
{
|
|
311
|
-
"tokenIn": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
312
|
-
"tokenOut": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f"
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
"gasUSD": "0.036519"
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"exchange": "Hashflow",
|
|
320
|
-
"srcAmount": "40000000000000000000000",
|
|
321
|
-
"destAmount": "39937919015",
|
|
322
|
-
"percent": 40,
|
|
323
|
-
"poolAddresses": ["0x55084eE0fEf03f14a305cd24286359A35D735151"],
|
|
324
|
-
"data": {
|
|
325
|
-
"mm": "mm9_2",
|
|
326
|
-
"gasUSD": "0.011237"
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
]
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"srcToken": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
|
|
333
|
-
"srcDecimals": 6,
|
|
334
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
335
|
-
"destDecimals": 18,
|
|
336
|
-
"swapExchanges": [
|
|
337
|
-
{
|
|
338
|
-
"exchange": "UniswapV3",
|
|
339
|
-
"srcAmount": "9032693847",
|
|
340
|
-
"destAmount": "10069335889411047410636",
|
|
341
|
-
"percent": 9.05,
|
|
342
|
-
"poolAddresses": ["0x781067ef296e5c4a4203f81c593274824b7c185d"],
|
|
343
|
-
"data": {
|
|
344
|
-
"path": [
|
|
345
|
-
{
|
|
346
|
-
"tokenIn": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
|
|
347
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
348
|
-
"fee": "3000",
|
|
349
|
-
"currentFee": "3000"
|
|
350
|
-
}
|
|
351
|
-
],
|
|
352
|
-
"gasUSD": "0.014945"
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"exchange": "UniswapV3",
|
|
357
|
-
"srcAmount": "72720671125",
|
|
358
|
-
"destAmount": "81154229147771911563335",
|
|
359
|
-
"percent": 72.86,
|
|
360
|
-
"poolAddresses": ["0x9b08288c3be4f62bbf8d1c20ac9c5e6f9467d8b7"],
|
|
361
|
-
"data": {
|
|
362
|
-
"path": [
|
|
363
|
-
{
|
|
364
|
-
"tokenIn": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
|
|
365
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
366
|
-
"fee": "500",
|
|
367
|
-
"currentFee": "500"
|
|
368
|
-
}
|
|
369
|
-
],
|
|
370
|
-
"gasUSD": "0.041913"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"exchange": "QuickSwapV3",
|
|
375
|
-
"srcAmount": "18055406816",
|
|
376
|
-
"destAmount": "20179622523536391072224",
|
|
377
|
-
"percent": 18.09,
|
|
378
|
-
"poolAddresses": ["0x5b41eedcfc8e0ae47493d4945aa1ae4fe05430ff"],
|
|
379
|
-
"data": {
|
|
380
|
-
"feeOnTransfer": false,
|
|
381
|
-
"path": [
|
|
382
|
-
{
|
|
383
|
-
"tokenIn": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
|
|
384
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
|
|
385
|
-
}
|
|
386
|
-
],
|
|
387
|
-
"gasUSD": "0.014945"
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
]
|
|
391
|
-
}
|
|
392
|
-
]
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"percent": 2,
|
|
396
|
-
"swaps": [
|
|
397
|
-
{
|
|
398
|
-
"srcToken": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
399
|
-
"srcDecimals": 18,
|
|
400
|
-
"destToken": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
|
|
401
|
-
"destDecimals": 18,
|
|
402
|
-
"swapExchanges": [
|
|
403
|
-
{
|
|
404
|
-
"exchange": "QuickSwapV3",
|
|
405
|
-
"srcAmount": "20000000000000000000000",
|
|
406
|
-
"destAmount": "7124346962337690723",
|
|
407
|
-
"percent": 100,
|
|
408
|
-
"poolAddresses": ["0x5bf44bb003efe05f711a14a189c0902d6626e919"],
|
|
409
|
-
"data": {
|
|
410
|
-
"feeOnTransfer": false,
|
|
411
|
-
"path": [
|
|
412
|
-
{
|
|
413
|
-
"tokenIn": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
414
|
-
"tokenOut": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619"
|
|
415
|
-
}
|
|
416
|
-
],
|
|
417
|
-
"gasUSD": "0.012248"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
]
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"srcToken": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
|
|
424
|
-
"srcDecimals": 18,
|
|
425
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
426
|
-
"destDecimals": 18,
|
|
427
|
-
"swapExchanges": [
|
|
428
|
-
{
|
|
429
|
-
"exchange": "UniswapV3",
|
|
430
|
-
"srcAmount": "4963532528660669127",
|
|
431
|
-
"destAmount": "15535252248629021919047",
|
|
432
|
-
"percent": 69.67,
|
|
433
|
-
"poolAddresses": ["0x86f1d8390222a3691c28938ec7404a1661e618e0"],
|
|
434
|
-
"data": {
|
|
435
|
-
"path": [
|
|
436
|
-
{
|
|
437
|
-
"tokenIn": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
|
|
438
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
439
|
-
"fee": "500",
|
|
440
|
-
"currentFee": "500"
|
|
441
|
-
}
|
|
442
|
-
],
|
|
443
|
-
"gasUSD": "0.014945"
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"exchange": "Retro",
|
|
448
|
-
"srcAmount": "1654273364654811786",
|
|
449
|
-
"destAmount": "5175385419510767643857",
|
|
450
|
-
"percent": 23.22,
|
|
451
|
-
"poolAddresses": ["0x1a34eabbe928bf431b679959379b2225d60d9cda"],
|
|
452
|
-
"data": {
|
|
453
|
-
"path": [
|
|
454
|
-
{
|
|
455
|
-
"tokenIn": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
|
|
456
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
457
|
-
"fee": "500",
|
|
458
|
-
"currentFee": "500"
|
|
459
|
-
}
|
|
460
|
-
],
|
|
461
|
-
"gasUSD": "0.014945"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
"exchange": "QuickSwapV3",
|
|
466
|
-
"srcAmount": "506541069022209810",
|
|
467
|
-
"destAmount": "1585181726372905795234",
|
|
468
|
-
"percent": 7.11,
|
|
469
|
-
"poolAddresses": ["0x479e1b71a702a595e19b6d5932cd5c863ab57ee0"],
|
|
470
|
-
"data": {
|
|
471
|
-
"feeOnTransfer": false,
|
|
472
|
-
"path": [
|
|
473
|
-
{
|
|
474
|
-
"tokenIn": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
|
|
475
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270"
|
|
476
|
-
}
|
|
477
|
-
],
|
|
478
|
-
"gasUSD": "0.012248"
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
]
|
|
482
|
-
}
|
|
483
|
-
]
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"percent": 10,
|
|
487
|
-
"swaps": [
|
|
488
|
-
{
|
|
489
|
-
"srcToken": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
490
|
-
"srcDecimals": 18,
|
|
491
|
-
"destToken": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
|
|
492
|
-
"destDecimals": 6,
|
|
493
|
-
"swapExchanges": [
|
|
494
|
-
{
|
|
495
|
-
"exchange": "UniswapV3",
|
|
496
|
-
"srcAmount": "100000000000000000000000",
|
|
497
|
-
"destAmount": "100007855156",
|
|
498
|
-
"percent": 100,
|
|
499
|
-
"poolAddresses": ["0xf369277650ad6654f25412ea8bfbd5942733babc"],
|
|
500
|
-
"data": {
|
|
501
|
-
"path": [
|
|
502
|
-
{
|
|
503
|
-
"tokenIn": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
504
|
-
"tokenOut": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
|
|
505
|
-
"fee": "100",
|
|
506
|
-
"currentFee": "100"
|
|
507
|
-
}
|
|
508
|
-
],
|
|
509
|
-
"gasUSD": "0.020339"
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
]
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"srcToken": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
|
|
516
|
-
"srcDecimals": 6,
|
|
517
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
518
|
-
"destDecimals": 18,
|
|
519
|
-
"swapExchanges": [
|
|
520
|
-
{
|
|
521
|
-
"exchange": "UniswapV3",
|
|
522
|
-
"srcAmount": "8010629198",
|
|
523
|
-
"destAmount": "8909135893995366810136",
|
|
524
|
-
"percent": 8.01,
|
|
525
|
-
"poolAddresses": ["0x2db87c4831b2fec2e35591221455834193b50d1b"],
|
|
526
|
-
"data": {
|
|
527
|
-
"path": [
|
|
528
|
-
{
|
|
529
|
-
"tokenIn": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
|
|
530
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
531
|
-
"fee": "3000",
|
|
532
|
-
"currentFee": "3000"
|
|
533
|
-
}
|
|
534
|
-
],
|
|
535
|
-
"gasUSD": "0.017642"
|
|
536
|
-
}
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"exchange": "UniswapV3",
|
|
540
|
-
"srcAmount": "91997225958",
|
|
541
|
-
"destAmount": "102519800656664600135859",
|
|
542
|
-
"percent": 91.99,
|
|
543
|
-
"poolAddresses": ["0xb6e57ed85c4c9dbfef2a68711e9d6f36c56e0fcb"],
|
|
544
|
-
"data": {
|
|
545
|
-
"path": [
|
|
546
|
-
{
|
|
547
|
-
"tokenIn": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
|
|
548
|
-
"tokenOut": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
549
|
-
"fee": "500",
|
|
550
|
-
"currentFee": "500"
|
|
551
|
-
}
|
|
552
|
-
],
|
|
553
|
-
"gasUSD": "0.044610"
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
]
|
|
557
|
-
}
|
|
558
|
-
]
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"percent": 4,
|
|
562
|
-
"swaps": [
|
|
563
|
-
{
|
|
564
|
-
"srcToken": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
565
|
-
"srcDecimals": 18,
|
|
566
|
-
"destToken": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
567
|
-
"destDecimals": 18,
|
|
568
|
-
"swapExchanges": [
|
|
569
|
-
{
|
|
570
|
-
"exchange": "Hashflow",
|
|
571
|
-
"srcAmount": "20000000000000000000000",
|
|
572
|
-
"destAmount": "22370674329454774228386",
|
|
573
|
-
"percent": 50,
|
|
574
|
-
"poolAddresses": ["0x55084eE0fEf03f14a305cd24286359A35D735151"],
|
|
575
|
-
"data": {
|
|
576
|
-
"mm": "mm9_2",
|
|
577
|
-
"gasUSD": "0.011237"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"exchange": "Hashflow",
|
|
582
|
-
"srcAmount": "20000000000000000000000",
|
|
583
|
-
"destAmount": "22397337094129267198618",
|
|
584
|
-
"percent": 50,
|
|
585
|
-
"poolAddresses": ["0x55084eE0fEf03f14a305cd24286359A35D735151"],
|
|
586
|
-
"data": {
|
|
587
|
-
"mm": "mm29_8",
|
|
588
|
-
"gasUSD": "0.011237"
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
]
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"srcToken": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
|
|
595
|
-
"srcDecimals": 18,
|
|
596
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
597
|
-
"destDecimals": 18,
|
|
598
|
-
"swapExchanges": [
|
|
599
|
-
{
|
|
600
|
-
"exchange": "Wmatic",
|
|
601
|
-
"srcAmount": "44768011423584041427004",
|
|
602
|
-
"destAmount": "44768011423584041427012",
|
|
603
|
-
"percent": 100,
|
|
604
|
-
"poolAddresses": ["0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"],
|
|
605
|
-
"data": {
|
|
606
|
-
"gasUSD": "0.005618"
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
]
|
|
610
|
-
}
|
|
611
|
-
]
|
|
612
|
-
}
|
|
613
|
-
],
|
|
614
|
-
"gasCostUSD": "0.730707",
|
|
615
|
-
"gasCost": "6502830",
|
|
616
|
-
"others": [],
|
|
617
|
-
"side": "SELL",
|
|
618
|
-
"version": "6",
|
|
619
|
-
"contractAddress": "0x80492bC2A01172A6796af80576D185018BF34d5B",
|
|
620
|
-
"contractMethod": "swapExactAmountIn",
|
|
621
|
-
"partnerFee": 0,
|
|
622
|
-
"srcUSD": "999643.0000000000",
|
|
623
|
-
"destUSD": "994606.9953781715",
|
|
624
|
-
"partner": "paraswap.io",
|
|
625
|
-
"maxImpactReached": false,
|
|
626
|
-
"hmac": "b737a3da8ad801660b51185074ff82785d7acc7a"
|
|
627
|
-
}
|
|
628
|
-
}
|