@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,348 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"forkId": "e9fbf8d8-2593-45b7-8a5a-cf6c91b14bfa",
|
|
4
|
-
"lastTx": "a91e4a3b-bbe8-46d0-8ce4-e43ed33bcac5",
|
|
5
|
-
"blockNumber": 19225505,
|
|
6
|
-
"network": 1,
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x2CB58e2A69D148BE879fB63F544197ADCcf202b0",
|
|
9
|
-
"Executor01": "0xff3ff8b15549336E49249534d616261047d17c0c",
|
|
10
|
-
"Executor02": "0x03c730A8502A942eF6Def73f954B44408793e850",
|
|
11
|
-
"Executor03": "0xa8faE97872BC7972d029eCFa03D92438384c4C10"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19225505,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "10000000000000000000000",
|
|
20
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
21
|
-
"destDecimals": 6,
|
|
22
|
-
"destAmount": "26693763441388",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 62,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
31
|
-
"destDecimals": 6,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "UniswapV3",
|
|
35
|
-
"srcAmount": "1600220000000000000000",
|
|
36
|
-
"destAmount": "4272823561088",
|
|
37
|
-
"percent": 25.81,
|
|
38
|
-
"poolAddresses": ["0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"],
|
|
39
|
-
"data": {
|
|
40
|
-
"path": [
|
|
41
|
-
{
|
|
42
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
43
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
44
|
-
"fee": "3000",
|
|
45
|
-
"currentFee": "3000"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"gasUSD": "25.865782"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"exchange": "UniswapV3",
|
|
53
|
-
"srcAmount": "4599780000000000000000",
|
|
54
|
-
"destAmount": "12313787789000",
|
|
55
|
-
"percent": 74.19,
|
|
56
|
-
"poolAddresses": ["0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"],
|
|
57
|
-
"data": {
|
|
58
|
-
"path": [
|
|
59
|
-
{
|
|
60
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
61
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
62
|
-
"fee": "500",
|
|
63
|
-
"currentFee": "500"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
"gasUSD": "104.179409"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"percent": 4,
|
|
75
|
-
"swaps": [
|
|
76
|
-
{
|
|
77
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
78
|
-
"srcDecimals": 18,
|
|
79
|
-
"destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
80
|
-
"destDecimals": 8,
|
|
81
|
-
"swapExchanges": [
|
|
82
|
-
{
|
|
83
|
-
"exchange": "UniswapV3",
|
|
84
|
-
"srcAmount": "200000000000000000000",
|
|
85
|
-
"destAmount": "1063912700",
|
|
86
|
-
"percent": 50,
|
|
87
|
-
"poolAddresses": ["0xcbcdf9626bc03e24f779434178a73a0b4bad62ed"],
|
|
88
|
-
"data": {
|
|
89
|
-
"path": [
|
|
90
|
-
{
|
|
91
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
92
|
-
"tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
93
|
-
"fee": "3000",
|
|
94
|
-
"currentFee": "3000"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"gasUSD": "8.674985"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"exchange": "UniswapV3",
|
|
102
|
-
"srcAmount": "200000000000000000000",
|
|
103
|
-
"destAmount": "1065746003",
|
|
104
|
-
"percent": 50,
|
|
105
|
-
"poolAddresses": ["0x4585fe77225b41b697c938b018e2ac67ac5a20c0"],
|
|
106
|
-
"data": {
|
|
107
|
-
"path": [
|
|
108
|
-
{
|
|
109
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
110
|
-
"tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
111
|
-
"fee": "500",
|
|
112
|
-
"currentFee": "500"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"gasUSD": "12.495162"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
122
|
-
"srcDecimals": 8,
|
|
123
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
124
|
-
"destDecimals": 6,
|
|
125
|
-
"swapExchanges": [
|
|
126
|
-
{
|
|
127
|
-
"exchange": "UniswapV3",
|
|
128
|
-
"srcAmount": "1080801792",
|
|
129
|
-
"destAmount": "540486455362",
|
|
130
|
-
"percent": 50.75,
|
|
131
|
-
"poolAddresses": ["0x99ac8ca7087fa4a2a1fb6357269965a2014abc35"],
|
|
132
|
-
"data": {
|
|
133
|
-
"path": [
|
|
134
|
-
{
|
|
135
|
-
"tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
136
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
137
|
-
"fee": "3000",
|
|
138
|
-
"currentFee": "3000"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"gasUSD": "23.955693"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"exchange": "UniswapV3",
|
|
146
|
-
"srcAmount": "1048856911",
|
|
147
|
-
"destAmount": "517661871329",
|
|
148
|
-
"percent": 49.25,
|
|
149
|
-
"poolAddresses": ["0x9a772018fbd77fcd2d25657e5c547baff3fd7d16"],
|
|
150
|
-
"data": {
|
|
151
|
-
"path": [
|
|
152
|
-
{
|
|
153
|
-
"tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
154
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
155
|
-
"fee": "500",
|
|
156
|
-
"currentFee": "500"
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"gasUSD": "25.865782"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
]
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"percent": 26,
|
|
168
|
-
"swaps": [
|
|
169
|
-
{
|
|
170
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
171
|
-
"srcDecimals": 18,
|
|
172
|
-
"destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
173
|
-
"destDecimals": 6,
|
|
174
|
-
"swapExchanges": [
|
|
175
|
-
{
|
|
176
|
-
"exchange": "UniswapV3",
|
|
177
|
-
"srcAmount": "1200160000000000000000",
|
|
178
|
-
"destAmount": "3200057035466",
|
|
179
|
-
"percent": 46.16,
|
|
180
|
-
"poolAddresses": ["0x4e68ccd3e89f51c3074ca5072bbac773960dfa36"],
|
|
181
|
-
"data": {
|
|
182
|
-
"path": [
|
|
183
|
-
{
|
|
184
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
185
|
-
"tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
186
|
-
"fee": "3000",
|
|
187
|
-
"currentFee": "3000"
|
|
188
|
-
}
|
|
189
|
-
],
|
|
190
|
-
"gasUSD": "25.865782"
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"exchange": "UniswapV3",
|
|
195
|
-
"srcAmount": "1199900000000000000000",
|
|
196
|
-
"destAmount": "3197655764426",
|
|
197
|
-
"percent": 46.15,
|
|
198
|
-
"poolAddresses": ["0x11b815efb8f581194ae79006d24e0d814b7697f6"],
|
|
199
|
-
"data": {
|
|
200
|
-
"path": [
|
|
201
|
-
{
|
|
202
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
203
|
-
"tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
204
|
-
"fee": "500",
|
|
205
|
-
"currentFee": "500"
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"gasUSD": "56.427197"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"exchange": "UniswapV3",
|
|
213
|
-
"srcAmount": "199940000000000000000",
|
|
214
|
-
"destAmount": "526624746068",
|
|
215
|
-
"percent": 7.69,
|
|
216
|
-
"poolAddresses": ["0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b"],
|
|
217
|
-
"data": {
|
|
218
|
-
"path": [
|
|
219
|
-
{
|
|
220
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
221
|
-
"tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
222
|
-
"fee": "100",
|
|
223
|
-
"currentFee": "100"
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
"gasUSD": "35.416224"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
]
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"srcToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
233
|
-
"srcDecimals": 6,
|
|
234
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
235
|
-
"destDecimals": 6,
|
|
236
|
-
"swapExchanges": [
|
|
237
|
-
{
|
|
238
|
-
"exchange": "UniswapV3",
|
|
239
|
-
"srcAmount": "6924337545960",
|
|
240
|
-
"destAmount": "6926215313805",
|
|
241
|
-
"percent": 100,
|
|
242
|
-
"poolAddresses": ["0x3416cf6c708da44db2624d63ea0aaef7113527c6"],
|
|
243
|
-
"data": {
|
|
244
|
-
"path": [
|
|
245
|
-
{
|
|
246
|
-
"tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
247
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
248
|
-
"fee": "100",
|
|
249
|
-
"currentFee": "100"
|
|
250
|
-
}
|
|
251
|
-
],
|
|
252
|
-
"gasUSD": "10.585074"
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
]
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"percent": 8,
|
|
261
|
-
"swaps": [
|
|
262
|
-
{
|
|
263
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
264
|
-
"srcDecimals": 18,
|
|
265
|
-
"destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
266
|
-
"destDecimals": 18,
|
|
267
|
-
"swapExchanges": [
|
|
268
|
-
{
|
|
269
|
-
"exchange": "UniswapV3",
|
|
270
|
-
"srcAmount": "600000000000000000000",
|
|
271
|
-
"destAmount": "1599267106467021651331472",
|
|
272
|
-
"percent": 75,
|
|
273
|
-
"poolAddresses": ["0xc2e9f25be6257c210d7adf0d4cd6e3e881ba25f8"],
|
|
274
|
-
"data": {
|
|
275
|
-
"path": [
|
|
276
|
-
{
|
|
277
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
278
|
-
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
279
|
-
"fee": "3000",
|
|
280
|
-
"currentFee": "3000"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"gasUSD": "31.596047"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"exchange": "UniswapV3",
|
|
288
|
-
"srcAmount": "200000000000000000000",
|
|
289
|
-
"destAmount": "523731401787810095520765",
|
|
290
|
-
"percent": 25,
|
|
291
|
-
"poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
|
|
292
|
-
"data": {
|
|
293
|
-
"path": [
|
|
294
|
-
{
|
|
295
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
296
|
-
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
297
|
-
"fee": "500",
|
|
298
|
-
"currentFee": "500"
|
|
299
|
-
}
|
|
300
|
-
],
|
|
301
|
-
"gasUSD": "25.865782"
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
]
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"srcToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
308
|
-
"srcDecimals": 18,
|
|
309
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
310
|
-
"destDecimals": 6,
|
|
311
|
-
"swapExchanges": [
|
|
312
|
-
{
|
|
313
|
-
"exchange": "UniswapV3",
|
|
314
|
-
"srcAmount": "2122998508254831746852237",
|
|
315
|
-
"destAmount": "2122788450804",
|
|
316
|
-
"percent": 100,
|
|
317
|
-
"poolAddresses": ["0x5777d92f208679db4b9778590fa3cab3ac9e2168"],
|
|
318
|
-
"data": {
|
|
319
|
-
"path": [
|
|
320
|
-
{
|
|
321
|
-
"tokenIn": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
322
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
323
|
-
"fee": "100",
|
|
324
|
-
"currentFee": "100"
|
|
325
|
-
}
|
|
326
|
-
],
|
|
327
|
-
"gasUSD": "10.585074"
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
}
|
|
332
|
-
]
|
|
333
|
-
}
|
|
334
|
-
],
|
|
335
|
-
"gasCostUSD": "411.169555",
|
|
336
|
-
"gasCost": "5166289",
|
|
337
|
-
"side": "SELL",
|
|
338
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
339
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
340
|
-
"contractMethod": "megaSwap",
|
|
341
|
-
"partnerFee": 0,
|
|
342
|
-
"srcUSD": "27443800.0000000000",
|
|
343
|
-
"destUSD": "26666856.1278390809",
|
|
344
|
-
"partner": "paraswap.io",
|
|
345
|
-
"maxImpactReached": false,
|
|
346
|
-
"hmac": "eed89c297851bd6335f8e3793e68dcb883428ef5"
|
|
347
|
-
}
|
|
348
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 1,
|
|
4
|
-
"blockNumber": 19275337,
|
|
5
|
-
"forkId": "1e2197b9-dcc1-41b1-934d-363b7cf9d6ee",
|
|
6
|
-
"lastTx": "904c0831-c9b9-4d5d-94b9-2415ea979c80",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x17e18bd19537F92A33AB8AB031E788b0C9523583",
|
|
9
|
-
"Executor01": "0x58Fb5e5aC3D7ef14A388408EE1E98492C91994F8",
|
|
10
|
-
"Executor02": "0x129Ab616600ad8E99952DaC0813fC9c1eb5aA286",
|
|
11
|
-
"Executor03": "0xbaF00AEEb1DB590BbF05c024f7864f739BE2c5DE"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19275337,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "1000000000000000000000",
|
|
20
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
21
|
-
"destDecimals": 18,
|
|
22
|
-
"destAmount": "999627797393732315192",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 100,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
|
|
31
|
-
"destDecimals": 18,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "wstETH",
|
|
35
|
-
"srcAmount": "1000000000000000000000",
|
|
36
|
-
"destAmount": "863753415042413994131",
|
|
37
|
-
"percent": 100,
|
|
38
|
-
"poolAddresses": ["0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"],
|
|
39
|
-
"data": {
|
|
40
|
-
"gasUSD": "7.318534"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"srcToken": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
|
|
47
|
-
"srcDecimals": 18,
|
|
48
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
49
|
-
"destDecimals": 18,
|
|
50
|
-
"swapExchanges": [
|
|
51
|
-
{
|
|
52
|
-
"exchange": "UniswapV3",
|
|
53
|
-
"srcAmount": "708277800334779475187",
|
|
54
|
-
"destAmount": "819689311753845422620",
|
|
55
|
-
"percent": 82,
|
|
56
|
-
"poolAddresses": ["0x109830a1aaad605bbf02a9dfa7b0b92ec2fb7daa"],
|
|
57
|
-
"data": {
|
|
58
|
-
"path": [
|
|
59
|
-
{
|
|
60
|
-
"tokenIn": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
|
|
61
|
-
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
62
|
-
"fee": "100",
|
|
63
|
-
"currentFee": "100"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
"gasUSD": "16.222749"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"exchange": "SolidlyV3",
|
|
71
|
-
"srcAmount": "155475614707634518944",
|
|
72
|
-
"destAmount": "179938485639886892572",
|
|
73
|
-
"percent": 18,
|
|
74
|
-
"poolAddresses": ["0x4370e48e610d2e02d3d091a9d79c8eb9a54c5b1c"],
|
|
75
|
-
"data": {
|
|
76
|
-
"zeroForOne": true,
|
|
77
|
-
"poolAddress": "0x4370e48e610d2e02d3d091a9d79c8eb9a54c5b1c",
|
|
78
|
-
"gasUSD": "7.318534"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"gasCostUSD": "40.727639",
|
|
87
|
-
"gasCost": "333900",
|
|
88
|
-
"others": [],
|
|
89
|
-
"side": "SELL",
|
|
90
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
91
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
92
|
-
"contractMethod": "megaSwap",
|
|
93
|
-
"partnerFee": 0,
|
|
94
|
-
"srcUSD": "2900590.0000000000",
|
|
95
|
-
"destUSD": "2903099.0566349295",
|
|
96
|
-
"partner": "paraswap.io",
|
|
97
|
-
"maxImpactReached": false,
|
|
98
|
-
"hmac": "2f22d01a5e05da5e34a691c515053498b30202f0"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"forkId": "785ec0e1-6ea8-4cf8-a438-42442e55d8f6",
|
|
4
|
-
"lastTx": "9154730d-f363-4550-889e-c256fcafe41d",
|
|
5
|
-
"blockNumber": 19218101,
|
|
6
|
-
"network": 1,
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0xa418B3888391a32579A0da24A9d7bb4cc127913B",
|
|
9
|
-
"Executor01": "0x90e4Ef6Bb2A7BCc4ad3DB0b31F57a8fbC4bBcF11",
|
|
10
|
-
"Executor02": "0xFAbA6069FB7bf7B24143099E72344CfF7B714ca2",
|
|
11
|
-
"Executor03": "0xD7E52fc32552957f93325BF71F4b9e3E881A87Cf"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19218101,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "50000000000000000000",
|
|
20
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
21
|
-
"destDecimals": 6,
|
|
22
|
-
"destAmount": "130605210827",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 68,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
31
|
-
"destDecimals": 6,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "MaverickV1",
|
|
35
|
-
"srcAmount": "19998800000000000000",
|
|
36
|
-
"destAmount": "52213043863",
|
|
37
|
-
"percent": 58.82,
|
|
38
|
-
"poolAddresses": ["0x11a653ddfbb61e0feff5484919f06d9d254bf65f"],
|
|
39
|
-
"data": {
|
|
40
|
-
"fee": "0.0004",
|
|
41
|
-
"exchange": "0x4a585e0f7c18e2c414221d6402652d5e0990e5f8",
|
|
42
|
-
"pool": "0x11a653ddfbb61e0feff5484919f06d9d254bf65f",
|
|
43
|
-
"tokenA": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
44
|
-
"tokenB": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
45
|
-
"tickSpacing": "198",
|
|
46
|
-
"protocolFeeRatio": "0",
|
|
47
|
-
"lookback": "10800000000000000000000",
|
|
48
|
-
"gasUSD": "14.650924"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"exchange": "BalancerV2",
|
|
53
|
-
"srcAmount": "14001200000000000000",
|
|
54
|
-
"destAmount": "36245284021",
|
|
55
|
-
"percent": 41.18,
|
|
56
|
-
"poolAddresses": [
|
|
57
|
-
"0x6f0ed6f346007563d3266de350d174a831bde0ca",
|
|
58
|
-
"0x08775ccb6674d6bdceb0797c364c2653ed84f384",
|
|
59
|
-
"0x96646936b91d6b9d7d0c47c496afbf3d6ec7b6f8"
|
|
60
|
-
],
|
|
61
|
-
"data": {
|
|
62
|
-
"swaps": [
|
|
63
|
-
{
|
|
64
|
-
"poolId": "0x6f0ed6f346007563d3266de350d174a831bde0ca0001000000000000000005db",
|
|
65
|
-
"amount": "9999400000000000000"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"poolId": "0x08775ccb6674d6bdceb0797c364c2653ed84f3840002000000000000000004f0",
|
|
69
|
-
"amount": "3002200000000000000"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"poolId": "0x96646936b91d6b9d7d0c47c496afbf3d6ec7b6f8000200000000000000000019",
|
|
73
|
-
"amount": "999600000000000000"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"gasUSD": "28.150794"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"percent": 32,
|
|
85
|
-
"swaps": [
|
|
86
|
-
{
|
|
87
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
88
|
-
"srcDecimals": 18,
|
|
89
|
-
"destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
90
|
-
"destDecimals": 6,
|
|
91
|
-
"swapExchanges": [
|
|
92
|
-
{
|
|
93
|
-
"exchange": "MaverickV1",
|
|
94
|
-
"srcAmount": "16000000000000000000",
|
|
95
|
-
"destAmount": "42142699201",
|
|
96
|
-
"percent": 100,
|
|
97
|
-
"poolAddresses": ["0x352b186090068eb35d532428676ce510e17ab581"],
|
|
98
|
-
"data": {
|
|
99
|
-
"fee": "0.0004",
|
|
100
|
-
"exchange": "0x4a585e0f7c18e2c414221d6402652d5e0990e5f8",
|
|
101
|
-
"pool": "0x352b186090068eb35d532428676ce510e17ab581",
|
|
102
|
-
"tokenA": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
103
|
-
"tokenB": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
104
|
-
"tickSpacing": "198",
|
|
105
|
-
"protocolFeeRatio": "0",
|
|
106
|
-
"lookback": "10800000000000000000000",
|
|
107
|
-
"gasUSD": "14.650924"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
]
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"srcToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
114
|
-
"srcDecimals": 6,
|
|
115
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
116
|
-
"destDecimals": 6,
|
|
117
|
-
"swapExchanges": [
|
|
118
|
-
{
|
|
119
|
-
"exchange": "BalancerV2",
|
|
120
|
-
"srcAmount": "42142699201",
|
|
121
|
-
"destAmount": "42146882943",
|
|
122
|
-
"percent": 100,
|
|
123
|
-
"poolAddresses": ["0x79c58f70905f734641735bc61e45c19dd9ad60bc"],
|
|
124
|
-
"data": {
|
|
125
|
-
"swaps": [
|
|
126
|
-
{
|
|
127
|
-
"poolId": "0x79c58f70905f734641735bc61e45c19dd9ad60bc0000000000000000000004e7",
|
|
128
|
-
"amount": "42142699201"
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"gasUSD": "8.210648"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"gasCostUSD": "72.606031",
|
|
140
|
-
"gasCost": "1299908",
|
|
141
|
-
"side": "SELL",
|
|
142
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
143
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
144
|
-
"contractMethod": "megaSwap",
|
|
145
|
-
"partnerFee": 0,
|
|
146
|
-
"srcUSD": "132987.5000000000",
|
|
147
|
-
"destUSD": "130539.7776163757",
|
|
148
|
-
"maxImpact": 100,
|
|
149
|
-
"partner": "any",
|
|
150
|
-
"maxImpactReached": false,
|
|
151
|
-
"hmac": "6c563bee49412bd346465b7a6d4407fd262e66ba"
|
|
152
|
-
}
|
|
153
|
-
}
|