@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,228 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 1,
|
|
4
|
-
"blockNumber": 19321065,
|
|
5
|
-
"forkId": "ee072a07-0826-43df-b2e9-75612ee40168",
|
|
6
|
-
"lastTx": "dfc32d93-13e5-478b-a201-ec7541006769",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x09b82A6E4A53fAE013fAdB3D84DC68C240CfAB02",
|
|
9
|
-
"Executor01": "0x93c41914d150142052eE3Ba8eA9F64e64b549693",
|
|
10
|
-
"Executor02": "0xaFe43Ec8d645049f80BEDfd009484ED28B765334",
|
|
11
|
-
"Executor03": "0xbE66b7F65c94733915aA474353E0782392b684aD"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19321065,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "999136150936714703",
|
|
20
|
-
"destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
21
|
-
"destDecimals": 18,
|
|
22
|
-
"destAmount": "3244690000000000000000",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 100,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
31
|
-
"destDecimals": 18,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "UniswapV3",
|
|
35
|
-
"srcAmount": "999136150936714702",
|
|
36
|
-
"destAmount": "3244690000000000000000",
|
|
37
|
-
"percent": 100,
|
|
38
|
-
"poolAddresses": ["0x60594a405d53811d3bc4766596efd80fd545a270"],
|
|
39
|
-
"data": {
|
|
40
|
-
"path": [
|
|
41
|
-
{
|
|
42
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
43
|
-
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
44
|
-
"fee": "500",
|
|
45
|
-
"currentFee": "500"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"gasUSD": "22.928013"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"gasCostUSD": "41.712157",
|
|
57
|
-
"gasCost": "198300",
|
|
58
|
-
"others": [
|
|
59
|
-
{
|
|
60
|
-
"exchange": "BalancerV1",
|
|
61
|
-
"srcAmount": "1036051032827187511",
|
|
62
|
-
"destAmount": "3244690000000000000000",
|
|
63
|
-
"unit": "310339509983367",
|
|
64
|
-
"data": {
|
|
65
|
-
"poolId": "0x69d460e01070a7ba1bc363885bc8f4f0daa19bf5",
|
|
66
|
-
"gasUSD": "45.519469"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"exchange": "BalancerV2",
|
|
71
|
-
"srcAmount": "1014709167437831258",
|
|
72
|
-
"destAmount": "3244690000000000000000",
|
|
73
|
-
"unit": "308797193597742",
|
|
74
|
-
"data": {
|
|
75
|
-
"poolId": "0x0b09dea16768f0799065c475be02919503cb2a3500020000000000000000001a",
|
|
76
|
-
"gasUSD": "48.232968"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"exchange": "UniswapV2",
|
|
81
|
-
"srcAmount": "1006284117434506971",
|
|
82
|
-
"destAmount": "3244690000000000000000",
|
|
83
|
-
"unit": "309997371572586",
|
|
84
|
-
"data": {
|
|
85
|
-
"router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
|
|
86
|
-
"path": [
|
|
87
|
-
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
88
|
-
"0x6b175474e89094c44da98b954eedeac495271d0f"
|
|
89
|
-
],
|
|
90
|
-
"factory": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
|
|
91
|
-
"initCode": "0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f",
|
|
92
|
-
"feeFactor": 10000,
|
|
93
|
-
"pools": [
|
|
94
|
-
{
|
|
95
|
-
"address": "0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11",
|
|
96
|
-
"fee": 30,
|
|
97
|
-
"direction": false
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"gasUSD": "25.291282"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"exchange": "DefiSwap",
|
|
105
|
-
"srcAmount": "1035676664723283606",
|
|
106
|
-
"destAmount": "3244690000000000000000",
|
|
107
|
-
"unit": "308222915261340",
|
|
108
|
-
"data": {
|
|
109
|
-
"router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
|
|
110
|
-
"path": [
|
|
111
|
-
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
112
|
-
"0x6b175474e89094c44da98b954eedeac495271d0f"
|
|
113
|
-
],
|
|
114
|
-
"factory": "0x9DEB29c9a4c7A88a3C0257393b7f3335338D9A9D",
|
|
115
|
-
"initCode": "0x69d637e77615df9f235f642acebbdad8963ef35c5523142078c9b8f9d0ceba7e",
|
|
116
|
-
"feeFactor": 10000,
|
|
117
|
-
"pools": [
|
|
118
|
-
{
|
|
119
|
-
"address": "0x60A26d69263eF43e9a68964bA141263F19D71D51",
|
|
120
|
-
"fee": 30,
|
|
121
|
-
"direction": false
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"gasUSD": "25.291282"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"exchange": "SushiSwap",
|
|
129
|
-
"srcAmount": "1007198148871324531",
|
|
130
|
-
"destAmount": "3244690000000000000000",
|
|
131
|
-
"unit": "310213574279146",
|
|
132
|
-
"data": {
|
|
133
|
-
"router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
|
|
134
|
-
"path": [
|
|
135
|
-
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
136
|
-
"0x6b175474e89094c44da98b954eedeac495271d0f"
|
|
137
|
-
],
|
|
138
|
-
"factory": "0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac",
|
|
139
|
-
"initCode": "0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303",
|
|
140
|
-
"feeFactor": 10000,
|
|
141
|
-
"pools": [
|
|
142
|
-
{
|
|
143
|
-
"address": "0xC3D03e4F041Fd4cD388c549Ee2A29a9E5075882f",
|
|
144
|
-
"fee": 30,
|
|
145
|
-
"direction": false
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
"gasUSD": "25.291282"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"exchange": "ShibaSwap",
|
|
153
|
-
"srcAmount": "1067898875242842054",
|
|
154
|
-
"destAmount": "3244690000000000000000",
|
|
155
|
-
"unit": "310368313656226",
|
|
156
|
-
"data": {
|
|
157
|
-
"router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
|
|
158
|
-
"path": [
|
|
159
|
-
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
160
|
-
"0x6b175474e89094c44da98b954eedeac495271d0f"
|
|
161
|
-
],
|
|
162
|
-
"factory": "0x115934131916C8b277DD010Ee02de363c09d037c",
|
|
163
|
-
"initCode": "0x65d1a3b1e46c6e4f1be1ad5f99ef14dc488ae0549dc97db9b30afe2241ce1c7a",
|
|
164
|
-
"feeFactor": 10000,
|
|
165
|
-
"pools": [
|
|
166
|
-
{
|
|
167
|
-
"address": "0x8faf958E36c6970497386118030e6297fFf8d275",
|
|
168
|
-
"fee": 30,
|
|
169
|
-
"direction": false
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"gasUSD": "25.291282"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"exchange": "Verse",
|
|
177
|
-
"srcAmount": "1201655750484073650",
|
|
178
|
-
"destAmount": "3244690000000000000000",
|
|
179
|
-
"unit": "311068557448933",
|
|
180
|
-
"data": {
|
|
181
|
-
"router": "0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07",
|
|
182
|
-
"path": [
|
|
183
|
-
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
184
|
-
"0x6b175474e89094c44da98b954eedeac495271d0f"
|
|
185
|
-
],
|
|
186
|
-
"factory": "0xee3E9E46E34a27dC755a63e2849C9913Ee1A06E2",
|
|
187
|
-
"initCode": "0x34768b85d02b77066b16acc7f0875ed59566bb3c32ba4fb0438750e872fddf9e",
|
|
188
|
-
"feeFactor": 10000,
|
|
189
|
-
"pools": [
|
|
190
|
-
{
|
|
191
|
-
"address": "0x682831244b0E97946ABC52Cb1893Cce398De3A35",
|
|
192
|
-
"fee": 30,
|
|
193
|
-
"direction": false
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"gasUSD": "25.291282"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"exchange": "UniswapV3",
|
|
201
|
-
"srcAmount": "999136150936714703",
|
|
202
|
-
"destAmount": "3244690000000000000000",
|
|
203
|
-
"unit": "307927367777835",
|
|
204
|
-
"data": {
|
|
205
|
-
"path": [
|
|
206
|
-
{
|
|
207
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
208
|
-
"tokenOut": "0x6b175474e89094c44da98b954eedeac495271d0f",
|
|
209
|
-
"fee": "500",
|
|
210
|
-
"currentFee": "500"
|
|
211
|
-
}
|
|
212
|
-
],
|
|
213
|
-
"gasUSD": "43.205633"
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
],
|
|
217
|
-
"side": "BUY",
|
|
218
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
219
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
220
|
-
"contractMethod": "simpleBuy",
|
|
221
|
-
"partnerFee": 0,
|
|
222
|
-
"srcUSD": "3233.3390376835",
|
|
223
|
-
"destUSD": "3243.4308331517",
|
|
224
|
-
"partner": "paraswap.io",
|
|
225
|
-
"maxImpactReached": false,
|
|
226
|
-
"hmac": "f6d82fd750d543a558f93ab31d0e3b04875007d3"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 1,
|
|
4
|
-
"blockNumber": 19282687,
|
|
5
|
-
"forkId": "0875555b-1f38-44d6-9474-d1022e87d966",
|
|
6
|
-
"lastTx": "86639f93-eff7-4b60-97fb-bc0343c19ac2",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x0A06A83f022373Fb458e4c593FD958Fa4Add0F4f",
|
|
9
|
-
"Executor01": "0xFc4107286C412a06C091036707799921CCF05c85",
|
|
10
|
-
"Executor02": "0xb656e6DBc017d6862F22d633F86FE33D41c5E6c8",
|
|
11
|
-
"Executor03": "0x81c6da0000e6Df5e4DfB1D844Eaeb4e555999615"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19282687,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
18
|
-
"srcDecimals": 6,
|
|
19
|
-
"srcAmount": "1000000",
|
|
20
|
-
"destToken": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
21
|
-
"destDecimals": 6,
|
|
22
|
-
"destAmount": "999039",
|
|
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": "SolidlyV2",
|
|
35
|
-
"srcAmount": "1000000",
|
|
36
|
-
"destAmount": "999039",
|
|
37
|
-
"percent": 100,
|
|
38
|
-
"poolAddresses": ["0x63A65a174Cc725824188940255aD41c371F28F28"],
|
|
39
|
-
"data": {
|
|
40
|
-
"router": "0x5b39e7A1C706464F5B3956b21CD22a43F0dB0eAC",
|
|
41
|
-
"path": [
|
|
42
|
-
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
43
|
-
"0xdac17f958d2ee523a2206206994597c13d831ec7"
|
|
44
|
-
],
|
|
45
|
-
"factory": "0x777de5Fe8117cAAA7B44f396E93a401Cf5c9D4d6",
|
|
46
|
-
"initCode": "0x413d36e4ab9e83cf39b8064a3b5c98253a9e46a6cf02c8efd185314c866d656b",
|
|
47
|
-
"feeFactor": 1000000,
|
|
48
|
-
"isFeeTokenInRoute": false,
|
|
49
|
-
"pools": [
|
|
50
|
-
{
|
|
51
|
-
"address": "0x63A65a174Cc725824188940255aD41c371F28F28",
|
|
52
|
-
"fee": 200,
|
|
53
|
-
"direction": true
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"gasUSD": "20.439267"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"gasCostUSD": "30.593866",
|
|
65
|
-
"gasCost": "329300",
|
|
66
|
-
"others": [],
|
|
67
|
-
"side": "SELL",
|
|
68
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
69
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
70
|
-
"contractMethod": "simpleSwap",
|
|
71
|
-
"partnerFee": 0,
|
|
72
|
-
"srcUSD": "0.9976960000",
|
|
73
|
-
"destUSD": "0.9969100479",
|
|
74
|
-
"partner": "paraswap.io",
|
|
75
|
-
"maxImpactReached": false,
|
|
76
|
-
"hmac": "a5413a090707f20af673533a54485cf73d9c03e7"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 1,
|
|
4
|
-
"blockNumber": 19283421,
|
|
5
|
-
"forkId": "8adb4722-92ed-4a07-a454-60ebd72b89b5",
|
|
6
|
-
"lastTx": "588c1b3f-b09c-422d-b8dd-9ccaf721808b",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x994221Af75ABc03F1b96a4B194cc992b00e7017d",
|
|
9
|
-
"Executor01": "0x1eE6372ae4A73aCB8F2c193Eb44C69ecAb7CAA4c",
|
|
10
|
-
"Executor02": "0x4C470859C4473fC1278Cf94DFEDf7B35c317eBd8",
|
|
11
|
-
"Executor03": "0x86696d6E446065B6ef71c8ea90889972dCfeAf4a"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19283421,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
18
|
-
"srcDecimals": 8,
|
|
19
|
-
"srcAmount": "10000000001000000000",
|
|
20
|
-
"destToken": "0xba100000625a3754423978a60c9317c58a424e3d",
|
|
21
|
-
"destDecimals": 18,
|
|
22
|
-
"destAmount": "101932138850740058103120",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 100,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
29
|
-
"srcDecimals": 8,
|
|
30
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
31
|
-
"destDecimals": 18,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "BalancerV1",
|
|
35
|
-
"srcAmount": "420000000",
|
|
36
|
-
"destAmount": "61861942405375323883",
|
|
37
|
-
"percent": 42,
|
|
38
|
-
"poolAddresses": [
|
|
39
|
-
"0x49ff149d649769033d43783e7456f626862cd160",
|
|
40
|
-
"0x1eff8af5d577060ba4ac8a29a13525bb0ee2a3d5",
|
|
41
|
-
"0x25af1f2c3772d6f19aa6615571203757365d29c6",
|
|
42
|
-
"0xa751a143f8fe0a108800bfb915585e4255c2fe80",
|
|
43
|
-
"0x221bf20c2ad9e5d7ec8a9d1991d8e2edcfcb9d6c"
|
|
44
|
-
],
|
|
45
|
-
"data": {
|
|
46
|
-
"swaps": [
|
|
47
|
-
{
|
|
48
|
-
"pool": "0x49ff149d649769033d43783e7456f626862cd160",
|
|
49
|
-
"tokenInParam": "120000000",
|
|
50
|
-
"tokenOutParam": "0",
|
|
51
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"pool": "0x1eff8af5d577060ba4ac8a29a13525bb0ee2a3d5",
|
|
55
|
-
"tokenInParam": "160000000",
|
|
56
|
-
"tokenOutParam": "0",
|
|
57
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"pool": "0x25af1f2c3772d6f19aa6615571203757365d29c6",
|
|
61
|
-
"tokenInParam": "80000000",
|
|
62
|
-
"tokenOutParam": "0",
|
|
63
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"pool": "0xa751a143f8fe0a108800bfb915585e4255c2fe80",
|
|
67
|
-
"tokenInParam": "40000000",
|
|
68
|
-
"tokenOutParam": "0",
|
|
69
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"pool": "0x221bf20c2ad9e5d7ec8a9d1991d8e2edcfcb9d6c",
|
|
73
|
-
"tokenInParam": "20000000",
|
|
74
|
-
"tokenOutParam": "0",
|
|
75
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"gasUSD": "98.755415"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"exchange": "BalancerV2",
|
|
83
|
-
"srcAmount": "580000000",
|
|
84
|
-
"destAmount": "85930544113579782254",
|
|
85
|
-
"percent": 58,
|
|
86
|
-
"poolAddresses": ["0xa6f548df93de924d73be7d25dc02554c6bd66db5"],
|
|
87
|
-
"data": {
|
|
88
|
-
"swaps": [
|
|
89
|
-
{
|
|
90
|
-
"poolId": "0xa6f548df93de924d73be7d25dc02554c6bd66db500020000000000000000000e",
|
|
91
|
-
"amount": "580000000"
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
"gasUSD": "24.195077"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
101
|
-
"srcDecimals": 18,
|
|
102
|
-
"destToken": "0xba100000625a3754423978a60c9317c58a424e3d",
|
|
103
|
-
"destDecimals": 18,
|
|
104
|
-
"swapExchanges": [
|
|
105
|
-
{
|
|
106
|
-
"exchange": "BalancerV1",
|
|
107
|
-
"srcAmount": "2955849730379102123",
|
|
108
|
-
"destAmount": "2037814715935304833737",
|
|
109
|
-
"percent": 2,
|
|
110
|
-
"poolAddresses": ["0xe867be952ee17d2d294f2de62b13b9f4af521e9a"],
|
|
111
|
-
"data": {
|
|
112
|
-
"swaps": [
|
|
113
|
-
{
|
|
114
|
-
"pool": "0xe867be952ee17d2d294f2de62b13b9f4af521e9a",
|
|
115
|
-
"tokenInParam": "2955849730379102123",
|
|
116
|
-
"tokenOutParam": "0",
|
|
117
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"gasUSD": "19.751083"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"exchange": "BalancerV2",
|
|
125
|
-
"srcAmount": "144836636788576004014",
|
|
126
|
-
"destAmount": "99894324134804753269383",
|
|
127
|
-
"percent": 98,
|
|
128
|
-
"poolAddresses": ["0x5c6ee304399dbdb9c8ef030ab642b10820db8f56"],
|
|
129
|
-
"data": {
|
|
130
|
-
"swaps": [
|
|
131
|
-
{
|
|
132
|
-
"poolId": "0x5c6ee304399dbdb9c8ef030ab642b10820db8f56000200000000000000000014",
|
|
133
|
-
"amount": "144836636788576004014"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"gasUSD": "24.195077"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
]
|
|
140
|
-
}
|
|
141
|
-
]
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
"gasCostUSD": "193.609996",
|
|
145
|
-
"gasCost": "1176300",
|
|
146
|
-
"side": "SELL",
|
|
147
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
148
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
149
|
-
"contractMethod": "multiSwap",
|
|
150
|
-
"partnerFee": 0,
|
|
151
|
-
"srcUSD": "511660.0000000000",
|
|
152
|
-
"destUSD": "430153.6259501230",
|
|
153
|
-
"maxImpact": 100,
|
|
154
|
-
"partner": "any",
|
|
155
|
-
"maxImpactReached": false,
|
|
156
|
-
"hmac": "2358c07cb2670f79aa41038d969f2dbe568bd890"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"metadata": {
|
|
3
|
-
"network": 1,
|
|
4
|
-
"blockNumber": 19275690,
|
|
5
|
-
"forkId": "76008c79-21f1-4863-ad24-68cfaaa05d84",
|
|
6
|
-
"lastTx": "f638d8a8-8b82-4326-bbc8-88d155070733",
|
|
7
|
-
"contracts": {
|
|
8
|
-
"AugustusV6": "0x42E789731EFA8550710E7daEA48573d4B7D2B3bD",
|
|
9
|
-
"Executor01": "0x8de203Ff7D4ECbd51117fB63fc8221Dd7AD9446a",
|
|
10
|
-
"Executor02": "0xD41572F5c3f393775C718b336149e5107f66D130",
|
|
11
|
-
"Executor03": "0x136F4C93921f35f394DE54763FB6b86Ff9ae786E"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"priceRoute": {
|
|
15
|
-
"blockNumber": 19275690,
|
|
16
|
-
"network": 1,
|
|
17
|
-
"srcToken": "0x18084fba666a33d37592fa2633fd49a74dd93a88",
|
|
18
|
-
"srcDecimals": 18,
|
|
19
|
-
"srcAmount": "100000000000000000000",
|
|
20
|
-
"destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
21
|
-
"destDecimals": 8,
|
|
22
|
-
"destAmount": "9986627017",
|
|
23
|
-
"bestRoute": [
|
|
24
|
-
{
|
|
25
|
-
"percent": 100,
|
|
26
|
-
"swaps": [
|
|
27
|
-
{
|
|
28
|
-
"srcToken": "0x18084fba666a33d37592fa2633fd49a74dd93a88",
|
|
29
|
-
"srcDecimals": 18,
|
|
30
|
-
"destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
31
|
-
"destDecimals": 8,
|
|
32
|
-
"swapExchanges": [
|
|
33
|
-
{
|
|
34
|
-
"exchange": "UniswapV3",
|
|
35
|
-
"srcAmount": "48000000000000000000",
|
|
36
|
-
"destAmount": "4793409556",
|
|
37
|
-
"percent": 48,
|
|
38
|
-
"poolAddresses": ["0xdbac78be00503d10ae0074e5e5873a61fc56647c"],
|
|
39
|
-
"data": {
|
|
40
|
-
"path": [
|
|
41
|
-
{
|
|
42
|
-
"tokenIn": "0x18084fba666a33d37592fa2633fd49a74dd93a88",
|
|
43
|
-
"tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
44
|
-
"fee": "500",
|
|
45
|
-
"currentFee": "500"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"gasUSD": "13.271676"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"exchange": "CurveV1Factory",
|
|
53
|
-
"srcAmount": "50000000000000000000",
|
|
54
|
-
"destAmount": "4993510862",
|
|
55
|
-
"percent": 50,
|
|
56
|
-
"poolAddresses": ["0xb7ecb2aa52aa64a717180e030241bc75cd946726"],
|
|
57
|
-
"data": {
|
|
58
|
-
"exchange": "0xb7ecb2aa52aa64a717180e030241bc75cd946726",
|
|
59
|
-
"i": 1,
|
|
60
|
-
"j": 0,
|
|
61
|
-
"underlyingSwap": false,
|
|
62
|
-
"gasUSD": "16.906594"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"exchange": "BalancerV2",
|
|
67
|
-
"srcAmount": "2000000000000000000",
|
|
68
|
-
"destAmount": "199706599",
|
|
69
|
-
"percent": 2,
|
|
70
|
-
"poolAddresses": ["0xe4e72f872c4048925a78e1e6fddac411c9ae348a"],
|
|
71
|
-
"data": {
|
|
72
|
-
"swaps": [
|
|
73
|
-
{
|
|
74
|
-
"poolId": "0xe4e72f872c4048925a78e1e6fddac411c9ae348a0000000000000000000005bc",
|
|
75
|
-
"amount": "2000000000000000000"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"gasUSD": "12.426347"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"gasCostUSD": "52.037992",
|
|
87
|
-
"gasCost": "615594",
|
|
88
|
-
"others": [],
|
|
89
|
-
"side": "SELL",
|
|
90
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
91
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
92
|
-
"contractMethod": "simpleSwap",
|
|
93
|
-
"partnerFee": 0,
|
|
94
|
-
"srcUSD": "5118500.0000000000",
|
|
95
|
-
"destUSD": "5107660.3878446500",
|
|
96
|
-
"partner": "paraswap.io",
|
|
97
|
-
"maxImpactReached": false,
|
|
98
|
-
"hmac": "797994ec8ce7b7007186f810b12227f9722eea0c"
|
|
99
|
-
}
|
|
100
|
-
}
|