@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,340 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 1,
|
|
4
|
-
"blockNumber": 19221202,
|
|
5
|
-
"forkId": "a82f0776-867a-4e17-96bc-fa1a3d134875",
|
|
6
|
-
"lastTx": "ef0ec08b-6777-4905-a5dc-695017ca4f9d",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0xf1F575752Ee870be4Be1E529a1FBbc77afCC12e5",
|
|
9
|
-
"Executor01": "0x95E9Ba2610c1798EDf58503E50d36d66C886B3c0",
|
|
10
|
-
"Executor02": "0xeD3646986bb6ABA0b7Cf87bf2b78889463CFDdf6",
|
|
11
|
-
"Executor03": "0x477B1E7EdE724f8d3c8535F5d07F069C8329621d"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19221202,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "1000000000000000000000",
|
|
20
|
-
"destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
21
|
-
"destDecimals": 18,
|
|
22
|
-
"destAmount": "2621244428243607916465023",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 4,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
31
|
-
"destDecimals": 18,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "UniswapV3",
|
|
35
|
-
"srcAmount": "20000000000000000000",
|
|
36
|
-
"destAmount": "52317783885251099906582",
|
|
37
|
-
"percent": 50,
|
|
38
|
-
"poolAddresses": ["0xc2e9f25be6257c210d7adf0d4cd6e3e881ba25f8"],
|
|
39
|
-
"data": {
|
|
40
|
-
"path": [
|
|
41
|
-
{
|
|
42
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
43
|
-
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
44
|
-
"fee": "3000",
|
|
45
|
-
"currentFee": "3000"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"gasUSD": "9.111588"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"exchange": "UniswapV3",
|
|
53
|
-
"srcAmount": "20000000000000000000",
|
|
54
|
-
"destAmount": "52352293305472602071434",
|
|
55
|
-
"percent": 50,
|
|
56
|
-
"poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
|
|
57
|
-
"data": {
|
|
58
|
-
"path": [
|
|
59
|
-
{
|
|
60
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
61
|
-
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
62
|
-
"fee": "500",
|
|
63
|
-
"currentFee": "500"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
"gasUSD": "12.399981"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"percent": 60,
|
|
75
|
-
"swaps": [
|
|
76
|
-
{
|
|
77
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
78
|
-
"srcDecimals": 18,
|
|
79
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
80
|
-
"destDecimals": 6,
|
|
81
|
-
"swapExchanges": [
|
|
82
|
-
{
|
|
83
|
-
"exchange": "UniswapV2",
|
|
84
|
-
"srcAmount": "40020000000000000000",
|
|
85
|
-
"destAmount": "104676205087",
|
|
86
|
-
"percent": 6.67,
|
|
87
|
-
"poolAddresses": ["0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc"],
|
|
88
|
-
"data": {
|
|
89
|
-
"router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
|
|
90
|
-
"path": [
|
|
91
|
-
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
92
|
-
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
|
|
93
|
-
],
|
|
94
|
-
"factory": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
|
|
95
|
-
"initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
|
|
96
|
-
"feeFactor": 10000,
|
|
97
|
-
"pools": [
|
|
98
|
-
{
|
|
99
|
-
"address": "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc",
|
|
100
|
-
"fee": 30,
|
|
101
|
-
"direction": false
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"gasUSD": "5.480654"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"exchange": "UniswapV3",
|
|
109
|
-
"srcAmount": "60000000000000000000",
|
|
110
|
-
"destAmount": "157034453077",
|
|
111
|
-
"percent": 10,
|
|
112
|
-
"poolAddresses": ["0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"],
|
|
113
|
-
"data": {
|
|
114
|
-
"path": [
|
|
115
|
-
{
|
|
116
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
117
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
118
|
-
"fee": "3000",
|
|
119
|
-
"currentFee": "3000"
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"gasUSD": "9.111588"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"exchange": "UniswapV3",
|
|
127
|
-
"srcAmount": "480000000000000000000",
|
|
128
|
-
"destAmount": "1258842988854",
|
|
129
|
-
"percent": 80,
|
|
130
|
-
"poolAddresses": ["0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"],
|
|
131
|
-
"data": {
|
|
132
|
-
"path": [
|
|
133
|
-
{
|
|
134
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
135
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
136
|
-
"fee": "500",
|
|
137
|
-
"currentFee": "500"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"gasUSD": "17.332570"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"exchange": "SwaapV2",
|
|
145
|
-
"srcAmount": "19980000000000000000",
|
|
146
|
-
"destAmount": "52522459147",
|
|
147
|
-
"percent": 3.33,
|
|
148
|
-
"data": {
|
|
149
|
-
"gasUSD": "10.276227"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
]
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
156
|
-
"srcDecimals": 6,
|
|
157
|
-
"destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
158
|
-
"destDecimals": 18,
|
|
159
|
-
"swapExchanges": [
|
|
160
|
-
{
|
|
161
|
-
"exchange": "MakerPsm",
|
|
162
|
-
"srcAmount": "1573076106165",
|
|
163
|
-
"destAmount": "1573076106190054579270829",
|
|
164
|
-
"percent": 100,
|
|
165
|
-
"poolAddresses": ["0x89b78cfa322f6c5de0abceecab66aee45393cc5a"],
|
|
166
|
-
"data": {
|
|
167
|
-
"toll": "0",
|
|
168
|
-
"psmAddress": "0x89b78cfa322f6c5de0abceecab66aee45393cc5a",
|
|
169
|
-
"gemJoinAddress": "0x0a59649758aa4d66e25f08dd01271e891fe52199",
|
|
170
|
-
"gemDecimals": 6,
|
|
171
|
-
"gasUSD": "6.850818"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
]
|
|
175
|
-
}
|
|
176
|
-
]
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"percent": 36,
|
|
180
|
-
"swaps": [
|
|
181
|
-
{
|
|
182
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
183
|
-
"srcDecimals": 18,
|
|
184
|
-
"destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
185
|
-
"destDecimals": 6,
|
|
186
|
-
"swapExchanges": [
|
|
187
|
-
{
|
|
188
|
-
"exchange": "UniswapV2",
|
|
189
|
-
"srcAmount": "60012000000000000000",
|
|
190
|
-
"destAmount": "157187297977",
|
|
191
|
-
"percent": 16.67,
|
|
192
|
-
"poolAddresses": ["0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852"],
|
|
193
|
-
"data": {
|
|
194
|
-
"router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
|
|
195
|
-
"path": [
|
|
196
|
-
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
197
|
-
"0xdac17f958d2ee523a2206206994597c13d831ec7"
|
|
198
|
-
],
|
|
199
|
-
"factory": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
|
|
200
|
-
"initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
|
|
201
|
-
"feeFactor": 10000,
|
|
202
|
-
"pools": [
|
|
203
|
-
{
|
|
204
|
-
"address": "0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852",
|
|
205
|
-
"fee": 30,
|
|
206
|
-
"direction": true
|
|
207
|
-
}
|
|
208
|
-
],
|
|
209
|
-
"gasUSD": "5.480654"
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"exchange": "UniswapV3",
|
|
214
|
-
"srcAmount": "39996000000000000000",
|
|
215
|
-
"destAmount": "104683829526",
|
|
216
|
-
"percent": 11.11,
|
|
217
|
-
"poolAddresses": ["0x4e68ccd3e89f51c3074ca5072bbac773960dfa36"],
|
|
218
|
-
"data": {
|
|
219
|
-
"path": [
|
|
220
|
-
{
|
|
221
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
222
|
-
"tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
223
|
-
"fee": "3000",
|
|
224
|
-
"currentFee": "3000"
|
|
225
|
-
}
|
|
226
|
-
],
|
|
227
|
-
"gasUSD": "7.467392"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"exchange": "UniswapV3",
|
|
232
|
-
"srcAmount": "200016000000000000000",
|
|
233
|
-
"destAmount": "524383516433",
|
|
234
|
-
"percent": 55.56,
|
|
235
|
-
"poolAddresses": ["0x11b815efb8f581194ae79006d24e0d814b7697f6"],
|
|
236
|
-
"data": {
|
|
237
|
-
"path": [
|
|
238
|
-
{
|
|
239
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
240
|
-
"tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
241
|
-
"fee": "500",
|
|
242
|
-
"currentFee": "500"
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
"gasUSD": "12.399981"
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"exchange": "UniswapV3",
|
|
250
|
-
"srcAmount": "19980000000000000000",
|
|
251
|
-
"destAmount": "52504165869",
|
|
252
|
-
"percent": 5.55,
|
|
253
|
-
"poolAddresses": ["0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b"],
|
|
254
|
-
"data": {
|
|
255
|
-
"path": [
|
|
256
|
-
{
|
|
257
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
258
|
-
"tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
259
|
-
"fee": "100",
|
|
260
|
-
"currentFee": "100"
|
|
261
|
-
}
|
|
262
|
-
],
|
|
263
|
-
"gasUSD": "9.111588"
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"exchange": "PancakeswapV3",
|
|
268
|
-
"srcAmount": "39996000000000000000",
|
|
269
|
-
"destAmount": "104783685778",
|
|
270
|
-
"percent": 11.11,
|
|
271
|
-
"poolAddresses": ["0x6ca298d2983ab03aa1da7679389d955a4efee15c"],
|
|
272
|
-
"data": {
|
|
273
|
-
"path": [
|
|
274
|
-
{
|
|
275
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
276
|
-
"tokenOut": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
277
|
-
"fee": "500"
|
|
278
|
-
}
|
|
279
|
-
],
|
|
280
|
-
"gasUSD": "9.111588"
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
]
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"srcToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
287
|
-
"srcDecimals": 6,
|
|
288
|
-
"destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
289
|
-
"destDecimals": 18,
|
|
290
|
-
"swapExchanges": [
|
|
291
|
-
{
|
|
292
|
-
"exchange": "DODOV2",
|
|
293
|
-
"srcAmount": "783234625583",
|
|
294
|
-
"destAmount": "783240747146941660330715",
|
|
295
|
-
"percent": 83.01,
|
|
296
|
-
"poolAddresses": ["0x3058ef90929cb8180174d74c507176cca6835d73"],
|
|
297
|
-
"data": {
|
|
298
|
-
"dodoProxy": "0xa356867fDCEa8e71AEaF87805808803806231FdC",
|
|
299
|
-
"dodoPairs": ["0x3058ef90929cb8180174d74c507176cca6835d73"],
|
|
300
|
-
"directions": "1",
|
|
301
|
-
"gasUSD": "13.701636"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"exchange": "UniswapV3",
|
|
306
|
-
"srcAmount": "160307870000",
|
|
307
|
-
"destAmount": "160257497715887974885463",
|
|
308
|
-
"percent": 16.99,
|
|
309
|
-
"poolAddresses": ["0x48da0965ab2d2cbf1c17c09cfb5cbe67ad5b1406"],
|
|
310
|
-
"data": {
|
|
311
|
-
"path": [
|
|
312
|
-
{
|
|
313
|
-
"tokenIn": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
314
|
-
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
315
|
-
"fee": "100",
|
|
316
|
-
"currentFee": "100"
|
|
317
|
-
}
|
|
318
|
-
],
|
|
319
|
-
"gasUSD": "12.399981"
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
]
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
}
|
|
326
|
-
],
|
|
327
|
-
"gasCostUSD": "152.588264",
|
|
328
|
-
"gasCost": "2227300",
|
|
329
|
-
"side": "SELL",
|
|
330
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
331
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
332
|
-
"contractMethod": "megaSwap",
|
|
333
|
-
"partnerFee": 0,
|
|
334
|
-
"srcUSD": "2634930.0000000000",
|
|
335
|
-
"destUSD": "2621244.4282436079",
|
|
336
|
-
"partner": "paraswap.io",
|
|
337
|
-
"maxImpactReached": false,
|
|
338
|
-
"hmac": "5b8da84a5dfa02cfbdbc30e35c26b1dbb1793d58"
|
|
339
|
-
}
|
|
340
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 1,
|
|
4
|
-
"blockNumber": 19225542,
|
|
5
|
-
"forkId": "2a04e7e6-f000-4211-8c7c-abade3dbf9cb",
|
|
6
|
-
"lastTx": "8a80d358-6be4-4078-8594-f12755b81945",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x4fa208D3Be986f6587240cC70A15B48C45cD848e",
|
|
9
|
-
"Executor01": "0xE728AD94dc693a24731b4C9cEf95e2676b89E2bb",
|
|
10
|
-
"Executor02": "0xE3aAfAa13A56a55cFb62D3C487759bff37e98838",
|
|
11
|
-
"Executor03": "0xE0978E68d61a2bf08243b729Ecbf6d6cbdcCE964"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19225542,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
18
|
-
"srcDecimals": 8,
|
|
19
|
-
"srcAmount": "100000000000",
|
|
20
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
21
|
-
"destDecimals": 18,
|
|
22
|
-
"destAmount": "18199188599525510339409",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 98,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
29
|
-
"srcDecimals": 8,
|
|
30
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
31
|
-
"destDecimals": 18,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "UniswapV3",
|
|
35
|
-
"srcAmount": "77998200000",
|
|
36
|
-
"destAmount": "14195735216360916708099",
|
|
37
|
-
"percent": 79.59,
|
|
38
|
-
"poolAddresses": ["0xcbcdf9626bc03e24f779434178a73a0b4bad62ed"],
|
|
39
|
-
"data": {
|
|
40
|
-
"path": [
|
|
41
|
-
{
|
|
42
|
-
"tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
43
|
-
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
44
|
-
"fee": "3000",
|
|
45
|
-
"currentFee": "3000"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"gasUSD": "21.417552"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"exchange": "UniswapV3",
|
|
53
|
-
"srcAmount": "20001800000",
|
|
54
|
-
"destAmount": "3646755459033927315853",
|
|
55
|
-
"percent": 20.41,
|
|
56
|
-
"poolAddresses": ["0x4585fe77225b41b697c938b018e2ac67ac5a20c0"],
|
|
57
|
-
"data": {
|
|
58
|
-
"path": [
|
|
59
|
-
{
|
|
60
|
-
"tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
61
|
-
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
62
|
-
"fee": "500",
|
|
63
|
-
"currentFee": "500"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
"gasUSD": "51.468025"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"percent": 2,
|
|
75
|
-
"swaps": [
|
|
76
|
-
{
|
|
77
|
-
"srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
78
|
-
"srcDecimals": 8,
|
|
79
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
80
|
-
"destDecimals": 6,
|
|
81
|
-
"swapExchanges": [
|
|
82
|
-
{
|
|
83
|
-
"exchange": "UniswapV3",
|
|
84
|
-
"srcAmount": "2000000000",
|
|
85
|
-
"destAmount": "983990003621",
|
|
86
|
-
"percent": 100,
|
|
87
|
-
"poolAddresses": ["0x99ac8ca7087fa4a2a1fb6357269965a2014abc35"],
|
|
88
|
-
"data": {
|
|
89
|
-
"path": [
|
|
90
|
-
{
|
|
91
|
-
"tokenIn": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
92
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
93
|
-
"fee": "3000",
|
|
94
|
-
"currentFee": "3000"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"gasUSD": "19.835948"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
104
|
-
"srcDecimals": 6,
|
|
105
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
106
|
-
"destDecimals": 18,
|
|
107
|
-
"swapExchanges": [
|
|
108
|
-
{
|
|
109
|
-
"exchange": "UniswapV3",
|
|
110
|
-
"srcAmount": "264693310974",
|
|
111
|
-
"destAmount": "95772469991015478496",
|
|
112
|
-
"percent": 26.9,
|
|
113
|
-
"poolAddresses": ["0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"],
|
|
114
|
-
"data": {
|
|
115
|
-
"path": [
|
|
116
|
-
{
|
|
117
|
-
"tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
118
|
-
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
119
|
-
"fee": "3000",
|
|
120
|
-
"currentFee": "3000"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"gasUSD": "8.764721"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"exchange": "UniswapV3",
|
|
128
|
-
"srcAmount": "719296692647",
|
|
129
|
-
"destAmount": "260925454139650836961",
|
|
130
|
-
"percent": 73.1,
|
|
131
|
-
"poolAddresses": ["0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"],
|
|
132
|
-
"data": {
|
|
133
|
-
"path": [
|
|
134
|
-
{
|
|
135
|
-
"tokenIn": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
136
|
-
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
137
|
-
"fee": "500",
|
|
138
|
-
"currentFee": "500"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"gasUSD": "16.672740"
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
]
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"gasCostUSD": "124.412912",
|
|
150
|
-
"gasCost": "1887900",
|
|
151
|
-
"side": "SELL",
|
|
152
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
153
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
154
|
-
"contractMethod": "megaSwap",
|
|
155
|
-
"partnerFee": 0,
|
|
156
|
-
"srcUSD": "51469000.0000000000",
|
|
157
|
-
"destUSD": "49972060.0241211273",
|
|
158
|
-
"partner": "paraswap.io",
|
|
159
|
-
"maxImpactReached": false,
|
|
160
|
-
"hmac": "3be834de27d2672e032322b82dde85fa4b5ec646"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 1,
|
|
4
|
-
"blockNumber": 19282907,
|
|
5
|
-
"forkId": "815640e9-9d23-4979-b10e-885d89854cd6",
|
|
6
|
-
"lastTx": "bc630553-f6e4-4399-80ef-034afb36178d",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0xFCEA772B4185cdca4244FC008a24758dD82c74f9",
|
|
9
|
-
"Executor01": "0xd6a742B846A8CCF8FbDC4B8e291DE544a727E4F6",
|
|
10
|
-
"Executor02": "0xEB1d6223EEDCeE850127325ED6023B9EAC9eB015",
|
|
11
|
-
"Executor03": "0x3a36C7f29CB2079b3f1FDD1699095B8AD278C4A6"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19282907,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
18
|
-
"srcDecimals": 6,
|
|
19
|
-
"srcAmount": "10000000000",
|
|
20
|
-
"destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
21
|
-
"destDecimals": 6,
|
|
22
|
-
"destAmount": "9947124798",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 100,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
29
|
-
"srcDecimals": 6,
|
|
30
|
-
"destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
31
|
-
"destDecimals": 6,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "UniswapV2",
|
|
35
|
-
"srcAmount": "10000000000",
|
|
36
|
-
"destAmount": "9947124798",
|
|
37
|
-
"percent": 100,
|
|
38
|
-
"poolAddresses": [
|
|
39
|
-
"0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc",
|
|
40
|
-
"0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852"
|
|
41
|
-
],
|
|
42
|
-
"data": {
|
|
43
|
-
"router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
|
|
44
|
-
"path": [
|
|
45
|
-
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
46
|
-
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
47
|
-
"0xdac17f958d2ee523a2206206994597c13d831ec7"
|
|
48
|
-
],
|
|
49
|
-
"factory": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
|
|
50
|
-
"initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
|
|
51
|
-
"feeFactor": 10000,
|
|
52
|
-
"pools": [
|
|
53
|
-
{
|
|
54
|
-
"address": "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc",
|
|
55
|
-
"fee": 30,
|
|
56
|
-
"direction": true
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"address": "0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852",
|
|
60
|
-
"fee": 30,
|
|
61
|
-
"direction": true
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"gasUSD": "16.235626"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"gasCostUSD": "17.389369",
|
|
73
|
-
"gasCost": "171370",
|
|
74
|
-
"others": [],
|
|
75
|
-
"side": "SELL",
|
|
76
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
77
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
78
|
-
"contractMethod": "swapOnUniswapV2Fork",
|
|
79
|
-
"partnerFee": 0,
|
|
80
|
-
"srcUSD": "10000.0000000000",
|
|
81
|
-
"destUSD": "9947.1247980000",
|
|
82
|
-
"partner": "paraswap.io",
|
|
83
|
-
"maxImpactReached": false,
|
|
84
|
-
"hmac": "2442ca074cac7566c3d3f842e40fd7e3417563fc"
|
|
85
|
-
}
|
|
86
|
-
}
|