Skip to content

Commit 886088e

Browse files
authored
Merge pull request #6 from NFTX-project/floating-pragmas-for-interfaces
use floating solc version for interfaces
2 parents b1e0c03 + 2d6efaf commit 886088e

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/interfaces/INFTXFeeDistributorV3.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity =0.8.15;
2+
pragma solidity ^0.8.0;
33

44
import {IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
55
import {INFTXRouter} from "@src/interfaces/INFTXRouter.sol";

src/interfaces/INFTXInventoryStakingV3.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity =0.8.15;
2+
pragma solidity ^0.8.0;
33

44
import {IWETH9} from "@uni-periphery/interfaces/external/IWETH9.sol";
55
import {IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

src/interfaces/INFTXRouter.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity =0.8.15;
2+
pragma solidity ^0.8.0;
33

44
import {IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
55

src/interfaces/external/IPermitAllowanceTransfer.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity =0.8.15;
2+
pragma solidity ^0.8.0;
33

44
/// @title AllowanceTransfer
55
/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts

src/interfaces/external/IUniswapV2Router02.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pragma solidity =0.8.15;
1+
pragma solidity ^0.8.0;
22

33
interface IUniswapV2Router02 {
44
function swapExactTokensForTokens(

src/interfaces/external/IUniversalRouter.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity =0.8.15;
2+
pragma solidity ^0.8.0;
33

44
interface IUniversalRouter {
55
/// @notice Executes encoded commands along with provided inputs. Reverts if deadline has expired.

src/uniswap/v3-periphery/interfaces/ISwapRouter.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
2-
pragma solidity =0.8.15;
2+
pragma solidity ^0.8.0;
33

44
import {IUniswapV3SwapCallback} from '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';
55
import {IPeripheryImmutableState} from "./IPeripheryImmutableState.sol";

src/uniswap/v3-periphery/interfaces/external/IWETH9.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
2-
pragma solidity =0.8.15;
2+
pragma solidity ^0.8.0;
33

44
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
55

0 commit comments

Comments
 (0)