Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: greater or equal #44

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/DeployAprOracle.s.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion script/DeployAuctionFactory.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion script/DeployCommonTrigger.s.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/AprOracle/AprOracle.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -37,7 +37,7 @@
uint256 internal constant MAX_BPS_EXTENDED = 1_000_000_000_000;
uint256 internal constant SECONDS_PER_YEAR = 31_556_952;

constructor(address _governance) Governance(_governance) {}

Check warning on line 40 in src/AprOracle/AprOracle.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

/**
* @notice Get the current APR a strategy is earning.
Expand Down
2 changes: 1 addition & 1 deletion src/AprOracle/AprOracleBase.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/Auctions/Auction.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -112,7 +112,7 @@
/// @notice Array of all the enabled auction for this contract.
bytes32[] public enabledAuctions;

constructor() Governance(msg.sender) {}

Check warning on line 115 in src/Auctions/Auction.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

/**
* @notice Initializes the Auction contract with initial parameters.
Expand Down Expand Up @@ -631,7 +631,7 @@
}

/// @dev Implements the take of the auction.
function _take(

Check warning on line 634 in src/Auctions/Auction.sol

View workflow job for this annotation

GitHub Actions / solidity

Function body contains 73 lines but allowed no more than 50 lines
bytes32 _auctionId,
uint256 _maxAmount,
address _receiver,
Expand Down
2 changes: 1 addition & 1 deletion src/Auctions/AuctionFactory.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/Bases/4626Compounder/Base4626Compounder.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -123,19 +123,19 @@
* @dev Override to stake loose vault tokens after they
* are deposited to the `vault`.
*/
function _stake() internal virtual {}

Check warning on line 126 in src/Bases/4626Compounder/Base4626Compounder.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

/**
* @dev If vault tokens are staked, override to unstake them before
* any withdraw or redeems.
* @param _amount The amount of vault tokens to unstake.
*/
function _unStake(uint256 _amount) internal virtual {}

Check warning on line 133 in src/Bases/4626Compounder/Base4626Compounder.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

/**
* @dev Called during reports to do any harvesting of rewards needed.
*/
function _claimAndSellRewards() internal virtual {}

Check warning on line 138 in src/Bases/4626Compounder/Base4626Compounder.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

/**
* @notice Return the current loose balance of this strategies `asset`.
Expand All @@ -155,7 +155,7 @@
* @notice If the vaults tokens are staked. To override and return the
* amount of vault tokens the strategy has staked.
*/
function balanceOfStake() public view virtual returns (uint256) {}

Check warning on line 158 in src/Bases/4626Compounder/Base4626Compounder.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

/**
* @notice The full value denominated in `asset` of the strategies vault
Expand Down
2 changes: 1 addition & 1 deletion src/Bases/4626Compounder/IBase4626Compounder.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/Bases/HealthCheck/BaseHealthCheck.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down Expand Up @@ -38,7 +38,7 @@
constructor(
address _asset,
string memory _name
) BaseStrategy(_asset, _name) {}

Check warning on line 41 in src/Bases/HealthCheck/BaseHealthCheck.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

/**
* @notice Returns the current profit limit ratio.
Expand Down
2 changes: 1 addition & 1 deletion src/Bases/HealthCheck/IBaseHealthCheck.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/Bases/Hooks/BaseHooks.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -15,7 +15,7 @@
constructor(
address _asset,
string memory _name
) BaseHealthCheck(_asset, _name) {}

Check warning on line 18 in src/Bases/Hooks/BaseHooks.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

// Deposit
function deposit(
Expand Down
2 changes: 1 addition & 1 deletion src/Bases/Hooks/Hooks.sol
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

contract DepositHooks {
function _preDepositHook(
uint256 assets,
uint256 shares,
address receiver
) internal virtual {}

Check warning on line 9 in src/Bases/Hooks/Hooks.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

function _postDepositHook(
uint256 assets,
Expand Down
2 changes: 1 addition & 1 deletion src/ReportTrigger/CommonReportTrigger.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/ReportTrigger/CustomStrategyTriggerBase.sol
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/ReportTrigger/CustomVaultTriggerBase.sol
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ITaker.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

interface ITaker {
function auctionTakeCallback(
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/Solidly/ISolidly.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.18;
pragma solidity >=0.8.18;

interface ISolidly {
struct route {
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/TradeFactory/ITradeFactory.sol
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/Maths.sol
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/swappers/AuctionSwapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/SolidlySwapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/TradeFactorySwapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/UniswapV2Swapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/UniswapV3Swapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/interfaces/IAuctionSwapper.sol
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/interfaces/ISolidlySwapper.sol
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/interfaces/ITradeFactorySwapper.sol
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/interfaces/IUniswapV2Swapper.sol
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/swappers/interfaces/IUniswapV3Swapper.sol
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Auction.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/AuctionSwapper.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/Base4626.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/BaseHook.t.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/CommonTrigger.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/HealthCheck.t.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/SolidlySwapper.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/UniV2Swapper.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/UniV3Swapper.t.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockAuctionSwapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockCustomStrategyTrigger.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockCustomVaultTrigger.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockHealthCheck.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockHooks.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockSolidlySwapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockStrategy.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockUniswapV2Swapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/mocks/MockUniswapV3Swapper.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/utils/ExtendedTest.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/test/utils/Setup.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/test/utils/VyperDeployer.sol
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Clonable.sol
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Governance.sol
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Governance2Step.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
Loading