├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .github ├── actions │ └── setup │ │ └── action.yml ├── pull_request_template.md └── workflows │ └── ci.yml ├── .gitignore ├── .mocharc.json ├── .nvmrc ├── .prettierrc.json ├── .slither.config.json ├── .solhint.json ├── .yarn ├── plugins │ └── @yarnpkg │ │ ├── plugin-typescript.cjs │ │ ├── plugin-version.cjs │ │ └── plugin-workspace-tools.cjs ├── releases │ └── yarn-4.0.0-rc.42.cjs └── versions │ └── 1dfc32f3.yml ├── .yarnrc.yml ├── LICENSE ├── README.md ├── audits ├── README.md ├── cantina │ ├── 2024-12-17.pdf │ └── 2024-12-31.pdf ├── certora │ ├── 2024-09-04.pdf │ ├── 2024-12-24.pdf │ ├── 2025-01-30.pdf │ ├── 2025-02-07.pdf │ ├── 2025-02-17.pdf │ └── 2025-08-19.pdf ├── spearbit │ └── 2024-10-04.pdf ├── test-report.md └── trail-of-bits │ └── 2024-12-11.pdf ├── coverage.sh ├── logo.svg ├── package.json ├── pkg ├── governance-scripts │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── BalancerContractRegistryInitializer.sol │ │ ├── ProtocolFeeControllerMigration.sol │ │ └── TimelockAuthorizerMigrator.sol │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── package.json │ ├── test │ │ └── TimelockAuthorizerMigrator.test.ts │ └── tsconfig.json ├── interfaces │ ├── README.md │ ├── contracts │ │ ├── governance-scripts │ │ │ └── IBasicAuthorizer.sol │ │ ├── oracles │ │ │ ├── ILPOracleBase.sol │ │ │ ├── ILPOracleFactoryBase.sol │ │ │ ├── ISequencerUptimeFeed.sol │ │ │ └── IWeightedLPOracle.sol │ │ ├── pool-cow │ │ │ ├── ICowPool.sol │ │ │ ├── ICowPoolFactory.sol │ │ │ └── ICowRouter.sol │ │ ├── pool-gyro │ │ │ ├── IGyro2CLPPool.sol │ │ │ └── IGyroECLPPool.sol │ │ ├── pool-hooks │ │ │ ├── IECLPSurgeHook.sol │ │ │ ├── IMevCaptureHook.sol │ │ │ └── ISurgeHookCommon.sol │ │ ├── pool-stable │ │ │ └── IStablePool.sol │ │ ├── pool-utils │ │ │ └── IPoolInfo.sol │ │ ├── pool-weighted │ │ │ ├── IFixedPriceLBPool.sol │ │ │ ├── ILBPCommon.sol │ │ │ ├── ILBPMigrationRouter.sol │ │ │ ├── ILBPool.sol │ │ │ └── IWeightedPool.sol │ │ ├── solidity-utils │ │ │ ├── helpers │ │ │ │ ├── IAuthentication.sol │ │ │ │ ├── IPoolVersion.sol │ │ │ │ ├── IRateProvider.sol │ │ │ │ └── IVersion.sol │ │ │ └── misc │ │ │ │ └── IWETH.sol │ │ ├── standalone-utils │ │ │ ├── IBalancerContractRegistry.sol │ │ │ ├── IBalancerFeeBurner.sol │ │ │ ├── IComposableCow.sol │ │ │ ├── ICowConditionalOrder.sol │ │ │ ├── ICowConditionalOrderGenerator.sol │ │ │ ├── ICowSwapFeeBurner.sol │ │ │ ├── IHyperEVMRateProvider.sol │ │ │ ├── IHyperEVMRateProviderFactory.sol │ │ │ ├── IPoolHelperCommon.sol │ │ │ ├── IPoolPauseHelper.sol │ │ │ ├── IPoolSwapFeeHelper.sol │ │ │ ├── IProtocolFeeBurner.sol │ │ │ ├── IProtocolFeeHelper.sol │ │ │ ├── IProtocolFeeSweeper.sol │ │ │ └── ITokenPairRegistry.sol │ │ ├── test │ │ │ ├── IStdMedusaCheats.sol │ │ │ ├── IVaultAdminMock.sol │ │ │ ├── IVaultExtensionMock.sol │ │ │ ├── IVaultMainMock.sol │ │ │ ├── IVaultMock.sol │ │ │ └── IVaultStorageMock.sol │ │ └── vault │ │ │ ├── BatchRouterTypes.sol │ │ │ ├── IAuthorizer.sol │ │ │ ├── IBasePool.sol │ │ │ ├── IBasePoolFactory.sol │ │ │ ├── IBatchRouter.sol │ │ │ ├── IBatchRouterQueries.sol │ │ │ ├── IBufferRouter.sol │ │ │ ├── ICompositeLiquidityRouter.sol │ │ │ ├── ICompositeLiquidityRouterErrors.sol │ │ │ ├── IERC20MultiTokenErrors.sol │ │ │ ├── IHooks.sol │ │ │ ├── IPoolLiquidity.sol │ │ │ ├── IProtocolFeeController.sol │ │ │ ├── IProtocolFeePercentagesProvider.sol │ │ │ ├── IRouter.sol │ │ │ ├── IRouterCommon.sol │ │ │ ├── ISenderGuard.sol │ │ │ ├── ISwapFeePercentageBounds.sol │ │ │ ├── ITimelockAuthorizer.sol │ │ │ ├── IUnbalancedAddViaSwapRouter.sol │ │ │ ├── IUnbalancedLiquidityInvariantRatioBounds.sol │ │ │ ├── IVault.sol │ │ │ ├── IVaultAdmin.sol │ │ │ ├── IVaultErrors.sol │ │ │ ├── IVaultEvents.sol │ │ │ ├── IVaultExplorer.sol │ │ │ ├── IVaultExtension.sol │ │ │ ├── IVaultMain.sol │ │ │ ├── IWrappedBalancerPoolToken.sol │ │ │ ├── IWrappedBalancerPoolTokenFactory.sol │ │ │ ├── RouterTypes.sol │ │ │ └── VaultTypes.sol │ ├── hardhat.config.ts │ ├── package.json │ └── slither.db.json ├── oracles │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── ConstantPriceFeed.sol │ │ ├── DynamicWeightedLPOracle.sol │ │ ├── EclpLPOracle.sol │ │ ├── EclpLPOracleFactory.sol │ │ ├── LPOracleBase.sol │ │ ├── LPOracleFactoryBase.sol │ │ ├── StableLPOracle.sol │ │ ├── StableLPOracleFactory.sol │ │ ├── WeightedLPOracle.sol │ │ ├── WeightedLPOracleFactory.sol │ │ └── test │ │ │ ├── DynamicWeightedLPOracleMock.sol │ │ │ ├── EclpLPOracleMock.sol │ │ │ ├── FeedMock.sol │ │ │ ├── HardhatImports.sol │ │ │ ├── StableLPOracleMock.sol │ │ │ └── WeightedLPOracleMock.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── jupyter │ │ └── StableOracle.ipynb │ ├── package.json │ ├── test │ │ ├── foundry │ │ │ ├── ConstantPriceFeed.t.sol │ │ │ ├── DynamicWeightedLPOracle.t.sol │ │ │ ├── EclpLPOracle.t.sol │ │ │ ├── EclpLPOracleFactory.t.sol │ │ │ ├── LPOracleFactoryBase.t.sol │ │ │ ├── StableLPOracle.t.sol │ │ │ ├── StableLPOracleFactory.t.sol │ │ │ ├── WeightedLPOracle.t.sol │ │ │ ├── WeightedLPOracleFactory.t.sol │ │ │ └── utils │ │ │ │ └── BaseLPOracleTest.sol │ │ └── gas │ │ │ ├── .hardhat-snapshots │ │ │ ├── EclpLPOracle - 2 tokens │ │ │ ├── StableLPOracle - 2 tokens │ │ │ ├── StableLPOracle - 3 tokens │ │ │ ├── StableLPOracle - 4 tokens │ │ │ ├── WeightedLPOracle - 2 tokens │ │ │ ├── WeightedLPOracle - 3 tokens │ │ │ ├── WeightedLPOracle - 4 tokens │ │ │ ├── WeightedLPOracle - 5 tokens │ │ │ └── WeightedLPOracle - 6 tokens │ │ │ ├── EclpLPOracleBenchmark.test.ts │ │ │ ├── StableLPOracleBenchmark.test.ts │ │ │ └── WeightedLPOracleBenchmark.test.ts │ └── tsconfig.json ├── pool-cow │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── CowPool.sol │ │ ├── CowPoolFactory.sol │ │ ├── CowRouter.sol │ │ └── test │ │ │ └── HardhatImports.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── package.json │ ├── test │ │ ├── CoWPool.test.ts │ │ └── foundry │ │ │ ├── CowPool.t.sol │ │ │ ├── CowPoolFactory.t.sol │ │ │ ├── CowRouter.t.sol │ │ │ └── utils │ │ │ ├── BaseCowTest.sol │ │ │ └── CowPoolContractsDeployer.sol │ └── tsconfig.json ├── pool-gyro │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── Gyro2CLPPool.sol │ │ ├── Gyro2CLPPoolFactory.sol │ │ ├── GyroECLPPool.sol │ │ ├── GyroECLPPoolFactory.sol │ │ ├── lib │ │ │ ├── Gyro2CLPMath.sol │ │ │ ├── GyroECLPMath.sol │ │ │ ├── GyroPoolMath.sol │ │ │ └── SignedFixedPoint.sol │ │ └── test │ │ │ ├── Gyro2CLPPoolMock.sol │ │ │ └── HardhatImports.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── package.json │ ├── slither.db.json │ ├── test │ │ ├── 2CLP.test.ts │ │ ├── ECLP.test.ts │ │ ├── foundry │ │ │ ├── ComputeBalance2CLP.t.sol │ │ │ ├── DynamicAndImmutableData2CLP.t.sol │ │ │ ├── DynamicAndImmutableDataECLP.t.sol │ │ │ ├── E2eBatchSwap2CLP.t.sol │ │ │ ├── E2eBatchSwapECLP.t.sol │ │ │ ├── E2eSwap2CLP.t.sol │ │ │ ├── E2eSwapECLP.t.sol │ │ │ ├── E2eSwapRateProvider2CLP.t.sol │ │ │ ├── E2eSwapRateProviderECLP.t.sol │ │ │ ├── FungibilityGyro2CLP.t.sol │ │ │ ├── FungibilityGyroECLP.t.sol │ │ │ ├── Gyro2CLPMathRounding.sol │ │ │ ├── GyroECLPMath.t.sol │ │ │ ├── LiquidityApproximation2CLP.t.sol │ │ │ ├── LiquidityApproximationECLP.t.sol │ │ │ └── utils │ │ │ │ ├── Gyro2ClpPoolDeployer.sol │ │ │ │ └── GyroEclpPoolDeployer.sol │ │ └── gas │ │ │ ├── .hardhat-snapshots │ │ │ ├── [ECLPPool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots │ │ │ ├── [ECLPPool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots │ │ │ ├── [ECLPPool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots │ │ │ ├── [ECLPPool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots │ │ │ ├── [ECLPPool - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [ECLPPool - Standard - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [ECLPPool - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [ECLPPool - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [ECLPPool - Standard - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [ECLPPool - Standard - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [ECLPPool - Standard] add liquidity proportional │ │ │ ├── [ECLPPool - Standard] add liquidity single token exact out - warm slots │ │ │ ├── [ECLPPool - Standard] add liquidity unbalanced - warm slots │ │ │ ├── [ECLPPool - Standard] donation │ │ │ ├── [ECLPPool - Standard] initialize with ETH │ │ │ ├── [ECLPPool - Standard] initialize without ETH │ │ │ ├── [ECLPPool - Standard] remove liquidity proportional │ │ │ ├── [ECLPPool - Standard] remove liquidity single token exact in - warm slots │ │ │ ├── [ECLPPool - Standard] remove liquidity single token exact out - warm slots │ │ │ ├── [ECLPPool - Standard] swap single token exact in with fees - cold slots │ │ │ ├── [ECLPPool - Standard] swap single token exact in with fees - warm slots │ │ │ ├── [ECLPPool - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [ECLPPool - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [ECLPPool - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [ECLPPool - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [ECLPPool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [ECLPPool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [ECLPPool - WithRate] add liquidity proportional │ │ │ ├── [ECLPPool - WithRate] add liquidity single token exact out - warm slots │ │ │ ├── [ECLPPool - WithRate] add liquidity unbalanced - warm slots │ │ │ ├── [ECLPPool - WithRate] remove liquidity proportional │ │ │ ├── [ECLPPool - WithRate] remove liquidity single token exact in - warm slots │ │ │ ├── [ECLPPool - WithRate] remove liquidity single token exact out - warm slots │ │ │ ├── [ECLPPool - WithRate] swap single token exact in with fees - cold slots │ │ │ ├── [ECLPPool - WithRate] swap single token exact in with fees - warm slots │ │ │ ├── [Gyro2CLPPool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots │ │ │ ├── [Gyro2CLPPool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots │ │ │ ├── [Gyro2CLPPool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots │ │ │ ├── [Gyro2CLPPool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots │ │ │ ├── [Gyro2CLPPool - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [Gyro2CLPPool - Standard - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [Gyro2CLPPool - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [Gyro2CLPPool - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [Gyro2CLPPool - Standard - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [Gyro2CLPPool - Standard - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [Gyro2CLPPool - Standard] add liquidity proportional │ │ │ ├── [Gyro2CLPPool - Standard] add liquidity single token exact out - warm slots │ │ │ ├── [Gyro2CLPPool - Standard] add liquidity unbalanced - warm slots │ │ │ ├── [Gyro2CLPPool - Standard] donation │ │ │ ├── [Gyro2CLPPool - Standard] initialize with ETH │ │ │ ├── [Gyro2CLPPool - Standard] initialize without ETH │ │ │ ├── [Gyro2CLPPool - Standard] remove liquidity proportional │ │ │ ├── [Gyro2CLPPool - Standard] remove liquidity single token exact in - warm slots │ │ │ ├── [Gyro2CLPPool - Standard] remove liquidity single token exact out - warm slots │ │ │ ├── [Gyro2CLPPool - Standard] swap single token exact in with fees - cold slots │ │ │ ├── [Gyro2CLPPool - Standard] swap single token exact in with fees - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [Gyro2CLPPool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate] add liquidity proportional │ │ │ ├── [Gyro2CLPPool - WithRate] add liquidity single token exact out - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate] add liquidity unbalanced - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate] remove liquidity proportional │ │ │ ├── [Gyro2CLPPool - WithRate] remove liquidity single token exact in - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate] remove liquidity single token exact out - warm slots │ │ │ ├── [Gyro2CLPPool - WithRate] swap single token exact in with fees - cold slots │ │ │ └── [Gyro2CLPPool - WithRate] swap single token exact in with fees - warm slots │ │ │ ├── 2CLPPoolBenchmark.test.ts │ │ │ └── ECLPPoolBenchmark.test.ts │ └── tsconfig.json ├── pool-hooks │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── DirectionalFeeHookExample.sol │ │ ├── ECLPSurgeHook.sol │ │ ├── ECLPSurgePoolFactory.sol │ │ ├── ExitFeeHookExample.sol │ │ ├── FeeTakingHookExample.sol │ │ ├── LotteryHookExample.sol │ │ ├── MevCaptureHook.sol │ │ ├── MinimalRouter.sol │ │ ├── NftLiquidityPositionExample.sol │ │ ├── StableSurgeHook.sol │ │ ├── StableSurgePoolFactory.sol │ │ ├── SurgeHookCommon.sol │ │ ├── VeBALFeeDiscountHookExample.sol │ │ ├── test │ │ │ ├── ECLPSurgeHookMock.sol │ │ │ ├── HardhatImports.sol │ │ │ ├── MevCaptureHookMock.sol │ │ │ ├── StableSurgeHookMock.sol │ │ │ └── StableSurgeMedianMathMock.sol │ │ └── utils │ │ │ └── StableSurgeMedianMath.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── jupyter │ │ └── SurgeECLP.ipynb │ ├── package.json │ ├── slither.db.json │ ├── test │ │ ├── MevCaptureHook.test.ts │ │ ├── StableSurgeMedianMath.test.ts │ │ ├── foundry │ │ │ ├── DirectionalFeeHookExample.t.sol │ │ │ ├── ECLPSurgeHook.t.sol │ │ │ ├── ECLPSurgeHookBase.t.sol │ │ │ ├── ECLPSurgeHookRateProvider.t.sol │ │ │ ├── ECLPSurgeHookUnit.t.sol │ │ │ ├── ECLPSurgePoolFactory.t.sol │ │ │ ├── ExitFeeHookExample.t.sol │ │ │ ├── ExitFeeHookExampleStablePool.t.sol │ │ │ ├── ExitFeeHookExampleWeightedPool.t.sol │ │ │ ├── FeeTakingHookExample.t.sol │ │ │ ├── LotteryHookExample.t.sol │ │ │ ├── MevCaptureHook.t.sol │ │ │ ├── NftLiquidityPositionExample.t.sol │ │ │ ├── StableSurgeHook.t.sol │ │ │ ├── StableSurgeHookUnit.t.sol │ │ │ ├── StableSurgeMedianMath.t.sol │ │ │ ├── StableSurgePoolFactory.t.sol │ │ │ ├── VeBALFeeDiscountHookExample.t.sol │ │ │ └── utils │ │ │ │ ├── ECLPSurgeHookDeployer.sol │ │ │ │ ├── ECLPSurgePoolFactoryDeployer.sol │ │ │ │ ├── StableSurgeHookDeployer.sol │ │ │ │ └── StableSurgePoolFactoryDeployer.sol │ │ └── gas │ │ │ ├── .hardhat-snapshots │ │ │ ├── [StableSurgePool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots │ │ │ ├── [StableSurgePool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots │ │ │ ├── [StableSurgePool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots │ │ │ ├── [StableSurgePool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots │ │ │ ├── [StableSurgePool - Standard - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [StableSurgePool - Standard - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [StableSurgePool - Standard] add liquidity proportional │ │ │ ├── [StableSurgePool - Standard] donation │ │ │ ├── [StableSurgePool - Standard] initialize with ETH │ │ │ ├── [StableSurgePool - Standard] initialize without ETH │ │ │ ├── [StableSurgePool - Standard] remove liquidity proportional │ │ │ ├── [StableSurgePool - Standard] swap single token exact in with fees - cold slots │ │ │ ├── [StableSurgePool - Standard] swap single token exact in with fees - warm slots │ │ │ ├── [StableSurgePool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [StableSurgePool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [StableSurgePool - WithRate] add liquidity proportional │ │ │ ├── [StableSurgePool - WithRate] remove liquidity proportional │ │ │ ├── [StableSurgePool - WithRate] swap single token exact in with fees - cold slots │ │ │ └── [StableSurgePool - WithRate] swap single token exact in with fees - warm slots │ │ │ └── StableSurgePoolBenchmark.test.ts │ └── tsconfig.json ├── pool-stable │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── StablePool.sol │ │ ├── StablePoolFactory.sol │ │ └── test │ │ │ └── HardhatImports.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── medusa.json │ ├── package.json │ ├── slither.db.json │ ├── test │ │ ├── StablePool.test.ts │ │ ├── StablePoolAmplification.test.ts │ │ ├── foundry │ │ │ ├── ActionIds.t.sol │ │ │ ├── E2eBatchSwap.t.sol │ │ │ ├── E2eErc4626Swaps.t.sol │ │ │ ├── E2eSwapRateProvider.t.sol │ │ │ ├── E2eSwapStable.t.sol │ │ │ ├── FungibilityStable.t.sol │ │ │ ├── LiquidityApproximationStable.t.sol │ │ │ ├── RoundingDirectionEdgeCases.t.sol │ │ │ ├── StablePool.t.sol │ │ │ ├── StablePoolFactory.t.sol │ │ │ ├── fuzz │ │ │ │ ├── AddAndRemoveLiquidityStable.medusa.sol │ │ │ │ └── SwapStable.medusa.sol │ │ │ └── utils │ │ │ │ └── StablePoolContractsDeployer.sol │ │ └── gas │ │ │ ├── .hardhat-snapshots │ │ │ ├── [StablePool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots │ │ │ ├── [StablePool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots │ │ │ ├── [StablePool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots │ │ │ ├── [StablePool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots │ │ │ ├── [StablePool - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [StablePool - Standard - BatchRouter] add liquidity using swapExactOur - warm slots │ │ │ ├── [StablePool - Standard - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [StablePool - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [StablePool - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [StablePool - Standard - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [StablePool - Standard - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [StablePool - Standard] add liquidity proportional │ │ │ ├── [StablePool - Standard] add liquidity single token exact out - warm slots │ │ │ ├── [StablePool - Standard] add liquidity unbalanced - warm slots │ │ │ ├── [StablePool - Standard] donation │ │ │ ├── [StablePool - Standard] initialize with ETH │ │ │ ├── [StablePool - Standard] initialize without ETH │ │ │ ├── [StablePool - Standard] remove liquidity proportional │ │ │ ├── [StablePool - Standard] remove liquidity single token exact in - warm slots │ │ │ ├── [StablePool - Standard] remove liquidity single token exact out - warm slots │ │ │ ├── [StablePool - Standard] swap single token exact in with fees - cold slots │ │ │ ├── [StablePool - Standard] swap single token exact in with fees - warm slots │ │ │ ├── [StablePool - WithNestedPool - BatchRouter] swap exact in - reverse - tokenD-tokenA │ │ │ ├── [StablePool - WithNestedPool - BatchRouter] swap exact in - tokenA-tokenD │ │ │ ├── [StablePool - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [StablePool - WithRate - BatchRouter] add liquidity using swapExactOur - warm slots │ │ │ ├── [StablePool - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [StablePool - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [StablePool - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [StablePool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [StablePool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [StablePool - WithRate] add liquidity proportional │ │ │ ├── [StablePool - WithRate] add liquidity single token exact out - warm slots │ │ │ ├── [StablePool - WithRate] add liquidity unbalanced - warm slots │ │ │ ├── [StablePool - WithRate] remove liquidity proportional │ │ │ ├── [StablePool - WithRate] remove liquidity single token exact in - warm slots │ │ │ ├── [StablePool - WithRate] remove liquidity single token exact out - warm slots │ │ │ ├── [StablePool - WithRate] swap single token exact in with fees - cold slots │ │ │ └── [StablePool - WithRate] swap single token exact in with fees - warm slots │ │ │ └── StablePoolBenchmark.test.ts │ └── tsconfig.json ├── pool-utils │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── BasePoolAuthentication.sol │ │ ├── BasePoolFactory.sol │ │ ├── PoolInfo.sol │ │ └── test │ │ │ └── BasePoolFactoryMock.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── package.json │ ├── slither.db.json │ ├── test │ │ └── foundry │ │ │ ├── BasePoolFactory.t.sol │ │ │ └── PoolInfo.t.sol │ └── tsconfig.json ├── pool-weighted │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── WeightedPool.sol │ │ ├── WeightedPool8020Factory.sol │ │ ├── WeightedPoolFactory.sol │ │ ├── lbp │ │ │ ├── BPTTimeLocker.sol │ │ │ ├── BaseLBPFactory.sol │ │ │ ├── FixedPriceLBPool.sol │ │ │ ├── FixedPriceLBPoolFactory.sol │ │ │ ├── LBPCommon.sol │ │ │ ├── LBPMigrationRouter.sol │ │ │ ├── LBPValidation.sol │ │ │ ├── LBPool.sol │ │ │ └── LBPoolFactory.sol │ │ ├── lib │ │ │ ├── GradualValueChange.sol │ │ │ └── LBPoolLib.sol │ │ └── test │ │ │ ├── GradualValueChangeMock.sol │ │ │ ├── HardhatImports.sol │ │ │ ├── LBPMigrationRouterMock.sol │ │ │ ├── WeightedBasePoolMathMock.sol │ │ │ ├── WeightedMathMock.sol │ │ │ └── WeightedPoolMock.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── medusa.json │ ├── package.json │ ├── slither.db.json │ ├── test │ │ ├── LBPool.test.ts │ │ ├── WeightedMath.test.ts │ │ ├── WeightedPool.test.ts │ │ ├── foundry │ │ │ ├── BigWeightedPool.t.sol │ │ │ ├── E2ESwapRateProvider.t.sol │ │ │ ├── E2eBatchSwap.t.sol │ │ │ ├── E2eSwapWeighted.t.sol │ │ │ ├── FixedPriceLBPool.t.sol │ │ │ ├── FixedPriceLBPoolFactory.t.sol │ │ │ ├── FungibilityWeighted.t.sol │ │ │ ├── GradualValueChange.t.sol │ │ │ ├── LBPMigrationRouter.t.sol │ │ │ ├── LBPool.t.sol │ │ │ ├── LBPoolFactory.t.sol │ │ │ ├── LiquidityApproximationWeighted.t.sol │ │ │ ├── UniswapV2BasePoolMathMock.sol │ │ │ ├── UniswapV2BasePoolMathRounding.sol │ │ │ ├── Weighted5050BasePoolMathRounding.sol │ │ │ ├── Weighted8020BasePoolMathRounding.sol │ │ │ ├── WeightedMathRounding.t.sol │ │ │ ├── WeightedPool.t.sol │ │ │ ├── WeightedPool8020Factory.t.sol │ │ │ ├── WeightedPoolFactory.t.sol │ │ │ ├── WeightedPoolLimits.t.sol │ │ │ ├── fuzz │ │ │ │ ├── AddAndRemoveLiquidityWeighted.medusa.sol │ │ │ │ └── SwapWeighted.medusa.sol │ │ │ └── utils │ │ │ │ ├── BaseLBPTest.sol │ │ │ │ ├── FixedPriceLBPoolContractsDeployer.sol │ │ │ │ ├── LBPMigrationRouterDeployer.sol │ │ │ │ ├── LBPoolContractsDeployer.sol │ │ │ │ ├── WeightedLBPTest.sol │ │ │ │ └── WeightedPoolContractsDeployer.sol │ │ └── gas │ │ │ ├── .hardhat-snapshots │ │ │ ├── [WeightedPool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots │ │ │ ├── [WeightedPool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots │ │ │ ├── [WeightedPool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots │ │ │ ├── [WeightedPool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots │ │ │ ├── [WeightedPool - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [WeightedPool - Standard - BatchRouter] add liquidity using swapExactOur - warm slots │ │ │ ├── [WeightedPool - Standard - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [WeightedPool - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [WeightedPool - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [WeightedPool - Standard - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [WeightedPool - Standard - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [WeightedPool - Standard] add liquidity proportional │ │ │ ├── [WeightedPool - Standard] add liquidity single token exact out - warm slots │ │ │ ├── [WeightedPool - Standard] add liquidity unbalanced - warm slots │ │ │ ├── [WeightedPool - Standard] donation │ │ │ ├── [WeightedPool - Standard] initialize with ETH │ │ │ ├── [WeightedPool - Standard] initialize without ETH │ │ │ ├── [WeightedPool - Standard] remove liquidity proportional │ │ │ ├── [WeightedPool - Standard] remove liquidity single token exact in - warm slots │ │ │ ├── [WeightedPool - Standard] remove liquidity single token exact out - warm slots │ │ │ ├── [WeightedPool - Standard] swap single token exact in with fees - cold slots │ │ │ ├── [WeightedPool - Standard] swap single token exact in with fees - warm slots │ │ │ ├── [WeightedPool - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [WeightedPool - WithRate - BatchRouter] add liquidity using swapExactOur - warm slots │ │ │ ├── [WeightedPool - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [WeightedPool - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [WeightedPool - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [WeightedPool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [WeightedPool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [WeightedPool - WithRate] add liquidity proportional │ │ │ ├── [WeightedPool - WithRate] add liquidity single token exact out - warm slots │ │ │ ├── [WeightedPool - WithRate] add liquidity unbalanced - warm slots │ │ │ ├── [WeightedPool - WithRate] remove liquidity proportional │ │ │ ├── [WeightedPool - WithRate] remove liquidity single token exact in - warm slots │ │ │ ├── [WeightedPool - WithRate] remove liquidity single token exact out - warm slots │ │ │ ├── [WeightedPool - WithRate] swap single token exact in with fees - cold slots │ │ │ └── [WeightedPool - WithRate] swap single token exact in with fees - warm slots │ │ │ └── WeightedPoolBenchmark.test.ts │ └── tsconfig.json ├── solidity-utils │ ├── .prettierignore │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── helpers │ │ │ ├── Authentication.sol │ │ │ ├── BaseSplitCodeFactory.sol │ │ │ ├── BufferHelpers.sol │ │ │ ├── CastingHelpers.sol │ │ │ ├── CodeDeployer.sol │ │ │ ├── EVMCallModeHelpers.sol │ │ │ ├── FactoryWidePauseWindow.sol │ │ │ ├── InputHelpers.sol │ │ │ ├── PackedTokenBalance.sol │ │ │ ├── RevertCodec.sol │ │ │ ├── ScalingHelpers.sol │ │ │ ├── TransientStorageHelpers.sol │ │ │ ├── Version.sol │ │ │ └── WordCodec.sol │ │ ├── math │ │ │ ├── FixedPoint.sol │ │ │ ├── LogExpMath.sol │ │ │ ├── StableMath.sol │ │ │ └── WeightedMath.sol │ │ ├── openzeppelin │ │ │ ├── Arrays.sol │ │ │ ├── EnumerableMap.sol │ │ │ ├── EnumerableSet.sol │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── ReentrancyGuardTransient.sol │ │ │ ├── SlotDerivation.sol │ │ │ ├── StorageSlotExtension.sol │ │ │ └── TransientEnumerableSet.sol │ │ ├── solmate │ │ │ ├── Bytes32AddressLib.sol │ │ │ └── CREATE3.sol │ │ └── test │ │ │ ├── ArrayHelpers.sol │ │ │ ├── CodeDeployerMock.sol │ │ │ ├── ERC20TestToken.sol │ │ │ ├── ERC20WithRateTestToken.sol │ │ │ ├── ERC4626TestToken.sol │ │ │ ├── EnumerableMapMock.sol │ │ │ ├── EnumerableSetMock.sol │ │ │ ├── FixedPointMock.sol │ │ │ ├── LogExpMathMock.sol │ │ │ ├── MockSplitCodeFactory.sol │ │ │ ├── ReentrancyAttack.sol │ │ │ ├── ReentrancyMock.sol │ │ │ ├── RoundingMock.sol │ │ │ ├── StableMathMock.sol │ │ │ ├── WETHTestToken.sol │ │ │ ├── WordCodecHelpers.sol │ │ │ └── WordCodecMock.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── package.json │ ├── scripts │ │ └── pow.mjs │ ├── slither.db.json │ ├── test │ │ ├── BaseSplitCodeFactory.test.ts │ │ ├── CodeDeployer.test.ts │ │ ├── EnumerableMap.test.ts │ │ ├── EnumerableSet.test.ts │ │ ├── FixedPoint.test.ts │ │ ├── LogExpMath.test.ts │ │ ├── ReentrancyGuard.test.ts │ │ ├── StableMath.test.ts │ │ ├── WordCodec.test.ts │ │ └── foundry │ │ │ ├── ERC4626TestToken.t.sol │ │ │ ├── FixedPoint.t.sol │ │ │ ├── LogExpMath.t.sol │ │ │ ├── PackedTokenBalance.t.sol │ │ │ ├── RevertCodec.t.sol │ │ │ ├── ScalingHelpers.t.sol │ │ │ ├── StableMath.t.sol │ │ │ ├── TransientEnumerableSet.t.sol │ │ │ ├── TransientStorageHelpers.t.sol │ │ │ ├── WordCodec.t.sol │ │ │ └── utils │ │ │ ├── BaseBitsConfigTest.sol │ │ │ ├── BaseContractsDeployer.sol │ │ │ └── BaseTest.sol │ └── tsconfig.json ├── standalone-utils │ ├── .env.example │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ │ ├── BalancerContractRegistry.sol │ │ ├── BalancerFeeBurner.sol │ │ ├── CallAndRevert.sol │ │ ├── CowSwapFeeBurner.sol │ │ ├── ERC4626CowSwapFeeBurner.sol │ │ ├── FeeBurnerAuthentication.sol │ │ ├── HyperEVMRateProvider.sol │ │ ├── HyperEVMRateProviderFactory.sol │ │ ├── OwnableAuthentication.sol │ │ ├── PoolHelperCommon.sol │ │ ├── PoolPauseHelper.sol │ │ ├── PoolSwapFeeHelper.sol │ │ ├── PriceImpactHelper.sol │ │ ├── ProtocolFeeHelper.sol │ │ ├── ProtocolFeePercentagesProvider.sol │ │ ├── ProtocolFeeSweeper.sol │ │ ├── TokenPairRegistry.sol │ │ ├── test │ │ │ ├── FeeBurnerAuthenticationMock.sol │ │ │ ├── OwnableAuthenticationMock.sol │ │ │ ├── PoolHelperMock.sol │ │ │ ├── PriceImpactHelperMock.sol │ │ │ ├── ProtocolFeeBurnerMock.sol │ │ │ └── VaultMockForFeeSweeper.sol │ │ └── utils │ │ │ ├── HyperSpotPricePrecompile.sol │ │ │ └── HyperTokenInfoPrecompile.sol │ ├── coverage.sh │ ├── docs │ │ ├── StableOracle.md │ │ └── pricing_stableSwap_pools.pdf │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── package.json │ ├── scripts │ │ └── cowBurnerSmokeTest.ts │ ├── test │ │ └── foundry │ │ │ ├── BalancerContractRegistry.t.sol │ │ │ ├── BalancerFeeBurner.t.sol │ │ │ ├── CowSwapFeeBurner.t.sol │ │ │ ├── ERC4626CowSwapFeeBurner.t.sol │ │ │ ├── FeeBurnerAuthentication.t.sol │ │ │ ├── HyperEVMPrecompileMocks.t.sol │ │ │ ├── HyperEVMRateProvider.t.sol │ │ │ ├── HyperEVMRateProviderFactory.t.sol │ │ │ ├── OwnableAuthentication.t.sol │ │ │ ├── PoolHelperCommon.t.sol │ │ │ ├── PoolPauseHelper.t.sol │ │ │ ├── PoolSwapFeeHelper.t.sol │ │ │ ├── PriceImpact.t.sol │ │ │ ├── PriceImpactUnit.t.sol │ │ │ ├── ProtocolFeeHelper.t.sol │ │ │ ├── ProtocolFeePercentagesProvider.t.sol │ │ │ ├── ProtocolFeeSweeper.t.sol │ │ │ ├── TokenPairRegistry.t.sol │ │ │ └── utils │ │ │ ├── BasePoolHelperTest.sol │ │ │ └── HypercorePrecompileMock.sol │ └── tsconfig.json └── vault │ ├── .forge-snapshots │ └── vaultSwapSingleTokenExactInWithProtocolFee.snap │ ├── .solcover.js │ ├── .solhintignore │ ├── README.md │ ├── contracts │ ├── BalancerPoolToken.sol │ ├── BaseHooks.sol │ ├── BasePoolMath.sol │ ├── BatchRouter.sol │ ├── BatchRouterCommon.sol │ ├── BatchRouterHooks.sol │ ├── BufferRouter.sol │ ├── CommonAuthentication.sol │ ├── CompositeLiquidityRouter.sol │ ├── CompositeLiquidityRouterHooks.sol │ ├── ProtocolFeeController.sol │ ├── Router.sol │ ├── RouterCommon.sol │ ├── RouterHooks.sol │ ├── SenderGuard.sol │ ├── SingletonAuthentication.sol │ ├── UnbalancedAddViaSwapRouter.sol │ ├── Vault.sol │ ├── VaultAdmin.sol │ ├── VaultCommon.sol │ ├── VaultExplorer.sol │ ├── VaultExtension.sol │ ├── VaultFactory.sol │ ├── VaultGuard.sol │ ├── VaultStorage.sol │ ├── WrappedBalancerPoolToken.sol │ ├── WrappedBalancerPoolTokenFactory.sol │ ├── authorizer │ │ ├── TimelockAuthorizer.sol │ │ ├── TimelockAuthorizerManagement.sol │ │ └── TimelockExecutionHelper.sol │ ├── lib │ │ ├── HooksConfigLib.sol │ │ ├── PoolConfigConst.sol │ │ ├── PoolConfigLib.sol │ │ ├── PoolDataLib.sol │ │ ├── RouterWethLib.sol │ │ ├── VaultExtensionsLib.sol │ │ └── VaultStateLib.sol │ ├── test │ │ ├── AuthenticatedContractMock.sol │ │ ├── BaseHooksMock.sol │ │ ├── BasePoolMathMock.sol │ │ ├── BasicAuthorizerMock.sol │ │ ├── BatchRouterMock.sol │ │ ├── BufferRouterMock.sol │ │ ├── CommonAuthenticationMock.sol │ │ ├── CompositeLiquidityRouterMock.sol │ │ ├── ERC20MultiTokenMock.sol │ │ ├── ERC4626RateProvider.sol │ │ ├── HooksConfigLibMock.sol │ │ ├── InputHelpersMock.sol │ │ ├── LinearBasePoolMathMock.sol │ │ ├── MinimalHooksPoolMock.sol │ │ ├── NullAuthorizer.sol │ │ ├── PoolFactoryMock.sol │ │ ├── PoolHooksMock.sol │ │ ├── PoolMock.sol │ │ ├── PoolMockFlexibleInvariantRatio.sol │ │ ├── ProtocolFeeControllerMock.sol │ │ ├── RateProviderMock.sol │ │ ├── RouterCommonMock.sol │ │ ├── RouterMock.sol │ │ ├── SingletonAuthenticationMock.sol │ │ ├── VaultAdminMock.sol │ │ ├── VaultExtensionMock.sol │ │ └── VaultMock.sol │ └── token │ │ └── ERC20MultiToken.sol │ ├── coverage.sh │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── jupyter │ ├── .ipynb_checkpoints │ │ └── live-balances-checkpoint.ipynb │ ├── liquidity.ipynb │ └── live-balances.ipynb │ ├── medusa.json │ ├── package.json │ ├── slither.db.json │ ├── test │ ├── .contract-sizes │ │ ├── BatchRouter │ │ ├── BufferRouter │ │ ├── CompositeLiquidityRouter │ │ ├── Router │ │ ├── Vault │ │ ├── VaultAdmin │ │ └── VaultExtension │ ├── BalancerPoolTokenTest.test.ts │ ├── BasePoolMath.test.ts │ ├── BatchSwap.test.ts │ ├── BatchSwapBase.ts │ ├── ContractSizes.ts │ ├── ERC4626VaultPrimitive.test.ts │ ├── InputHelpers.test.ts │ ├── Permit2Deployer.ts │ ├── PrepaidBatchSwap.test.ts │ ├── Queries.test.ts │ ├── Vault.test.ts │ ├── authorizer │ │ ├── TimelockAuthorizerActors.test.ts │ │ ├── TimelockAuthorizerDelays.test.ts │ │ ├── TimelockAuthorizerExecute.test.ts │ │ ├── TimelockAuthorizerPermissions.test.ts │ │ ├── TimelockAuthorizerRoot.test.ts │ │ └── TimelockExecutionHelper.test.ts │ ├── foundry │ │ ├── AuxiliaryEvent.t.sol │ │ ├── BalancerPoolTokenTest.t.sol │ │ ├── BaseHooks.t.sol │ │ ├── BasePoolMathRoundingTest.sol │ │ ├── BatchRouter.t.sol │ │ ├── BatchRouterCommon.t.sol │ │ ├── BatchRouterE2E.t.sol │ │ ├── BigPoolData.t.sol │ │ ├── BufferDoSProtection.t.sol │ │ ├── BufferRouter.t.sol │ │ ├── BufferVaultPrimitive.t.sol │ │ ├── CompositeLiquidityRouterERC4626Pool.t.sol │ │ ├── CompositeLiquidityRouterNestedPools.t.sol │ │ ├── DynamicFeePoolTest.t.sol │ │ ├── E2eBatchSwap.t.sol │ │ ├── E2eErc4626Swaps.t.sol │ │ ├── E2eSwap.t.sol │ │ ├── E2eSwapRateProvider.t.sol │ │ ├── Fungibility.t.sol │ │ ├── GetBptRate.t.sol │ │ ├── HookAdjustedLiquidity.t.sol │ │ ├── HookAdjustedSwap.t.sol │ │ ├── Hooks.t.sol │ │ ├── HooksAlteringBalances.t.sol │ │ ├── HooksAlteringRates.t.sol │ │ ├── Initializer.t.sol │ │ ├── LinearBasePoolMathRounding.sol │ │ ├── LinearPoolExtremeAmounts.t.sol │ │ ├── LiquidityApproximation.t.sol │ │ ├── Permit2.t.sol │ │ ├── PoolData.t.sol │ │ ├── PoolDonation.t.sol │ │ ├── PoolPause.t.sol │ │ ├── PoolSwapManager.t.sol │ │ ├── PrepaidBatchRouter.t.sol │ │ ├── PrepaidBatchRouterE2E.t.sol │ │ ├── PrepaidCompositeLiquidityRouterERC4626Pool.t.sol │ │ ├── PrepaidCompositeLiquidityRouterNestedPoolsTest.sol │ │ ├── PrepaidRouter.t.sol │ │ ├── ProtocolFeeController.t.sol │ │ ├── ProtocolFeeExemption.t.sol │ │ ├── QueryERC4626Buffer.t.sol │ │ ├── RateProvider.t.sol │ │ ├── RecoveryMode.t.sol │ │ ├── Registration.t.sol │ │ ├── Router.t.sol │ │ ├── RouterCommon.t.sol │ │ ├── RouterQueriesDiffRates.t.sol │ │ ├── RouterWethLib.t.sol │ │ ├── StablePoolExtremeAmounts.t.sol │ │ ├── UnbalancedAddViaSwapRouter.t.sol │ │ ├── UnbalancedLiquidityBounds.t.sol │ │ ├── UninitializedBufferTest.sol │ │ ├── VaultDefaultHandlers.t.sol │ │ ├── VaultExplorer.t.sol │ │ ├── VaultFactory.t.sol │ │ ├── VaultLiquidity.t.sol │ │ ├── VaultLiquidityFees.t.sol │ │ ├── VaultLiquidityRate.t.sol │ │ ├── VaultStorage.t.sol │ │ ├── VaultSwap.t.sol │ │ ├── VaultSwapRate.t.sol │ │ ├── VaultTokens.t.sol │ │ ├── WeightedPoolExtremeAmounts.t.sol │ │ ├── WrappedBalancerPoolToken.t.sol │ │ ├── WrappedBalancerPoolTokenFactory.t.sol │ │ ├── YieldBearingPools.t.sol │ │ ├── YieldFees.t.sol │ │ ├── fuzz │ │ │ ├── AddAndRemoveLiquidity.medusa.sol │ │ │ └── Swap.medusa.sol │ │ ├── mutation │ │ │ ├── router │ │ │ │ ├── BatchRouter.t.sol │ │ │ │ └── Router.t.sol │ │ │ └── vault │ │ │ │ ├── Vault.t.sol │ │ │ │ ├── VaultAdmin.t.sol │ │ │ │ └── VaultExtension.t.sol │ │ ├── unit │ │ │ ├── CommonAuthentication.t.sol │ │ │ ├── ERC20MultiTokenTest.t.sol │ │ │ ├── HooksConfigLib.t.sol │ │ │ ├── HooksConfigLibHelpers.t.sol │ │ │ ├── PoolAndVaultPaused.t.sol │ │ │ ├── PoolConfigConst.t.sol │ │ │ ├── PoolConfigLib.t.sol │ │ │ ├── Scaling.t.sol │ │ │ ├── SingletonAuthentication.t.sol │ │ │ ├── VaultAdminUnit.t.sol │ │ │ ├── VaultBufferUnit.t.sol │ │ │ ├── VaultCommonBasicFunctions.t.sol │ │ │ ├── VaultCommonModifiers.t.sol │ │ │ ├── VaultExtensionUnit.t.sol │ │ │ ├── VaultStateLib.t.sol │ │ │ ├── VaultUnit.t.sol │ │ │ ├── VaultUnitLiquidity.t.sol │ │ │ └── VaultUnitSwap.t.sol │ │ └── utils │ │ │ ├── BaseBatchRouterE2ETest.sol │ │ │ ├── BaseERC4626BufferTest.sol │ │ │ ├── BaseExtremeAmountsTest.sol │ │ │ ├── BaseMedusaTest.sol │ │ │ ├── BasePoolTest.sol │ │ │ ├── BaseVaultTest.sol │ │ │ ├── Permit2Helpers.sol │ │ │ ├── SimpleEIP7702Contract.sol │ │ │ └── VaultContractsDeployer.sol │ ├── gas │ │ ├── .hardhat-snapshots │ │ │ ├── [PoolMock - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots │ │ │ ├── [PoolMock - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots │ │ │ ├── [PoolMock - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots │ │ │ ├── [PoolMock - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots │ │ │ ├── [PoolMock - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [PoolMock - Standard - BatchRouter] add liquidity using swapExactOur - warm slots │ │ │ ├── [PoolMock - Standard - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [PoolMock - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [PoolMock - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [PoolMock - Standard - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [PoolMock - Standard - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [PoolMock - Standard] add liquidity proportional │ │ │ ├── [PoolMock - Standard] add liquidity single token exact out - warm slots │ │ │ ├── [PoolMock - Standard] add liquidity unbalanced - warm slots │ │ │ ├── [PoolMock - Standard] donation │ │ │ ├── [PoolMock - Standard] initialize with ETH │ │ │ ├── [PoolMock - Standard] initialize without ETH │ │ │ ├── [PoolMock - Standard] remove liquidity proportional │ │ │ ├── [PoolMock - Standard] remove liquidity single token exact in - warm slots │ │ │ ├── [PoolMock - Standard] remove liquidity single token exact out - warm slots │ │ │ ├── [PoolMock - Standard] swap single token exact in with fees - cold slots │ │ │ ├── [PoolMock - Standard] swap single token exact in with fees - warm slots │ │ │ ├── [PoolMock - WithNestedPool - BatchRouter] swap exact in - reverse - tokenD-tokenA │ │ │ ├── [PoolMock - WithNestedPool - BatchRouter] swap exact in - tokenA-tokenD │ │ │ ├── [PoolMock - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [PoolMock - WithRate - BatchRouter] add liquidity using swapExactOur - warm slots │ │ │ ├── [PoolMock - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [PoolMock - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [PoolMock - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [PoolMock - WithRate - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [PoolMock - WithRate - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [PoolMock - WithRate] add liquidity proportional │ │ │ ├── [PoolMock - WithRate] add liquidity single token exact out - warm slots │ │ │ ├── [PoolMock - WithRate] add liquidity unbalanced - warm slots │ │ │ ├── [PoolMock - WithRate] remove liquidity proportional │ │ │ ├── [PoolMock - WithRate] remove liquidity single token exact in - warm slots │ │ │ ├── [PoolMock - WithRate] remove liquidity single token exact out - warm slots │ │ │ ├── [PoolMock - WithRate] swap single token exact in with fees - cold slots │ │ │ ├── [PoolMock - WithRate] swap single token exact in with fees - warm slots │ │ │ ├── [PoolMockWithHooks - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots │ │ │ ├── [PoolMockWithHooks - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots │ │ │ ├── [PoolMockWithHooks - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots │ │ │ ├── [PoolMockWithHooks - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots │ │ │ ├── [PoolMockWithHooks - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [PoolMockWithHooks - Standard - BatchRouter] add liquidity using swapExactOur - warm slots │ │ │ ├── [PoolMockWithHooks - Standard - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [PoolMockWithHooks - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [PoolMockWithHooks - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [PoolMockWithHooks - Standard - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [PoolMockWithHooks - Standard - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [PoolMockWithHooks - Standard] add liquidity proportional │ │ │ ├── [PoolMockWithHooks - Standard] add liquidity single token exact out - warm slots │ │ │ ├── [PoolMockWithHooks - Standard] add liquidity unbalanced - warm slots │ │ │ ├── [PoolMockWithHooks - Standard] donation │ │ │ ├── [PoolMockWithHooks - Standard] initialize with ETH │ │ │ ├── [PoolMockWithHooks - Standard] initialize without ETH │ │ │ ├── [PoolMockWithHooks - Standard] remove liquidity proportional │ │ │ ├── [PoolMockWithHooks - Standard] remove liquidity single token exact in - warm slots │ │ │ ├── [PoolMockWithHooks - Standard] remove liquidity single token exact out - warm slots │ │ │ ├── [PoolMockWithHooks - Standard] swap single token exact in with fees - cold slots │ │ │ ├── [PoolMockWithHooks - Standard] swap single token exact in with fees - warm slots │ │ │ ├── [PoolMockWithHooks - WithNestedPool - BatchRouter] swap exact in - reverse - tokenD-tokenA │ │ │ ├── [PoolMockWithHooks - WithNestedPool - BatchRouter] swap exact in - tokenA-tokenD │ │ │ ├── [PoolMockWithHooks - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate - BatchRouter] add liquidity using swapExactOur - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate - BatchRouter] swap exact in with one token and fees - cold slots │ │ │ ├── [PoolMockWithHooks - WithRate - BatchRouter] swap exact in with one token and fees - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate] add liquidity proportional │ │ │ ├── [PoolMockWithHooks - WithRate] add liquidity single token exact out - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate] add liquidity unbalanced - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate] remove liquidity proportional │ │ │ ├── [PoolMockWithHooks - WithRate] remove liquidity single token exact in - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate] remove liquidity single token exact out - warm slots │ │ │ ├── [PoolMockWithHooks - WithRate] swap single token exact in with fees - cold slots │ │ │ └── [PoolMockWithHooks - WithRate] swap single token exact in with fees - warm slots │ │ ├── PoolMockBenchmark.test.ts │ │ └── PoolMockWithHooks.test.ts │ └── poolSetup.ts │ └── tsconfig.json ├── pvt ├── benchmarks │ ├── README.md │ ├── foundry.toml │ ├── hardhat.config.ts │ ├── package.json │ ├── src │ │ ├── OracleBenchmark.behavior.ts │ │ └── PoolBenchmark.behavior.ts │ ├── test │ │ └── foundry │ │ │ ├── WeightedPoolSwaps.t.sol │ │ │ └── YieldFees.t.sol │ └── tsconfig.json ├── common │ ├── hardhat-base-config.ts │ ├── index.ts │ ├── package.json │ ├── setupTests.ts │ ├── sharedBeforeEach.ts │ └── skipFoundryTests.ts ├── helpers │ ├── package.json │ ├── scripts │ │ └── stablesurge-calculator.ts │ └── src │ │ ├── constants.ts │ │ ├── contract-size.ts │ │ ├── contract.ts │ │ ├── gas.ts │ │ ├── math │ │ ├── base.ts │ │ ├── stable.ts │ │ ├── surgeMedianMath.ts │ │ └── weighted.ts │ │ ├── models │ │ ├── authorizer │ │ │ ├── TimelockAuthorizerDeployer.ts │ │ │ ├── TimelockAuthorizerHelper.ts │ │ │ └── types.ts │ │ ├── misc │ │ │ └── actions.ts │ │ ├── tokens │ │ │ ├── ERC20TokenList.ts │ │ │ ├── ERC20TokensDeployer.ts │ │ │ ├── sortingHelper.ts │ │ │ ├── tokenConfig.ts │ │ │ └── types.ts │ │ ├── types │ │ │ ├── TypesConverter.ts │ │ │ └── types.ts │ │ └── vault │ │ │ ├── VaultDeployer.ts │ │ │ └── types.ts │ │ ├── numbers.ts │ │ ├── signers.ts │ │ ├── test │ │ ├── expectEvent.ts │ │ ├── expectTransfer.ts │ │ ├── relativeError.ts │ │ └── tokenBalance.ts │ │ └── time.ts └── solidity-toolbox │ └── package.json ├── tsconfig.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/actions/setup/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.github/actions/setup/action.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.mocharc.json -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.15.0 2 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.slither.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.slither.config.json -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.solhint.json -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-typescript.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.yarn/plugins/@yarnpkg/plugin-typescript.cjs -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-version.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.yarn/plugins/@yarnpkg/plugin-version.cjs -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs -------------------------------------------------------------------------------- /.yarn/releases/yarn-4.0.0-rc.42.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.yarn/releases/yarn-4.0.0-rc.42.cjs -------------------------------------------------------------------------------- /.yarn/versions/1dfc32f3.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/README.md -------------------------------------------------------------------------------- /audits/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/README.md -------------------------------------------------------------------------------- /audits/cantina/2024-12-17.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/cantina/2024-12-17.pdf -------------------------------------------------------------------------------- /audits/cantina/2024-12-31.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/cantina/2024-12-31.pdf -------------------------------------------------------------------------------- /audits/certora/2024-09-04.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/certora/2024-09-04.pdf -------------------------------------------------------------------------------- /audits/certora/2024-12-24.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/certora/2024-12-24.pdf -------------------------------------------------------------------------------- /audits/certora/2025-01-30.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/certora/2025-01-30.pdf -------------------------------------------------------------------------------- /audits/certora/2025-02-07.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/certora/2025-02-07.pdf -------------------------------------------------------------------------------- /audits/certora/2025-02-17.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/certora/2025-02-17.pdf -------------------------------------------------------------------------------- /audits/certora/2025-08-19.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/certora/2025-08-19.pdf -------------------------------------------------------------------------------- /audits/spearbit/2024-10-04.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/spearbit/2024-10-04.pdf -------------------------------------------------------------------------------- /audits/test-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/test-report.md -------------------------------------------------------------------------------- /audits/trail-of-bits/2024-12-11.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/audits/trail-of-bits/2024-12-11.pdf -------------------------------------------------------------------------------- /coverage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/coverage.sh -------------------------------------------------------------------------------- /logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/logo.svg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/package.json -------------------------------------------------------------------------------- /pkg/governance-scripts/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/governance-scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/governance-scripts/README.md -------------------------------------------------------------------------------- /pkg/governance-scripts/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/governance-scripts/foundry.toml -------------------------------------------------------------------------------- /pkg/governance-scripts/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/governance-scripts/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/governance-scripts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/governance-scripts/package.json -------------------------------------------------------------------------------- /pkg/governance-scripts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/governance-scripts/tsconfig.json -------------------------------------------------------------------------------- /pkg/interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/README.md -------------------------------------------------------------------------------- /pkg/interfaces/contracts/oracles/ILPOracleBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/oracles/ILPOracleBase.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/oracles/IWeightedLPOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/oracles/IWeightedLPOracle.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-cow/ICowPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-cow/ICowPool.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-cow/ICowPoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-cow/ICowPoolFactory.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-cow/ICowRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-cow/ICowRouter.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-gyro/IGyro2CLPPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-gyro/IGyro2CLPPool.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-gyro/IGyroECLPPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-gyro/IGyroECLPPool.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-hooks/IECLPSurgeHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-hooks/IECLPSurgeHook.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-stable/IStablePool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-stable/IStablePool.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-utils/IPoolInfo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-utils/IPoolInfo.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-weighted/ILBPCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-weighted/ILBPCommon.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/pool-weighted/ILBPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/pool-weighted/ILBPool.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/solidity-utils/misc/IWETH.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/solidity-utils/misc/IWETH.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/test/IStdMedusaCheats.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/test/IStdMedusaCheats.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/test/IVaultAdminMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/test/IVaultAdminMock.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/test/IVaultExtensionMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/test/IVaultExtensionMock.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/test/IVaultMainMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/test/IVaultMainMock.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/test/IVaultMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/test/IVaultMock.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/test/IVaultStorageMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/test/IVaultStorageMock.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/BatchRouterTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/BatchRouterTypes.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IAuthorizer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IAuthorizer.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IBasePool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IBasePool.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IBasePoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IBasePoolFactory.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IBatchRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IBatchRouter.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IBatchRouterQueries.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IBatchRouterQueries.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IBufferRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IBufferRouter.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IHooks.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IHooks.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IPoolLiquidity.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IPoolLiquidity.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IRouter.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IRouterCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IRouterCommon.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/ISenderGuard.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/ISenderGuard.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/ITimelockAuthorizer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/ITimelockAuthorizer.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IVault.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IVaultAdmin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IVaultAdmin.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IVaultErrors.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IVaultErrors.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IVaultEvents.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IVaultEvents.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IVaultExplorer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IVaultExplorer.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IVaultExtension.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IVaultExtension.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/IVaultMain.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/IVaultMain.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/RouterTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/RouterTypes.sol -------------------------------------------------------------------------------- /pkg/interfaces/contracts/vault/VaultTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/contracts/vault/VaultTypes.sol -------------------------------------------------------------------------------- /pkg/interfaces/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/interfaces/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/package.json -------------------------------------------------------------------------------- /pkg/interfaces/slither.db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/interfaces/slither.db.json -------------------------------------------------------------------------------- /pkg/oracles/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/oracles/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/oracles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/README.md -------------------------------------------------------------------------------- /pkg/oracles/contracts/ConstantPriceFeed.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/ConstantPriceFeed.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/DynamicWeightedLPOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/DynamicWeightedLPOracle.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/EclpLPOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/EclpLPOracle.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/EclpLPOracleFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/EclpLPOracleFactory.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/LPOracleBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/LPOracleBase.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/LPOracleFactoryBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/LPOracleFactoryBase.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/StableLPOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/StableLPOracle.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/StableLPOracleFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/StableLPOracleFactory.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/WeightedLPOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/WeightedLPOracle.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/WeightedLPOracleFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/WeightedLPOracleFactory.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/test/EclpLPOracleMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/test/EclpLPOracleMock.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/test/FeedMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/test/FeedMock.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/test/HardhatImports.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/test/HardhatImports.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/test/StableLPOracleMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/test/StableLPOracleMock.sol -------------------------------------------------------------------------------- /pkg/oracles/contracts/test/WeightedLPOracleMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/contracts/test/WeightedLPOracleMock.sol -------------------------------------------------------------------------------- /pkg/oracles/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/oracles/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/foundry.toml -------------------------------------------------------------------------------- /pkg/oracles/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/oracles/jupyter/StableOracle.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/jupyter/StableOracle.ipynb -------------------------------------------------------------------------------- /pkg/oracles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/package.json -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/ConstantPriceFeed.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/ConstantPriceFeed.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/DynamicWeightedLPOracle.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/DynamicWeightedLPOracle.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/EclpLPOracle.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/EclpLPOracle.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/EclpLPOracleFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/EclpLPOracleFactory.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/LPOracleFactoryBase.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/LPOracleFactoryBase.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/StableLPOracle.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/StableLPOracle.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/StableLPOracleFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/StableLPOracleFactory.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/WeightedLPOracle.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/WeightedLPOracle.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/WeightedLPOracleFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/WeightedLPOracleFactory.t.sol -------------------------------------------------------------------------------- /pkg/oracles/test/foundry/utils/BaseLPOracleTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/foundry/utils/BaseLPOracleTest.sol -------------------------------------------------------------------------------- /pkg/oracles/test/gas/.hardhat-snapshots/StableLPOracle - 2 tokens: -------------------------------------------------------------------------------- 1 | Min: 165.1k 2 | Max: 281.9k 3 | Avg: 233.2k -------------------------------------------------------------------------------- /pkg/oracles/test/gas/.hardhat-snapshots/StableLPOracle - 4 tokens: -------------------------------------------------------------------------------- 1 | Min: 358.8k 2 | Max: 1103.3k 3 | Avg: 887.4k -------------------------------------------------------------------------------- /pkg/oracles/test/gas/EclpLPOracleBenchmark.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/gas/EclpLPOracleBenchmark.test.ts -------------------------------------------------------------------------------- /pkg/oracles/test/gas/StableLPOracleBenchmark.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/gas/StableLPOracleBenchmark.test.ts -------------------------------------------------------------------------------- /pkg/oracles/test/gas/WeightedLPOracleBenchmark.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/test/gas/WeightedLPOracleBenchmark.test.ts -------------------------------------------------------------------------------- /pkg/oracles/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/oracles/tsconfig.json -------------------------------------------------------------------------------- /pkg/pool-cow/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/pool-cow/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/pool-cow/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/README.md -------------------------------------------------------------------------------- /pkg/pool-cow/contracts/CowPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/contracts/CowPool.sol -------------------------------------------------------------------------------- /pkg/pool-cow/contracts/CowPoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/contracts/CowPoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-cow/contracts/CowRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/contracts/CowRouter.sol -------------------------------------------------------------------------------- /pkg/pool-cow/contracts/test/HardhatImports.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/contracts/test/HardhatImports.sol -------------------------------------------------------------------------------- /pkg/pool-cow/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/pool-cow/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/foundry.toml -------------------------------------------------------------------------------- /pkg/pool-cow/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/pool-cow/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/package.json -------------------------------------------------------------------------------- /pkg/pool-cow/test/CoWPool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/test/CoWPool.test.ts -------------------------------------------------------------------------------- /pkg/pool-cow/test/foundry/CowPool.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/test/foundry/CowPool.t.sol -------------------------------------------------------------------------------- /pkg/pool-cow/test/foundry/CowPoolFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/test/foundry/CowPoolFactory.t.sol -------------------------------------------------------------------------------- /pkg/pool-cow/test/foundry/CowRouter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/test/foundry/CowRouter.t.sol -------------------------------------------------------------------------------- /pkg/pool-cow/test/foundry/utils/BaseCowTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/test/foundry/utils/BaseCowTest.sol -------------------------------------------------------------------------------- /pkg/pool-cow/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-cow/tsconfig.json -------------------------------------------------------------------------------- /pkg/pool-gyro/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/pool-gyro/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/pool-gyro/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/README.md -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/Gyro2CLPPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/Gyro2CLPPool.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/Gyro2CLPPoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/Gyro2CLPPoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/GyroECLPPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/GyroECLPPool.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/GyroECLPPoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/GyroECLPPoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/lib/Gyro2CLPMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/lib/Gyro2CLPMath.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/lib/GyroECLPMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/lib/GyroECLPMath.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/lib/GyroPoolMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/lib/GyroPoolMath.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/lib/SignedFixedPoint.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/lib/SignedFixedPoint.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/test/Gyro2CLPPoolMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/test/Gyro2CLPPoolMock.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/contracts/test/HardhatImports.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/contracts/test/HardhatImports.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/pool-gyro/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/foundry.toml -------------------------------------------------------------------------------- /pkg/pool-gyro/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/pool-gyro/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/package.json -------------------------------------------------------------------------------- /pkg/pool-gyro/slither.db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/slither.db.json -------------------------------------------------------------------------------- /pkg/pool-gyro/test/2CLP.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/2CLP.test.ts -------------------------------------------------------------------------------- /pkg/pool-gyro/test/ECLP.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/ECLP.test.ts -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/ComputeBalance2CLP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/ComputeBalance2CLP.t.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/E2eBatchSwap2CLP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/E2eBatchSwap2CLP.t.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/E2eBatchSwapECLP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/E2eBatchSwapECLP.t.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/E2eSwap2CLP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/E2eSwap2CLP.t.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/E2eSwapECLP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/E2eSwapECLP.t.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/FungibilityGyro2CLP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/FungibilityGyro2CLP.t.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/FungibilityGyroECLP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/FungibilityGyroECLP.t.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/Gyro2CLPMathRounding.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/Gyro2CLPMathRounding.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/foundry/GyroECLPMath.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/foundry/GyroECLPMath.t.sol -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 360.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 294.8k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 381.6k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 307.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 278.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 229.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 237.9k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 295.8k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 246.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 229.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 179.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 220.8k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 301.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] donation: -------------------------------------------------------------------------------- 1 | 171.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] initialize with ETH: -------------------------------------------------------------------------------- 1 | 378.6k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] initialize without ETH: -------------------------------------------------------------------------------- 1 | 366.3k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 166.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 214.5k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 264.0k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 230.9k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - Standard] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 214.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 299.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 250.5k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 259.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 317.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 279.3k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 245.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 234.5k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 242.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 317.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 221.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 235.8k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 285.3k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 264.0k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[ECLPPool - WithRate] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 230.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 299.9k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 234.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 322.3k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 247.9k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 191.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 172.3k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 181.5k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 210.8k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 187.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 170.3k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 179.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 164.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 214.7k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] donation: -------------------------------------------------------------------------------- 1 | 171.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] initialize with ETH: -------------------------------------------------------------------------------- 1 | 349.9k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] initialize without ETH: -------------------------------------------------------------------------------- 1 | 337.6k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 166.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 158.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 179.0k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 172.0k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - Standard] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 154.9k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 212.8k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 193.7k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 202.7k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 232.0k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 220.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 186.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 234.5k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 185.4k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 230.8k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 221.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 179.3k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 200.2k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 205.1k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/.hardhat-snapshots/[Gyro2CLPPool - WithRate] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 170.9k -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/2CLPPoolBenchmark.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/gas/2CLPPoolBenchmark.test.ts -------------------------------------------------------------------------------- /pkg/pool-gyro/test/gas/ECLPPoolBenchmark.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/test/gas/ECLPPoolBenchmark.test.ts -------------------------------------------------------------------------------- /pkg/pool-gyro/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-gyro/tsconfig.json -------------------------------------------------------------------------------- /pkg/pool-hooks/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/pool-hooks/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/pool-hooks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/README.md -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/DirectionalFeeHookExample.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/DirectionalFeeHookExample.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/ECLPSurgeHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/ECLPSurgeHook.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/ECLPSurgePoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/ECLPSurgePoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/ExitFeeHookExample.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/ExitFeeHookExample.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/FeeTakingHookExample.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/FeeTakingHookExample.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/LotteryHookExample.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/LotteryHookExample.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/MevCaptureHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/MevCaptureHook.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/MinimalRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/MinimalRouter.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/StableSurgeHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/StableSurgeHook.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/StableSurgePoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/StableSurgePoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/SurgeHookCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/SurgeHookCommon.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/test/ECLPSurgeHookMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/test/ECLPSurgeHookMock.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/test/HardhatImports.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/test/HardhatImports.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/test/MevCaptureHookMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/test/MevCaptureHookMock.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/contracts/test/StableSurgeHookMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/contracts/test/StableSurgeHookMock.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/pool-hooks/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/foundry.toml -------------------------------------------------------------------------------- /pkg/pool-hooks/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/pool-hooks/jupyter/SurgeECLP.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/jupyter/SurgeECLP.ipynb -------------------------------------------------------------------------------- /pkg/pool-hooks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/package.json -------------------------------------------------------------------------------- /pkg/pool-hooks/slither.db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/slither.db.json -------------------------------------------------------------------------------- /pkg/pool-hooks/test/MevCaptureHook.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/MevCaptureHook.test.ts -------------------------------------------------------------------------------- /pkg/pool-hooks/test/StableSurgeMedianMath.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/StableSurgeMedianMath.test.ts -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/ECLPSurgeHook.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/ECLPSurgeHook.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/ECLPSurgeHookBase.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/ECLPSurgeHookBase.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/ECLPSurgeHookUnit.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/ECLPSurgeHookUnit.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/ECLPSurgePoolFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/ECLPSurgePoolFactory.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/ExitFeeHookExample.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/ExitFeeHookExample.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/FeeTakingHookExample.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/FeeTakingHookExample.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/LotteryHookExample.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/LotteryHookExample.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/MevCaptureHook.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/MevCaptureHook.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/StableSurgeHook.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/StableSurgeHook.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/foundry/StableSurgeHookUnit.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/test/foundry/StableSurgeHookUnit.t.sol -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 339.5k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 274.1k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 362.0k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 287.5k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 221.1k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 210.5k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 190.0k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard] donation: -------------------------------------------------------------------------------- 1 | 188.4k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard] initialize with ETH: -------------------------------------------------------------------------------- 1 | 348.1k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard] initialize without ETH: -------------------------------------------------------------------------------- 1 | 335.8k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 176.5k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 205.8k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - Standard] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 195.2k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 254.2k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 226.5k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - WithRate] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 245.1k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - WithRate] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 231.5k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - WithRate] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 238.9k -------------------------------------------------------------------------------- /pkg/pool-hooks/test/gas/.hardhat-snapshots/[StableSurgePool - WithRate] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 211.2k -------------------------------------------------------------------------------- /pkg/pool-hooks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-hooks/tsconfig.json -------------------------------------------------------------------------------- /pkg/pool-stable/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/pool-stable/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/pool-stable/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/README.md -------------------------------------------------------------------------------- /pkg/pool-stable/contracts/StablePool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/contracts/StablePool.sol -------------------------------------------------------------------------------- /pkg/pool-stable/contracts/StablePoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/contracts/StablePoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-stable/contracts/test/HardhatImports.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/contracts/test/HardhatImports.sol -------------------------------------------------------------------------------- /pkg/pool-stable/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/pool-stable/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/foundry.toml -------------------------------------------------------------------------------- /pkg/pool-stable/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/pool-stable/medusa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/medusa.json -------------------------------------------------------------------------------- /pkg/pool-stable/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/package.json -------------------------------------------------------------------------------- /pkg/pool-stable/slither.db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/slither.db.json -------------------------------------------------------------------------------- /pkg/pool-stable/test/StablePool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/StablePool.test.ts -------------------------------------------------------------------------------- /pkg/pool-stable/test/StablePoolAmplification.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/StablePoolAmplification.test.ts -------------------------------------------------------------------------------- /pkg/pool-stable/test/foundry/ActionIds.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/foundry/ActionIds.t.sol -------------------------------------------------------------------------------- /pkg/pool-stable/test/foundry/E2eBatchSwap.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/foundry/E2eBatchSwap.t.sol -------------------------------------------------------------------------------- /pkg/pool-stable/test/foundry/E2eErc4626Swaps.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/foundry/E2eErc4626Swaps.t.sol -------------------------------------------------------------------------------- /pkg/pool-stable/test/foundry/E2eSwapRateProvider.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/foundry/E2eSwapRateProvider.t.sol -------------------------------------------------------------------------------- /pkg/pool-stable/test/foundry/E2eSwapStable.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/foundry/E2eSwapStable.t.sol -------------------------------------------------------------------------------- /pkg/pool-stable/test/foundry/FungibilityStable.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/foundry/FungibilityStable.t.sol -------------------------------------------------------------------------------- /pkg/pool-stable/test/foundry/StablePool.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/foundry/StablePool.t.sol -------------------------------------------------------------------------------- /pkg/pool-stable/test/foundry/StablePoolFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/foundry/StablePoolFactory.t.sol -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 308.9k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 243.4k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 331.3k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 256.8k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 196.3k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard - BatchRouter] add liquidity using swapExactOur - warm slots: -------------------------------------------------------------------------------- 1 | 180.9k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 180.0k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 189.2k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 208.6k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 193.2k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 179.4k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 179.4k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 171.7k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 214.7k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] donation: -------------------------------------------------------------------------------- 1 | 171.2k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] initialize with ETH: -------------------------------------------------------------------------------- 1 | 348.1k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] initialize without ETH: -------------------------------------------------------------------------------- 1 | 335.8k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 166.2k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 165.8k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 176.7k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 177.9k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - Standard] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 164.0k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithNestedPool - BatchRouter] swap exact in - reverse - tokenD-tokenA: -------------------------------------------------------------------------------- 1 | 534.6k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithNestedPool - BatchRouter] swap exact in - tokenA-tokenD: -------------------------------------------------------------------------------- 1 | 555.6k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 217.7k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate - BatchRouter] add liquidity using swapExactOur - warm slots: -------------------------------------------------------------------------------- 1 | 202.3k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 201.4k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 210.5k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 229.8k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 226.3k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 195.3k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 234.5k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 193.1k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 230.8k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 221.1k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 187.1k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 197.9k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 211.0k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/.hardhat-snapshots/[StablePool - WithRate] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 180.0k -------------------------------------------------------------------------------- /pkg/pool-stable/test/gas/StablePoolBenchmark.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/test/gas/StablePoolBenchmark.test.ts -------------------------------------------------------------------------------- /pkg/pool-stable/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-stable/tsconfig.json -------------------------------------------------------------------------------- /pkg/pool-utils/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/pool-utils/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/pool-utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/README.md -------------------------------------------------------------------------------- /pkg/pool-utils/contracts/BasePoolAuthentication.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/contracts/BasePoolAuthentication.sol -------------------------------------------------------------------------------- /pkg/pool-utils/contracts/BasePoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/contracts/BasePoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-utils/contracts/PoolInfo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/contracts/PoolInfo.sol -------------------------------------------------------------------------------- /pkg/pool-utils/contracts/test/BasePoolFactoryMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/contracts/test/BasePoolFactoryMock.sol -------------------------------------------------------------------------------- /pkg/pool-utils/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/pool-utils/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/foundry.toml -------------------------------------------------------------------------------- /pkg/pool-utils/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/pool-utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/package.json -------------------------------------------------------------------------------- /pkg/pool-utils/slither.db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/slither.db.json -------------------------------------------------------------------------------- /pkg/pool-utils/test/foundry/BasePoolFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/test/foundry/BasePoolFactory.t.sol -------------------------------------------------------------------------------- /pkg/pool-utils/test/foundry/PoolInfo.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/test/foundry/PoolInfo.t.sol -------------------------------------------------------------------------------- /pkg/pool-utils/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-utils/tsconfig.json -------------------------------------------------------------------------------- /pkg/pool-weighted/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/pool-weighted/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/pool-weighted/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/README.md -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/WeightedPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/WeightedPool.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/WeightedPoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/WeightedPoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lbp/BPTTimeLocker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lbp/BPTTimeLocker.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lbp/BaseLBPFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lbp/BaseLBPFactory.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lbp/FixedPriceLBPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lbp/FixedPriceLBPool.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lbp/LBPCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lbp/LBPCommon.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lbp/LBPMigrationRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lbp/LBPMigrationRouter.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lbp/LBPValidation.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lbp/LBPValidation.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lbp/LBPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lbp/LBPool.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lbp/LBPoolFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lbp/LBPoolFactory.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lib/GradualValueChange.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lib/GradualValueChange.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/lib/LBPoolLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/lib/LBPoolLib.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/test/HardhatImports.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/test/HardhatImports.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/test/WeightedMathMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/test/WeightedMathMock.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/contracts/test/WeightedPoolMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/contracts/test/WeightedPoolMock.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/pool-weighted/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/foundry.toml -------------------------------------------------------------------------------- /pkg/pool-weighted/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/pool-weighted/medusa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/medusa.json -------------------------------------------------------------------------------- /pkg/pool-weighted/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/package.json -------------------------------------------------------------------------------- /pkg/pool-weighted/slither.db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/slither.db.json -------------------------------------------------------------------------------- /pkg/pool-weighted/test/LBPool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/LBPool.test.ts -------------------------------------------------------------------------------- /pkg/pool-weighted/test/WeightedMath.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/WeightedMath.test.ts -------------------------------------------------------------------------------- /pkg/pool-weighted/test/WeightedPool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/WeightedPool.test.ts -------------------------------------------------------------------------------- /pkg/pool-weighted/test/foundry/BigWeightedPool.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/foundry/BigWeightedPool.t.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/test/foundry/E2eBatchSwap.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/foundry/E2eBatchSwap.t.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/test/foundry/E2eSwapWeighted.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/foundry/E2eSwapWeighted.t.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/test/foundry/FixedPriceLBPool.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/foundry/FixedPriceLBPool.t.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/test/foundry/LBPool.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/foundry/LBPool.t.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/test/foundry/LBPoolFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/foundry/LBPoolFactory.t.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/test/foundry/WeightedPool.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/foundry/WeightedPool.t.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/test/foundry/utils/BaseLBPTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/test/foundry/utils/BaseLBPTest.sol -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 295.6k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 230.2k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 318.1k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 243.6k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 189.3k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard - BatchRouter] add liquidity using swapExactOur - warm slots: -------------------------------------------------------------------------------- 1 | 167.3k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 166.9k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 176.1k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 207.8k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 183.2k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 166.1k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 179.4k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 158.7k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 212.5k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] donation: -------------------------------------------------------------------------------- 1 | 171.2k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] initialize with ETH: -------------------------------------------------------------------------------- 1 | 349.2k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] initialize without ETH: -------------------------------------------------------------------------------- 1 | 336.8k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 166.2k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 152.6k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 176.0k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 167.9k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - Standard] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 150.8k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 210.8k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate - BatchRouter] add liquidity using swapExactOur - warm slots: -------------------------------------------------------------------------------- 1 | 188.7k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 188.3k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 197.3k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 229.0k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 216.3k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 182.1k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 234.5k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 180.0k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 228.8k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 221.1k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 173.9k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 197.2k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 200.9k -------------------------------------------------------------------------------- /pkg/pool-weighted/test/gas/.hardhat-snapshots/[WeightedPool - WithRate] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 166.7k -------------------------------------------------------------------------------- /pkg/pool-weighted/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/pool-weighted/tsconfig.json -------------------------------------------------------------------------------- /pkg/solidity-utils/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/.prettierignore -------------------------------------------------------------------------------- /pkg/solidity-utils/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/solidity-utils/.solhintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/.solhintignore -------------------------------------------------------------------------------- /pkg/solidity-utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/README.md -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/helpers/BufferHelpers.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/helpers/BufferHelpers.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/helpers/CodeDeployer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/helpers/CodeDeployer.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/helpers/InputHelpers.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/helpers/InputHelpers.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/helpers/RevertCodec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/helpers/RevertCodec.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/helpers/Version.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/helpers/Version.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/helpers/WordCodec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/helpers/WordCodec.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/math/FixedPoint.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/math/FixedPoint.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/math/LogExpMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/math/LogExpMath.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/math/StableMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/math/StableMath.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/math/WeightedMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/math/WeightedMath.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/openzeppelin/Arrays.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/openzeppelin/Arrays.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/openzeppelin/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/openzeppelin/LICENSE -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/openzeppelin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/openzeppelin/README.md -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/solmate/CREATE3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/solmate/CREATE3.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/ArrayHelpers.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/ArrayHelpers.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/CodeDeployerMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/CodeDeployerMock.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/ERC20TestToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/ERC20TestToken.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/ERC4626TestToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/ERC4626TestToken.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/FixedPointMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/FixedPointMock.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/LogExpMathMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/LogExpMathMock.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/ReentrancyAttack.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/ReentrancyAttack.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/ReentrancyMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/ReentrancyMock.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/RoundingMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/RoundingMock.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/StableMathMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/StableMathMock.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/WETHTestToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/WETHTestToken.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/WordCodecHelpers.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/WordCodecHelpers.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/contracts/test/WordCodecMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/contracts/test/WordCodecMock.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/solidity-utils/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/foundry.toml -------------------------------------------------------------------------------- /pkg/solidity-utils/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/package.json -------------------------------------------------------------------------------- /pkg/solidity-utils/scripts/pow.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/scripts/pow.mjs -------------------------------------------------------------------------------- /pkg/solidity-utils/slither.db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/slither.db.json -------------------------------------------------------------------------------- /pkg/solidity-utils/test/BaseSplitCodeFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/BaseSplitCodeFactory.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/CodeDeployer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/CodeDeployer.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/EnumerableMap.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/EnumerableMap.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/EnumerableSet.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/EnumerableSet.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/FixedPoint.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/FixedPoint.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/LogExpMath.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/LogExpMath.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/ReentrancyGuard.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/ReentrancyGuard.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/StableMath.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/StableMath.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/WordCodec.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/WordCodec.test.ts -------------------------------------------------------------------------------- /pkg/solidity-utils/test/foundry/ERC4626TestToken.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/foundry/ERC4626TestToken.t.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/test/foundry/FixedPoint.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/foundry/FixedPoint.t.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/test/foundry/LogExpMath.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/foundry/LogExpMath.t.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/test/foundry/RevertCodec.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/foundry/RevertCodec.t.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/test/foundry/ScalingHelpers.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/foundry/ScalingHelpers.t.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/test/foundry/StableMath.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/foundry/StableMath.t.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/test/foundry/WordCodec.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/foundry/WordCodec.t.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/test/foundry/utils/BaseTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/test/foundry/utils/BaseTest.sol -------------------------------------------------------------------------------- /pkg/solidity-utils/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/solidity-utils/tsconfig.json -------------------------------------------------------------------------------- /pkg/standalone-utils/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/.env.example -------------------------------------------------------------------------------- /pkg/standalone-utils/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/standalone-utils/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/standalone-utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/README.md -------------------------------------------------------------------------------- /pkg/standalone-utils/contracts/BalancerFeeBurner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/contracts/BalancerFeeBurner.sol -------------------------------------------------------------------------------- /pkg/standalone-utils/contracts/CallAndRevert.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/contracts/CallAndRevert.sol -------------------------------------------------------------------------------- /pkg/standalone-utils/contracts/CowSwapFeeBurner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/contracts/CowSwapFeeBurner.sol -------------------------------------------------------------------------------- /pkg/standalone-utils/contracts/PoolHelperCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/contracts/PoolHelperCommon.sol -------------------------------------------------------------------------------- /pkg/standalone-utils/contracts/PoolPauseHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/contracts/PoolPauseHelper.sol -------------------------------------------------------------------------------- /pkg/standalone-utils/contracts/PoolSwapFeeHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/contracts/PoolSwapFeeHelper.sol -------------------------------------------------------------------------------- /pkg/standalone-utils/contracts/PriceImpactHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/contracts/PriceImpactHelper.sol -------------------------------------------------------------------------------- /pkg/standalone-utils/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/standalone-utils/docs/StableOracle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/docs/StableOracle.md -------------------------------------------------------------------------------- /pkg/standalone-utils/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/foundry.toml -------------------------------------------------------------------------------- /pkg/standalone-utils/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/standalone-utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/package.json -------------------------------------------------------------------------------- /pkg/standalone-utils/scripts/cowBurnerSmokeTest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/scripts/cowBurnerSmokeTest.ts -------------------------------------------------------------------------------- /pkg/standalone-utils/test/foundry/PriceImpact.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/test/foundry/PriceImpact.t.sol -------------------------------------------------------------------------------- /pkg/standalone-utils/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/standalone-utils/tsconfig.json -------------------------------------------------------------------------------- /pkg/vault/.forge-snapshots/vaultSwapSingleTokenExactInWithProtocolFee.snap: -------------------------------------------------------------------------------- 1 | 306398 -------------------------------------------------------------------------------- /pkg/vault/.solcover.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | skipFiles: ['test'], 3 | }; 4 | -------------------------------------------------------------------------------- /pkg/vault/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/test/ 2 | -------------------------------------------------------------------------------- /pkg/vault/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/README.md -------------------------------------------------------------------------------- /pkg/vault/contracts/BalancerPoolToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/BalancerPoolToken.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/BaseHooks.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/BaseHooks.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/BasePoolMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/BasePoolMath.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/BatchRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/BatchRouter.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/BatchRouterCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/BatchRouterCommon.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/BatchRouterHooks.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/BatchRouterHooks.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/BufferRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/BufferRouter.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/CommonAuthentication.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/CommonAuthentication.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/CompositeLiquidityRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/CompositeLiquidityRouter.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/ProtocolFeeController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/ProtocolFeeController.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/Router.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/Router.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/RouterCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/RouterCommon.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/RouterHooks.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/RouterHooks.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/SenderGuard.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/SenderGuard.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/SingletonAuthentication.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/SingletonAuthentication.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/UnbalancedAddViaSwapRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/UnbalancedAddViaSwapRouter.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/Vault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/Vault.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/VaultAdmin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/VaultAdmin.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/VaultCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/VaultCommon.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/VaultExplorer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/VaultExplorer.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/VaultExtension.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/VaultExtension.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/VaultFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/VaultFactory.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/VaultGuard.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/VaultGuard.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/VaultStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/VaultStorage.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/WrappedBalancerPoolToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/WrappedBalancerPoolToken.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/lib/HooksConfigLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/lib/HooksConfigLib.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/lib/PoolConfigConst.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/lib/PoolConfigConst.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/lib/PoolConfigLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/lib/PoolConfigLib.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/lib/PoolDataLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/lib/PoolDataLib.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/lib/RouterWethLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/lib/RouterWethLib.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/lib/VaultExtensionsLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/lib/VaultExtensionsLib.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/lib/VaultStateLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/lib/VaultStateLib.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/BaseHooksMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/BaseHooksMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/BasePoolMathMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/BasePoolMathMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/BasicAuthorizerMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/BasicAuthorizerMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/BatchRouterMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/BatchRouterMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/BufferRouterMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/BufferRouterMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/ERC20MultiTokenMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/ERC20MultiTokenMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/ERC4626RateProvider.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/ERC4626RateProvider.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/HooksConfigLibMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/HooksConfigLibMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/InputHelpersMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/InputHelpersMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/LinearBasePoolMathMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/LinearBasePoolMathMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/MinimalHooksPoolMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/MinimalHooksPoolMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/NullAuthorizer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/NullAuthorizer.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/PoolFactoryMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/PoolFactoryMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/PoolHooksMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/PoolHooksMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/PoolMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/PoolMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/RateProviderMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/RateProviderMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/RouterCommonMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/RouterCommonMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/RouterMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/RouterMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/VaultAdminMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/VaultAdminMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/VaultExtensionMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/VaultExtensionMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/test/VaultMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/test/VaultMock.sol -------------------------------------------------------------------------------- /pkg/vault/contracts/token/ERC20MultiToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/contracts/token/ERC20MultiToken.sol -------------------------------------------------------------------------------- /pkg/vault/coverage.sh: -------------------------------------------------------------------------------- 1 | ../../coverage.sh -------------------------------------------------------------------------------- /pkg/vault/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/foundry.toml -------------------------------------------------------------------------------- /pkg/vault/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/hardhat.config.ts -------------------------------------------------------------------------------- /pkg/vault/jupyter/liquidity.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/jupyter/liquidity.ipynb -------------------------------------------------------------------------------- /pkg/vault/jupyter/live-balances.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/jupyter/live-balances.ipynb -------------------------------------------------------------------------------- /pkg/vault/medusa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/medusa.json -------------------------------------------------------------------------------- /pkg/vault/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/package.json -------------------------------------------------------------------------------- /pkg/vault/slither.db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/slither.db.json -------------------------------------------------------------------------------- /pkg/vault/test/.contract-sizes/BatchRouter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/.contract-sizes/BatchRouter -------------------------------------------------------------------------------- /pkg/vault/test/.contract-sizes/BufferRouter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/.contract-sizes/BufferRouter -------------------------------------------------------------------------------- /pkg/vault/test/.contract-sizes/Router: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/.contract-sizes/Router -------------------------------------------------------------------------------- /pkg/vault/test/.contract-sizes/Vault: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/.contract-sizes/Vault -------------------------------------------------------------------------------- /pkg/vault/test/.contract-sizes/VaultAdmin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/.contract-sizes/VaultAdmin -------------------------------------------------------------------------------- /pkg/vault/test/.contract-sizes/VaultExtension: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/.contract-sizes/VaultExtension -------------------------------------------------------------------------------- /pkg/vault/test/BalancerPoolTokenTest.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/BalancerPoolTokenTest.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/BasePoolMath.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/BasePoolMath.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/BatchSwap.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/BatchSwap.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/BatchSwapBase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/BatchSwapBase.ts -------------------------------------------------------------------------------- /pkg/vault/test/ContractSizes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/ContractSizes.ts -------------------------------------------------------------------------------- /pkg/vault/test/ERC4626VaultPrimitive.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/ERC4626VaultPrimitive.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/InputHelpers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/InputHelpers.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/Permit2Deployer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/Permit2Deployer.ts -------------------------------------------------------------------------------- /pkg/vault/test/PrepaidBatchSwap.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/PrepaidBatchSwap.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/Queries.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/Queries.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/Vault.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/Vault.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/foundry/AuxiliaryEvent.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/AuxiliaryEvent.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BalancerPoolTokenTest.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BalancerPoolTokenTest.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BaseHooks.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BaseHooks.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BasePoolMathRoundingTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BasePoolMathRoundingTest.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BatchRouter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BatchRouter.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BatchRouterCommon.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BatchRouterCommon.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BatchRouterE2E.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BatchRouterE2E.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BigPoolData.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BigPoolData.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BufferDoSProtection.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BufferDoSProtection.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BufferRouter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BufferRouter.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/BufferVaultPrimitive.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/BufferVaultPrimitive.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/DynamicFeePoolTest.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/DynamicFeePoolTest.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/E2eBatchSwap.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/E2eBatchSwap.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/E2eErc4626Swaps.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/E2eErc4626Swaps.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/E2eSwap.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/E2eSwap.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/E2eSwapRateProvider.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/E2eSwapRateProvider.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/Fungibility.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/Fungibility.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/GetBptRate.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/GetBptRate.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/HookAdjustedLiquidity.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/HookAdjustedLiquidity.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/HookAdjustedSwap.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/HookAdjustedSwap.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/Hooks.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/Hooks.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/HooksAlteringBalances.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/HooksAlteringBalances.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/HooksAlteringRates.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/HooksAlteringRates.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/Initializer.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/Initializer.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/LiquidityApproximation.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/LiquidityApproximation.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/Permit2.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/Permit2.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/PoolData.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/PoolData.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/PoolDonation.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/PoolDonation.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/PoolPause.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/PoolPause.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/PoolSwapManager.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/PoolSwapManager.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/PrepaidBatchRouter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/PrepaidBatchRouter.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/PrepaidBatchRouterE2E.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/PrepaidBatchRouterE2E.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/PrepaidRouter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/PrepaidRouter.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/ProtocolFeeController.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/ProtocolFeeController.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/ProtocolFeeExemption.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/ProtocolFeeExemption.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/QueryERC4626Buffer.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/QueryERC4626Buffer.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/RateProvider.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/RateProvider.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/RecoveryMode.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/RecoveryMode.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/Registration.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/Registration.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/Router.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/Router.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/RouterCommon.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/RouterCommon.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/RouterQueriesDiffRates.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/RouterQueriesDiffRates.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/RouterWethLib.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/RouterWethLib.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/UninitializedBufferTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/UninitializedBufferTest.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultDefaultHandlers.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultDefaultHandlers.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultExplorer.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultExplorer.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultFactory.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultFactory.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultLiquidity.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultLiquidity.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultLiquidityFees.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultLiquidityFees.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultLiquidityRate.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultLiquidityRate.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultStorage.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultStorage.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultSwap.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultSwap.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultSwapRate.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultSwapRate.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/VaultTokens.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/VaultTokens.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/YieldBearingPools.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/YieldBearingPools.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/YieldFees.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/YieldFees.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/fuzz/Swap.medusa.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/fuzz/Swap.medusa.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/mutation/router/Router.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/mutation/router/Router.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/mutation/vault/Vault.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/mutation/vault/Vault.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/HooksConfigLib.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/HooksConfigLib.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/PoolConfigConst.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/PoolConfigConst.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/PoolConfigLib.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/PoolConfigLib.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/Scaling.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/Scaling.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/VaultAdminUnit.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/VaultAdminUnit.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/VaultBufferUnit.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/VaultBufferUnit.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/VaultStateLib.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/VaultStateLib.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/VaultUnit.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/VaultUnit.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/unit/VaultUnitSwap.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/unit/VaultUnitSwap.t.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/utils/BaseMedusaTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/utils/BaseMedusaTest.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/utils/BasePoolTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/utils/BasePoolTest.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/utils/BaseVaultTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/utils/BaseVaultTest.sol -------------------------------------------------------------------------------- /pkg/vault/test/foundry/utils/Permit2Helpers.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/foundry/utils/Permit2Helpers.sol -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 295.6k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 230.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 318.0k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 243.6k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 172.5k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard - BatchRouter] add liquidity using swapExactOur - warm slots: -------------------------------------------------------------------------------- 1 | 167.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 167.0k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 176.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 191.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 183.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 166.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 179.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 158.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 195.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] donation: -------------------------------------------------------------------------------- 1 | 171.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] initialize with ETH: -------------------------------------------------------------------------------- 1 | 343.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] initialize without ETH: -------------------------------------------------------------------------------- 1 | 331.3k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 166.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 152.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 159.3k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 167.9k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - Standard] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 150.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithNestedPool - BatchRouter] swap exact in - reverse - tokenD-tokenA: -------------------------------------------------------------------------------- 1 | 506.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithNestedPool - BatchRouter] swap exact in - tokenA-tokenD: -------------------------------------------------------------------------------- 1 | 511.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 193.9k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate - BatchRouter] add liquidity using swapExactOur - warm slots: -------------------------------------------------------------------------------- 1 | 188.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 188.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 197.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 212.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 216.3k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 182.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 234.5k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 180.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 211.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 221.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 174.0k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 180.5k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 201.0k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMock - WithRate] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 166.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - ERC4626 - BatchRouter] swapExactIn - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 314.0k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - ERC4626 - BatchRouter] swapExactIn - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 243.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - ERC4626 - BatchRouter] swapExactOut - no buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 331.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - ERC4626 - BatchRouter] swapExactOut - with buffer liquidity - warm slots: -------------------------------------------------------------------------------- 1 | 257.3k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 190.5k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard - BatchRouter] add liquidity using swapExactOur - warm slots: -------------------------------------------------------------------------------- 1 | 185.3k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 184.9k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 194.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 209.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 174.9k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 174.9k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 197.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 176.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 213.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] donation: -------------------------------------------------------------------------------- 1 | 189.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] initialize with ETH: -------------------------------------------------------------------------------- 1 | 356.9k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] initialize without ETH: -------------------------------------------------------------------------------- 1 | 344.6k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 184.1k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 170.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 177.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 159.6k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - Standard] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 159.6k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithNestedPool - BatchRouter] swap exact in - reverse - tokenD-tokenA: -------------------------------------------------------------------------------- 1 | 556.6k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithNestedPool - BatchRouter] swap exact in - tokenA-tokenD: -------------------------------------------------------------------------------- 1 | 579.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate - BatchRouter] add liquidity unbalanced using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 213.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate - BatchRouter] add liquidity using swapExactOur - warm slots: -------------------------------------------------------------------------------- 1 | 208.6k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate - BatchRouter] add liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 208.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate - BatchRouter] remove liquidity using swapExactIn - warm slots: -------------------------------------------------------------------------------- 1 | 217.3k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate - BatchRouter] remove liquidity using swapExactOut - warm slots: -------------------------------------------------------------------------------- 1 | 232.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate - BatchRouter] swap exact in with one token and fees - cold slots: -------------------------------------------------------------------------------- 1 | 231.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate - BatchRouter] swap exact in with one token and fees - warm slots: -------------------------------------------------------------------------------- 1 | 197.6k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate] add liquidity proportional: -------------------------------------------------------------------------------- 1 | 254.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate] add liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 199.9k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate] add liquidity unbalanced - warm slots: -------------------------------------------------------------------------------- 1 | 231.7k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate] remove liquidity proportional: -------------------------------------------------------------------------------- 1 | 241.0k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate] remove liquidity single token exact in - warm slots: -------------------------------------------------------------------------------- 1 | 193.8k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate] remove liquidity single token exact out - warm slots: -------------------------------------------------------------------------------- 1 | 200.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate] swap single token exact in with fees - cold slots: -------------------------------------------------------------------------------- 1 | 216.4k -------------------------------------------------------------------------------- /pkg/vault/test/gas/.hardhat-snapshots/[PoolMockWithHooks - WithRate] swap single token exact in with fees - warm slots: -------------------------------------------------------------------------------- 1 | 182.2k -------------------------------------------------------------------------------- /pkg/vault/test/gas/PoolMockBenchmark.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/gas/PoolMockBenchmark.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/gas/PoolMockWithHooks.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/gas/PoolMockWithHooks.test.ts -------------------------------------------------------------------------------- /pkg/vault/test/poolSetup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/test/poolSetup.ts -------------------------------------------------------------------------------- /pkg/vault/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pkg/vault/tsconfig.json -------------------------------------------------------------------------------- /pvt/benchmarks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/README.md -------------------------------------------------------------------------------- /pvt/benchmarks/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/foundry.toml -------------------------------------------------------------------------------- /pvt/benchmarks/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/hardhat.config.ts -------------------------------------------------------------------------------- /pvt/benchmarks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/package.json -------------------------------------------------------------------------------- /pvt/benchmarks/src/OracleBenchmark.behavior.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/src/OracleBenchmark.behavior.ts -------------------------------------------------------------------------------- /pvt/benchmarks/src/PoolBenchmark.behavior.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/src/PoolBenchmark.behavior.ts -------------------------------------------------------------------------------- /pvt/benchmarks/test/foundry/WeightedPoolSwaps.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/test/foundry/WeightedPoolSwaps.t.sol -------------------------------------------------------------------------------- /pvt/benchmarks/test/foundry/YieldFees.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/test/foundry/YieldFees.t.sol -------------------------------------------------------------------------------- /pvt/benchmarks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/benchmarks/tsconfig.json -------------------------------------------------------------------------------- /pvt/common/hardhat-base-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/common/hardhat-base-config.ts -------------------------------------------------------------------------------- /pvt/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/common/index.ts -------------------------------------------------------------------------------- /pvt/common/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/common/package.json -------------------------------------------------------------------------------- /pvt/common/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/common/setupTests.ts -------------------------------------------------------------------------------- /pvt/common/sharedBeforeEach.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/common/sharedBeforeEach.ts -------------------------------------------------------------------------------- /pvt/common/skipFoundryTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/common/skipFoundryTests.ts -------------------------------------------------------------------------------- /pvt/helpers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/package.json -------------------------------------------------------------------------------- /pvt/helpers/scripts/stablesurge-calculator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/scripts/stablesurge-calculator.ts -------------------------------------------------------------------------------- /pvt/helpers/src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/constants.ts -------------------------------------------------------------------------------- /pvt/helpers/src/contract-size.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/contract-size.ts -------------------------------------------------------------------------------- /pvt/helpers/src/contract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/contract.ts -------------------------------------------------------------------------------- /pvt/helpers/src/gas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/gas.ts -------------------------------------------------------------------------------- /pvt/helpers/src/math/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/math/base.ts -------------------------------------------------------------------------------- /pvt/helpers/src/math/stable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/math/stable.ts -------------------------------------------------------------------------------- /pvt/helpers/src/math/surgeMedianMath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/math/surgeMedianMath.ts -------------------------------------------------------------------------------- /pvt/helpers/src/math/weighted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/math/weighted.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/authorizer/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/authorizer/types.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/misc/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/misc/actions.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/tokens/ERC20TokenList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/tokens/ERC20TokenList.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/tokens/sortingHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/tokens/sortingHelper.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/tokens/tokenConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/tokens/tokenConfig.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/tokens/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/tokens/types.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/types/TypesConverter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/types/TypesConverter.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/types/types.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/vault/VaultDeployer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/vault/VaultDeployer.ts -------------------------------------------------------------------------------- /pvt/helpers/src/models/vault/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/models/vault/types.ts -------------------------------------------------------------------------------- /pvt/helpers/src/numbers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/numbers.ts -------------------------------------------------------------------------------- /pvt/helpers/src/signers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/signers.ts -------------------------------------------------------------------------------- /pvt/helpers/src/test/expectEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/test/expectEvent.ts -------------------------------------------------------------------------------- /pvt/helpers/src/test/expectTransfer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/test/expectTransfer.ts -------------------------------------------------------------------------------- /pvt/helpers/src/test/relativeError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/test/relativeError.ts -------------------------------------------------------------------------------- /pvt/helpers/src/test/tokenBalance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/test/tokenBalance.ts -------------------------------------------------------------------------------- /pvt/helpers/src/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/helpers/src/time.ts -------------------------------------------------------------------------------- /pvt/solidity-toolbox/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/pvt/solidity-toolbox/package.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balancer/balancer-v3-monorepo/HEAD/yarn.lock --------------------------------------------------------------------------------