@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,434 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 42161,
|
|
4
|
-
"blockNumber": 182997920,
|
|
5
|
-
"forkId": "69d8250c-8643-488b-94fe-35ac7a87cc67",
|
|
6
|
-
"lastTx": "6607622a-7e16-4656-8390-4af61ba048b1",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x025eA269A05400EE415632B5615C106e91837C70",
|
|
9
|
-
"Executor01": "0x2161D311b3D4DF1e57D8eAb375212F5222e9AfE7",
|
|
10
|
-
"Executor02": "0xE07e327166eeC8D1572dAB2962a4C4D35335F2af",
|
|
11
|
-
"Executor03": "0x04c1ce32d8f9C271cc8dDd39657317F9bCc81943"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 182997920,
|
|
16
|
-
"network": 42161,
|
|
17
|
-
"srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "1000000000000000000000000",
|
|
20
|
-
"destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
21
|
-
"destDecimals": 18,
|
|
22
|
-
"destAmount": "531478626131803615467452",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 68,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
31
|
-
"destDecimals": 6,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "UniswapV3",
|
|
35
|
-
"srcAmount": "680000000000000000000000",
|
|
36
|
-
"destAmount": "679901660334",
|
|
37
|
-
"percent": 100,
|
|
38
|
-
"poolAddresses": ["0x7cf803e8d82a50504180f417b8bc7a493c0a0503"],
|
|
39
|
-
"data": {
|
|
40
|
-
"path": [
|
|
41
|
-
{
|
|
42
|
-
"tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
43
|
-
"tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
44
|
-
"fee": "100",
|
|
45
|
-
"currentFee": "100"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"gasUSD": "0.398946"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"srcToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
55
|
-
"srcDecimals": 6,
|
|
56
|
-
"destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
57
|
-
"destDecimals": 18,
|
|
58
|
-
"swapExchanges": [
|
|
59
|
-
{
|
|
60
|
-
"exchange": "UniswapV3",
|
|
61
|
-
"srcAmount": "19989108814",
|
|
62
|
-
"destAmount": "10498429016151006255986",
|
|
63
|
-
"percent": 2.94,
|
|
64
|
-
"poolAddresses": ["0xaebdca1bc8d89177ebe2308d62af5e74885dccc3"],
|
|
65
|
-
"data": {
|
|
66
|
-
"path": [
|
|
67
|
-
{
|
|
68
|
-
"tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
69
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
70
|
-
"fee": "3000",
|
|
71
|
-
"currentFee": "3000"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"gasUSD": "0.490629"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"exchange": "UniswapV3",
|
|
79
|
-
"srcAmount": "120002643049",
|
|
80
|
-
"destAmount": "63794001600190252694069",
|
|
81
|
-
"percent": 17.65,
|
|
82
|
-
"poolAddresses": ["0xb0f6ca40411360c03d41c5ffc5f179b8403cdcf8"],
|
|
83
|
-
"data": {
|
|
84
|
-
"path": [
|
|
85
|
-
{
|
|
86
|
-
"tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
87
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
88
|
-
"fee": "500",
|
|
89
|
-
"currentFee": "500"
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
"gasUSD": "0.628153"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"exchange": "RamsesV2",
|
|
97
|
-
"srcAmount": "179969969490",
|
|
98
|
-
"destAmount": "95532136367554929294946",
|
|
99
|
-
"percent": 26.47,
|
|
100
|
-
"poolAddresses": ["0xee5f2e39d8abf28e449327bfd44317fc500eb4d8"],
|
|
101
|
-
"data": {
|
|
102
|
-
"path": [
|
|
103
|
-
{
|
|
104
|
-
"tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
105
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
106
|
-
"fee": "500",
|
|
107
|
-
"currentFee": "550"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"gasUSD": "0.582312"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"exchange": "CamelotV3",
|
|
115
|
-
"srcAmount": "359939938981",
|
|
116
|
-
"destAmount": "190982531396492559313588",
|
|
117
|
-
"percent": 52.94,
|
|
118
|
-
"poolAddresses": ["0xfae2ae0a9f87fd35b5b0e24b47bac796a7eefea1"],
|
|
119
|
-
"data": {
|
|
120
|
-
"feeOnTransfer": false,
|
|
121
|
-
"path": [
|
|
122
|
-
{
|
|
123
|
-
"tokenIn": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
124
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"gasUSD": "0.612872"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
]
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"percent": 26,
|
|
136
|
-
"swaps": [
|
|
137
|
-
{
|
|
138
|
-
"srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
139
|
-
"srcDecimals": 18,
|
|
140
|
-
"destToken": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
141
|
-
"destDecimals": 6,
|
|
142
|
-
"swapExchanges": [
|
|
143
|
-
{
|
|
144
|
-
"exchange": "TraderJoeV2.1",
|
|
145
|
-
"srcAmount": "99996000000000000000000",
|
|
146
|
-
"destAmount": "99975231450",
|
|
147
|
-
"percent": 38.46,
|
|
148
|
-
"poolAddresses": ["0x500173F418137090dad96421811147b63b448A0f"],
|
|
149
|
-
"data": {
|
|
150
|
-
"tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
151
|
-
"tokenOut": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
152
|
-
"binStep": "1",
|
|
153
|
-
"gasUSD": "0.456885"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"exchange": "UniswapV3",
|
|
158
|
-
"srcAmount": "119990000000000000000000",
|
|
159
|
-
"destAmount": "119893461856",
|
|
160
|
-
"percent": 46.15,
|
|
161
|
-
"poolAddresses": ["0xd37af656abf91c7f548fffc0133175b5e4d3d5e6"],
|
|
162
|
-
"data": {
|
|
163
|
-
"path": [
|
|
164
|
-
{
|
|
165
|
-
"tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
166
|
-
"tokenOut": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
167
|
-
"fee": "500",
|
|
168
|
-
"currentFee": "500"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"gasUSD": "0.414227"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"exchange": "BalancerV2",
|
|
176
|
-
"srcAmount": "40014000000000000000000",
|
|
177
|
-
"destAmount": "39946233371",
|
|
178
|
-
"percent": 15.39,
|
|
179
|
-
"poolAddresses": ["0x1533a3278f3f9141d5f820a184ea4b017fce2382"],
|
|
180
|
-
"data": {
|
|
181
|
-
"swaps": [
|
|
182
|
-
{
|
|
183
|
-
"poolId": "0x1533a3278f3f9141d5f820a184ea4b017fce2382000000000000000000000016",
|
|
184
|
-
"amount": "40014000000000000000000"
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"gasUSD": "0.940128"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
]
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"srcToken": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
194
|
-
"srcDecimals": 6,
|
|
195
|
-
"destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
196
|
-
"destDecimals": 18,
|
|
197
|
-
"swapExchanges": [
|
|
198
|
-
{
|
|
199
|
-
"exchange": "TraderJoeV2.1",
|
|
200
|
-
"srcAmount": "58042654620",
|
|
201
|
-
"destAmount": "31021828465542759942114",
|
|
202
|
-
"percent": 22.34,
|
|
203
|
-
"poolAddresses": ["0xF8a60082039A1Acbe43b045f87AA0c5f24a358a4"],
|
|
204
|
-
"data": {
|
|
205
|
-
"tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
206
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
207
|
-
"binStep": "20",
|
|
208
|
-
"gasUSD": "0.456885"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"exchange": "UniswapV3",
|
|
213
|
-
"srcAmount": "5819854358",
|
|
214
|
-
"destAmount": "3080371634395607343406",
|
|
215
|
-
"percent": 2.24,
|
|
216
|
-
"poolAddresses": ["0xa8328bf492ba1b77ad6381b3f7567d942b000baf"],
|
|
217
|
-
"data": {
|
|
218
|
-
"path": [
|
|
219
|
-
{
|
|
220
|
-
"tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
221
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
222
|
-
"fee": "10000",
|
|
223
|
-
"currentFee": "10000"
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
"gasUSD": "0.414227"
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"exchange": "UniswapV3",
|
|
231
|
-
"srcAmount": "16004599483",
|
|
232
|
-
"destAmount": "8520592847287782617064",
|
|
233
|
-
"percent": 6.16,
|
|
234
|
-
"poolAddresses": ["0x81c48d31365e6b526f6bbadc5c9aafd822134863"],
|
|
235
|
-
"data": {
|
|
236
|
-
"path": [
|
|
237
|
-
{
|
|
238
|
-
"tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
239
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
240
|
-
"fee": "3000",
|
|
241
|
-
"currentFee": "3000"
|
|
242
|
-
}
|
|
243
|
-
],
|
|
244
|
-
"gasUSD": "0.444788"
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"exchange": "UniswapV3",
|
|
249
|
-
"srcAmount": "179947818216",
|
|
250
|
-
"destAmount": "96098794234249368744611",
|
|
251
|
-
"percent": 69.26,
|
|
252
|
-
"poolAddresses": ["0xcda53b1f66614552f834ceef361a8d12a0b8dad8"],
|
|
253
|
-
"data": {
|
|
254
|
-
"path": [
|
|
255
|
-
{
|
|
256
|
-
"tokenIn": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
257
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
258
|
-
"fee": "500",
|
|
259
|
-
"currentFee": "500"
|
|
260
|
-
}
|
|
261
|
-
],
|
|
262
|
-
"gasUSD": "0.719835"
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
]
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"percent": 2,
|
|
271
|
-
"swaps": [
|
|
272
|
-
{
|
|
273
|
-
"srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
274
|
-
"srcDecimals": 18,
|
|
275
|
-
"destToken": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
|
|
276
|
-
"destDecimals": 6,
|
|
277
|
-
"swapExchanges": [
|
|
278
|
-
{
|
|
279
|
-
"exchange": "UniswapV3",
|
|
280
|
-
"srcAmount": "20000000000000000000000",
|
|
281
|
-
"destAmount": "19993805790",
|
|
282
|
-
"percent": 100,
|
|
283
|
-
"poolAddresses": ["0x7f580f8a02b759c350e6b8340e7c2d4b8162b6a9"],
|
|
284
|
-
"data": {
|
|
285
|
-
"path": [
|
|
286
|
-
{
|
|
287
|
-
"tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
288
|
-
"tokenOut": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
|
|
289
|
-
"fee": "100",
|
|
290
|
-
"currentFee": "100"
|
|
291
|
-
}
|
|
292
|
-
],
|
|
293
|
-
"gasUSD": "0.414227"
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
]
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"srcToken": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
|
|
300
|
-
"srcDecimals": 6,
|
|
301
|
-
"destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
302
|
-
"destDecimals": 18,
|
|
303
|
-
"swapExchanges": [
|
|
304
|
-
{
|
|
305
|
-
"exchange": "UniswapV3",
|
|
306
|
-
"srcAmount": "4624567279",
|
|
307
|
-
"destAmount": "2481688077400793785136",
|
|
308
|
-
"percent": 23.13,
|
|
309
|
-
"poolAddresses": ["0x97bca422ec0ee4851f2110ea743c1cd0a14835a1"],
|
|
310
|
-
"data": {
|
|
311
|
-
"path": [
|
|
312
|
-
{
|
|
313
|
-
"tokenIn": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
|
|
314
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
315
|
-
"fee": "3000",
|
|
316
|
-
"currentFee": "3000"
|
|
317
|
-
}
|
|
318
|
-
],
|
|
319
|
-
"gasUSD": "0.414227"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"exchange": "UniswapV3",
|
|
324
|
-
"srcAmount": "15369238511",
|
|
325
|
-
"destAmount": "8249737866441565462231",
|
|
326
|
-
"percent": 76.87,
|
|
327
|
-
"poolAddresses": ["0xb791ad21ba45c76629003b4a2f04c0d544406e37"],
|
|
328
|
-
"data": {
|
|
329
|
-
"path": [
|
|
330
|
-
{
|
|
331
|
-
"tokenIn": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
|
|
332
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
333
|
-
"fee": "500",
|
|
334
|
-
"currentFee": "500"
|
|
335
|
-
}
|
|
336
|
-
],
|
|
337
|
-
"gasUSD": "0.429507"
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
]
|
|
341
|
-
}
|
|
342
|
-
]
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"percent": 4,
|
|
346
|
-
"swaps": [
|
|
347
|
-
{
|
|
348
|
-
"srcToken": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
349
|
-
"srcDecimals": 18,
|
|
350
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
351
|
-
"destDecimals": 18,
|
|
352
|
-
"swapExchanges": [
|
|
353
|
-
{
|
|
354
|
-
"exchange": "UniswapV3",
|
|
355
|
-
"srcAmount": "40000000000000000000000",
|
|
356
|
-
"destAmount": "13556817072806568156",
|
|
357
|
-
"percent": 100,
|
|
358
|
-
"poolAddresses": ["0xa961f0473da4864c5ed28e00fcc53a3aab056c1b"],
|
|
359
|
-
"data": {
|
|
360
|
-
"path": [
|
|
361
|
-
{
|
|
362
|
-
"tokenIn": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
363
|
-
"tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
|
364
|
-
"fee": "3000",
|
|
365
|
-
"currentFee": "3000"
|
|
366
|
-
}
|
|
367
|
-
],
|
|
368
|
-
"gasUSD": "0.475349"
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
]
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
375
|
-
"srcDecimals": 18,
|
|
376
|
-
"destToken": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
377
|
-
"destDecimals": 18,
|
|
378
|
-
"swapExchanges": [
|
|
379
|
-
{
|
|
380
|
-
"exchange": "UniswapV3",
|
|
381
|
-
"srcAmount": "9994085546073002045",
|
|
382
|
-
"destAmount": "15642408409629080267825",
|
|
383
|
-
"percent": 73.72,
|
|
384
|
-
"poolAddresses": ["0xc6f780497a95e246eb9449f5e4770916dcd6396a"],
|
|
385
|
-
"data": {
|
|
386
|
-
"path": [
|
|
387
|
-
{
|
|
388
|
-
"tokenIn": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
|
389
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
390
|
-
"fee": "500",
|
|
391
|
-
"currentFee": "500"
|
|
392
|
-
}
|
|
393
|
-
],
|
|
394
|
-
"gasUSD": "0.414227"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"exchange": "RamsesV2",
|
|
399
|
-
"srcAmount": "3562731526733566111",
|
|
400
|
-
"destAmount": "5576106216467909746476",
|
|
401
|
-
"percent": 26.28,
|
|
402
|
-
"poolAddresses": ["0x6ce9bc2d8093d32adde4695a4530b96558388f7e"],
|
|
403
|
-
"data": {
|
|
404
|
-
"path": [
|
|
405
|
-
{
|
|
406
|
-
"tokenIn": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
|
407
|
-
"tokenOut": "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
408
|
-
"fee": "500",
|
|
409
|
-
"currentFee": "550"
|
|
410
|
-
}
|
|
411
|
-
],
|
|
412
|
-
"gasUSD": "0.398946"
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
]
|
|
416
|
-
}
|
|
417
|
-
]
|
|
418
|
-
}
|
|
419
|
-
],
|
|
420
|
-
"gasCostUSD": "11.930381",
|
|
421
|
-
"gasCost": "4402300",
|
|
422
|
-
"others": [],
|
|
423
|
-
"side": "SELL",
|
|
424
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
425
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
426
|
-
"contractMethod": "megaSwap",
|
|
427
|
-
"partnerFee": 0,
|
|
428
|
-
"srcUSD": "998588.0000000000",
|
|
429
|
-
"destUSD": "977920.6720825187",
|
|
430
|
-
"partner": "paraswap.io",
|
|
431
|
-
"maxImpactReached": false,
|
|
432
|
-
"hmac": "31c83b8364901e3f0527dda7d6aa33fe55ab795b"
|
|
433
|
-
}
|
|
434
|
-
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 42161,
|
|
4
|
-
"blockNumber": 182995080,
|
|
5
|
-
"forkId": "f9949752-8412-4faf-9c38-3458ff6e1264",
|
|
6
|
-
"lastTx": "c141b215-9fef-4b6a-9612-b616b5737f1b",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0xD42D85eC08809f6d4798b984aC23dE41b85E5110",
|
|
9
|
-
"Executor01": "0xD96C7c4feA9792d78b06d0aE394E770DfD07EBBa",
|
|
10
|
-
"Executor02": "0x966Ad82014C827a56129Da7dDacc40FFAf9FB59f",
|
|
11
|
-
"Executor03": "0x5Ad1077638F206C9495C64C1419E7B04312eC5C8"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 182995080,
|
|
16
|
-
"network": 42161,
|
|
17
|
-
"srcToken": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "255000000000000000000000",
|
|
20
|
-
"destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
21
|
-
"destDecimals": 6,
|
|
22
|
-
"destAmount": "4594974097617",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 84,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
31
|
-
"destDecimals": 6,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "UniswapV3",
|
|
35
|
-
"srcAmount": "5097960000000000000000",
|
|
36
|
-
"destAmount": "85009628858",
|
|
37
|
-
"percent": 2.38,
|
|
38
|
-
"poolAddresses": ["0x655c1607f8c2e73d5b4ddabce9ba8792b87592b6"],
|
|
39
|
-
"data": {
|
|
40
|
-
"path": [
|
|
41
|
-
{
|
|
42
|
-
"tokenIn": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
|
|
43
|
-
"tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
44
|
-
"fee": "500",
|
|
45
|
-
"currentFee": "500"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"gasUSD": "0.437698"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"exchange": "GMX",
|
|
53
|
-
"srcAmount": "209102040000000000000000",
|
|
54
|
-
"destAmount": "3794004495000",
|
|
55
|
-
"percent": 97.62,
|
|
56
|
-
"poolAddresses": ["0x489ee077994B6658eAfA855C308275EAd8097C4A"],
|
|
57
|
-
"data": {
|
|
58
|
-
"gasUSD": "0.334416"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"percent": 16,
|
|
67
|
-
"swaps": [
|
|
68
|
-
{
|
|
69
|
-
"srcToken": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
|
|
70
|
-
"srcDecimals": 18,
|
|
71
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
72
|
-
"destDecimals": 18,
|
|
73
|
-
"swapExchanges": [
|
|
74
|
-
{
|
|
75
|
-
"exchange": "UniswapV3",
|
|
76
|
-
"srcAmount": "35700000000000000000000",
|
|
77
|
-
"destAmount": "215921921733603798883",
|
|
78
|
-
"percent": 87.5,
|
|
79
|
-
"poolAddresses": ["0x468b88941e7cc0b88c1869d68ab6b570bcef62ff"],
|
|
80
|
-
"data": {
|
|
81
|
-
"path": [
|
|
82
|
-
{
|
|
83
|
-
"tokenIn": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
|
|
84
|
-
"tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
|
85
|
-
"fee": "3000",
|
|
86
|
-
"currentFee": "3000"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"gasUSD": "0.636388"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"exchange": "CamelotV3",
|
|
94
|
-
"srcAmount": "5100000000000000000000",
|
|
95
|
-
"destAmount": "31294580559384515798",
|
|
96
|
-
"percent": 12.5,
|
|
97
|
-
"poolAddresses": ["0xe8795cf9c2309ecfe05df028eb0f21d5d6e3a951"],
|
|
98
|
-
"data": {
|
|
99
|
-
"feeOnTransfer": false,
|
|
100
|
-
"path": [
|
|
101
|
-
{
|
|
102
|
-
"tokenIn": "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
|
|
103
|
-
"tokenOut": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"gasUSD": "0.789227"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
113
|
-
"srcDecimals": 18,
|
|
114
|
-
"destToken": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
115
|
-
"destDecimals": 6,
|
|
116
|
-
"swapExchanges": [
|
|
117
|
-
{
|
|
118
|
-
"exchange": "UniswapV3",
|
|
119
|
-
"srcAmount": "79257610635132053687",
|
|
120
|
-
"destAmount": "229646027831",
|
|
121
|
-
"percent": 32.06,
|
|
122
|
-
"poolAddresses": ["0xc6962004f452be9203591991d15f6b388e09e8d0"],
|
|
123
|
-
"data": {
|
|
124
|
-
"path": [
|
|
125
|
-
{
|
|
126
|
-
"tokenIn": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
|
127
|
-
"tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
128
|
-
"fee": "500",
|
|
129
|
-
"currentFee": "500"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"gasUSD": "0.422414"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"exchange": "RamsesV2",
|
|
137
|
-
"srcAmount": "9913381741948831419",
|
|
138
|
-
"destAmount": "28707991302",
|
|
139
|
-
"percent": 4.01,
|
|
140
|
-
"poolAddresses": ["0x30afbcf9458c3131a6d051c621e307e6278e4110"],
|
|
141
|
-
"data": {
|
|
142
|
-
"path": [
|
|
143
|
-
{
|
|
144
|
-
"tokenIn": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
|
145
|
-
"tokenOut": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
|
|
146
|
-
"fee": "500",
|
|
147
|
-
"currentFee": "550"
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
"gasUSD": "0.376562"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"exchange": "WooFiV2",
|
|
155
|
-
"srcAmount": "158045509915907429575",
|
|
156
|
-
"destAmount": "457605954626",
|
|
157
|
-
"percent": 63.93,
|
|
158
|
-
"poolAddresses": ["0xeff23b4be1091b53205e35f3afcd9c7182bf3062"],
|
|
159
|
-
"data": {
|
|
160
|
-
"gasUSD": "0.301764"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
]
|
|
164
|
-
}
|
|
165
|
-
]
|
|
166
|
-
}
|
|
167
|
-
],
|
|
168
|
-
"gasCostUSD": "4.571188",
|
|
169
|
-
"gasCost": "2424300",
|
|
170
|
-
"others": [],
|
|
171
|
-
"side": "SELL",
|
|
172
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
173
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
174
|
-
"contractMethod": "megaSwap",
|
|
175
|
-
"partnerFee": 0,
|
|
176
|
-
"srcUSD": "4663950.0000000000",
|
|
177
|
-
"destUSD": "4588017.3068332079",
|
|
178
|
-
"partner": "paraswap.io",
|
|
179
|
-
"maxImpactReached": false,
|
|
180
|
-
"hmac": "92d67aa83924fa817c15c5c436f6034e784e10f0"
|
|
181
|
-
}
|
|
182
|
-
}
|