diff --git a/src/interfaces/IJoeFactory.sol b/src/interfaces/IJoeFactory.sol index ae1a336..b6af576 100644 --- a/src/interfaces/IJoeFactory.sol +++ b/src/interfaces/IJoeFactory.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /// @title Joe V1 Factory Interface /// @notice Interface to interact with Joe V1 Factory diff --git a/src/interfaces/IJoePair.sol b/src/interfaces/IJoePair.sol index a5b44c7..e54b901 100644 --- a/src/interfaces/IJoePair.sol +++ b/src/interfaces/IJoePair.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /// @title Joe V1 Pair Interface /// @notice Interface to interact with Joe V1 Pairs diff --git a/src/interfaces/IJoeRouter01.sol b/src/interfaces/IJoeRouter01.sol index d251641..46a14dd 100644 --- a/src/interfaces/IJoeRouter01.sol +++ b/src/interfaces/IJoeRouter01.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /// @title Joe V1 Router01 Interface /// @notice Interface to interact with Joe V1 Router diff --git a/src/interfaces/IJoeRouter02.sol b/src/interfaces/IJoeRouter02.sol index 318ddd6..1598089 100644 --- a/src/interfaces/IJoeRouter02.sol +++ b/src/interfaces/IJoeRouter02.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IJoeRouter01} from "./IJoeRouter01.sol"; diff --git a/src/interfaces/ILBFactory.sol b/src/interfaces/ILBFactory.sol index a008814..57a3146 100644 --- a/src/interfaces/ILBFactory.sol +++ b/src/interfaces/ILBFactory.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/interfaces/ILBFlashLoanCallback.sol b/src/interfaces/ILBFlashLoanCallback.sol index 6afa791..1827e39 100644 --- a/src/interfaces/ILBFlashLoanCallback.sol +++ b/src/interfaces/ILBFlashLoanCallback.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/interfaces/ILBLegacyFactory.sol b/src/interfaces/ILBLegacyFactory.sol index 4642233..ea374a1 100644 --- a/src/interfaces/ILBLegacyFactory.sol +++ b/src/interfaces/ILBLegacyFactory.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/interfaces/ILBLegacyPair.sol b/src/interfaces/ILBLegacyPair.sol index e6f6e35..8dd9dec 100644 --- a/src/interfaces/ILBLegacyPair.sol +++ b/src/interfaces/ILBLegacyPair.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/interfaces/ILBLegacyRouter.sol b/src/interfaces/ILBLegacyRouter.sol index d8ad6f9..974e230 100644 --- a/src/interfaces/ILBLegacyRouter.sol +++ b/src/interfaces/ILBLegacyRouter.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/interfaces/ILBLegacyToken.sol b/src/interfaces/ILBLegacyToken.sol index 7a06d90..8d92c97 100644 --- a/src/interfaces/ILBLegacyToken.sol +++ b/src/interfaces/ILBLegacyToken.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import "openzeppelin/utils/introspection/IERC165.sol"; diff --git a/src/interfaces/ILBPair.sol b/src/interfaces/ILBPair.sol index 00f89b1..48984fd 100644 --- a/src/interfaces/ILBPair.sol +++ b/src/interfaces/ILBPair.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/interfaces/ILBRouter.sol b/src/interfaces/ILBRouter.sol index 9497589..d969b3d 100644 --- a/src/interfaces/ILBRouter.sol +++ b/src/interfaces/ILBRouter.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/interfaces/ILBToken.sol b/src/interfaces/ILBToken.sol index 0635219..90e8bfa 100644 --- a/src/interfaces/ILBToken.sol +++ b/src/interfaces/ILBToken.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Token Interface diff --git a/src/interfaces/IPendingOwnable.sol b/src/interfaces/IPendingOwnable.sol index 6fa423d..765e830 100644 --- a/src/interfaces/IPendingOwnable.sol +++ b/src/interfaces/IPendingOwnable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Pending Ownable Interface diff --git a/src/interfaces/IWNATIVE.sol b/src/interfaces/IWNATIVE.sol index ec26b5e..8286c97 100644 --- a/src/interfaces/IWNATIVE.sol +++ b/src/interfaces/IWNATIVE.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/libraries/AddressHelper.sol b/src/libraries/AddressHelper.sol index f2ec73e..bc12b86 100644 --- a/src/libraries/AddressHelper.sol +++ b/src/libraries/AddressHelper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Address Helper Library diff --git a/src/libraries/BinHelper.sol b/src/libraries/BinHelper.sol index a42f376..b0ae6fe 100644 --- a/src/libraries/BinHelper.sol +++ b/src/libraries/BinHelper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/libraries/Clone.sol b/src/libraries/Clone.sol index 446bd97..1390b7f 100644 --- a/src/libraries/Clone.sol +++ b/src/libraries/Clone.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Clone diff --git a/src/libraries/Constants.sol b/src/libraries/Constants.sol index bab199b..eacb63f 100644 --- a/src/libraries/Constants.sol +++ b/src/libraries/Constants.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Constants Library diff --git a/src/libraries/FeeHelper.sol b/src/libraries/FeeHelper.sol index 22a15a0..2266635 100644 --- a/src/libraries/FeeHelper.sol +++ b/src/libraries/FeeHelper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {Constants} from "./Constants.sol"; diff --git a/src/libraries/ImmutableClone.sol b/src/libraries/ImmutableClone.sol index ef7b905..ddfa881 100644 --- a/src/libraries/ImmutableClone.sol +++ b/src/libraries/ImmutableClone.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Immutable Clone Library diff --git a/src/libraries/JoeLibrary.sol b/src/libraries/JoeLibrary.sol index ba4ec6d..48d076c 100644 --- a/src/libraries/JoeLibrary.sol +++ b/src/libraries/JoeLibrary.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-3.0 -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Joe Library Helper Library diff --git a/src/libraries/OracleHelper.sol b/src/libraries/OracleHelper.sol index eadc446..64ce4b7 100644 --- a/src/libraries/OracleHelper.sol +++ b/src/libraries/OracleHelper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {SampleMath} from "./math/SampleMath.sol"; import {SafeCast} from "./math/SafeCast.sol"; diff --git a/src/libraries/PairParameterHelper.sol b/src/libraries/PairParameterHelper.sol index 83436ce..57a8187 100644 --- a/src/libraries/PairParameterHelper.sol +++ b/src/libraries/PairParameterHelper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {Constants} from "./Constants.sol"; import {SafeCast} from "./math/SafeCast.sol"; diff --git a/src/libraries/PendingOwnable.sol b/src/libraries/PendingOwnable.sol index 3f4fead..252da1c 100644 --- a/src/libraries/PendingOwnable.sol +++ b/src/libraries/PendingOwnable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IPendingOwnable} from "../interfaces/IPendingOwnable.sol"; diff --git a/src/libraries/PriceHelper.sol b/src/libraries/PriceHelper.sol index e53e3a3..f587253 100644 --- a/src/libraries/PriceHelper.sol +++ b/src/libraries/PriceHelper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {Uint128x128Math} from "./math/Uint128x128Math.sol"; import {Uint256x256Math} from "./math/Uint256x256Math.sol"; diff --git a/src/libraries/ReentrancyGuard.sol b/src/libraries/ReentrancyGuard.sol index 9b783e7..439fd27 100644 --- a/src/libraries/ReentrancyGuard.sol +++ b/src/libraries/ReentrancyGuard.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Reentrancy Guard Library diff --git a/src/libraries/TokenHelper.sol b/src/libraries/TokenHelper.sol index 0b0cc3a..e613cb9 100644 --- a/src/libraries/TokenHelper.sol +++ b/src/libraries/TokenHelper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; diff --git a/src/libraries/math/BitMath.sol b/src/libraries/math/BitMath.sol index 52953dd..7a8bdab 100644 --- a/src/libraries/math/BitMath.sol +++ b/src/libraries/math/BitMath.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Bit Math Library diff --git a/src/libraries/math/Encoded.sol b/src/libraries/math/Encoded.sol index 437197f..77b5cab 100644 --- a/src/libraries/math/Encoded.sol +++ b/src/libraries/math/Encoded.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Encoded Library diff --git a/src/libraries/math/LiquidityConfigurations.sol b/src/libraries/math/LiquidityConfigurations.sol index f57d952..263db31 100644 --- a/src/libraries/math/LiquidityConfigurations.sol +++ b/src/libraries/math/LiquidityConfigurations.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {PackedUint128Math} from "./PackedUint128Math.sol"; import {Encoded} from "./Encoded.sol"; diff --git a/src/libraries/math/PackedUint128Math.sol b/src/libraries/math/PackedUint128Math.sol index cb7da16..2a484de 100644 --- a/src/libraries/math/PackedUint128Math.sol +++ b/src/libraries/math/PackedUint128Math.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {Constants} from "../Constants.sol"; diff --git a/src/libraries/math/SafeCast.sol b/src/libraries/math/SafeCast.sol index ca41a4d..aac542c 100644 --- a/src/libraries/math/SafeCast.sol +++ b/src/libraries/math/SafeCast.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Safe Cast Library diff --git a/src/libraries/math/SampleMath.sol b/src/libraries/math/SampleMath.sol index 8736e3b..1e52ff0 100644 --- a/src/libraries/math/SampleMath.sol +++ b/src/libraries/math/SampleMath.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {Encoded} from "./Encoded.sol"; diff --git a/src/libraries/math/TreeMath.sol b/src/libraries/math/TreeMath.sol index 43c6f2b..52246d6 100644 --- a/src/libraries/math/TreeMath.sol +++ b/src/libraries/math/TreeMath.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {BitMath} from "./BitMath.sol"; diff --git a/src/libraries/math/Uint128x128Math.sol b/src/libraries/math/Uint128x128Math.sol index 63e6954..02cb64c 100644 --- a/src/libraries/math/Uint128x128Math.sol +++ b/src/libraries/math/Uint128x128Math.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; import {Constants} from "../Constants.sol"; import {BitMath} from "./BitMath.sol"; diff --git a/src/libraries/math/Uint256x256Math.sol b/src/libraries/math/Uint256x256Math.sol index 817543d..b86ba92 100644 --- a/src/libraries/math/Uint256x256Math.sol +++ b/src/libraries/math/Uint256x256Math.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.10; +pragma solidity ^0.8.10; /** * @title Liquidity Book Uint256x256 Math Library