@paraswap/dex-lib 4.1.13 → 4.1.14-balv3.2
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/base_pools.ts +1861 -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/{integral/relayer.json → RamsesV2Pool.abi.json} +850 -832
- 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/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +1246 -0
- package/build/abi/{integral/oracle.json → angle-transmuter/ChainlinkEACAggregatorProxy.json} +247 -239
- 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/{integral/pool.json → curve-v1/StableSwapUSDN.json} +450 -487
- package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
- package/build/abi/curve-v1/StableSwapY.json +814 -0
- package/build/abi/inception/inception-ineth-pool.json +1062 -0
- package/build/abi/inception/inception-ineth.json +609 -0
- package/build/abi/inception/inception-ratio-feed.json +329 -0
- package/build/abi/inception/inception-vault.json +991 -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.d.ts +2 -1
- package/build/dex/aave-v1/aave-v1.js +22 -0
- package/build/dex/aave-v1/aave-v1.js.map +1 -1
- package/build/dex/balancer-v1/balancer-pools.json +33333 -0
- package/build/dex/balancer-v3/balancer-v3-pool.js +9 -0
- package/build/dex/balancer-v3/balancer-v3-pool.js.map +1 -1
- package/build/dex/balancer-v3/balancer-v3.js +9 -2
- package/build/dex/balancer-v3/balancer-v3.js.map +1 -1
- 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/hashflow/config.js +3 -0
- package/build/dex/hashflow/config.js.map +1 -1
- package/build/dex/hashflow/hashflow.js +4 -8
- package/build/dex/hashflow/hashflow.js.map +1 -1
- 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/config.d.ts +4 -0
- package/build/dex/inception/config.js +109 -0
- package/build/dex/inception/config.js.map +1 -0
- package/build/dex/inception/inception-event-pool.d.ts +16 -0
- package/build/dex/inception/inception-event-pool.js +51 -0
- package/build/dex/inception/inception-event-pool.js.map +1 -0
- package/build/dex/{integral/integral.d.ts → inception/inception-native.d.ts} +21 -19
- 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 +43 -0
- package/build/dex/inception/inception.js +204 -0
- package/build/dex/inception/inception.js.map +1 -0
- package/build/dex/inception/tokens.d.ts +9 -0
- package/build/dex/inception/tokens.js +28 -0
- package/build/dex/inception/tokens.js.map +1 -0
- package/build/dex/inception/types.d.ts +22 -0
- package/build/dex/{m-token → inception}/types.js.map +1 -1
- package/build/dex/inception/utils.d.ts +6 -0
- package/build/dex/inception/utils.js +37 -0
- package/build/dex/inception/utils.js.map +1 -0
- package/build/dex/jarvis.d.ts +2 -1
- package/build/dex/jarvis.js +58 -0
- package/build/dex/jarvis.js.map +1 -1
- package/build/dex/platypus/platypus.d.ts +2 -1
- package/build/dex/platypus/platypus.js +31 -0
- package/build/dex/platypus/platypus.js.map +1 -1
- package/build/dex/swaap-v1/swaap-v1.d.ts +2 -1
- package/build/dex/swaap-v1/swaap-v1.js +10 -0
- package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
- package/build/dex/woo-fi-v2/config.js +1 -1
- package/build/dex/zerox/index.d.ts +4 -26
- package/build/dex/zerox/index.js +50 -42
- package/build/dex/zerox/index.js.map +1 -1
- package/build/dex/zerox/types.d.ts +29 -0
- package/build/dex/zerox/types.js +8 -1
- package/build/dex/zerox/types.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 +2 -2
- package/src/dex/balancer-v3/balancer-v3-e2e.test.ts +63 -42
- package/src/dex/balancer-v3/balancer-v3-events.test.ts +46 -0
- package/src/dex/balancer-v3/balancer-v3-pool.ts +9 -0
- package/src/dex/balancer-v3/balancer-v3.ts +14 -4
- package/src/dex/hashflow/config.ts +3 -0
- package/src/dex/hashflow/hashflow-e2e.test.ts +30 -18
- package/src/dex/hashflow/hashflow.ts +6 -10
- package/src/dex/woo-fi-v2/config.ts +1 -1
- package/src/dex/woo-fi-v2/woo-fi-v2-e2e.test.ts +1 -0
- package/tests/constants-e2e.ts +6 -1
- package/.idea/aws.xml +0 -17
- package/.idea/codeStyles/Project.xml +0 -19
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/paraswap-dex-lib.iml +0 -9
- package/.idea/prettier.xml +0 -7
- package/.idea/vcs.xml +0 -6
- package/build/abi/integral/factory.json +0 -333
- package/build/abi/uniswap-v4/pool-manager.abi.json +0 -1366
- package/build/abi/uniswap-v4/quoter.abi.json +0 -461
- package/build/abi/uniswap-v4/router.abi.json +0 -230
- package/build/abi/uniswap-v4/state-view.abi.json +0 -365
- 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/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/fluid-dex/fluid-dex-generate-pool.d.ts +0 -49
- package/build/dex/fluid-dex/fluid-dex-generate-pool.js +0 -104
- package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +0 -1
- package/build/dex/integral/config.d.ts +0 -4
- package/build/dex/integral/config.js +0 -20
- package/build/dex/integral/config.js.map +0 -1
- package/build/dex/integral/context.d.ts +0 -40
- package/build/dex/integral/context.js +0 -158
- package/build/dex/integral/context.js.map +0 -1
- package/build/dex/integral/integral-factory.d.ts +0 -24
- package/build/dex/integral/integral-factory.js +0 -95
- package/build/dex/integral/integral-factory.js.map +0 -1
- package/build/dex/integral/integral-pool.d.ts +0 -50
- package/build/dex/integral/integral-pool.js +0 -149
- package/build/dex/integral/integral-pool.js.map +0 -1
- package/build/dex/integral/integral-pricing.d.ts +0 -18
- package/build/dex/integral/integral-pricing.js +0 -114
- package/build/dex/integral/integral-pricing.js.map +0 -1
- package/build/dex/integral/integral-relayer.d.ts +0 -42
- package/build/dex/integral/integral-relayer.js +0 -192
- package/build/dex/integral/integral-relayer.js.map +0 -1
- package/build/dex/integral/integral-token.d.ts +0 -27
- package/build/dex/integral/integral-token.js +0 -59
- package/build/dex/integral/integral-token.js.map +0 -1
- package/build/dex/integral/integral.js +0 -376
- package/build/dex/integral/integral.js.map +0 -1
- package/build/dex/integral/types.d.ts +0 -85
- package/build/dex/integral/types.js +0 -9
- package/build/dex/integral/types.js.map +0 -1
- package/build/dex/integral/utils-e2e.d.ts +0 -9
- package/build/dex/integral/utils-e2e.js +0 -131
- package/build/dex/integral/utils-e2e.js.map +0 -1
- package/build/dex/integral/utils.d.ts +0 -17
- package/build/dex/integral/utils.js +0 -94
- package/build/dex/integral/utils.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/m-token/config.d.ts +0 -3
- package/build/dex/m-token/config.js +0 -19
- package/build/dex/m-token/config.js.map +0 -1
- package/build/dex/m-token/m-token.d.ts +0 -29
- package/build/dex/m-token/m-token.js +0 -145
- package/build/dex/m-token/m-token.js.map +0 -1
- package/build/dex/m-token/m-wrapped-m.d.ts +0 -17
- package/build/dex/m-token/m-wrapped-m.js +0 -50
- package/build/dex/m-token/m-wrapped-m.js.map +0 -1
- package/build/dex/m-token/types.d.ts +0 -12
- 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/spark/susds-psm.d.ts +0 -49
- package/build/dex/spark/susds-psm.js +0 -245
- package/build/dex/spark/susds-psm.js.map +0 -1
- package/build/dex/stable-pool.d.ts +0 -28
- package/build/dex/stable-pool.js +0 -62
- package/build/dex/stable-pool.js.map +0 -1
- package/build/dex/trader-joe-v2.1/optimizer.d.ts +0 -2
- package/build/dex/trader-joe-v2.1/optimizer.js +0 -47
- package/build/dex/trader-joe-v2.1/optimizer.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-v4/config.d.ts +0 -3
- package/build/dex/uniswap-v4/config.js +0 -58
- package/build/dex/uniswap-v4/config.js.map +0 -1
- package/build/dex/uniswap-v4/constants.d.ts +0 -7
- package/build/dex/uniswap-v4/constants.js +0 -18
- package/build/dex/uniswap-v4/constants.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/BitMath.d.ts +0 -4
- package/build/dex/uniswap-v4/contract-math/BitMath.js +0 -93
- package/build/dex/uniswap-v4/contract-math/BitMath.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/FixedPoint128.d.ts +0 -3
- package/build/dex/uniswap-v4/contract-math/FixedPoint128.js +0 -8
- package/build/dex/uniswap-v4/contract-math/FixedPoint128.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/FixedPoint96.d.ts +0 -4
- package/build/dex/uniswap-v4/contract-math/FixedPoint96.js +0 -9
- package/build/dex/uniswap-v4/contract-math/FixedPoint96.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/FullMath.d.ts +0 -4
- package/build/dex/uniswap-v4/contract-math/FullMath.js +0 -19
- package/build/dex/uniswap-v4/contract-math/FullMath.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/LiquidityMath.d.ts +0 -3
- package/build/dex/uniswap-v4/contract-math/LiquidityMath.js +0 -22
- package/build/dex/uniswap-v4/contract-math/LiquidityMath.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.d.ts +0 -10
- package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.js +0 -91
- package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/SwapMath.d.ts +0 -8
- package/build/dex/uniswap-v4/contract-math/SwapMath.js +0 -70
- package/build/dex/uniswap-v4/contract-math/SwapMath.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/TickBitMap.d.ts +0 -7
- package/build/dex/uniswap-v4/contract-math/TickBitMap.js +0 -86
- package/build/dex/uniswap-v4/contract-math/TickBitMap.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/TickMath.d.ts +0 -8
- package/build/dex/uniswap-v4/contract-math/TickMath.js +0 -162
- package/build/dex/uniswap-v4/contract-math/TickMath.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/UnsafeMath.d.ts +0 -3
- package/build/dex/uniswap-v4/contract-math/UnsafeMath.js +0 -10
- package/build/dex/uniswap-v4/contract-math/UnsafeMath.js.map +0 -1
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.d.ts +0 -8
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.js +0 -11
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.js.map +0 -1
- package/build/dex/uniswap-v4/encoder.d.ts +0 -16
- package/build/dex/uniswap-v4/encoder.js +0 -104
- package/build/dex/uniswap-v4/encoder.js.map +0 -1
- package/build/dex/uniswap-v4/subgraph.d.ts +0 -5
- package/build/dex/uniswap-v4/subgraph.js +0 -80
- package/build/dex/uniswap-v4/subgraph.js.map +0 -1
- package/build/dex/uniswap-v4/types.d.ts +0 -64
- 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-pool-manager.d.ts +0 -33
- package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js +0 -152
- package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js.map +0 -1
- package/build/dex/uniswap-v4/uniswap-v4.d.ts +0 -38
- package/build/dex/uniswap-v4/uniswap-v4.js +0 -169
- package/build/dex/uniswap-v4/uniswap-v4.js.map +0 -1
- package/build/dex/uniswap-v4/utils.d.ts +0 -2
- package/build/dex/uniswap-v4/utils.js +0 -15
- package/build/dex/uniswap-v4/utils.js.map +0 -1
- /package/build/dex/{m-token → inception}/types.js +0 -0
|
@@ -72,7 +72,7 @@ function testForNetwork(
|
|
|
72
72
|
// TODO: Add any direct swap contractMethod name if it exists
|
|
73
73
|
const sideToContractMethods = new Map([
|
|
74
74
|
[SwapSide.SELL, [ContractMethod.swapExactAmountIn]],
|
|
75
|
-
[SwapSide.BUY, [ContractMethod.swapExactAmountOut]],
|
|
75
|
+
// [SwapSide.BUY, [ContractMethod.swapExactAmountOut]],
|
|
76
76
|
]);
|
|
77
77
|
|
|
78
78
|
describe(`${network}`, () => {
|
|
@@ -80,34 +80,34 @@ function testForNetwork(
|
|
|
80
80
|
describe(`${side}`, () => {
|
|
81
81
|
contractMethods.forEach((contractMethod: ContractMethod) => {
|
|
82
82
|
describe(`${contractMethod}`, () => {
|
|
83
|
-
if (testNative) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
83
|
+
// if (testNative) {
|
|
84
|
+
// it(`${nativeTokenSymbol} -> ${tokenASymbol}`, async () => {
|
|
85
|
+
// await testE2E(
|
|
86
|
+
// tokens[nativeTokenSymbol],
|
|
87
|
+
// tokens[tokenASymbol],
|
|
88
|
+
// holders[nativeTokenSymbol],
|
|
89
|
+
// side === SwapSide.SELL ? nativeTokenAmount : tokenAAmount,
|
|
90
|
+
// side,
|
|
91
|
+
// dexKey,
|
|
92
|
+
// contractMethod,
|
|
93
|
+
// network,
|
|
94
|
+
// provider,
|
|
95
|
+
// );
|
|
96
|
+
// });
|
|
97
|
+
// it(`${tokenASymbol} -> ${nativeTokenSymbol}`, async () => {
|
|
98
|
+
// await testE2E(
|
|
99
|
+
// tokens[tokenASymbol],
|
|
100
|
+
// tokens[nativeTokenSymbol],
|
|
101
|
+
// holders[tokenASymbol],
|
|
102
|
+
// side === SwapSide.SELL ? tokenAAmount : nativeTokenAmount,
|
|
103
|
+
// side,
|
|
104
|
+
// dexKey,
|
|
105
|
+
// contractMethod,
|
|
106
|
+
// network,
|
|
107
|
+
// provider,
|
|
108
|
+
// );
|
|
109
|
+
// });
|
|
110
|
+
// }
|
|
111
111
|
it(`${tokenASymbol} -> ${tokenBSymbol}`, async () => {
|
|
112
112
|
await testE2E(
|
|
113
113
|
tokens[tokenASymbol],
|
|
@@ -119,21 +119,22 @@ function testForNetwork(
|
|
|
119
119
|
contractMethod,
|
|
120
120
|
network,
|
|
121
121
|
provider,
|
|
122
|
+
{ BalancerV3: ['0x0657c3467f3bf465fab59b10f1453d665abe507e'] },
|
|
122
123
|
);
|
|
123
124
|
});
|
|
124
|
-
it(`${tokenBSymbol} -> ${tokenASymbol}`, async () => {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
});
|
|
125
|
+
// it(`${tokenBSymbol} -> ${tokenASymbol}`, async () => {
|
|
126
|
+
// await testE2E(
|
|
127
|
+
// tokens[tokenBSymbol],
|
|
128
|
+
// tokens[tokenASymbol],
|
|
129
|
+
// holders[tokenBSymbol],
|
|
130
|
+
// side === SwapSide.SELL ? tokenBAmount : tokenAAmount,
|
|
131
|
+
// side,
|
|
132
|
+
// dexKey,
|
|
133
|
+
// contractMethod,
|
|
134
|
+
// network,
|
|
135
|
+
// provider,
|
|
136
|
+
// );
|
|
137
|
+
// });
|
|
137
138
|
});
|
|
138
139
|
});
|
|
139
140
|
}),
|
|
@@ -345,6 +346,26 @@ describe('BalancerV3 E2E', () => {
|
|
|
345
346
|
describe('Base', () => {
|
|
346
347
|
const network = Network.BASE;
|
|
347
348
|
|
|
349
|
+
describe('FAILED_CASE', () => {
|
|
350
|
+
const tokenASymbol: string = 'WETH';
|
|
351
|
+
const tokenBSymbol: string = 'USDC';
|
|
352
|
+
|
|
353
|
+
const tokenAAmount: string = '3000000000000000';
|
|
354
|
+
const tokenBAmount: string = '100000000000000';
|
|
355
|
+
const nativeTokenAmount = '0';
|
|
356
|
+
|
|
357
|
+
testForNetwork(
|
|
358
|
+
network,
|
|
359
|
+
dexKey,
|
|
360
|
+
tokenASymbol,
|
|
361
|
+
tokenBSymbol,
|
|
362
|
+
tokenAAmount,
|
|
363
|
+
tokenBAmount,
|
|
364
|
+
nativeTokenAmount,
|
|
365
|
+
false,
|
|
366
|
+
);
|
|
367
|
+
});
|
|
368
|
+
|
|
348
369
|
describe('Stable Path', () => {
|
|
349
370
|
const tokenASymbol: string = 'wstETH';
|
|
350
371
|
const tokenBSymbol: string = 'WETH';
|
|
@@ -293,4 +293,50 @@ describe('BalancerV3 EventPool', function () {
|
|
|
293
293
|
},
|
|
294
294
|
);
|
|
295
295
|
});
|
|
296
|
+
describe('Base', function () {
|
|
297
|
+
const network = Network.BASE;
|
|
298
|
+
const dexHelper = new DummyDexHelper(network);
|
|
299
|
+
const logger = dexHelper.getLogger(dexKey);
|
|
300
|
+
let balancerV3Pool: BalancerV3EventPool;
|
|
301
|
+
|
|
302
|
+
const END_BLOCK = 27675048;
|
|
303
|
+
const BLOCKS_TO_CHECK = 1000;
|
|
304
|
+
const START_BLOCK = END_BLOCK - BLOCKS_TO_CHECK;
|
|
305
|
+
|
|
306
|
+
const vaultAddress = BalancerV3Config.BalancerV3[network].vaultAddress;
|
|
307
|
+
|
|
308
|
+
beforeEach(async () => {
|
|
309
|
+
balancerV3Pool = new BalancerV3EventPool(
|
|
310
|
+
dexKey,
|
|
311
|
+
network,
|
|
312
|
+
dexHelper,
|
|
313
|
+
logger,
|
|
314
|
+
);
|
|
315
|
+
});
|
|
316
|
+
|
|
317
|
+
describe(`Events for Vault: ${vaultAddress} blocks ${START_BLOCK} to ${END_BLOCK}`, () => {
|
|
318
|
+
for (
|
|
319
|
+
let blockNumber = START_BLOCK;
|
|
320
|
+
blockNumber <= END_BLOCK;
|
|
321
|
+
blockNumber++
|
|
322
|
+
) {
|
|
323
|
+
it(`Check state for block ${blockNumber}`, async function () {
|
|
324
|
+
await testEventSubscriber(
|
|
325
|
+
balancerV3Pool,
|
|
326
|
+
balancerV3Pool.addressesSubscribed,
|
|
327
|
+
(_blockNumber: number) =>
|
|
328
|
+
fetchPoolState(
|
|
329
|
+
balancerV3Pool,
|
|
330
|
+
_blockNumber,
|
|
331
|
+
'0x0657c3467f3bf465fab59b10f1453d665abe507e',
|
|
332
|
+
),
|
|
333
|
+
blockNumber,
|
|
334
|
+
`${dexKey}_${vaultAddress}`,
|
|
335
|
+
dexHelper.provider,
|
|
336
|
+
stateCompare,
|
|
337
|
+
);
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
});
|
|
296
342
|
});
|
|
@@ -460,6 +460,15 @@ export class BalancerV3EventPool extends StatefulEventSubscriber<PoolStateMap> {
|
|
|
460
460
|
hookState = {
|
|
461
461
|
...poolHookState,
|
|
462
462
|
amp: step.poolState.amp,
|
|
463
|
+
// TODO: Is it needed
|
|
464
|
+
// surgeThresholdPercentage:
|
|
465
|
+
// typeof poolHookState.surgeThresholdPercentage === 'bigint'
|
|
466
|
+
// ? poolHookState.surgeThresholdPercentage
|
|
467
|
+
// : BigInt(poolHookState.surgeThresholdPercentage || 0),
|
|
468
|
+
// maxSurgeFeePercentage:
|
|
469
|
+
// typeof poolHookState.maxSurgeFeePercentage === 'bigint'
|
|
470
|
+
// ? poolHookState.maxSurgeFeePercentage
|
|
471
|
+
// : BigInt(poolHookState.maxSurgeFeePercentage || 0),
|
|
463
472
|
};
|
|
464
473
|
}
|
|
465
474
|
}
|
|
@@ -313,10 +313,20 @@ export class BalancerV3 extends SimpleExchange implements IDex<BalancerV3Data> {
|
|
|
313
313
|
}
|
|
314
314
|
poolPrices.push(poolExchangePrice);
|
|
315
315
|
} catch (err) {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
316
|
+
const errorMessage =
|
|
317
|
+
err instanceof Error ? `error: ${err.message}` : `error: ${err}`;
|
|
318
|
+
const stack = err instanceof Error ? err.stack : '';
|
|
319
|
+
// Ignore some sort of errors
|
|
320
|
+
// minimum trade amount - https://github.com/balancer/balancer-maths/blob/main/typescript/src/vault/vault.ts#L39
|
|
321
|
+
// wrapAmountTooSmall - https://github.com/balancer/balancer-maths/blob/main/typescript/src/buffer/erc4626BufferWrapOrUnwrap.ts#L17
|
|
322
|
+
if (
|
|
323
|
+
!errorMessage.includes('TradeAmountTooSmall') &&
|
|
324
|
+
!errorMessage.includes('wrapAmountTooSmall')
|
|
325
|
+
) {
|
|
326
|
+
this.logger.error(
|
|
327
|
+
`error fetching prices for pool: ${pool.poolAddress}, msg: ${errorMessage}, stack: ${stack}`,
|
|
328
|
+
);
|
|
329
|
+
}
|
|
320
330
|
}
|
|
321
331
|
}
|
|
322
332
|
|
|
@@ -33,16 +33,7 @@ function testForNetwork(
|
|
|
33
33
|
const nativeTokenSymbol = NativeTokenSymbols[network];
|
|
34
34
|
|
|
35
35
|
const sideToContractMethods = new Map([
|
|
36
|
-
[
|
|
37
|
-
SwapSide.SELL,
|
|
38
|
-
[
|
|
39
|
-
ContractMethod.swapExactAmountIn,
|
|
40
|
-
// ContractMethod.simpleSwap,
|
|
41
|
-
// ContractMethod.multiSwap,
|
|
42
|
-
// ContractMethod.megaSwap,
|
|
43
|
-
],
|
|
44
|
-
],
|
|
45
|
-
// [SwapSide.BUY, [ContractMethod.simpleBuy, ContractMethod.buy]],
|
|
36
|
+
[SwapSide.SELL, [ContractMethod.swapExactAmountIn]],
|
|
46
37
|
[SwapSide.BUY, [ContractMethod.swapExactAmountOut]],
|
|
47
38
|
]);
|
|
48
39
|
|
|
@@ -298,11 +289,11 @@ describe('Hashflow E2E', () => {
|
|
|
298
289
|
describe('Optimism', () => {
|
|
299
290
|
const network = Network.OPTIMISM;
|
|
300
291
|
|
|
301
|
-
const tokenASymbol: string = '
|
|
302
|
-
const tokenBSymbol: string = '
|
|
292
|
+
const tokenASymbol: string = 'OP';
|
|
293
|
+
const tokenBSymbol: string = 'USDT';
|
|
303
294
|
|
|
304
|
-
const tokenAAmount: string = '
|
|
305
|
-
const tokenBAmount: string = '
|
|
295
|
+
const tokenAAmount: string = '12000000000000000000';
|
|
296
|
+
const tokenBAmount: string = '11000000';
|
|
306
297
|
|
|
307
298
|
testForNetwork(
|
|
308
299
|
network,
|
|
@@ -318,12 +309,33 @@ describe('Hashflow E2E', () => {
|
|
|
318
309
|
describe('Avalanche', () => {
|
|
319
310
|
const network = Network.AVALANCHE;
|
|
320
311
|
|
|
321
|
-
const tokenASymbol: string = '
|
|
312
|
+
const tokenASymbol: string = 'USDT';
|
|
322
313
|
const tokenBSymbol: string = 'USDC';
|
|
323
314
|
|
|
324
|
-
const tokenAAmount: string = '
|
|
325
|
-
const tokenBAmount: string = '
|
|
326
|
-
const nativeTokenAmount = '
|
|
315
|
+
const tokenAAmount: string = '1100000';
|
|
316
|
+
const tokenBAmount: string = '1100000';
|
|
317
|
+
const nativeTokenAmount = '0';
|
|
318
|
+
|
|
319
|
+
testForNetwork(
|
|
320
|
+
network,
|
|
321
|
+
dexKey,
|
|
322
|
+
tokenASymbol,
|
|
323
|
+
tokenBSymbol,
|
|
324
|
+
tokenAAmount,
|
|
325
|
+
tokenBAmount,
|
|
326
|
+
nativeTokenAmount,
|
|
327
|
+
true,
|
|
328
|
+
);
|
|
329
|
+
});
|
|
330
|
+
describe('Base', () => {
|
|
331
|
+
const network = Network.BASE;
|
|
332
|
+
|
|
333
|
+
const tokenASymbol: string = 'WETH';
|
|
334
|
+
const tokenBSymbol: string = 'USDC';
|
|
335
|
+
|
|
336
|
+
const tokenAAmount: string = '1000000000000000';
|
|
337
|
+
const tokenBAmount: string = '4000000';
|
|
338
|
+
const nativeTokenAmount = '0';
|
|
327
339
|
|
|
328
340
|
testForNetwork(
|
|
329
341
|
network,
|
|
@@ -287,8 +287,6 @@ export class Hashflow extends SimpleExchange implements IDex<HashflowData> {
|
|
|
287
287
|
destToken: Token,
|
|
288
288
|
side: SwapSide,
|
|
289
289
|
): bigint[] {
|
|
290
|
-
assert(levels.length > 0, 'Levels should not be empty');
|
|
291
|
-
|
|
292
290
|
const outputs = new Array<BigNumber>(amounts.length).fill(BN_0);
|
|
293
291
|
// FIXME: There is still case when last amount is fillable, but in between
|
|
294
292
|
// we may have splits that are less than min. amount. I assume that case is very
|
|
@@ -356,11 +354,14 @@ export class Hashflow extends SimpleExchange implements IDex<HashflowData> {
|
|
|
356
354
|
|
|
357
355
|
for (let i = 1; i < levels.length; i++) {
|
|
358
356
|
const nextLevel = levels[i]!;
|
|
359
|
-
const nextLevelDepth = nextLevel.level
|
|
357
|
+
const nextLevelDepth = nextLevel.level;
|
|
360
358
|
const nextLevelQuote = quote.quoteAmount.plus(
|
|
361
359
|
nextLevelDepth.multipliedBy(nextLevel.price),
|
|
362
360
|
);
|
|
363
|
-
if (
|
|
361
|
+
if (
|
|
362
|
+
reqBaseAmount &&
|
|
363
|
+
reqBaseAmount.lte(quote.baseAmount.plus(nextLevel.level))
|
|
364
|
+
) {
|
|
364
365
|
const baseDifference = reqBaseAmount.minus(quote.baseAmount);
|
|
365
366
|
const quoteAmount = quote.quoteAmount.plus(
|
|
366
367
|
baseDifference.multipliedBy(nextLevel.price),
|
|
@@ -374,7 +375,7 @@ export class Hashflow extends SimpleExchange implements IDex<HashflowData> {
|
|
|
374
375
|
return baseAmount;
|
|
375
376
|
}
|
|
376
377
|
|
|
377
|
-
quote.baseAmount = nextLevel.level;
|
|
378
|
+
quote.baseAmount = quote.baseAmount.plus(nextLevel.level);
|
|
378
379
|
quote.quoteAmount = nextLevelQuote;
|
|
379
380
|
}
|
|
380
381
|
|
|
@@ -482,11 +483,6 @@ export class Hashflow extends SimpleExchange implements IDex<HashflowData> {
|
|
|
482
483
|
return null;
|
|
483
484
|
}
|
|
484
485
|
|
|
485
|
-
if (firstLevelAmountBN.gt(0)) {
|
|
486
|
-
// Add zero level for price computation
|
|
487
|
-
levels.unshift({ q: '0', p: firstLevelRaw.p });
|
|
488
|
-
}
|
|
489
|
-
|
|
490
486
|
const unitPrice = this.computePricesFromLevels(
|
|
491
487
|
[BN_1],
|
|
492
488
|
levels,
|
|
@@ -65,7 +65,7 @@ export const WooFiV2Config: DexConfigMap<DexParams> = {
|
|
|
65
65
|
},
|
|
66
66
|
},
|
|
67
67
|
[Network.BASE]: {
|
|
68
|
-
wooPPV2Address: '
|
|
68
|
+
wooPPV2Address: '0x5520385bFcf07Ec87C4c53A7d8d65595Dff69FA4',
|
|
69
69
|
wooOracleV2Address: '0x2A375567f5E13F6bd74fDa7627Df3b1Af6BfA5a6',
|
|
70
70
|
integrationHelperAddress: '0xC4E9B633685461E7B7A807D12a246C81f96F31B8',
|
|
71
71
|
// USDbC
|
package/tests/constants-e2e.ts
CHANGED
|
@@ -1206,6 +1206,10 @@ export const Tokens: {
|
|
|
1206
1206
|
address: '0x6ab707aca953edaefbc4fd23ba73294241490620',
|
|
1207
1207
|
decimals: 6,
|
|
1208
1208
|
},
|
|
1209
|
+
TRYB: {
|
|
1210
|
+
address: '0x564a341df6c126f90cf3ecb92120fd7190acb401',
|
|
1211
|
+
decimals: 6,
|
|
1212
|
+
},
|
|
1209
1213
|
},
|
|
1210
1214
|
[Network.ARBITRUM]: {
|
|
1211
1215
|
SEN: {
|
|
@@ -2065,6 +2069,7 @@ export const Holders: {
|
|
|
2065
2069
|
PHAR: '0x654296D56532f62B7d91d335791d3c364a9385b5',
|
|
2066
2070
|
stataUSDT: '', // no holders yet
|
|
2067
2071
|
aaveUSDT: '0xB2d3ad6e99D2A043EF77e3812461Ad2D4Ae3da8B',
|
|
2072
|
+
TRYB: '0x7137FdccfB6Ee406771E8F5c1B466e4d3074dd45',
|
|
2068
2073
|
},
|
|
2069
2074
|
[Network.ARBITRUM]: {
|
|
2070
2075
|
SEN: '0x76d39045d856caf9bfae12ba611ca4a94449a4f1',
|
|
@@ -2181,7 +2186,7 @@ export const Holders: {
|
|
|
2181
2186
|
ETH: '0xd34ea7278e6bd48defe656bbe263aef11101469c',
|
|
2182
2187
|
MAV: '0xf977814e90da44bfa03b6295a0616a897441acec',
|
|
2183
2188
|
USDC: '0x21bD501F86A0B5cE0907651Df3368DA905B300A9',
|
|
2184
|
-
USDbC: '
|
|
2189
|
+
USDbC: '0x989BA24cb7938C1672B1e9Cea873cf4d7629a5FE',
|
|
2185
2190
|
DAI: '0x20f03e26968b179025f65c1f4afadfd3959c8d03',
|
|
2186
2191
|
BAL: '0x854b004700885a61107b458f11ecc169a019b764',
|
|
2187
2192
|
GOLD: '0x1374c25b3710758c326ee0c70ec48b595d5ccf8c',
|
package/.idea/aws.xml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="accountSettings">
|
|
4
|
-
<option name="activeProfile" value="profile:default" />
|
|
5
|
-
<option name="activeRegion" value="us-east-1" />
|
|
6
|
-
<option name="recentlyUsedProfiles">
|
|
7
|
-
<list>
|
|
8
|
-
<option value="profile:default" />
|
|
9
|
-
</list>
|
|
10
|
-
</option>
|
|
11
|
-
<option name="recentlyUsedRegions">
|
|
12
|
-
<list>
|
|
13
|
-
<option value="us-east-1" />
|
|
14
|
-
</list>
|
|
15
|
-
</option>
|
|
16
|
-
</component>
|
|
17
|
-
</project>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
-
<code_scheme name="Project" version="173">
|
|
3
|
-
<ScalaCodeStyleSettings>
|
|
4
|
-
<option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" />
|
|
5
|
-
</ScalaCodeStyleSettings>
|
|
6
|
-
<TypeScriptCodeStyleSettings version="0">
|
|
7
|
-
<option name="SPACE_WITHIN_ARRAY_INITIALIZER_BRACKETS" value="true" />
|
|
8
|
-
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
9
|
-
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
10
|
-
</TypeScriptCodeStyleSettings>
|
|
11
|
-
<codeStyleSettings language="TypeScript">
|
|
12
|
-
<indentOptions>
|
|
13
|
-
<option name="INDENT_SIZE" value="2" />
|
|
14
|
-
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
15
|
-
<option name="TAB_SIZE" value="2" />
|
|
16
|
-
</indentOptions>
|
|
17
|
-
</codeStyleSettings>
|
|
18
|
-
</code_scheme>
|
|
19
|
-
</component>
|
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/paraswap-dex-lib.iml" filepath="$PROJECT_DIR$/.idea/paraswap-dex-lib.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|
package/.idea/prettier.xml
DELETED