diff --git a/contracts/agToken/AgToken.sol b/contracts/agToken/AgToken.sol index bfd75772..e73b5ea1 100644 --- a/contracts/agToken/AgToken.sol +++ b/contracts/agToken/AgToken.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/IAgToken.sol"; import "../interfaces/coreModule/IStableMaster.sol"; diff --git a/contracts/agToken/AgTokenIntermediateUpgrade.sol b/contracts/agToken/AgTokenIntermediateUpgrade.sol index fbb0a77c..785e49e5 100644 --- a/contracts/agToken/AgTokenIntermediateUpgrade.sol +++ b/contracts/agToken/AgTokenIntermediateUpgrade.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/IAgToken.sol"; import "../interfaces/coreModule/IStableMaster.sol"; diff --git a/contracts/agToken/AgTokenSideChain.sol b/contracts/agToken/AgTokenSideChain.sol index 3fd49345..89ba45b4 100644 --- a/contracts/agToken/AgTokenSideChain.sol +++ b/contracts/agToken/AgTokenSideChain.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./BaseAgTokenSideChain.sol"; diff --git a/contracts/agToken/AgTokenSideChainMultiBridge.sol b/contracts/agToken/AgTokenSideChainMultiBridge.sol index 04891fd2..c80ed9b9 100644 --- a/contracts/agToken/AgTokenSideChainMultiBridge.sol +++ b/contracts/agToken/AgTokenSideChainMultiBridge.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./BaseAgTokenSideChain.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/agToken/BaseAgTokenSideChain.sol b/contracts/agToken/BaseAgTokenSideChain.sol index 9f7b9ac3..341d5038 100644 --- a/contracts/agToken/BaseAgTokenSideChain.sol +++ b/contracts/agToken/BaseAgTokenSideChain.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/IAgToken.sol"; import "../interfaces/ITreasury.sol"; diff --git a/contracts/agToken/layerZero/LayerZeroBridge.sol b/contracts/agToken/layerZero/LayerZeroBridge.sol index e34401b5..d29a8f8d 100644 --- a/contracts/agToken/layerZero/LayerZeroBridge.sol +++ b/contracts/agToken/layerZero/LayerZeroBridge.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./utils/OFTCore.sol"; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; diff --git a/contracts/agToken/layerZero/LayerZeroBridgeToken.sol b/contracts/agToken/layerZero/LayerZeroBridgeToken.sol index e34a6eb9..dca2fe77 100644 --- a/contracts/agToken/layerZero/LayerZeroBridgeToken.sol +++ b/contracts/agToken/layerZero/LayerZeroBridgeToken.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./utils/OFTCore.sol"; import "../../interfaces/IAgTokenSideChainMultiBridge.sol"; diff --git a/contracts/agToken/layerZero/utils/IOFTCore.sol b/contracts/agToken/layerZero/utils/IOFTCore.sol index f55a3a9b..00e82001 100644 --- a/contracts/agToken/layerZero/utils/IOFTCore.sol +++ b/contracts/agToken/layerZero/utils/IOFTCore.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/contracts/agToken/layerZero/utils/NonblockingLzApp.sol b/contracts/agToken/layerZero/utils/NonblockingLzApp.sol index c6c08746..a598bdde 100644 --- a/contracts/agToken/layerZero/utils/NonblockingLzApp.sol +++ b/contracts/agToken/layerZero/utils/NonblockingLzApp.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "../../../interfaces/external/layerZero/ILayerZeroReceiver.sol"; diff --git a/contracts/agToken/layerZero/utils/OFTCore.sol b/contracts/agToken/layerZero/utils/OFTCore.sol index abc9b00d..4b3d4470 100644 --- a/contracts/agToken/layerZero/utils/OFTCore.sol +++ b/contracts/agToken/layerZero/utils/OFTCore.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./NonblockingLzApp.sol"; import "./IOFTCore.sol"; diff --git a/contracts/agToken/polygon/TokenPolygonUpgradeable.sol b/contracts/agToken/polygon/TokenPolygonUpgradeable.sol index 6d0a3a3e..7cb9d3eb 100644 --- a/contracts/agToken/polygon/TokenPolygonUpgradeable.sol +++ b/contracts/agToken/polygon/TokenPolygonUpgradeable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./utils/ERC20UpgradeableCustom.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; diff --git a/contracts/coreBorrow/CoreBorrow.sol b/contracts/coreBorrow/CoreBorrow.sol index f688c54e..dcc1e2a0 100644 --- a/contracts/coreBorrow/CoreBorrow.sol +++ b/contracts/coreBorrow/CoreBorrow.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; diff --git a/contracts/deprecated/OldAngleHelpers.sol b/contracts/deprecated/OldAngleHelpers.sol index aa4b2bfb..c2cafa49 100644 --- a/contracts/deprecated/OldAngleHelpers.sol +++ b/contracts/deprecated/OldAngleHelpers.sol @@ -10,7 +10,7 @@ import "../interfaces/coreModule/IStableMaster.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "../interfaces/IVaultManager.sol"; -pragma solidity 0.8.12; +pragma solidity ^0.8.12; struct Parameters { SLPData slpData; diff --git a/contracts/deprecated/vaultManager/OldVaultManager.sol b/contracts/deprecated/vaultManager/OldVaultManager.sol index 1e711cbf..043445cd 100644 --- a/contracts/deprecated/vaultManager/OldVaultManager.sol +++ b/contracts/deprecated/vaultManager/OldVaultManager.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./OldVaultManagerPermit.sol"; diff --git a/contracts/deprecated/vaultManager/OldVaultManagerERC721.sol b/contracts/deprecated/vaultManager/OldVaultManagerERC721.sol index c2955d3e..3ef6c23b 100644 --- a/contracts/deprecated/vaultManager/OldVaultManagerERC721.sol +++ b/contracts/deprecated/vaultManager/OldVaultManagerERC721.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./OldVaultManagerStorage.sol"; diff --git a/contracts/deprecated/vaultManager/OldVaultManagerPermit.sol b/contracts/deprecated/vaultManager/OldVaultManagerPermit.sol index 7b04e496..bb94a2d1 100644 --- a/contracts/deprecated/vaultManager/OldVaultManagerPermit.sol +++ b/contracts/deprecated/vaultManager/OldVaultManagerPermit.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./OldVaultManagerERC721.sol"; import "../../interfaces/external/IERC1271.sol"; diff --git a/contracts/deprecated/vaultManager/OldVaultManagerStorage.sol b/contracts/deprecated/vaultManager/OldVaultManagerStorage.sol index 62c5c939..bd42a141 100644 --- a/contracts/deprecated/vaultManager/OldVaultManagerStorage.sol +++ b/contracts/deprecated/vaultManager/OldVaultManagerStorage.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol"; diff --git a/contracts/external/ProxyAdmin.sol b/contracts/external/ProxyAdmin.sol index 523ad182..44946e4a 100644 --- a/contracts/external/ProxyAdmin.sol +++ b/contracts/external/ProxyAdmin.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./TransparentUpgradeableProxy.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; diff --git a/contracts/external/TransparentUpgradeableProxy.sol b/contracts/external/TransparentUpgradeableProxy.sol index 24f5a05d..89e8a381 100644 --- a/contracts/external/TransparentUpgradeableProxy.sol +++ b/contracts/external/TransparentUpgradeableProxy.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; diff --git a/contracts/flashloan/FlashAngle.sol b/contracts/flashloan/FlashAngle.sol index 480df2a0..96494b99 100644 --- a/contracts/flashloan/FlashAngle.sol +++ b/contracts/flashloan/FlashAngle.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; diff --git a/contracts/interfaces/IAgToken.sol b/contracts/interfaces/IAgToken.sol index 181e5085..8dd9d9cf 100644 --- a/contracts/interfaces/IAgToken.sol +++ b/contracts/interfaces/IAgToken.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; diff --git a/contracts/interfaces/IAgTokenSideChainMultiBridge.sol b/contracts/interfaces/IAgTokenSideChainMultiBridge.sol index d1431ce9..1861756b 100644 --- a/contracts/interfaces/IAgTokenSideChainMultiBridge.sol +++ b/contracts/interfaces/IAgTokenSideChainMultiBridge.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; diff --git a/contracts/interfaces/IAngleRouterSidechain.sol b/contracts/interfaces/IAngleRouterSidechain.sol index ae7541fa..e56180f6 100644 --- a/contracts/interfaces/IAngleRouterSidechain.sol +++ b/contracts/interfaces/IAngleRouterSidechain.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @notice Action types enum ActionType { diff --git a/contracts/interfaces/ICoreBorrow.sol b/contracts/interfaces/ICoreBorrow.sol index 65a71080..fabca63f 100644 --- a/contracts/interfaces/ICoreBorrow.sol +++ b/contracts/interfaces/ICoreBorrow.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @title ICoreBorrow /// @author Angle Labs, Inc. diff --git a/contracts/interfaces/IFlashAngle.sol b/contracts/interfaces/IFlashAngle.sol index 8bee7450..e97715d8 100644 --- a/contracts/interfaces/IFlashAngle.sol +++ b/contracts/interfaces/IFlashAngle.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./IAgToken.sol"; import "./ICoreBorrow.sol"; diff --git a/contracts/interfaces/IKeeperRegistry.sol b/contracts/interfaces/IKeeperRegistry.sol index 42d4c3b2..f8f7b5a9 100644 --- a/contracts/interfaces/IKeeperRegistry.sol +++ b/contracts/interfaces/IKeeperRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; diff --git a/contracts/interfaces/IOracle.sol b/contracts/interfaces/IOracle.sol index 54d023aa..d6147269 100644 --- a/contracts/interfaces/IOracle.sol +++ b/contracts/interfaces/IOracle.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./ITreasury.sol"; diff --git a/contracts/interfaces/ISwapper.sol b/contracts/interfaces/ISwapper.sol index a66f5d4c..f8a10b8f 100644 --- a/contracts/interfaces/ISwapper.sol +++ b/contracts/interfaces/ISwapper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/ITreasury.sol b/contracts/interfaces/ITreasury.sol index 89bcdc8f..d5e11e66 100644 --- a/contracts/interfaces/ITreasury.sol +++ b/contracts/interfaces/ITreasury.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./IAgToken.sol"; import "./ICoreBorrow.sol"; diff --git a/contracts/interfaces/IVaultManager.sol b/contracts/interfaces/IVaultManager.sol index 62268fa2..36365851 100644 --- a/contracts/interfaces/IVaultManager.sol +++ b/contracts/interfaces/IVaultManager.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/interfaces/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/IERC1271.sol b/contracts/interfaces/external/IERC1271.sol index f325f5bd..07357de2 100644 --- a/contracts/interfaces/external/IERC1271.sol +++ b/contracts/interfaces/external/IERC1271.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @title Interface for verifying contract-based account signatures /// @notice Interface that verifies provided signature for the data diff --git a/contracts/interfaces/external/IWETH9.sol b/contracts/interfaces/external/IWETH9.sol index 05000454..3c74af84 100644 --- a/contracts/interfaces/external/IWETH9.sol +++ b/contracts/interfaces/external/IWETH9.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/aave/AToken.sol b/contracts/interfaces/external/aave/AToken.sol index 0be38b53..1ea3c5e5 100644 --- a/contracts/interfaces/external/aave/AToken.sol +++ b/contracts/interfaces/external/aave/AToken.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; //solhint-disable interface AToken { diff --git a/contracts/interfaces/external/aave/ILendingPool.sol b/contracts/interfaces/external/aave/ILendingPool.sol index be736e5e..546a7981 100644 --- a/contracts/interfaces/external/aave/ILendingPool.sol +++ b/contracts/interfaces/external/aave/ILendingPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; //solhint-disable interface ILendingPool { diff --git a/contracts/interfaces/external/convex/IBaseRewardPool.sol b/contracts/interfaces/external/convex/IBaseRewardPool.sol index 74ea7bd9..183a003b 100644 --- a/contracts/interfaces/external/convex/IBaseRewardPool.sol +++ b/contracts/interfaces/external/convex/IBaseRewardPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; //solhint-disable interface IConvexBaseRewardPool { diff --git a/contracts/interfaces/external/convex/IBooster.sol b/contracts/interfaces/external/convex/IBooster.sol index 78798c74..d16eac1d 100644 --- a/contracts/interfaces/external/convex/IBooster.sol +++ b/contracts/interfaces/external/convex/IBooster.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; //solhint-disable interface IConvexBooster { diff --git a/contracts/interfaces/external/convex/IClaimZap.sol b/contracts/interfaces/external/convex/IClaimZap.sol index 83c35359..2e54b945 100644 --- a/contracts/interfaces/external/convex/IClaimZap.sol +++ b/contracts/interfaces/external/convex/IClaimZap.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; //solhint-disable interface IConvexClaimZap { diff --git a/contracts/interfaces/external/convex/IConvexToken.sol b/contracts/interfaces/external/convex/IConvexToken.sol index 0ea750ec..c82e0a87 100644 --- a/contracts/interfaces/external/convex/IConvexToken.sol +++ b/contracts/interfaces/external/convex/IConvexToken.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/convex/ICvxRewardPool.sol b/contracts/interfaces/external/convex/ICvxRewardPool.sol index 368d0905..79160806 100644 --- a/contracts/interfaces/external/convex/ICvxRewardPool.sol +++ b/contracts/interfaces/external/convex/ICvxRewardPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; interface ICvxRewardPool { function balanceOf(address account) external view returns (uint256); diff --git a/contracts/interfaces/external/convex/IVirtualBalanceRewardPool.sol b/contracts/interfaces/external/convex/IVirtualBalanceRewardPool.sol index 03a63314..e62ab449 100644 --- a/contracts/interfaces/external/convex/IVirtualBalanceRewardPool.sol +++ b/contracts/interfaces/external/convex/IVirtualBalanceRewardPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; interface IVirtualBalanceRewardPool { function balanceOf(address account) external view returns (uint256); diff --git a/contracts/interfaces/external/curve/ICurveCryptoSwapPool.sol b/contracts/interfaces/external/curve/ICurveCryptoSwapPool.sol index 4f1e5716..ae1406b4 100644 --- a/contracts/interfaces/external/curve/ICurveCryptoSwapPool.sol +++ b/contracts/interfaces/external/curve/ICurveCryptoSwapPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/curve/ICurveOracle.sol b/contracts/interfaces/external/curve/ICurveOracle.sol index 31332767..e45637e6 100644 --- a/contracts/interfaces/external/curve/ICurveOracle.sol +++ b/contracts/interfaces/external/curve/ICurveOracle.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; interface ICurveOracle { //solhint-disable-next-line diff --git a/contracts/interfaces/external/curve/IMetaPool.sol b/contracts/interfaces/external/curve/IMetaPool.sol index 0954c905..867ca765 100644 --- a/contracts/interfaces/external/curve/IMetaPool.sol +++ b/contracts/interfaces/external/curve/IMetaPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/curve/IMetaPool2.sol b/contracts/interfaces/external/curve/IMetaPool2.sol index 9fc10b8a..905fdabe 100644 --- a/contracts/interfaces/external/curve/IMetaPool2.sol +++ b/contracts/interfaces/external/curve/IMetaPool2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./IMetaPoolBase.sol"; diff --git a/contracts/interfaces/external/curve/IMetaPool3.sol b/contracts/interfaces/external/curve/IMetaPool3.sol index cd8383c1..a41195f3 100644 --- a/contracts/interfaces/external/curve/IMetaPool3.sol +++ b/contracts/interfaces/external/curve/IMetaPool3.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./IMetaPoolBase.sol"; diff --git a/contracts/interfaces/external/curve/IMetaPoolBase.sol b/contracts/interfaces/external/curve/IMetaPoolBase.sol index 3df713f8..89cb8a4e 100644 --- a/contracts/interfaces/external/curve/IMetaPoolBase.sol +++ b/contracts/interfaces/external/curve/IMetaPoolBase.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/curve/IStableSwapPool.sol b/contracts/interfaces/external/curve/IStableSwapPool.sol index 1a9e2df3..15efcba9 100644 --- a/contracts/interfaces/external/curve/IStableSwapPool.sol +++ b/contracts/interfaces/external/curve/IStableSwapPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/curve/ITricrypto3.sol b/contracts/interfaces/external/curve/ITricrypto3.sol index 52334bdf..554b751d 100644 --- a/contracts/interfaces/external/curve/ITricrypto3.sol +++ b/contracts/interfaces/external/curve/ITricrypto3.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; uint256 constant N_COINS = 5; diff --git a/contracts/interfaces/external/curve/ITricryptoPool.sol b/contracts/interfaces/external/curve/ITricryptoPool.sol index 68f147dc..63bb912d 100644 --- a/contracts/interfaces/external/curve/ITricryptoPool.sol +++ b/contracts/interfaces/external/curve/ITricryptoPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/lido/IStETH.sol b/contracts/interfaces/external/lido/IStETH.sol index 0223b209..6514160a 100644 --- a/contracts/interfaces/external/lido/IStETH.sol +++ b/contracts/interfaces/external/lido/IStETH.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @title IStETH /// @author Angle Labs, Inc. diff --git a/contracts/interfaces/external/lido/IWStETH.sol b/contracts/interfaces/external/lido/IWStETH.sol index 8db833ce..bed88022 100644 --- a/contracts/interfaces/external/lido/IWStETH.sol +++ b/contracts/interfaces/external/lido/IWStETH.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @title IWStETH /// @author Angle Labs, Inc. diff --git a/contracts/interfaces/external/stakeDAO/IClaimerRewards.sol b/contracts/interfaces/external/stakeDAO/IClaimerRewards.sol index ab625fb5..d640ecc2 100644 --- a/contracts/interfaces/external/stakeDAO/IClaimerRewards.sol +++ b/contracts/interfaces/external/stakeDAO/IClaimerRewards.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; interface IClaimerRewards { /// @notice A function to claim rewards from all the gauges supplied diff --git a/contracts/interfaces/external/stakeDAO/ILiquidityGauge.sol b/contracts/interfaces/external/stakeDAO/ILiquidityGauge.sol index 67a1c5ad..1db49e7e 100644 --- a/contracts/interfaces/external/stakeDAO/ILiquidityGauge.sol +++ b/contracts/interfaces/external/stakeDAO/ILiquidityGauge.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/external/stakeDAO/IStakeCurveVault.sol b/contracts/interfaces/external/stakeDAO/IStakeCurveVault.sol index ce566765..ba3fb622 100644 --- a/contracts/interfaces/external/stakeDAO/IStakeCurveVault.sol +++ b/contracts/interfaces/external/stakeDAO/IStakeCurveVault.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; interface IStakeCurveVault { /// @notice function to deposit a new amount diff --git a/contracts/interfaces/external/uniswap/IUniswapRouter.sol b/contracts/interfaces/external/uniswap/IUniswapRouter.sol index abbc3454..bea8aac5 100644 --- a/contracts/interfaces/external/uniswap/IUniswapRouter.sol +++ b/contracts/interfaces/external/uniswap/IUniswapRouter.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; struct ExactInputParams { bytes path; diff --git a/contracts/interfaces/governance/IVeBoostProxy.sol b/contracts/interfaces/governance/IVeBoostProxy.sol index 5a8c354a..5c9bc63f 100644 --- a/contracts/interfaces/governance/IVeBoostProxy.sol +++ b/contracts/interfaces/governance/IVeBoostProxy.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @title IVeBoostProxy /// @author Angle Labs, Inc. diff --git a/contracts/keeperMulticall/KeeperMulticall.sol b/contracts/keeperMulticall/KeeperMulticall.sol index c845007a..b7d485ab 100644 --- a/contracts/keeperMulticall/KeeperMulticall.sol +++ b/contracts/keeperMulticall/KeeperMulticall.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; diff --git a/contracts/keeperMulticall/MulticallWithFailure.sol b/contracts/keeperMulticall/MulticallWithFailure.sol index d14e5ec6..697c9c7c 100644 --- a/contracts/keeperMulticall/MulticallWithFailure.sol +++ b/contracts/keeperMulticall/MulticallWithFailure.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @title MultiCallWithFailure /// @author Angle Labs, Inc. diff --git a/contracts/keeperMulticall/RevertReasonParser.sol b/contracts/keeperMulticall/RevertReasonParser.sol index 97f456fd..69834a8a 100644 --- a/contracts/keeperMulticall/RevertReasonParser.sol +++ b/contracts/keeperMulticall/RevertReasonParser.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GNU-3 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @title RevertReasonParser /// @author 1Inch team, taken from: diff --git a/contracts/merkleRootDistributor/MerkleRewardManager.sol b/contracts/merkleRootDistributor/MerkleRewardManager.sol index a7158bfa..835a41ba 100644 --- a/contracts/merkleRootDistributor/MerkleRewardManager.sol +++ b/contracts/merkleRootDistributor/MerkleRewardManager.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/merkleRootDistributor/MerkleRootDistributor.sol b/contracts/merkleRootDistributor/MerkleRootDistributor.sol index 0881f6c1..4cb4201c 100644 --- a/contracts/merkleRootDistributor/MerkleRootDistributor.sol +++ b/contracts/merkleRootDistributor/MerkleRootDistributor.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/merkleRootDistributor/MerkleRootDistributorV2.sol b/contracts/merkleRootDistributor/MerkleRootDistributorV2.sol index e7260908..3d6a209b 100644 --- a/contracts/merkleRootDistributor/MerkleRootDistributorV2.sol +++ b/contracts/merkleRootDistributor/MerkleRootDistributorV2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/merkleRootDistributor/implementations/MerkleRewardManagerEthereum.sol b/contracts/merkleRootDistributor/implementations/MerkleRewardManagerEthereum.sol index 339ae3ac..e1a8c805 100644 --- a/contracts/merkleRootDistributor/implementations/MerkleRewardManagerEthereum.sol +++ b/contracts/merkleRootDistributor/implementations/MerkleRewardManagerEthereum.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../MerkleRewardManager.sol"; diff --git a/contracts/merkleRootDistributor/implementations/MerkleRewardManagerPolygon.sol b/contracts/merkleRootDistributor/implementations/MerkleRewardManagerPolygon.sol index 06ed7b7e..4e0376ba 100644 --- a/contracts/merkleRootDistributor/implementations/MerkleRewardManagerPolygon.sol +++ b/contracts/merkleRootDistributor/implementations/MerkleRewardManagerPolygon.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../MerkleRewardManager.sol"; diff --git a/contracts/mock/Mock1Inch.sol b/contracts/mock/Mock1Inch.sol index c870e164..d065747f 100644 --- a/contracts/mock/Mock1Inch.sol +++ b/contracts/mock/Mock1Inch.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/contracts/mock/MockAnything.sol b/contracts/mock/MockAnything.sol index 9e112dd6..c1011172 100644 --- a/contracts/mock/MockAnything.sol +++ b/contracts/mock/MockAnything.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; contract MockAnything { uint256 public stateVar = 1; diff --git a/contracts/mock/MockCoreBorrow.sol b/contracts/mock/MockCoreBorrow.sol index e6288327..b67ce73f 100644 --- a/contracts/mock/MockCoreBorrow.sol +++ b/contracts/mock/MockCoreBorrow.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/ICoreBorrow.sol"; import "../interfaces/IFlashAngle.sol"; diff --git a/contracts/mock/MockERC1271.sol b/contracts/mock/MockERC1271.sol index 76a16939..f51abbe3 100644 --- a/contracts/mock/MockERC1271.sol +++ b/contracts/mock/MockERC1271.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/external/IERC1271.sol"; diff --git a/contracts/mock/MockEulerPool.sol b/contracts/mock/MockEulerPool.sol index 9cddb1da..af423bb2 100644 --- a/contracts/mock/MockEulerPool.sol +++ b/contracts/mock/MockEulerPool.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/mock/MockFlashLoanModule.sol b/contracts/mock/MockFlashLoanModule.sol index 6bd66c00..13bc01d8 100644 --- a/contracts/mock/MockFlashLoanModule.sol +++ b/contracts/mock/MockFlashLoanModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/IFlashAngle.sol"; import "../interfaces/ICoreBorrow.sol"; diff --git a/contracts/mock/MockInterestRateComputer.sol b/contracts/mock/MockInterestRateComputer.sol index a44d244a..6f4fc078 100644 --- a/contracts/mock/MockInterestRateComputer.sol +++ b/contracts/mock/MockInterestRateComputer.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; contract MockInterestRateComputer { uint256 public interestRate; diff --git a/contracts/mock/MockKeeperMulticall.sol b/contracts/mock/MockKeeperMulticall.sol index 319d4ed9..a83335c7 100644 --- a/contracts/mock/MockKeeperMulticall.sol +++ b/contracts/mock/MockKeeperMulticall.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; diff --git a/contracts/mock/MockPolygonAgEUR.sol b/contracts/mock/MockPolygonAgEUR.sol index 02c41f98..90cdd984 100644 --- a/contracts/mock/MockPolygonAgEUR.sol +++ b/contracts/mock/MockPolygonAgEUR.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../agToken/polygon/utils/ERC20UpgradeableCustom.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; diff --git a/contracts/mock/MockReactor.sol b/contracts/mock/MockReactor.sol index ec9f4176..0cefc1d8 100644 --- a/contracts/mock/MockReactor.sol +++ b/contracts/mock/MockReactor.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: AGPL-3.0-only -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../reactor/BaseReactor.sol"; diff --git a/contracts/mock/MockRouter.sol b/contracts/mock/MockRouter.sol index 8c0be9fc..08a6b933 100644 --- a/contracts/mock/MockRouter.sol +++ b/contracts/mock/MockRouter.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/contracts/mock/MockSidechainAgEUR.sol b/contracts/mock/MockSidechainAgEUR.sol index d956c794..3dd9987c 100644 --- a/contracts/mock/MockSidechainAgEUR.sol +++ b/contracts/mock/MockSidechainAgEUR.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../agToken/BaseAgTokenSideChain.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/mock/MockStableMaster.sol b/contracts/mock/MockStableMaster.sol index e50947d9..ae0610fa 100644 --- a/contracts/mock/MockStableMaster.sol +++ b/contracts/mock/MockStableMaster.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/IAgToken.sol"; diff --git a/contracts/mock/MockSwapper.sol b/contracts/mock/MockSwapper.sol index 8fee48ae..3d1ee208 100644 --- a/contracts/mock/MockSwapper.sol +++ b/contracts/mock/MockSwapper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/contracts/mock/MockSwapperSidechain.sol b/contracts/mock/MockSwapperSidechain.sol index 37d19431..43501138 100644 --- a/contracts/mock/MockSwapperSidechain.sol +++ b/contracts/mock/MockSwapperSidechain.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../swapper/SwapperSidechain.sol"; diff --git a/contracts/mock/MockTreasury.sol b/contracts/mock/MockTreasury.sol index ad534917..2d0e2406 100644 --- a/contracts/mock/MockTreasury.sol +++ b/contracts/mock/MockTreasury.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/ITreasury.sol"; import "../interfaces/IFlashAngle.sol"; diff --git a/contracts/mock/MockVaultManager.sol b/contracts/mock/MockVaultManager.sol index e690f946..80930ffa 100644 --- a/contracts/mock/MockVaultManager.sol +++ b/contracts/mock/MockVaultManager.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/IVaultManager.sol"; import "../interfaces/ITreasury.sol"; diff --git a/contracts/mock/MockVeBoostProxy.sol b/contracts/mock/MockVeBoostProxy.sol index 887b25e1..10e14c1c 100644 --- a/contracts/mock/MockVeBoostProxy.sol +++ b/contracts/mock/MockVeBoostProxy.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/governance/IVeBoostProxy.sol"; diff --git a/contracts/oracle/BaseOracleChainlinkMulti.sol b/contracts/oracle/BaseOracleChainlinkMulti.sol index 978c886e..ae4b5b48 100644 --- a/contracts/oracle/BaseOracleChainlinkMulti.sol +++ b/contracts/oracle/BaseOracleChainlinkMulti.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/KeeperRegistry.sol b/contracts/oracle/KeeperRegistry.sol index 9e5044e8..1a0e434e 100644 --- a/contracts/oracle/KeeperRegistry.sol +++ b/contracts/oracle/KeeperRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/oracle/OracleChainlinkMulti.sol b/contracts/oracle/OracleChainlinkMulti.sol index 2caf99fc..7ccc0ea1 100644 --- a/contracts/oracle/OracleChainlinkMulti.sol +++ b/contracts/oracle/OracleChainlinkMulti.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/OracleChainlinkMultiTemplate.sol b/contracts/oracle/OracleChainlinkMultiTemplate.sol index b5767147..7e75a52b 100644 --- a/contracts/oracle/OracleChainlinkMultiTemplate.sol +++ b/contracts/oracle/OracleChainlinkMultiTemplate.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/arbitrum/OracleBTCEURChainlinkArbitrum.sol b/contracts/oracle/implementations/arbitrum/OracleBTCEURChainlinkArbitrum.sol index d1b7c5a2..481e19c9 100644 --- a/contracts/oracle/implementations/arbitrum/OracleBTCEURChainlinkArbitrum.sol +++ b/contracts/oracle/implementations/arbitrum/OracleBTCEURChainlinkArbitrum.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/arbitrum/OracleETHEURChainlinkArbitrum.sol b/contracts/oracle/implementations/arbitrum/OracleETHEURChainlinkArbitrum.sol index f74c3a5c..92699316 100644 --- a/contracts/oracle/implementations/arbitrum/OracleETHEURChainlinkArbitrum.sol +++ b/contracts/oracle/implementations/arbitrum/OracleETHEURChainlinkArbitrum.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/arbitrum/OracleUSDCEURChainlinkArbitrum.sol b/contracts/oracle/implementations/arbitrum/OracleUSDCEURChainlinkArbitrum.sol index 8f8536b1..1b76c5b2 100644 --- a/contracts/oracle/implementations/arbitrum/OracleUSDCEURChainlinkArbitrum.sol +++ b/contracts/oracle/implementations/arbitrum/OracleUSDCEURChainlinkArbitrum.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/avalanche/OracleAVAXEURChainlinkAvalanche.sol b/contracts/oracle/implementations/avalanche/OracleAVAXEURChainlinkAvalanche.sol index b6cb8df2..cb439728 100644 --- a/contracts/oracle/implementations/avalanche/OracleAVAXEURChainlinkAvalanche.sol +++ b/contracts/oracle/implementations/avalanche/OracleAVAXEURChainlinkAvalanche.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/avalanche/OracleETHEURChainlinkAvalanche.sol b/contracts/oracle/implementations/avalanche/OracleETHEURChainlinkAvalanche.sol index 3378d85f..0f4da870 100644 --- a/contracts/oracle/implementations/avalanche/OracleETHEURChainlinkAvalanche.sol +++ b/contracts/oracle/implementations/avalanche/OracleETHEURChainlinkAvalanche.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/mainnet/OracleBTCEURChainlink.sol b/contracts/oracle/implementations/mainnet/OracleBTCEURChainlink.sol index dec21422..bf6c622b 100644 --- a/contracts/oracle/implementations/mainnet/OracleBTCEURChainlink.sol +++ b/contracts/oracle/implementations/mainnet/OracleBTCEURChainlink.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/mainnet/OracleETHEURChainlink.sol b/contracts/oracle/implementations/mainnet/OracleETHEURChainlink.sol index 0e6d5d75..4088868b 100644 --- a/contracts/oracle/implementations/mainnet/OracleETHEURChainlink.sol +++ b/contracts/oracle/implementations/mainnet/OracleETHEURChainlink.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/mainnet/OracleFRAXBPEURChainlink.sol b/contracts/oracle/implementations/mainnet/OracleFRAXBPEURChainlink.sol index 01de4623..48cd1d8e 100644 --- a/contracts/oracle/implementations/mainnet/OracleFRAXBPEURChainlink.sol +++ b/contracts/oracle/implementations/mainnet/OracleFRAXBPEURChainlink.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/mainnet/OracleLUSDEURChainlink.sol b/contracts/oracle/implementations/mainnet/OracleLUSDEURChainlink.sol index b8d2733d..ff3956d9 100644 --- a/contracts/oracle/implementations/mainnet/OracleLUSDEURChainlink.sol +++ b/contracts/oracle/implementations/mainnet/OracleLUSDEURChainlink.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/mainnet/OracleWSTETHEURChainlink.sol b/contracts/oracle/implementations/mainnet/OracleWSTETHEURChainlink.sol index de8d1c59..edcb534d 100644 --- a/contracts/oracle/implementations/mainnet/OracleWSTETHEURChainlink.sol +++ b/contracts/oracle/implementations/mainnet/OracleWSTETHEURChainlink.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/optimism/OracleETHEURChainlinkOptimism.sol b/contracts/oracle/implementations/optimism/OracleETHEURChainlinkOptimism.sol index e4daff7d..0d12e7fe 100644 --- a/contracts/oracle/implementations/optimism/OracleETHEURChainlinkOptimism.sol +++ b/contracts/oracle/implementations/optimism/OracleETHEURChainlinkOptimism.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/optimism/OracleOPEURChainlinkOptimism.sol b/contracts/oracle/implementations/optimism/OracleOPEURChainlinkOptimism.sol index 63a9cd0d..f8f1f0c3 100644 --- a/contracts/oracle/implementations/optimism/OracleOPEURChainlinkOptimism.sol +++ b/contracts/oracle/implementations/optimism/OracleOPEURChainlinkOptimism.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/optimism/OracleUSDCEURChainlinkOptimism.sol b/contracts/oracle/implementations/optimism/OracleUSDCEURChainlinkOptimism.sol index ba7adeba..5bfcf7ad 100644 --- a/contracts/oracle/implementations/optimism/OracleUSDCEURChainlinkOptimism.sol +++ b/contracts/oracle/implementations/optimism/OracleUSDCEURChainlinkOptimism.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/polygon/OracleBTCEURChainlinkPolygon.sol b/contracts/oracle/implementations/polygon/OracleBTCEURChainlinkPolygon.sol index 261773e9..9d763881 100644 --- a/contracts/oracle/implementations/polygon/OracleBTCEURChainlinkPolygon.sol +++ b/contracts/oracle/implementations/polygon/OracleBTCEURChainlinkPolygon.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/polygon/OracleETHEURChainlinkPolygon.sol b/contracts/oracle/implementations/polygon/OracleETHEURChainlinkPolygon.sol index 7456c5f6..10511246 100644 --- a/contracts/oracle/implementations/polygon/OracleETHEURChainlinkPolygon.sol +++ b/contracts/oracle/implementations/polygon/OracleETHEURChainlinkPolygon.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/polygon/OracleMAIEURChainlinkPolygon.sol b/contracts/oracle/implementations/polygon/OracleMAIEURChainlinkPolygon.sol index ab36ccfd..2e2730fe 100644 --- a/contracts/oracle/implementations/polygon/OracleMAIEURChainlinkPolygon.sol +++ b/contracts/oracle/implementations/polygon/OracleMAIEURChainlinkPolygon.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/polygon/OracleMATICEURChainlinkPolygon.sol b/contracts/oracle/implementations/polygon/OracleMATICEURChainlinkPolygon.sol index 87c483c5..c37dad94 100644 --- a/contracts/oracle/implementations/polygon/OracleMATICEURChainlinkPolygon.sol +++ b/contracts/oracle/implementations/polygon/OracleMATICEURChainlinkPolygon.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/oracle/implementations/polygon/OracleUSDCEURChainlinkPolygon.sol b/contracts/oracle/implementations/polygon/OracleUSDCEURChainlinkPolygon.sol index df63f3d9..69d42dcf 100644 --- a/contracts/oracle/implementations/polygon/OracleUSDCEURChainlinkPolygon.sol +++ b/contracts/oracle/implementations/polygon/OracleUSDCEURChainlinkPolygon.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; diff --git a/contracts/reactor/BaseReactor.sol b/contracts/reactor/BaseReactor.sol index a4730949..f64cb310 100644 --- a/contracts/reactor/BaseReactor.sol +++ b/contracts/reactor/BaseReactor.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: AGPL-3.0-only -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./BaseReactorStorage.sol"; diff --git a/contracts/reactor/BaseReactorStorage.sol b/contracts/reactor/BaseReactorStorage.sol index f1134b1c..3af477a5 100644 --- a/contracts/reactor/BaseReactorStorage.sol +++ b/contracts/reactor/BaseReactorStorage.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: AGPL-3.0-only -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; diff --git a/contracts/reactor/EulerReactor.sol b/contracts/reactor/EulerReactor.sol index 362bace1..e8567e1f 100644 --- a/contracts/reactor/EulerReactor.sol +++ b/contracts/reactor/EulerReactor.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: AGPL-3.0-only -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "../interfaces/external/euler/IEulerMarket.sol"; diff --git a/contracts/settlement/Settlement.sol b/contracts/settlement/Settlement.sol index bd8c206f..97b206bf 100644 --- a/contracts/settlement/Settlement.sol +++ b/contracts/settlement/Settlement.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/swapper/Swapper.sol b/contracts/swapper/Swapper.sol index f1c4c35e..c552f5fa 100644 --- a/contracts/swapper/Swapper.sol +++ b/contracts/swapper/Swapper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/swapper/SwapperSidechain.sol b/contracts/swapper/SwapperSidechain.sol index a054ef11..22b4a295 100644 --- a/contracts/swapper/SwapperSidechain.sol +++ b/contracts/swapper/SwapperSidechain.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/treasury/Treasury.sol b/contracts/treasury/Treasury.sol index cdc46c21..60f7dce3 100644 --- a/contracts/treasury/Treasury.sol +++ b/contracts/treasury/Treasury.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/contracts/ui-helpers/AngleBorrowHelpers.sol b/contracts/ui-helpers/AngleBorrowHelpers.sol index 87f32a60..9fd5b365 100644 --- a/contracts/ui-helpers/AngleBorrowHelpers.sol +++ b/contracts/ui-helpers/AngleBorrowHelpers.sol @@ -3,7 +3,7 @@ import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "../interfaces/IVaultManager.sol"; -pragma solidity 0.8.12; +pragma solidity ^0.8.12; /// @title AngleBorrowHelpers /// @author Angle Labs, Inc. diff --git a/contracts/ui-helpers/AngleHelpers.sol b/contracts/ui-helpers/AngleHelpers.sol index fd0412cb..f5954593 100644 --- a/contracts/ui-helpers/AngleHelpers.sol +++ b/contracts/ui-helpers/AngleHelpers.sol @@ -9,7 +9,7 @@ import "../interfaces/coreModule/IPoolManager.sol"; import "../interfaces/coreModule/IStableMaster.sol"; import "./AngleBorrowHelpers.sol"; -pragma solidity 0.8.12; +pragma solidity ^0.8.12; struct Parameters { SLPData slpData; diff --git a/contracts/vaultManager/VaultManager.sol b/contracts/vaultManager/VaultManager.sol index c5a2210b..e554facb 100644 --- a/contracts/vaultManager/VaultManager.sol +++ b/contracts/vaultManager/VaultManager.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./VaultManagerPermit.sol"; diff --git a/contracts/vaultManager/VaultManagerERC721.sol b/contracts/vaultManager/VaultManagerERC721.sol index b2392802..668b42da 100644 --- a/contracts/vaultManager/VaultManagerERC721.sol +++ b/contracts/vaultManager/VaultManagerERC721.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./VaultManagerStorage.sol"; diff --git a/contracts/vaultManager/VaultManagerLiquidationBoost.sol b/contracts/vaultManager/VaultManagerLiquidationBoost.sol index 2f08c7ed..3f0a3299 100644 --- a/contracts/vaultManager/VaultManagerLiquidationBoost.sol +++ b/contracts/vaultManager/VaultManagerLiquidationBoost.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./VaultManager.sol"; diff --git a/contracts/vaultManager/VaultManagerPermit.sol b/contracts/vaultManager/VaultManagerPermit.sol index 536ce709..e2f486d9 100644 --- a/contracts/vaultManager/VaultManagerPermit.sol +++ b/contracts/vaultManager/VaultManagerPermit.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "./VaultManagerERC721.sol"; import "../interfaces/external/IERC1271.sol"; diff --git a/contracts/vaultManager/VaultManagerStorage.sol b/contracts/vaultManager/VaultManagerStorage.sol index 8abc2a9c..963528e1 100644 --- a/contracts/vaultManager/VaultManagerStorage.sol +++ b/contracts/vaultManager/VaultManagerStorage.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol"; diff --git a/scripts/foundry/BasicScript.s.sol b/scripts/foundry/BasicScript.s.sol index 15375f47..0ed904f2 100644 --- a/scripts/foundry/BasicScript.s.sol +++ b/scripts/foundry/BasicScript.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import "forge-std/Script.sol"; import "../../contracts/mock/MockToken.sol"; diff --git a/test/foundry/keeper/KeeperMulticall.t.sol b/test/foundry/keeper/KeeperMulticall.t.sol index b5ab4b02..10e11a38 100644 --- a/test/foundry/keeper/KeeperMulticall.t.sol +++ b/test/foundry/keeper/KeeperMulticall.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import { console } from "forge-std/console.sol"; import { Test } from "forge-std/Test.sol"; diff --git a/test/foundry/utils/SlotFinder.t.sol b/test/foundry/utils/SlotFinder.t.sol index d2408ef5..2dbb9339 100644 --- a/test/foundry/utils/SlotFinder.t.sol +++ b/test/foundry/utils/SlotFinder.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import { console } from "forge-std/console.sol"; import { stdStorage, StdStorage, Test } from "forge-std/Test.sol"; diff --git a/test/foundry/vaultManager/VaultManager.t.sol b/test/foundry/vaultManager/VaultManager.t.sol index 7f3a08c2..3cff3f9d 100644 --- a/test/foundry/vaultManager/VaultManager.t.sol +++ b/test/foundry/vaultManager/VaultManager.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.12; +pragma solidity ^0.8.12; import { console } from "forge-std/console.sol"; import { stdStorage, StdStorage, Test } from "forge-std/Test.sol";