diff --git a/script/DeployAprOracle.s.sol b/script/DeployAprOracle.s.sol index 509a8d2..de44198 100644 --- a/script/DeployAprOracle.s.sol +++ b/script/DeployAprOracle.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/Script.sol"; diff --git a/script/DeployAuctionFactory.sol b/script/DeployAuctionFactory.sol index 599398f..a2b95b3 100644 --- a/script/DeployAuctionFactory.sol +++ b/script/DeployAuctionFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/Script.sol"; diff --git a/script/DeployCommonTrigger.s.sol b/script/DeployCommonTrigger.s.sol index 45595ed..6b8281d 100644 --- a/script/DeployCommonTrigger.s.sol +++ b/script/DeployCommonTrigger.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/Script.sol"; diff --git a/src/AprOracle/AprOracle.sol b/src/AprOracle/AprOracle.sol index b5a68fe..9e389dd 100644 --- a/src/AprOracle/AprOracle.sol +++ b/src/AprOracle/AprOracle.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Governance} from "../utils/Governance.sol"; import {IVault} from "@yearn-vaults/interfaces/IVault.sol"; diff --git a/src/AprOracle/AprOracleBase.sol b/src/AprOracle/AprOracleBase.sol index 2b8567e..8cd9058 100644 --- a/src/AprOracle/AprOracleBase.sol +++ b/src/AprOracle/AprOracleBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Governance} from "../utils/Governance.sol"; diff --git a/src/Auctions/Auction.sol b/src/Auctions/Auction.sol index 572d746..dabc85b 100644 --- a/src/Auctions/Auction.sol +++ b/src/Auctions/Auction.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Maths} from "../libraries/Maths.sol"; import {Governance} from "../utils/Governance.sol"; diff --git a/src/Auctions/AuctionFactory.sol b/src/Auctions/AuctionFactory.sol index a2ae3e1..b379366 100644 --- a/src/Auctions/AuctionFactory.sol +++ b/src/Auctions/AuctionFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Auction} from "./Auction.sol"; import {Clonable} from "../utils/Clonable.sol"; diff --git a/src/Bases/4626Compounder/Base4626Compounder.sol b/src/Bases/4626Compounder/Base4626Compounder.sol index 2460391..8dd75e4 100644 --- a/src/Bases/4626Compounder/Base4626Compounder.sol +++ b/src/Bases/4626Compounder/Base4626Compounder.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; // We use the Tokenized Strategy interface. import {IStrategy} from "@tokenized-strategy/interfaces/IStrategy.sol"; diff --git a/src/Bases/4626Compounder/IBase4626Compounder.sol b/src/Bases/4626Compounder/IBase4626Compounder.sol index e551ba7..80809b5 100644 --- a/src/Bases/4626Compounder/IBase4626Compounder.sol +++ b/src/Bases/4626Compounder/IBase4626Compounder.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {IBaseHealthCheck} from "../HealthCheck/IBaseHealthCheck.sol"; diff --git a/src/Bases/HealthCheck/BaseHealthCheck.sol b/src/Bases/HealthCheck/BaseHealthCheck.sol index 67d592c..fdd33bd 100644 --- a/src/Bases/HealthCheck/BaseHealthCheck.sol +++ b/src/Bases/HealthCheck/BaseHealthCheck.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {BaseStrategy, ERC20} from "@tokenized-strategy/BaseStrategy.sol"; diff --git a/src/Bases/HealthCheck/IBaseHealthCheck.sol b/src/Bases/HealthCheck/IBaseHealthCheck.sol index 2bf26a5..d7025c4 100644 --- a/src/Bases/HealthCheck/IBaseHealthCheck.sol +++ b/src/Bases/HealthCheck/IBaseHealthCheck.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {IStrategy} from "@tokenized-strategy/interfaces/IStrategy.sol"; diff --git a/src/Bases/Hooks/BaseHooks.sol b/src/Bases/Hooks/BaseHooks.sol index 6c90ab1..f425a5e 100644 --- a/src/Bases/Hooks/BaseHooks.sol +++ b/src/Bases/Hooks/BaseHooks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Hooks} from "./Hooks.sol"; import {BaseHealthCheck, ERC20} from "../HealthCheck/BaseHealthCheck.sol"; diff --git a/src/Bases/Hooks/Hooks.sol b/src/Bases/Hooks/Hooks.sol index 9425df6..a53cc8f 100644 --- a/src/Bases/Hooks/Hooks.sol +++ b/src/Bases/Hooks/Hooks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; contract DepositHooks { function _preDepositHook( diff --git a/src/ReportTrigger/CommonReportTrigger.sol b/src/ReportTrigger/CommonReportTrigger.sol index 4c23e75..465e89d 100644 --- a/src/ReportTrigger/CommonReportTrigger.sol +++ b/src/ReportTrigger/CommonReportTrigger.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Governance} from "../utils/Governance.sol"; diff --git a/src/ReportTrigger/CustomStrategyTriggerBase.sol b/src/ReportTrigger/CustomStrategyTriggerBase.sol index e38d297..0e55b68 100644 --- a/src/ReportTrigger/CustomStrategyTriggerBase.sol +++ b/src/ReportTrigger/CustomStrategyTriggerBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; /** * @title Custom Strategy Trigger Base. diff --git a/src/ReportTrigger/CustomVaultTriggerBase.sol b/src/ReportTrigger/CustomVaultTriggerBase.sol index f7e40d8..e452464 100644 --- a/src/ReportTrigger/CustomVaultTriggerBase.sol +++ b/src/ReportTrigger/CustomVaultTriggerBase.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; /** * @title Custom Vault Trigger Base. diff --git a/src/interfaces/ITaker.sol b/src/interfaces/ITaker.sol index d1fb999..9e0a582 100644 --- a/src/interfaces/ITaker.sol +++ b/src/interfaces/ITaker.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; interface ITaker { function auctionTakeCallback( diff --git a/src/interfaces/Solidly/ISolidly.sol b/src/interfaces/Solidly/ISolidly.sol index e5986a3..b21e4f4 100644 --- a/src/interfaces/Solidly/ISolidly.sol +++ b/src/interfaces/Solidly/ISolidly.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; interface ISolidly { struct route { diff --git a/src/interfaces/TradeFactory/ITradeFactory.sol b/src/interfaces/TradeFactory/ITradeFactory.sol index 31ea649..060dcd5 100644 --- a/src/interfaces/TradeFactory/ITradeFactory.sol +++ b/src/interfaces/TradeFactory/ITradeFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; interface ITradeFactory { function enable(address, address) external; diff --git a/src/libraries/Maths.sol b/src/libraries/Maths.sol index a80e4a2..469b8f2 100644 --- a/src/libraries/Maths.sol +++ b/src/libraries/Maths.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.18; +pragma solidity >=0.8.18; // Math library from https://github.com/ajna-finance/ajna-core/blob/master/src/libraries/internal/Maths.sol diff --git a/src/swappers/AuctionSwapper.sol b/src/swappers/AuctionSwapper.sol index 682a740..5403ffb 100644 --- a/src/swappers/AuctionSwapper.sol +++ b/src/swappers/AuctionSwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/swappers/SolidlySwapper.sol b/src/swappers/SolidlySwapper.sol index 65a6f43..e7996a0 100644 --- a/src/swappers/SolidlySwapper.sol +++ b/src/swappers/SolidlySwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/swappers/TradeFactorySwapper.sol b/src/swappers/TradeFactorySwapper.sol index b756310..77cfcb9 100644 --- a/src/swappers/TradeFactorySwapper.sol +++ b/src/swappers/TradeFactorySwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/swappers/UniswapV2Swapper.sol b/src/swappers/UniswapV2Swapper.sol index 9a668f0..60315f0 100644 --- a/src/swappers/UniswapV2Swapper.sol +++ b/src/swappers/UniswapV2Swapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/swappers/UniswapV3Swapper.sol b/src/swappers/UniswapV3Swapper.sol index 4e2a474..16c941d 100644 --- a/src/swappers/UniswapV3Swapper.sol +++ b/src/swappers/UniswapV3Swapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/src/swappers/interfaces/IAuctionSwapper.sol b/src/swappers/interfaces/IAuctionSwapper.sol index 16ba478..7c5728a 100644 --- a/src/swappers/interfaces/IAuctionSwapper.sol +++ b/src/swappers/interfaces/IAuctionSwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; interface IAuctionSwapper { function auctionFactory() external view returns (address); diff --git a/src/swappers/interfaces/ISolidlySwapper.sol b/src/swappers/interfaces/ISolidlySwapper.sol index 9543783..92a3ef3 100644 --- a/src/swappers/interfaces/ISolidlySwapper.sol +++ b/src/swappers/interfaces/ISolidlySwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; interface ISolidlySwapper { function minAmountToSell() external view returns (uint256); diff --git a/src/swappers/interfaces/ITradeFactorySwapper.sol b/src/swappers/interfaces/ITradeFactorySwapper.sol index f3b571d..76670c7 100644 --- a/src/swappers/interfaces/ITradeFactorySwapper.sol +++ b/src/swappers/interfaces/ITradeFactorySwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; interface ITradeFactorySwapper { function tradeFactory() external view returns (address); diff --git a/src/swappers/interfaces/IUniswapV2Swapper.sol b/src/swappers/interfaces/IUniswapV2Swapper.sol index 24fa686..af1bb84 100644 --- a/src/swappers/interfaces/IUniswapV2Swapper.sol +++ b/src/swappers/interfaces/IUniswapV2Swapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; interface IUniswapV2Swapper { function minAmountToSell() external view returns (uint256); diff --git a/src/swappers/interfaces/IUniswapV3Swapper.sol b/src/swappers/interfaces/IUniswapV3Swapper.sol index 0d8954b..705b10f 100644 --- a/src/swappers/interfaces/IUniswapV3Swapper.sol +++ b/src/swappers/interfaces/IUniswapV3Swapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; interface IUniswapV3Swapper { function minAmountToSell() external view returns (uint256); diff --git a/src/test/Auction.t.sol b/src/test/Auction.t.sol index 20a22d3..dce5279 100644 --- a/src/test/Auction.t.sol +++ b/src/test/Auction.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/console.sol"; import {Setup, IStrategy, SafeERC20, ERC20} from "./utils/Setup.sol"; diff --git a/src/test/AuctionSwapper.t.sol b/src/test/AuctionSwapper.t.sol index 8b40339..d8fb5bd 100644 --- a/src/test/AuctionSwapper.t.sol +++ b/src/test/AuctionSwapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/console.sol"; import {Setup, IStrategy, SafeERC20, ERC20} from "./utils/Setup.sol"; diff --git a/src/test/Base4626.t.sol b/src/test/Base4626.t.sol index a8acd3d..3749104 100644 --- a/src/test/Base4626.t.sol +++ b/src/test/Base4626.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.18; +pragma solidity >=0.8.18; import "forge-std/console.sol"; import {Setup, ERC20, IStrategy} from "./utils/Setup.sol"; diff --git a/src/test/BaseHook.t.sol b/src/test/BaseHook.t.sol index 725b9f1..f3dbe71 100644 --- a/src/test/BaseHook.t.sol +++ b/src/test/BaseHook.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Setup, IStrategy, SafeERC20, ERC20} from "./utils/Setup.sol"; diff --git a/src/test/CommonTrigger.t.sol b/src/test/CommonTrigger.t.sol index a9071b5..58f7ad9 100644 --- a/src/test/CommonTrigger.t.sol +++ b/src/test/CommonTrigger.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/Script.sol"; import {Setup, IStrategy, console} from "./utils/Setup.sol"; diff --git a/src/test/HealthCheck.t.sol b/src/test/HealthCheck.t.sol index d1f59f4..70e2262 100644 --- a/src/test/HealthCheck.t.sol +++ b/src/test/HealthCheck.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Setup, IStrategy, SafeERC20, ERC20} from "./utils/Setup.sol"; diff --git a/src/test/SolidlySwapper.t.sol b/src/test/SolidlySwapper.t.sol index 58bbdea..1565b1c 100644 --- a/src/test/SolidlySwapper.t.sol +++ b/src/test/SolidlySwapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/console.sol"; import {Setup, ERC20, IStrategy} from "./utils/Setup.sol"; diff --git a/src/test/UniV2Swapper.t.sol b/src/test/UniV2Swapper.t.sol index f7639d7..af2681f 100644 --- a/src/test/UniV2Swapper.t.sol +++ b/src/test/UniV2Swapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/console.sol"; import {Setup, ERC20, IStrategy} from "./utils/Setup.sol"; diff --git a/src/test/UniV3Swapper.t.sol b/src/test/UniV3Swapper.t.sol index a24ff28..2fc5148 100644 --- a/src/test/UniV3Swapper.t.sol +++ b/src/test/UniV3Swapper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Setup, ERC20, IStrategy} from "./utils/Setup.sol"; diff --git a/src/test/mocks/MockAuctionSwapper.sol b/src/test/mocks/MockAuctionSwapper.sol index c0dd283..0bc279d 100644 --- a/src/test/mocks/MockAuctionSwapper.sol +++ b/src/test/mocks/MockAuctionSwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {AuctionSwapper, SafeERC20} from "../../swappers/AuctionSwapper.sol"; import {BaseStrategy, ERC20} from "@tokenized-strategy/BaseStrategy.sol"; diff --git a/src/test/mocks/MockCustomStrategyTrigger.sol b/src/test/mocks/MockCustomStrategyTrigger.sol index ede03c3..8c0585d 100644 --- a/src/test/mocks/MockCustomStrategyTrigger.sol +++ b/src/test/mocks/MockCustomStrategyTrigger.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {CustomStrategyTriggerBase} from "../../ReportTrigger/CustomStrategyTriggerBase.sol"; diff --git a/src/test/mocks/MockCustomVaultTrigger.sol b/src/test/mocks/MockCustomVaultTrigger.sol index 1caaa92..2989365 100644 --- a/src/test/mocks/MockCustomVaultTrigger.sol +++ b/src/test/mocks/MockCustomVaultTrigger.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {CustomVaultTriggerBase} from "../../ReportTrigger/CustomVaultTriggerBase.sol"; diff --git a/src/test/mocks/MockHealthCheck.sol b/src/test/mocks/MockHealthCheck.sol index 61a07eb..abf4281 100644 --- a/src/test/mocks/MockHealthCheck.sol +++ b/src/test/mocks/MockHealthCheck.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {BaseHealthCheck, ERC20} from "../../Bases/HealthCheck/BaseHealthCheck.sol"; diff --git a/src/test/mocks/MockHooks.sol b/src/test/mocks/MockHooks.sol index 82adff0..5b5bd24 100644 --- a/src/test/mocks/MockHooks.sol +++ b/src/test/mocks/MockHooks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {BaseHooks, ERC20} from "../../Bases/Hooks/BaseHooks.sol"; diff --git a/src/test/mocks/MockSolidlySwapper.sol b/src/test/mocks/MockSolidlySwapper.sol index b4ece85..9d54d4e 100644 --- a/src/test/mocks/MockSolidlySwapper.sol +++ b/src/test/mocks/MockSolidlySwapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {SolidlySwapper} from "../../swappers/SolidlySwapper.sol"; import {BaseStrategy, ERC20} from "@tokenized-strategy/BaseStrategy.sol"; diff --git a/src/test/mocks/MockStrategy.sol b/src/test/mocks/MockStrategy.sol index a1beb56..231ab34 100644 --- a/src/test/mocks/MockStrategy.sol +++ b/src/test/mocks/MockStrategy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {BaseStrategy, ERC20} from "@tokenized-strategy/BaseStrategy.sol"; diff --git a/src/test/mocks/MockUniswapV2Swapper.sol b/src/test/mocks/MockUniswapV2Swapper.sol index 776c1cd..e1e4935 100644 --- a/src/test/mocks/MockUniswapV2Swapper.sol +++ b/src/test/mocks/MockUniswapV2Swapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {UniswapV2Swapper} from "../../swappers/UniswapV2Swapper.sol"; import {BaseStrategy, ERC20} from "@tokenized-strategy/BaseStrategy.sol"; diff --git a/src/test/mocks/MockUniswapV3Swapper.sol b/src/test/mocks/MockUniswapV3Swapper.sol index ee4f792..a8e1182 100644 --- a/src/test/mocks/MockUniswapV3Swapper.sol +++ b/src/test/mocks/MockUniswapV3Swapper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {UniswapV3Swapper} from "../../swappers/UniswapV3Swapper.sol"; import {BaseStrategy, ERC20} from "@tokenized-strategy/BaseStrategy.sol"; diff --git a/src/test/utils/ExtendedTest.sol b/src/test/utils/ExtendedTest.sol index e8fcc6c..c19f9ec 100644 --- a/src/test/utils/ExtendedTest.sol +++ b/src/test/utils/ExtendedTest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Test} from "forge-std/Test.sol"; diff --git a/src/test/utils/Setup.sol b/src/test/utils/Setup.sol index 00ce9b0..171b1d4 100644 --- a/src/test/utils/Setup.sol +++ b/src/test/utils/Setup.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import "forge-std/console.sol"; import {ExtendedTest} from "./ExtendedTest.sol"; diff --git a/src/test/utils/VyperDeployer.sol b/src/test/utils/VyperDeployer.sol index 23cf1f2..ab67e1b 100644 --- a/src/test/utils/VyperDeployer.sol +++ b/src/test/utils/VyperDeployer.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.18; +pragma solidity >=0.8.18; ///@notice This cheat codes interface is named _CheatCodes so you can use the CheatCodes interface in other testing files without errors interface _CheatCodes { diff --git a/src/utils/Clonable.sol b/src/utils/Clonable.sol index 43bd317..292b24c 100644 --- a/src/utils/Clonable.sol +++ b/src/utils/Clonable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; contract Clonable { /// @notice Set to the address to auto clone from. diff --git a/src/utils/Governance.sol b/src/utils/Governance.sol index 43078f8..6c90df8 100644 --- a/src/utils/Governance.sol +++ b/src/utils/Governance.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; contract Governance { /// @notice Emitted when the governance address is updated. diff --git a/src/utils/Governance2Step.sol b/src/utils/Governance2Step.sol index d29f318..9775e4c 100644 --- a/src/utils/Governance2Step.sol +++ b/src/utils/Governance2Step.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0 -pragma solidity 0.8.18; +pragma solidity >=0.8.18; import {Governance} from "./Governance.sol";