@paraswap/dex-lib 4.1.12 → 4.1.13
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/.idea/aws.xml +17 -0
- package/.idea/codeStyles/Project.xml +19 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/paraswap-dex-lib.iml +9 -0
- package/.idea/prettier.xml +7 -0
- package/.idea/vcs.xml +6 -0
- package/build/abi/integral/factory.json +333 -0
- package/build/abi/integral/oracle.json +501 -0
- package/build/abi/{curve-v1/StableSwapUSDN.json → integral/pool.json} +487 -450
- package/build/abi/{RamsesV2Pool.abi.json → integral/relayer.json} +833 -851
- package/build/abi/{inception/inception-ineth.json → sdai/PSM3.abi.json} +354 -242
- package/build/abi/{angle-transmuter/ChainlinkEACAggregatorProxy.json → sdai/SSRAuthOracle.abi.json} +233 -220
- package/build/abi/uniswap-v4/pool-manager.abi.json +1366 -0
- package/build/abi/uniswap-v4/quoter.abi.json +461 -0
- package/build/abi/uniswap-v4/router.abi.json +230 -0
- package/build/abi/uniswap-v4/state-view.abi.json +365 -0
- package/build/dex/aave-v1/aave-v1.d.ts +1 -2
- package/build/dex/aave-v1/aave-v1.js +0 -22
- package/build/dex/aave-v1/aave-v1.js.map +1 -1
- package/build/dex/bProtocol.d.ts +18 -0
- package/build/dex/bProtocol.js +39 -0
- package/build/dex/bProtocol.js.map +1 -0
- package/build/dex/bancor.d.ts +26 -0
- package/build/dex/bancor.js +58 -0
- package/build/dex/bancor.js.map +1 -0
- package/build/dex/compound.d.ts +18 -0
- package/build/dex/compound.js +46 -0
- package/build/dex/compound.js.map +1 -0
- package/build/dex/curve-v2.d.ts +58 -0
- package/build/dex/curve-v2.js +180 -0
- package/build/dex/curve-v2.js.map +1 -0
- package/build/dex/dodo-v1.d.ts +33 -0
- package/build/dex/dodo-v1.js +63 -0
- package/build/dex/dodo-v1.js.map +1 -0
- package/build/dex/fluid-dex/fluid-dex-generate-pool.d.ts +49 -0
- package/build/dex/fluid-dex/fluid-dex-generate-pool.js +104 -0
- package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +1 -0
- package/build/dex/index.js +2 -0
- package/build/dex/index.js.map +1 -1
- package/build/dex/integral/config.d.ts +4 -0
- package/build/dex/integral/config.js +20 -0
- package/build/dex/integral/config.js.map +1 -0
- package/build/dex/integral/context.d.ts +40 -0
- package/build/dex/integral/context.js +158 -0
- package/build/dex/integral/context.js.map +1 -0
- package/build/dex/integral/integral-factory.d.ts +24 -0
- package/build/dex/integral/integral-factory.js +95 -0
- package/build/dex/integral/integral-factory.js.map +1 -0
- package/build/dex/integral/integral-pool.d.ts +50 -0
- package/build/dex/integral/integral-pool.js +149 -0
- package/build/dex/integral/integral-pool.js.map +1 -0
- package/build/dex/integral/integral-pricing.d.ts +18 -0
- package/build/dex/integral/integral-pricing.js +114 -0
- package/build/dex/integral/integral-pricing.js.map +1 -0
- package/build/dex/integral/integral-relayer.d.ts +42 -0
- package/build/dex/integral/integral-relayer.js +192 -0
- package/build/dex/integral/integral-relayer.js.map +1 -0
- package/build/dex/integral/integral-token.d.ts +27 -0
- package/build/dex/integral/integral-token.js +59 -0
- package/build/dex/integral/integral-token.js.map +1 -0
- package/build/dex/{inception/inception-native.d.ts → integral/integral.d.ts} +19 -21
- package/build/dex/integral/integral.js +376 -0
- package/build/dex/integral/integral.js.map +1 -0
- package/build/dex/integral/types.d.ts +85 -0
- package/build/dex/integral/types.js +9 -0
- package/build/dex/integral/types.js.map +1 -0
- package/build/dex/integral/utils-e2e.d.ts +9 -0
- package/build/dex/integral/utils-e2e.js +131 -0
- package/build/dex/integral/utils-e2e.js.map +1 -0
- package/build/dex/integral/utils.d.ts +17 -0
- package/build/dex/integral/utils.js +94 -0
- package/build/dex/integral/utils.js.map +1 -0
- package/build/dex/jarvis.d.ts +1 -2
- package/build/dex/jarvis.js +0 -58
- package/build/dex/jarvis.js.map +1 -1
- package/build/dex/lido.d.ts +19 -0
- package/build/dex/lido.js +42 -0
- package/build/dex/lido.js.map +1 -0
- package/build/dex/m-token/config.d.ts +3 -0
- package/build/dex/m-token/config.js +19 -0
- package/build/dex/m-token/config.js.map +1 -0
- package/build/dex/m-token/m-token.d.ts +29 -0
- package/build/dex/m-token/m-token.js +145 -0
- package/build/dex/m-token/m-token.js.map +1 -0
- package/build/dex/m-token/m-wrapped-m.d.ts +17 -0
- package/build/dex/m-token/m-wrapped-m.js +50 -0
- package/build/dex/m-token/m-wrapped-m.js.map +1 -0
- package/build/dex/m-token/types.d.ts +12 -0
- package/build/dex/{inception → m-token}/types.js.map +1 -1
- package/build/dex/onebit.d.ts +25 -0
- package/build/dex/onebit.js +42 -0
- package/build/dex/onebit.js.map +1 -0
- package/build/dex/platypus/platypus.d.ts +1 -2
- package/build/dex/platypus/platypus.js +0 -31
- package/build/dex/platypus/platypus.js.map +1 -1
- package/build/dex/smoothy.d.ts +26 -0
- package/build/dex/smoothy.js +48 -0
- package/build/dex/smoothy.js.map +1 -0
- package/build/dex/spark/config.js.map +1 -1
- package/build/dex/spark/spark-psm.d.ts +51 -0
- package/build/dex/spark/spark-psm.js +276 -0
- package/build/dex/spark/spark-psm.js.map +1 -0
- package/build/dex/spark/spark-sdai-pool.d.ts +1 -1
- package/build/dex/spark/spark-sdai-pool.js.map +1 -1
- package/build/dex/spark/spark.d.ts +4 -3
- package/build/dex/spark/spark.js +4 -2
- package/build/dex/spark/spark.js.map +1 -1
- package/build/dex/spark/susds-psm.d.ts +49 -0
- package/build/dex/spark/susds-psm.js +245 -0
- package/build/dex/spark/susds-psm.js.map +1 -0
- package/build/dex/spark/types.d.ts +13 -2
- package/build/dex/spark/types.js +8 -1
- package/build/dex/spark/types.js.map +1 -1
- package/build/dex/spark/utils.d.ts +2 -1
- package/build/dex/spark/utils.js +23 -0
- package/build/dex/spark/utils.js.map +1 -1
- package/build/dex/stable-pool.d.ts +28 -0
- package/build/dex/stable-pool.js +62 -0
- package/build/dex/stable-pool.js.map +1 -0
- package/build/dex/swaap-v1/swaap-v1.d.ts +1 -2
- package/build/dex/swaap-v1/swaap-v1.js +0 -10
- package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
- package/build/dex/trader-joe-v2.1/optimizer.d.ts +2 -0
- package/build/dex/trader-joe-v2.1/optimizer.js +47 -0
- package/build/dex/trader-joe-v2.1/optimizer.js.map +1 -0
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
- package/build/dex/trader-joe-v2.1.d.ts +43 -0
- package/build/dex/trader-joe-v2.1.js +79 -0
- package/build/dex/trader-joe-v2.1.js.map +1 -0
- package/build/dex/uniswap-v4/config.d.ts +3 -0
- package/build/dex/uniswap-v4/config.js +58 -0
- package/build/dex/uniswap-v4/config.js.map +1 -0
- package/build/dex/uniswap-v4/constants.d.ts +7 -0
- package/build/dex/uniswap-v4/constants.js +18 -0
- package/build/dex/uniswap-v4/constants.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/BitMath.d.ts +4 -0
- package/build/dex/uniswap-v4/contract-math/BitMath.js +93 -0
- package/build/dex/uniswap-v4/contract-math/BitMath.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/FixedPoint128.d.ts +3 -0
- package/build/dex/uniswap-v4/contract-math/FixedPoint128.js +8 -0
- package/build/dex/uniswap-v4/contract-math/FixedPoint128.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/FixedPoint96.d.ts +4 -0
- package/build/dex/uniswap-v4/contract-math/FixedPoint96.js +9 -0
- package/build/dex/uniswap-v4/contract-math/FixedPoint96.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/FullMath.d.ts +4 -0
- package/build/dex/uniswap-v4/contract-math/FullMath.js +19 -0
- package/build/dex/uniswap-v4/contract-math/FullMath.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/LiquidityMath.d.ts +3 -0
- package/build/dex/uniswap-v4/contract-math/LiquidityMath.js +22 -0
- package/build/dex/uniswap-v4/contract-math/LiquidityMath.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.d.ts +10 -0
- package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.js +91 -0
- package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/SwapMath.d.ts +8 -0
- package/build/dex/uniswap-v4/contract-math/SwapMath.js +70 -0
- package/build/dex/uniswap-v4/contract-math/SwapMath.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/TickBitMap.d.ts +7 -0
- package/build/dex/uniswap-v4/contract-math/TickBitMap.js +86 -0
- package/build/dex/uniswap-v4/contract-math/TickBitMap.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/TickMath.d.ts +8 -0
- package/build/dex/uniswap-v4/contract-math/TickMath.js +162 -0
- package/build/dex/uniswap-v4/contract-math/TickMath.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/UnsafeMath.d.ts +3 -0
- package/build/dex/uniswap-v4/contract-math/UnsafeMath.js +10 -0
- package/build/dex/uniswap-v4/contract-math/UnsafeMath.js.map +1 -0
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.d.ts +8 -0
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.js +11 -0
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.js.map +1 -0
- package/build/dex/uniswap-v4/encoder.d.ts +16 -0
- package/build/dex/uniswap-v4/encoder.js +104 -0
- package/build/dex/uniswap-v4/encoder.js.map +1 -0
- package/build/dex/uniswap-v4/subgraph.d.ts +5 -0
- package/build/dex/uniswap-v4/subgraph.js +80 -0
- package/build/dex/uniswap-v4/subgraph.js.map +1 -0
- package/build/dex/uniswap-v4/types.d.ts +64 -0
- package/build/dex/uniswap-v4/types.js +3 -0
- package/build/dex/uniswap-v4/types.js.map +1 -0
- package/build/dex/uniswap-v4/uniswap-v4-pool-manager.d.ts +33 -0
- package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js +152 -0
- package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js.map +1 -0
- package/build/dex/uniswap-v4/uniswap-v4.d.ts +38 -0
- package/build/dex/uniswap-v4/uniswap-v4.js +169 -0
- package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -0
- package/build/dex/uniswap-v4/utils.d.ts +2 -0
- package/build/dex/uniswap-v4/utils.js +15 -0
- package/build/dex/uniswap-v4/utils.js.map +1 -0
- package/build/dex/zerox/index.d.ts +26 -4
- package/build/dex/zerox/index.js +42 -50
- package/build/dex/zerox/index.js.map +1 -1
- package/build/dex/zerox/types.d.ts +0 -29
- package/build/dex/zerox/types.js +1 -8
- package/build/dex/zerox/types.js.map +1 -1
- package/package.json +1 -1
- package/src/abi/sdai/PSM3.abi.json +721 -0
- package/src/abi/sdai/SSRAuthOracle.abi.json +522 -0
- package/src/dex/index.ts +2 -0
- package/src/dex/spark/config.ts +15 -2
- package/src/dex/spark/spark-e2e.test.ts +130 -13
- package/src/dex/spark/spark-events.test.ts +97 -0
- package/src/dex/spark/spark-integration.test.ts +256 -0
- package/src/dex/spark/spark-psm.ts +361 -0
- package/src/dex/spark/spark-sdai-pool.ts +1 -2
- package/src/dex/spark/spark.ts +4 -3
- package/src/dex/spark/types.ts +17 -2
- package/src/dex/spark/utils.ts +41 -1
- package/tests/constants-e2e.ts +18 -3
- package/build/abi/Aave_GSM.json +0 -751
- package/build/abi/Balancer.json +0 -257
- package/build/abi/BalancerV2.json +0 -1179
- package/build/abi/RamsesV2Quoter.abi.json +0 -274
- package/build/abi/USDM.json +0 -807
- package/build/abi/UniswapV2Router.json +0 -397
- package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
- package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
- package/build/abi/curve-v1/CurveTokenV1.json +0 -305
- package/build/abi/curve-v1/CurveTokenV2.json +0 -318
- package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
- package/build/abi/curve-v1/CurveV2Swap.json +0 -700
- package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
- package/build/abi/curve-v1/FactoryRegistry.json +0 -508
- package/build/abi/curve-v1/StableSwapAave.json +0 -1152
- package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
- package/build/abi/curve-v1/StableSwapCompound.json +0 -814
- package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
- package/build/abi/curve-v1/StableSwapPax.json +0 -865
- package/build/abi/curve-v1/StableSwapSnow.json +0 -900
- package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
- package/build/abi/curve-v1/StableSwapY.json +0 -814
- package/build/abi/inception/inception-ineth-pool.json +0 -1062
- package/build/abi/inception/inception-ratio-feed.json +0 -329
- package/build/abi/inception/inception-vault.json +0 -991
- package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
- package/build/abi/kyberdmm.abi.json +0 -1148
- package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
- package/build/abi/nerve/nerve-metapool.json +0 -790
- package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
- package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
- package/build/dex/balancer-v1/balancer-pools.json +0 -33333
- package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
- package/build/dex/bebop/websocket-fetcher.js +0 -87
- package/build/dex/bebop/websocket-fetcher.js.map +0 -1
- package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
- package/build/dex/idle-dao/idle-dao-pool.js +0 -176
- package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
- package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
- package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
- package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
- package/build/dex/idle-dao/scripts.d.ts +0 -9
- package/build/dex/idle-dao/scripts.js +0 -552
- package/build/dex/idle-dao/scripts.js.map +0 -1
- package/build/dex/inception/config.d.ts +0 -4
- package/build/dex/inception/config.js +0 -109
- package/build/dex/inception/config.js.map +0 -1
- package/build/dex/inception/inception-event-pool.d.ts +0 -16
- package/build/dex/inception/inception-event-pool.js +0 -51
- package/build/dex/inception/inception-event-pool.js.map +0 -1
- package/build/dex/inception/inception-native.js +0 -131
- package/build/dex/inception/inception-native.js.map +0 -1
- package/build/dex/inception/inception-pool.d.ts +0 -18
- package/build/dex/inception/inception-pool.js +0 -32
- package/build/dex/inception/inception-pool.js.map +0 -1
- package/build/dex/inception/inception-price-feed.d.ts +0 -19
- package/build/dex/inception/inception-price-feed.js +0 -51
- package/build/dex/inception/inception-price-feed.js.map +0 -1
- package/build/dex/inception/inception.d.ts +0 -43
- package/build/dex/inception/inception.js +0 -204
- package/build/dex/inception/inception.js.map +0 -1
- package/build/dex/inception/tokens.d.ts +0 -9
- package/build/dex/inception/tokens.js +0 -28
- package/build/dex/inception/tokens.js.map +0 -1
- package/build/dex/inception/types.d.ts +0 -22
- package/build/dex/inception/utils.d.ts +0 -6
- package/build/dex/inception/utils.js +0 -37
- package/build/dex/inception/utils.js.map +0 -1
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
- package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
- package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
- /package/build/dex/{inception → m-token}/types.js +0 -0
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"needWrapNative": true,
|
|
4
|
-
"dexFuncHasRecipient": true,
|
|
5
|
-
"dexFuncHasDestToken": true,
|
|
6
|
-
"exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065898bb00000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000",
|
|
7
|
-
"targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"needWrapNative": true,
|
|
11
|
-
"dexFuncHasRecipient": true,
|
|
12
|
-
"dexFuncHasDestToken": true,
|
|
13
|
-
"exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065898bb00000000000000000000000000000000000000000000000001e87f85809dc00000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc20001f4a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000",
|
|
14
|
-
"targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"needWrapNative": false,
|
|
18
|
-
"dexFuncHasRecipient": false,
|
|
19
|
-
"dexFuncHasDestToken": true,
|
|
20
|
-
"exchangeData": "0x4e7ffa040000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000400000000000000000000000069d460e01070a7ba1bc363885bc8f4f0daa19bf500000000000000000000000000000000000000000000000029a2241af62c00000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000001373e57f764a7944bdd7a4bd5ca3007d496934da000000000000000000000000000000000000000000000000058d15e1762800000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000002257aaac34bcb27900291f7b84ee2565a6cbac570000000000000000000000000000000000000000000000000853a0d2313c00000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000008a649274e4d777ffc6851f13d23a86bbfa2f2fbf0000000000000000000000000000000000000000000000000853a0d2313c00000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
|
|
21
|
-
"targetExchange": "0x6317c5e82a06e1d8bf200d21f4510ac2c038ac81"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"needWrapNative": true,
|
|
4
|
-
"dexFuncHasRecipient": true,
|
|
5
|
-
"dexFuncHasDestToken": true,
|
|
6
|
-
"exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000091e96a80943d06085997bbf41f253ae85f560b3e0000000000000000000000000000000000000000000000000000000065898c61000000000000000000000000000000000000000000000000000000017d7840000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000bb8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000",
|
|
7
|
-
"targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"needWrapNative": true,
|
|
11
|
-
"dexFuncHasRecipient": true,
|
|
12
|
-
"dexFuncHasDestToken": true,
|
|
13
|
-
"exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000091e96a80943d06085997bbf41f253ae85f560b3e0000000000000000000000000000000000000000000000000000000065898c61000000000000000000000000000000000000000000000000000000011e1a30000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002ba0b86991c6218b36c1d19d4a2e9eb0ce3606eb480001f4c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000",
|
|
14
|
-
"targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"needWrapNative": false,
|
|
18
|
-
"dexFuncHasRecipient": false,
|
|
19
|
-
"dexFuncHasDestToken": true,
|
|
20
|
-
"exchangeData": "0x3ca9184e0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000020c8558000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000400000000000000000000000069d460e01070a7ba1bc363885bc8f4f0daa19bf5000000000000000000000000000000000000000000000000000000014dc938000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000002257aaac34bcb27900291f7b84ee2565a6cbac570000000000000000000000000000000000000000000000000000000047868c000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000008a649274e4d777ffc6851f13d23a86bbfa2f2fbf0000000000000000000000000000000000000000000000000000000047868c000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000009b208194acc0a8ccb2a8dcafeacfbb7dcc093f81000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
|
|
21
|
-
"targetExchange": "0x6317c5e82a06e1d8bf200d21f4510ac2c038ac81"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"needWrapNative": true,
|
|
4
|
-
"dexFuncHasRecipient": true,
|
|
5
|
-
"dexFuncHasDestToken": true,
|
|
6
|
-
"exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008edf3289c84e5ba9c73350805a7d4c1f43b41e080000000000000000000000000000000000000000000000000000000065898abd0000000000000000000000000000000000000000000000a2a15d09519be000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002b6b3595068778dd592e39a122f4f5a5cf09c90fe2000bb8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000",
|
|
7
|
-
"targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
|
|
8
|
-
}
|
|
9
|
-
]
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"needWrapNative": true,
|
|
4
|
-
"dexFuncHasRecipient": true,
|
|
5
|
-
"dexFuncHasDestToken": true,
|
|
6
|
-
"exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065898ab80000000000000000000000000000000000000000000000001cdda4faccd000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b3595068778dd592e39a122f4f5a5cf09c90fe2000000000000000000000000000000000000000000",
|
|
7
|
-
"targetExchange": "0xe592427a0aece92de3edee1f18e0157c05861564"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"needWrapNative": true,
|
|
11
|
-
"dexFuncHasRecipient": true,
|
|
12
|
-
"dexFuncHasDestToken": true,
|
|
13
|
-
"exchangeData": "0xc04b8d59000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e6f1c1f58e34df3892cb1b1c193f82462bc0a86e0000000000000000000000000000000000000000000000000000000065898ab80000000000000000000000000000000000000000000000001aa535d3d0c000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb86b3595068778dd592e39a122f4f5a5cf09c90fe2000000000000000000000000000000000000000000",
|
|
14
|
-
"targetExchange": "0x00f23572b16c5e9e58e7b965def51ff8ff546e34"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"exchangeData": "0xa6417ed6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e918666800000000000000000000000000000000000000000000000000000000000000001",
|
|
4
|
-
"needWrapNative": false,
|
|
5
|
-
"dexFuncHasRecipient": false,
|
|
6
|
-
"dexFuncHasDestToken": false,
|
|
7
|
-
"targetExchange": "0xa5407eae9ba41422680e2e00537571bcc53efbfd"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"exchangeData": "0x3df02124000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080103199e000000000000000000000000000000000000000000000000000000000000000001",
|
|
11
|
-
"needWrapNative": false,
|
|
12
|
-
"dexFuncHasRecipient": false,
|
|
13
|
-
"dexFuncHasDestToken": false,
|
|
14
|
-
"targetExchange": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"exchangeData": "0xa6417ed600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e8d7a000800000000000000000000000000000000000000000000000000000000000000001",
|
|
18
|
-
"needWrapNative": false,
|
|
19
|
-
"dexFuncHasRecipient": false,
|
|
20
|
-
"dexFuncHasDestToken": false,
|
|
21
|
-
"targetExchange": "0xdebf20617708857ebe4f679508e7b7863a8a8eee"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"deposit": {
|
|
3
|
-
"callee": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
4
|
-
"calldata": "0xd0e30db0",
|
|
5
|
-
"value": "15139302788530231154"
|
|
6
|
-
},
|
|
7
|
-
"withdraw": {
|
|
8
|
-
"callee": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
9
|
-
"calldata": "0x2e1a7d4d000000000000000000000000000000000000000000000000d2199bacb96cd772",
|
|
10
|
-
"value": "0"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"deposit": {
|
|
3
|
-
"callee": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
4
|
-
"calldata": "0xd0e30db0",
|
|
5
|
-
"value": "98740492593011019905"
|
|
6
|
-
},
|
|
7
|
-
"withdraw": {
|
|
8
|
-
"callee": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
9
|
-
"calldata": "0x2e1a7d4d0000000000000000000000000000000000000000000000055a4cb2dd2182d081",
|
|
10
|
-
"value": "0"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"deposit": {
|
|
3
|
-
"callee": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
4
|
-
"calldata": "0xd0e30db0",
|
|
5
|
-
"value": "33290954892243157138"
|
|
6
|
-
},
|
|
7
|
-
"withdraw": {
|
|
8
|
-
"callee": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
9
|
-
"calldata": "0x2e1a7d4d000000000000000000000000000000000000000000000001ce013b1769b4c092",
|
|
10
|
-
"value": "0"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"blockNumber": 19040411,
|
|
3
|
-
"network": 1,
|
|
4
|
-
"srcToken": "0xba100000625a3754423978a60c9317c58a424e3d",
|
|
5
|
-
"srcDecimals": 18,
|
|
6
|
-
"srcAmount": "10000000000000000000000",
|
|
7
|
-
"destToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
8
|
-
"destDecimals": 18,
|
|
9
|
-
"destAmount": "34212136872451297201131",
|
|
10
|
-
"bestRoute": [
|
|
11
|
-
{
|
|
12
|
-
"percent": 100,
|
|
13
|
-
"swaps": [
|
|
14
|
-
{
|
|
15
|
-
"srcToken": "0xba100000625a3754423978a60c9317c58a424e3d",
|
|
16
|
-
"srcDecimals": 18,
|
|
17
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
18
|
-
"destDecimals": 18,
|
|
19
|
-
"swapExchanges": [
|
|
20
|
-
{
|
|
21
|
-
"exchange": "BalancerV1",
|
|
22
|
-
"srcAmount": "10000000000000000000000",
|
|
23
|
-
"destAmount": "15139302788530231154",
|
|
24
|
-
"percent": 100,
|
|
25
|
-
"poolAddresses": [
|
|
26
|
-
"0x49ff149d649769033d43783e7456f626862cd160",
|
|
27
|
-
"0xe867be952ee17d2d294f2de62b13b9f4af521e9a",
|
|
28
|
-
"0x59a19d8c652fa0284f44113d0ff9aba70bd46fb4",
|
|
29
|
-
"0x9dde0b1d39d0d2c6589cde1bfed3542d2a3c5b11",
|
|
30
|
-
"0xe93e8aa4e88359dacf33c491cf5bd56eb6c110c1"
|
|
31
|
-
],
|
|
32
|
-
"data": {
|
|
33
|
-
"swaps": [
|
|
34
|
-
{
|
|
35
|
-
"pool": "0x49ff149d649769033d43783e7456f626862cd160",
|
|
36
|
-
"tokenInParam": "3000000000000000000000",
|
|
37
|
-
"tokenOutParam": "0",
|
|
38
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"pool": "0xe867be952ee17d2d294f2de62b13b9f4af521e9a",
|
|
42
|
-
"tokenInParam": "3400000000000000000000",
|
|
43
|
-
"tokenOutParam": "0",
|
|
44
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"pool": "0x59a19d8c652fa0284f44113d0ff9aba70bd46fb4",
|
|
48
|
-
"tokenInParam": "2000000000000000000000",
|
|
49
|
-
"tokenOutParam": "0",
|
|
50
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"pool": "0x9dde0b1d39d0d2c6589cde1bfed3542d2a3c5b11",
|
|
54
|
-
"tokenInParam": "1400000000000000000000",
|
|
55
|
-
"tokenOutParam": "0",
|
|
56
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"pool": "0xe93e8aa4e88359dacf33c491cf5bd56eb6c110c1",
|
|
60
|
-
"tokenInParam": "200000000000000000000",
|
|
61
|
-
"tokenOutParam": "0",
|
|
62
|
-
"maxPrice": "115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"gasUSD": "35.745695"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
72
|
-
"srcDecimals": 18,
|
|
73
|
-
"destToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
74
|
-
"destDecimals": 18,
|
|
75
|
-
"swapExchanges": [
|
|
76
|
-
{
|
|
77
|
-
"exchange": "UniswapV3",
|
|
78
|
-
"srcAmount": "302786055770604623",
|
|
79
|
-
"destAmount": "679797295379811802751",
|
|
80
|
-
"percent": 2,
|
|
81
|
-
"poolAddresses": ["0x73a6a761fe483ba19debb8f56ac5bbf14c0cdad1"],
|
|
82
|
-
"data": {
|
|
83
|
-
"path": [
|
|
84
|
-
{
|
|
85
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
86
|
-
"tokenOut": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
87
|
-
"fee": "3000",
|
|
88
|
-
"currentFee": "3000"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"gasUSD": "17.932424"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"exchange": "SushiSwapV3",
|
|
96
|
-
"srcAmount": "14836516732759626531",
|
|
97
|
-
"destAmount": "33532339577071485398380",
|
|
98
|
-
"percent": 98,
|
|
99
|
-
"poolAddresses": ["0x87c7056bbe6084f03304196be51c6b90b6d85aa2"],
|
|
100
|
-
"data": {
|
|
101
|
-
"path": [
|
|
102
|
-
{
|
|
103
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
104
|
-
"tokenOut": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
105
|
-
"fee": "3000",
|
|
106
|
-
"currentFee": "3000"
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"gasUSD": "9.353457"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
]
|
|
115
|
-
}
|
|
116
|
-
],
|
|
117
|
-
"gasCostUSD": "72.283755",
|
|
118
|
-
"gasCost": "1213300",
|
|
119
|
-
"side": "SELL",
|
|
120
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
121
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
122
|
-
"contractMethod": "multiSwap",
|
|
123
|
-
"partnerFee": 0,
|
|
124
|
-
"srcUSD": "39400.0000000000",
|
|
125
|
-
"destUSD": "36025.3801266912",
|
|
126
|
-
"maxImpact": 100,
|
|
127
|
-
"partner": "any",
|
|
128
|
-
"maxImpactReached": false,
|
|
129
|
-
"hmac": "afef3cc1cf466c77ecc30004f916867ba9bab3ab"
|
|
130
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"blockNumber": 19040447,
|
|
3
|
-
"network": 1,
|
|
4
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
5
|
-
"srcDecimals": 18,
|
|
6
|
-
"srcAmount": "100000000000000000000000",
|
|
7
|
-
"destToken": "0x7448c7456a97769f6cd04f1e83a4a23ccdc46abd",
|
|
8
|
-
"destDecimals": 18,
|
|
9
|
-
"destAmount": "14973345467707302367455",
|
|
10
|
-
"bestRoute": [
|
|
11
|
-
{
|
|
12
|
-
"percent": 100,
|
|
13
|
-
"swaps": [
|
|
14
|
-
{
|
|
15
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
16
|
-
"srcDecimals": 18,
|
|
17
|
-
"destToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
18
|
-
"destDecimals": 6,
|
|
19
|
-
"swapExchanges": [
|
|
20
|
-
{
|
|
21
|
-
"exchange": "UniswapV3",
|
|
22
|
-
"srcAmount": "20000000000000000000000",
|
|
23
|
-
"destAmount": "706406741503",
|
|
24
|
-
"percent": 20,
|
|
25
|
-
"poolAddresses": ["0x7bea39867e4169dbe237d55c8242a8f2fcdcc387"],
|
|
26
|
-
"data": {
|
|
27
|
-
"path": [
|
|
28
|
-
{
|
|
29
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
30
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
31
|
-
"fee": "10000",
|
|
32
|
-
"currentFee": "10000"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"gasUSD": "93.518633"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"exchange": "UniswapV3",
|
|
40
|
-
"srcAmount": "18000000000000000000000",
|
|
41
|
-
"destAmount": "34747731823899",
|
|
42
|
-
"percent": 18,
|
|
43
|
-
"poolAddresses": ["0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"],
|
|
44
|
-
"data": {
|
|
45
|
-
"path": [
|
|
46
|
-
{
|
|
47
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
48
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
49
|
-
"fee": "3000",
|
|
50
|
-
"currentFee": "3000"
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
"gasUSD": "148.720241"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"exchange": "UniswapV3",
|
|
58
|
-
"srcAmount": "12000000000000000000000",
|
|
59
|
-
"destAmount": "27632814296817",
|
|
60
|
-
"percent": 12,
|
|
61
|
-
"poolAddresses": ["0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"],
|
|
62
|
-
"data": {
|
|
63
|
-
"path": [
|
|
64
|
-
{
|
|
65
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
66
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
67
|
-
"fee": "500",
|
|
68
|
-
"currentFee": "500"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"gasUSD": "165.029807"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"exchange": "SushiSwapV3",
|
|
76
|
-
"srcAmount": "50000000000000000000000",
|
|
77
|
-
"destAmount": "48301063985",
|
|
78
|
-
"percent": 50,
|
|
79
|
-
"poolAddresses": ["0x763d3b7296e7c9718ad5b058ac2692a19e5b3638"],
|
|
80
|
-
"data": {
|
|
81
|
-
"path": [
|
|
82
|
-
{
|
|
83
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
84
|
-
"tokenOut": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
85
|
-
"fee": "3000",
|
|
86
|
-
"currentFee": "3000"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"gasUSD": "29.534951"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"srcToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
96
|
-
"srcDecimals": 6,
|
|
97
|
-
"destToken": "0x7448c7456a97769f6cd04f1e83a4a23ccdc46abd",
|
|
98
|
-
"destDecimals": 18,
|
|
99
|
-
"swapExchanges": [
|
|
100
|
-
{
|
|
101
|
-
"exchange": "MaverickV1",
|
|
102
|
-
"srcAmount": "63135253926204",
|
|
103
|
-
"destAmount": "14973345467707302367455",
|
|
104
|
-
"percent": 100,
|
|
105
|
-
"poolAddresses": ["0x2df64ac2e8874c43021675ed7a65d3429e30b96b"],
|
|
106
|
-
"data": {
|
|
107
|
-
"fee": "0.01",
|
|
108
|
-
"exchange": "0x4a585e0f7c18e2c414221d6402652d5e0990e5f8",
|
|
109
|
-
"pool": "0x2df64ac2e8874c43021675ed7a65d3429e30b96b",
|
|
110
|
-
"tokenA": "0x7448c7456a97769f6cd04f1e83a4a23ccdc46abd",
|
|
111
|
-
"tokenB": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
112
|
-
"tickSpacing": "2232",
|
|
113
|
-
"protocolFeeRatio": "0",
|
|
114
|
-
"lookback": "10800000000000000000000",
|
|
115
|
-
"gasUSD": "210.262925"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"gasCostUSD": "653.804707",
|
|
124
|
-
"gasCost": "12507204",
|
|
125
|
-
"side": "SELL",
|
|
126
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
127
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
128
|
-
"contractMethod": "multiSwap",
|
|
129
|
-
"partnerFee": 0,
|
|
130
|
-
"srcUSD": "248925000.0000000000",
|
|
131
|
-
"destUSD": "8281.7573781889",
|
|
132
|
-
"maxImpact": 100,
|
|
133
|
-
"partner": "any",
|
|
134
|
-
"maxImpactReached": false,
|
|
135
|
-
"hmac": "bca799bdb143b1bcb7bcd7cf6df7b5ae2972684d"
|
|
136
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"blockNumber": 19040301,
|
|
3
|
-
"network": 1,
|
|
4
|
-
"srcToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
5
|
-
"srcDecimals": 18,
|
|
6
|
-
"srcAmount": "1000000000000000000000000",
|
|
7
|
-
"destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
8
|
-
"destDecimals": 8,
|
|
9
|
-
"destAmount": "592446751",
|
|
10
|
-
"bestRoute": [
|
|
11
|
-
{
|
|
12
|
-
"percent": 100,
|
|
13
|
-
"swaps": [
|
|
14
|
-
{
|
|
15
|
-
"srcToken": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
16
|
-
"srcDecimals": 18,
|
|
17
|
-
"destToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
18
|
-
"destDecimals": 18,
|
|
19
|
-
"swapExchanges": [
|
|
20
|
-
{
|
|
21
|
-
"exchange": "UniswapV3",
|
|
22
|
-
"srcAmount": "20000000000000000000000",
|
|
23
|
-
"destAmount": "403452896981135609",
|
|
24
|
-
"percent": 2,
|
|
25
|
-
"poolAddresses": ["0x73a6a761fe483ba19debb8f56ac5bbf14c0cdad1"],
|
|
26
|
-
"data": {
|
|
27
|
-
"path": [
|
|
28
|
-
{
|
|
29
|
-
"tokenIn": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
30
|
-
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
31
|
-
"fee": "3000",
|
|
32
|
-
"currentFee": "3000"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"gasUSD": "86.616491"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"exchange": "SushiSwapV3",
|
|
40
|
-
"srcAmount": "980000000000000000000000",
|
|
41
|
-
"destAmount": "98337039696029884296",
|
|
42
|
-
"percent": 98,
|
|
43
|
-
"poolAddresses": ["0x87c7056bbe6084f03304196be51c6b90b6d85aa2"],
|
|
44
|
-
"data": {
|
|
45
|
-
"path": [
|
|
46
|
-
{
|
|
47
|
-
"tokenIn": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
|
|
48
|
-
"tokenOut": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
49
|
-
"fee": "3000",
|
|
50
|
-
"currentFee": "3000"
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
"gasUSD": "29.303339"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"srcToken": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
60
|
-
"srcDecimals": 18,
|
|
61
|
-
"destToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
62
|
-
"destDecimals": 8,
|
|
63
|
-
"swapExchanges": [
|
|
64
|
-
{
|
|
65
|
-
"exchange": "UniswapV3",
|
|
66
|
-
"srcAmount": "98740492593011019905",
|
|
67
|
-
"destAmount": "592446751",
|
|
68
|
-
"percent": 100,
|
|
69
|
-
"poolAddresses": ["0x4585fe77225b41b697c938b018e2ac67ac5a20c0"],
|
|
70
|
-
"data": {
|
|
71
|
-
"path": [
|
|
72
|
-
{
|
|
73
|
-
"tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
74
|
-
"tokenOut": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
75
|
-
"fee": "500",
|
|
76
|
-
"currentFee": "500"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"gasUSD": "6.616883"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"gasCostUSD": "128.869712",
|
|
88
|
-
"gasCost": "2590294",
|
|
89
|
-
"side": "SELL",
|
|
90
|
-
"tokenTransferProxy": "0x216b4b4ba9f3e719726886d34a177484278bfcae",
|
|
91
|
-
"contractAddress": "0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57",
|
|
92
|
-
"contractMethod": "multiSwap",
|
|
93
|
-
"partnerFee": 0,
|
|
94
|
-
"srcUSD": "1052000.0000000000",
|
|
95
|
-
"destUSD": "245142.6166287800",
|
|
96
|
-
"maxImpact": 100,
|
|
97
|
-
"partner": "any",
|
|
98
|
-
"maxImpactReached": false,
|
|
99
|
-
"hmac": "ec0b318bb7815c7604056e9486b90098c9b4d379"
|
|
100
|
-
}
|