diff --git a/src/_global/swapUtils.sol b/src/_global/swapUtils.sol index 1528181..0b6ffa0 100644 --- a/src/_global/swapUtils.sol +++ b/src/_global/swapUtils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { SafeTransferLib } from "solmate/utils/SafeTransferLib.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/aave-v2/AaveV2ERC4626Reinvest.sol b/src/aave-v2/AaveV2ERC4626Reinvest.sol index 9141516..fba49ff 100644 --- a/src/aave-v2/AaveV2ERC4626Reinvest.sol +++ b/src/aave-v2/AaveV2ERC4626Reinvest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v2/AaveV2ERC4626ReinvestFactory.sol b/src/aave-v2/AaveV2ERC4626ReinvestFactory.sol index 5a10489..3d87e88 100644 --- a/src/aave-v2/AaveV2ERC4626ReinvestFactory.sol +++ b/src/aave-v2/AaveV2ERC4626ReinvestFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v2/AaveV2ERC4626ReinvestIncentive.sol b/src/aave-v2/AaveV2ERC4626ReinvestIncentive.sol index ea85b8b..2a118e4 100644 --- a/src/aave-v2/AaveV2ERC4626ReinvestIncentive.sol +++ b/src/aave-v2/AaveV2ERC4626ReinvestIncentive.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v2/AaveV2ERC4626ReinvestIncentiveFactory.sol b/src/aave-v2/AaveV2ERC4626ReinvestIncentiveFactory.sol index 171b9c2..fd58761 100644 --- a/src/aave-v2/AaveV2ERC4626ReinvestIncentiveFactory.sol +++ b/src/aave-v2/AaveV2ERC4626ReinvestIncentiveFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v2/aave/IAaveMining.sol b/src/aave-v2/aave/IAaveMining.sol index c14a645..f013403 100644 --- a/src/aave-v2/aave/IAaveMining.sol +++ b/src/aave-v2/aave/IAaveMining.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IAaveMining { function claimRewards(address[] calldata assets, uint256 amount, address to) external returns (uint256); diff --git a/src/aave-v2/aave/ILendingPool.sol b/src/aave-v2/aave/ILendingPool.sol index e18dbbf..f34de63 100644 --- a/src/aave-v2/aave/ILendingPool.sol +++ b/src/aave-v2/aave/ILendingPool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; // Aave lending pool interface // Documentation: https://docs.aave.com/developers/the-core-protocol/lendingpool/ilendingpool diff --git a/src/aave-v2/test/AaveV2ERC4626Reinvest.t.sol b/src/aave-v2/test/AaveV2ERC4626Reinvest.t.sol index 8ecc59e..effeca9 100644 --- a/src/aave-v2/test/AaveV2ERC4626Reinvest.t.sol +++ b/src/aave-v2/test/AaveV2ERC4626Reinvest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/aave-v2/utils/ISwapRouter.sol b/src/aave-v2/utils/ISwapRouter.sol index b6dcf5b..d4a8e6b 100644 --- a/src/aave-v2/utils/ISwapRouter.sol +++ b/src/aave-v2/utils/ISwapRouter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity 0.8.21; +pragma solidity ^0.8.19; pragma abicoder v2; import "./IUniswapV3SwapCallback.sol"; diff --git a/src/aave-v2/utils/IUniswapV3SwapCallback.sol b/src/aave-v2/utils/IUniswapV3SwapCallback.sol index 34d2d5f..a1b7b6d 100644 --- a/src/aave-v2/utils/IUniswapV3SwapCallback.sol +++ b/src/aave-v2/utils/IUniswapV3SwapCallback.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity 0.8.21; +pragma solidity ^0.8.19; /// @title Callback for IUniswapV3PoolActions#swap /// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface diff --git a/src/aave-v3/AaveV3ERC4626Reinvest.sol b/src/aave-v3/AaveV3ERC4626Reinvest.sol index b1a4978..1e3627d 100644 --- a/src/aave-v3/AaveV3ERC4626Reinvest.sol +++ b/src/aave-v3/AaveV3ERC4626Reinvest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v3/AaveV3ERC4626ReinvestFactory.sol b/src/aave-v3/AaveV3ERC4626ReinvestFactory.sol index a52520f..880bd4f 100644 --- a/src/aave-v3/AaveV3ERC4626ReinvestFactory.sol +++ b/src/aave-v3/AaveV3ERC4626ReinvestFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v3/AaveV3ERC4626ReinvestIncentive.sol b/src/aave-v3/AaveV3ERC4626ReinvestIncentive.sol index 8a85e32..1481cf8 100644 --- a/src/aave-v3/AaveV3ERC4626ReinvestIncentive.sol +++ b/src/aave-v3/AaveV3ERC4626ReinvestIncentive.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v3/AaveV3ERC4626ReinvestIncentiveFactory.sol b/src/aave-v3/AaveV3ERC4626ReinvestIncentiveFactory.sol index b17bca4..a2ca550 100644 --- a/src/aave-v3/AaveV3ERC4626ReinvestIncentiveFactory.sol +++ b/src/aave-v3/AaveV3ERC4626ReinvestIncentiveFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v3/AaveV3ERC4626ReinvestUni.sol b/src/aave-v3/AaveV3ERC4626ReinvestUni.sol index 3b679ff..8ad14b8 100644 --- a/src/aave-v3/AaveV3ERC4626ReinvestUni.sol +++ b/src/aave-v3/AaveV3ERC4626ReinvestUni.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v3/AaveV3ERC4626ReinvestUniFactory.sol b/src/aave-v3/AaveV3ERC4626ReinvestUniFactory.sol index 2adefc2..b7d2f39 100644 --- a/src/aave-v3/AaveV3ERC4626ReinvestUniFactory.sol +++ b/src/aave-v3/AaveV3ERC4626ReinvestUniFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/aave-v3/external/IPool.sol b/src/aave-v3/external/IPool.sol index 8cad1d0..c6123ec 100644 --- a/src/aave-v3/external/IPool.sol +++ b/src/aave-v3/external/IPool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; /** * @title IPool diff --git a/src/aave-v3/external/IRewardsController.sol b/src/aave-v3/external/IRewardsController.sol index d6bc44e..bbe898c 100644 --- a/src/aave-v3/external/IRewardsController.sol +++ b/src/aave-v3/external/IRewardsController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; /** * @title IRewardsController diff --git a/src/aave-v3/test/AaveV3ERC4626Reinvest.t.sol b/src/aave-v3/test/AaveV3ERC4626Reinvest.t.sol index 39b3210..f4f948e 100644 --- a/src/aave-v3/test/AaveV3ERC4626Reinvest.t.sol +++ b/src/aave-v3/test/AaveV3ERC4626Reinvest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/aave-v3/test/AaveV3ERC4626ReinvestIncentive.t.sol b/src/aave-v3/test/AaveV3ERC4626ReinvestIncentive.t.sol index bcd69af..f81f789 100644 --- a/src/aave-v3/test/AaveV3ERC4626ReinvestIncentive.t.sol +++ b/src/aave-v3/test/AaveV3ERC4626ReinvestIncentive.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/aave-v3/test/AaveV3ERC4626ReinvestUni.t.sol b/src/aave-v3/test/AaveV3ERC4626ReinvestUni.t.sol index 86ec3b0..c7d12c6 100644 --- a/src/aave-v3/test/AaveV3ERC4626ReinvestUni.t.sol +++ b/src/aave-v3/test/AaveV3ERC4626ReinvestUni.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/alpaca/AlpacaERC4626Reinvest.sol b/src/alpaca/AlpacaERC4626Reinvest.sol index f9901ec..479819b 100644 --- a/src/alpaca/AlpacaERC4626Reinvest.sol +++ b/src/alpaca/AlpacaERC4626Reinvest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/alpaca/interfaces/IBToken.sol b/src/alpaca/interfaces/IBToken.sol index fbec49c..9d1e974 100644 --- a/src/alpaca/interfaces/IBToken.sol +++ b/src/alpaca/interfaces/IBToken.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IBToken { function deposit(uint256) external payable; diff --git a/src/alpaca/interfaces/IFairLaunch.sol b/src/alpaca/interfaces/IFairLaunch.sol index 41e2b9b..d5a7c7a 100644 --- a/src/alpaca/interfaces/IFairLaunch.sol +++ b/src/alpaca/interfaces/IFairLaunch.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IFairLaunch { function alpacaPerBlock() external view returns (uint256); diff --git a/src/alpaca/interfaces/IRewardsCore.sol b/src/alpaca/interfaces/IRewardsCore.sol index 7367bb3..45fee4c 100644 --- a/src/alpaca/interfaces/IRewardsCore.sol +++ b/src/alpaca/interfaces/IRewardsCore.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IRewardsCore { function claimRewards(address, address, bytes memory) external; diff --git a/src/alpaca/interfaces/IVaultConfig.sol b/src/alpaca/interfaces/IVaultConfig.sol index be81592..2a3e17f 100644 --- a/src/alpaca/interfaces/IVaultConfig.sol +++ b/src/alpaca/interfaces/IVaultConfig.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IVaultConfig { /// @dev Return the bps rate for reserve pool. diff --git a/src/alpaca/interfaces/WrappedNative.sol b/src/alpaca/interfaces/WrappedNative.sol index d8e5716..45e8128 100644 --- a/src/alpaca/interfaces/WrappedNative.sol +++ b/src/alpaca/interfaces/WrappedNative.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface WrappedNative { function deposit() external payable; diff --git a/src/alpaca/test/AlpacaERC4626Reinvest.t.sol b/src/alpaca/test/AlpacaERC4626Reinvest.t.sol index d6db2e0..2070bed 100644 --- a/src/alpaca/test/AlpacaERC4626Reinvest.t.sol +++ b/src/alpaca/test/AlpacaERC4626Reinvest.t.sol @@ -1,5 +1,5 @@ /// SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/arrakis/Arrakis_Factory.sol b/src/arrakis/Arrakis_Factory.sol index 82a8de3..07d6f77 100644 --- a/src/arrakis/Arrakis_Factory.sol +++ b/src/arrakis/Arrakis_Factory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/arrakis/Arrakis_Non_Native_LP_Vault.sol b/src/arrakis/Arrakis_Non_Native_LP_Vault.sol index f68d58c..b4776a9 100644 --- a/src/arrakis/Arrakis_Non_Native_LP_Vault.sol +++ b/src/arrakis/Arrakis_Non_Native_LP_Vault.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/arrakis/interfaces/IArrakisRouter.sol b/src/arrakis/interfaces/IArrakisRouter.sol index 03aaf1e..b358393 100644 --- a/src/arrakis/interfaces/IArrakisRouter.sol +++ b/src/arrakis/interfaces/IArrakisRouter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { IGauge } from "./IGauge.sol"; diff --git a/src/arrakis/interfaces/IGauge.sol b/src/arrakis/interfaces/IGauge.sol index 4ef8a8a..51668fc 100644 --- a/src/arrakis/interfaces/IGauge.sol +++ b/src/arrakis/interfaces/IGauge.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IGauge { function withdraw(uint256 amount) external; diff --git a/src/arrakis/interfaces/IStakePool.sol b/src/arrakis/interfaces/IStakePool.sol index 71a38c0..3446995 100644 --- a/src/arrakis/interfaces/IStakePool.sol +++ b/src/arrakis/interfaces/IStakePool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IStakePool { function staking_token() external view returns (address); diff --git a/src/arrakis/utils/IWETH.sol b/src/arrakis/utils/IWETH.sol index c2aafd1..6c89fd8 100644 --- a/src/arrakis/utils/IWETH.sol +++ b/src/arrakis/utils/IWETH.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IWETH { function balanceOf(address) external view returns (uint256); diff --git a/src/benqi/BenqiERC4626Reinvest.sol b/src/benqi/BenqiERC4626Reinvest.sol index b14a535..4341474 100644 --- a/src/benqi/BenqiERC4626Reinvest.sol +++ b/src/benqi/BenqiERC4626Reinvest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/benqi/BenqiERC4626Staking.sol b/src/benqi/BenqiERC4626Staking.sol index ffd1574..e21bdc1 100644 --- a/src/benqi/BenqiERC4626Staking.sol +++ b/src/benqi/BenqiERC4626Staking.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/benqi/BenqiNativeERC4626Reinvest.sol b/src/benqi/BenqiNativeERC4626Reinvest.sol index 6e3360c..d290edf 100644 --- a/src/benqi/BenqiNativeERC4626Reinvest.sol +++ b/src/benqi/BenqiNativeERC4626Reinvest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/benqi/external/IBComptroller.sol b/src/benqi/external/IBComptroller.sol index 8893ce1..6c8501c 100644 --- a/src/benqi/external/IBComptroller.sol +++ b/src/benqi/external/IBComptroller.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IBComptroller { function qiAddress() external view returns (address); diff --git a/src/benqi/external/IBERC20.sol b/src/benqi/external/IBERC20.sol index 7044643..f31e860 100644 --- a/src/benqi/external/IBERC20.sol +++ b/src/benqi/external/IBERC20.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/benqi/external/IBEther.sol b/src/benqi/external/IBEther.sol index ee567fb..ea442c8 100644 --- a/src/benqi/external/IBEther.sol +++ b/src/benqi/external/IBEther.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/benqi/external/IBInterestRateModel.sol b/src/benqi/external/IBInterestRateModel.sol index badee47..f7ee58c 100644 --- a/src/benqi/external/IBInterestRateModel.sol +++ b/src/benqi/external/IBInterestRateModel.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IBInterestRateModel { function getBorrowRate(uint256, uint256, uint256) external view returns (uint256); diff --git a/src/benqi/external/LibBCompound.sol b/src/benqi/external/LibBCompound.sol index 59ffe43..fc21b40 100644 --- a/src/benqi/external/LibBCompound.sol +++ b/src/benqi/external/LibBCompound.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { FixedPointMathLib } from "solmate/utils/FixedPointMathLib.sol"; diff --git a/src/benqi/interfaces/IStakedAvax.sol b/src/benqi/interfaces/IStakedAvax.sol index 0e3e7b6..4f74f7d 100644 --- a/src/benqi/interfaces/IStakedAvax.sol +++ b/src/benqi/interfaces/IStakedAvax.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IStakedAvax { function getSharesByPooledAvax(uint256 avaxAmount) external view returns (uint256); diff --git a/src/benqi/test/BenqiERC4626Reinvest.t.sol b/src/benqi/test/BenqiERC4626Reinvest.t.sol index 212a415..920a43d 100644 --- a/src/benqi/test/BenqiERC4626Reinvest.t.sol +++ b/src/benqi/test/BenqiERC4626Reinvest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/benqi/test/BenqiERC4626Staking.t.sol b/src/benqi/test/BenqiERC4626Staking.t.sol index 5b5754d..4a81025 100644 --- a/src/benqi/test/BenqiERC4626Staking.t.sol +++ b/src/benqi/test/BenqiERC4626Staking.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/benqi/test/BenqiNativeERC4626Reinvest.t.sol b/src/benqi/test/BenqiNativeERC4626Reinvest.t.sol index 4e57bdc..72bada0 100644 --- a/src/benqi/test/BenqiNativeERC4626Reinvest.t.sol +++ b/src/benqi/test/BenqiNativeERC4626Reinvest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/benqi/utils/wrappedNative.sol b/src/benqi/utils/wrappedNative.sol index 5c0d615..991ed3f 100644 --- a/src/benqi/utils/wrappedNative.sol +++ b/src/benqi/utils/wrappedNative.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface WrappedNative { function deposit() external payable; diff --git a/src/compound/CompoundV2ERC4626Wrapper.sol b/src/compound/CompoundV2ERC4626Wrapper.sol index 76e8a5a..a8a65c5 100644 --- a/src/compound/CompoundV2ERC4626Wrapper.sol +++ b/src/compound/CompoundV2ERC4626Wrapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/compound/CompoundV3ERC4626Wrapper.sol b/src/compound/CompoundV3ERC4626Wrapper.sol index 1a859fb..514bf5e 100644 --- a/src/compound/CompoundV3ERC4626Wrapper.sol +++ b/src/compound/CompoundV3ERC4626Wrapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/compound/external/ICERC20.sol b/src/compound/external/ICERC20.sol index 4ae5433..c3f056a 100644 --- a/src/compound/external/ICERC20.sol +++ b/src/compound/external/ICERC20.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/compound/external/IComet.sol b/src/compound/external/IComet.sol index ded24a0..f2944e5 100644 --- a/src/compound/external/IComet.sol +++ b/src/compound/external/IComet.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; /** * @title Compound's Comet Main Interface (without Ext) diff --git a/src/compound/external/ICometRewards.sol b/src/compound/external/ICometRewards.sol index 5fc56f0..327e113 100644 --- a/src/compound/external/ICometRewards.sol +++ b/src/compound/external/ICometRewards.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface ICometRewards { struct RewardConfig { diff --git a/src/compound/external/IComptroller.sol b/src/compound/external/IComptroller.sol index 940b41e..d3ba077 100644 --- a/src/compound/external/IComptroller.sol +++ b/src/compound/external/IComptroller.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ICERC20 } from "./ICERC20.sol"; diff --git a/src/compound/external/IInterestRateModel.sol b/src/compound/external/IInterestRateModel.sol index c2ed18f..bf10573 100644 --- a/src/compound/external/IInterestRateModel.sol +++ b/src/compound/external/IInterestRateModel.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IInterestRateModel { function getBorrowRate(uint256, uint256, uint256) external view returns (uint256); diff --git a/src/compound/external/IWETH.sol b/src/compound/external/IWETH.sol index 48eac83..54f9aa2 100644 --- a/src/compound/external/IWETH.sol +++ b/src/compound/external/IWETH.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IWETH { function deposit() external payable; diff --git a/src/compound/external/LibCompound.sol b/src/compound/external/LibCompound.sol index 4b97384..26fd09e 100644 --- a/src/compound/external/LibCompound.sol +++ b/src/compound/external/LibCompound.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { FixedPointMathLib } from "solmate/utils/FixedPointMathLib.sol"; diff --git a/src/compound/test/CompoundV2ERC4626Wrapper.t.sol b/src/compound/test/CompoundV2ERC4626Wrapper.t.sol index 8f6d9f5..faee548 100644 --- a/src/compound/test/CompoundV2ERC4626Wrapper.t.sol +++ b/src/compound/test/CompoundV2ERC4626Wrapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/compound/test/CompoundV3ERC4626Wrapper.t.sol b/src/compound/test/CompoundV3ERC4626Wrapper.t.sol index ac88ae0..7f1934e 100644 --- a/src/compound/test/CompoundV3ERC4626Wrapper.t.sol +++ b/src/compound/test/CompoundV3ERC4626Wrapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/geist/GeistERC4626Reinvest.sol b/src/geist/GeistERC4626Reinvest.sol index 14cb056..99746b6 100644 --- a/src/geist/GeistERC4626Reinvest.sol +++ b/src/geist/GeistERC4626Reinvest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/geist/external/IGLendingPool.sol b/src/geist/external/IGLendingPool.sol index 15dfeb9..b89641b 100644 --- a/src/geist/external/IGLendingPool.sol +++ b/src/geist/external/IGLendingPool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; // Aave lending pool interface // Documentation: https://docs.aave.com/developers/the-core-protocol/lendingpool/ilendingpool diff --git a/src/geist/external/IMultiFeeDistribution.sol b/src/geist/external/IMultiFeeDistribution.sol index a78286d..96d3459 100644 --- a/src/geist/external/IMultiFeeDistribution.sol +++ b/src/geist/external/IMultiFeeDistribution.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IMultiFeeDistribution { struct RewardData { diff --git a/src/geist/test/GeistERC4626Reinvest.t.sol b/src/geist/test/GeistERC4626Reinvest.t.sol index 49340d5..677e4fe 100644 --- a/src/geist/test/GeistERC4626Reinvest.t.sol +++ b/src/geist/test/GeistERC4626Reinvest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/interfaces/IERC4626TimelockVault.sol b/src/interfaces/IERC4626TimelockVault.sol index c157665..280f531 100644 --- a/src/interfaces/IERC4626TimelockVault.sol +++ b/src/interfaces/IERC4626TimelockVault.sol @@ -1,5 +1,5 @@ ///SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { IERC4626 } from "openzeppelin-contracts/contracts/interfaces/IERC4626.sol"; diff --git a/src/kycdao-4626/interfaces/IKycValidity.sol b/src/kycdao-4626/interfaces/IKycValidity.sol index 7a9d488..da0be2f 100644 --- a/src/kycdao-4626/interfaces/IKycValidity.sol +++ b/src/kycdao-4626/interfaces/IKycValidity.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IKycValidity { /// @dev Check whether a given address has a valid kycNFT token diff --git a/src/kycdao-4626/kycdao4626.sol b/src/kycdao-4626/kycdao4626.sol index e737447..2408649 100644 --- a/src/kycdao-4626/kycdao4626.sol +++ b/src/kycdao-4626/kycdao4626.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/kycdao-4626/test/kycdao4626.t.sol b/src/kycdao-4626/test/kycdao4626.t.sol index f6d1e22..2df6095 100644 --- a/src/kycdao-4626/test/kycdao4626.t.sol +++ b/src/kycdao-4626/test/kycdao4626.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/lido/interfaces/ICurve.sol b/src/lido/interfaces/ICurve.sol index c1c7274..98884e8 100644 --- a/src/lido/interfaces/ICurve.sol +++ b/src/lido/interfaces/ICurve.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface ICurve { function exchange(int128, int128, uint256, uint256) external returns (uint256); diff --git a/src/lido/interfaces/IMatic.sol b/src/lido/interfaces/IMatic.sol index f24ba00..e1e6e8c 100644 --- a/src/lido/interfaces/IMatic.sol +++ b/src/lido/interfaces/IMatic.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IMATIC { function balanceOf(address) external view returns (uint256); diff --git a/src/lido/interfaces/IStETH.sol b/src/lido/interfaces/IStETH.sol index fa6ac7a..1344a3e 100644 --- a/src/lido/interfaces/IStETH.sol +++ b/src/lido/interfaces/IStETH.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IStETH { function getTotalShares() external view returns (uint256); diff --git a/src/lido/interfaces/IStMATIC.sol b/src/lido/interfaces/IStMATIC.sol index 4222a2e..72346b1 100644 --- a/src/lido/interfaces/IStMATIC.sol +++ b/src/lido/interfaces/IStMATIC.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IStMATIC { function submit(uint256 _amount, address _referal) external returns (uint256); diff --git a/src/lido/interfaces/IWETH.sol b/src/lido/interfaces/IWETH.sol index c2aafd1..6c89fd8 100644 --- a/src/lido/interfaces/IWETH.sol +++ b/src/lido/interfaces/IWETH.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IWETH { function balanceOf(address) external view returns (uint256); diff --git a/src/lido/interfaces/wstETH.sol b/src/lido/interfaces/wstETH.sol index 48eeb93..2a3b9d8 100644 --- a/src/lido/interfaces/wstETH.sol +++ b/src/lido/interfaces/wstETH.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface wstETH { function wrap(uint256) external returns (uint256); diff --git a/src/lido/stETH.sol b/src/lido/stETH.sol index 6cc8679..051af06 100644 --- a/src/lido/stETH.sol +++ b/src/lido/stETH.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/lido/stETH_swap.sol b/src/lido/stETH_swap.sol index 4dc4ecb..edbb0cd 100644 --- a/src/lido/stETH_swap.sol +++ b/src/lido/stETH_swap.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/lido/stMATIC.sol b/src/lido/stMATIC.sol index a0e3290..c41ea19 100644 --- a/src/lido/stMATIC.sol +++ b/src/lido/stMATIC.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/lido/test/stETH.t.sol b/src/lido/test/stETH.t.sol index 1a4d2b4..162bd0a 100644 --- a/src/lido/test/stETH.t.sol +++ b/src/lido/test/stETH.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/lido/test/stETH_swap.t.sol b/src/lido/test/stETH_swap.t.sol index 6856d20..351ae60 100644 --- a/src/lido/test/stETH_swap.t.sol +++ b/src/lido/test/stETH_swap.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/lido/test/stMatic.t.sol b/src/lido/test/stMatic.t.sol index 0a687b9..ce6c37c 100644 --- a/src/lido/test/stMatic.t.sol +++ b/src/lido/test/stMatic.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/rocketPool/interfaces/IRProtocol.sol b/src/rocketPool/interfaces/IRProtocol.sol index 5cbef28..2724dc3 100644 --- a/src/rocketPool/interfaces/IRProtocol.sol +++ b/src/rocketPool/interfaces/IRProtocol.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; /// https://github.com/rocket-pool/rocketpool/blob/master/contracts/interface/dao/protocol/settings/RocketDAOProtocolSettingsDepositInterface.sol interface IRPROTOCOL { diff --git a/src/rocketPool/interfaces/IReth.sol b/src/rocketPool/interfaces/IReth.sol index dcc6df1..b9ddcf6 100644 --- a/src/rocketPool/interfaces/IReth.sol +++ b/src/rocketPool/interfaces/IReth.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IRETH { function getBalance() external view returns (uint256); diff --git a/src/rocketPool/interfaces/IRethToken.sol b/src/rocketPool/interfaces/IRethToken.sol index 298a4d7..10230cb 100644 --- a/src/rocketPool/interfaces/IRethToken.sol +++ b/src/rocketPool/interfaces/IRethToken.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol"; diff --git a/src/rocketPool/interfaces/IRstorage.sol b/src/rocketPool/interfaces/IRstorage.sol index 06843fc..aa48a9c 100644 --- a/src/rocketPool/interfaces/IRstorage.sol +++ b/src/rocketPool/interfaces/IRstorage.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IRSTORAGE { function getAddress(bytes32) external view returns (address); diff --git a/src/rocketPool/interfaces/IWETH.sol b/src/rocketPool/interfaces/IWETH.sol index c2aafd1..6c89fd8 100644 --- a/src/rocketPool/interfaces/IWETH.sol +++ b/src/rocketPool/interfaces/IWETH.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IWETH { function balanceOf(address) external view returns (uint256); diff --git a/src/rocketPool/rEth.sol b/src/rocketPool/rEth.sol index 22a6c7d..68c0899 100644 --- a/src/rocketPool/rEth.sol +++ b/src/rocketPool/rEth.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/rocketPool/test/rEth.t.sol b/src/rocketPool/test/rEth.t.sol index 1381cf1..b5a0a08 100644 --- a/src/rocketPool/test/rEth.t.sol +++ b/src/rocketPool/test/rEth.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/uniswap-v2/interfaces/AggregatorV3Interface.sol b/src/uniswap-v2/interfaces/AggregatorV3Interface.sol index 6da74f5..81c0987 100644 --- a/src/uniswap-v2/interfaces/AggregatorV3Interface.sol +++ b/src/uniswap-v2/interfaces/AggregatorV3Interface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface AggregatorV3Interface { function decimals() external view returns (uint8); diff --git a/src/uniswap-v2/interfaces/IUniswapV2ERC20.sol b/src/uniswap-v2/interfaces/IUniswapV2ERC20.sol index ba2c05f..e5acbe1 100644 --- a/src/uniswap-v2/interfaces/IUniswapV2ERC20.sol +++ b/src/uniswap-v2/interfaces/IUniswapV2ERC20.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IUniswapV2ERC20 { event Approval(address indexed owner, address indexed spender, uint256 value); diff --git a/src/uniswap-v2/interfaces/IUniswapV2Factory.sol b/src/uniswap-v2/interfaces/IUniswapV2Factory.sol index 43f30dd..45df829 100644 --- a/src/uniswap-v2/interfaces/IUniswapV2Factory.sol +++ b/src/uniswap-v2/interfaces/IUniswapV2Factory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); diff --git a/src/uniswap-v2/interfaces/IUniswapV2Pair.sol b/src/uniswap-v2/interfaces/IUniswapV2Pair.sol index 694138d..cb7a8cf 100644 --- a/src/uniswap-v2/interfaces/IUniswapV2Pair.sol +++ b/src/uniswap-v2/interfaces/IUniswapV2Pair.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint256 value); diff --git a/src/uniswap-v2/interfaces/IUniswapV2Router.sol b/src/uniswap-v2/interfaces/IUniswapV2Router.sol index 250eb6f..98dc49e 100644 --- a/src/uniswap-v2/interfaces/IUniswapV2Router.sol +++ b/src/uniswap-v2/interfaces/IUniswapV2Router.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IUniswapV2Router { function removeLiquidity( diff --git a/src/uniswap-v2/interfaces/IUniswapV3.sol b/src/uniswap-v2/interfaces/IUniswapV3.sol index 60b83d6..cc1f267 100644 --- a/src/uniswap-v2/interfaces/IUniswapV3.sol +++ b/src/uniswap-v2/interfaces/IUniswapV3.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IUniswapV3Pool { function observe(uint32[] calldata secondsAgos) diff --git a/src/uniswap-v2/no-swap/UniswapV2WrapperERC4626.sol b/src/uniswap-v2/no-swap/UniswapV2WrapperERC4626.sol index 5a47e70..446b07f 100644 --- a/src/uniswap-v2/no-swap/UniswapV2WrapperERC4626.sol +++ b/src/uniswap-v2/no-swap/UniswapV2WrapperERC4626.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/uniswap-v2/swap-built-in/UniswapV2ERC4626PoolFactory.sol b/src/uniswap-v2/swap-built-in/UniswapV2ERC4626PoolFactory.sol index 8a1447c..2b6529d 100644 --- a/src/uniswap-v2/swap-built-in/UniswapV2ERC4626PoolFactory.sol +++ b/src/uniswap-v2/swap-built-in/UniswapV2ERC4626PoolFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/uniswap-v2/swap-built-in/UniswapV2ERC4626Swap.sol b/src/uniswap-v2/swap-built-in/UniswapV2ERC4626Swap.sol index 37f6078..9970719 100644 --- a/src/uniswap-v2/swap-built-in/UniswapV2ERC4626Swap.sol +++ b/src/uniswap-v2/swap-built-in/UniswapV2ERC4626Swap.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/uniswap-v2/test/UniswapV2.t.sol b/src/uniswap-v2/test/UniswapV2.t.sol index b65b811..4e78445 100644 --- a/src/uniswap-v2/test/UniswapV2.t.sol +++ b/src/uniswap-v2/test/UniswapV2.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/uniswap-v2/test/UniswapV2Swap.t.sol b/src/uniswap-v2/test/UniswapV2Swap.t.sol index cb7e976..a8a3fae 100644 --- a/src/uniswap-v2/test/UniswapV2Swap.t.sol +++ b/src/uniswap-v2/test/UniswapV2Swap.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/uniswap-v2/test/UniswapV2SwapLocal.t.sol b/src/uniswap-v2/test/UniswapV2SwapLocal.t.sol index 9863869..0c16def 100644 --- a/src/uniswap-v2/test/UniswapV2SwapLocal.t.sol +++ b/src/uniswap-v2/test/UniswapV2SwapLocal.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import "forge-std/console.sol"; diff --git a/src/uniswap-v2/utils/UniswapV2Library.sol b/src/uniswap-v2/utils/UniswapV2Library.sol index 6d5d290..e9fafff 100644 --- a/src/uniswap-v2/utils/UniswapV2Library.sol +++ b/src/uniswap-v2/utils/UniswapV2Library.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { IUniswapV2Pair } from "../interfaces/IUniswapV2Pair.sol"; diff --git a/src/venus/VenusERC4626Reinvest.sol b/src/venus/VenusERC4626Reinvest.sol index 6193b12..da7cca5 100644 --- a/src/venus/VenusERC4626Reinvest.sol +++ b/src/venus/VenusERC4626Reinvest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; import { ERC4626 } from "solmate/mixins/ERC4626.sol"; diff --git a/src/venus/external/IVComptroller.sol b/src/venus/external/IVComptroller.sol index ac3ff80..67c029a 100644 --- a/src/venus/external/IVComptroller.sol +++ b/src/venus/external/IVComptroller.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { IVERC20 } from "./IVERC20.sol"; diff --git a/src/venus/external/IVERC20.sol b/src/venus/external/IVERC20.sol index c3c4c73..64705e0 100644 --- a/src/venus/external/IVERC20.sol +++ b/src/venus/external/IVERC20.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/venus/external/IVInterestRateModel.sol b/src/venus/external/IVInterestRateModel.sol index 1b60724..e18a12a 100644 --- a/src/venus/external/IVInterestRateModel.sol +++ b/src/venus/external/IVInterestRateModel.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; interface IVInterestRateModel { function getBorrowRate(uint256, uint256, uint256) external view returns (uint256); diff --git a/src/venus/external/LibVCompound.sol b/src/venus/external/LibVCompound.sol index 934a61e..49b2161 100644 --- a/src/venus/external/LibVCompound.sol +++ b/src/venus/external/LibVCompound.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import { FixedPointMathLib } from "solmate/utils/FixedPointMathLib.sol"; diff --git a/src/venus/test/VenusERC4626Harvest.t.sol b/src/venus/test/VenusERC4626Harvest.t.sol index e12d82c..a210153 100644 --- a/src/venus/test/VenusERC4626Harvest.t.sol +++ b/src/venus/test/VenusERC4626Harvest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol"; diff --git a/src/venus/test/VenusERC4626Wrapper.t.sol b/src/venus/test/VenusERC4626Wrapper.t.sol index fc46b3b..94be560 100644 --- a/src/venus/test/VenusERC4626Wrapper.t.sol +++ b/src/venus/test/VenusERC4626Wrapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity 0.8.21; +pragma solidity ^0.8.19; import "forge-std/Test.sol"; import { ERC20 } from "solmate/tokens/ERC20.sol";