From 59abd6b1813f50fccb605e7004c638a6a873115c Mon Sep 17 00:00:00 2001 From: Marco Tabasco Date: Thu, 4 Jul 2024 17:56:38 +0200 Subject: [PATCH] unlock pragma for interfaces --- contracts/interfaces/ISSVClusters.sol | 2 +- contracts/interfaces/ISSVDAO.sol | 2 +- contracts/interfaces/ISSVNetwork.sol | 2 +- contracts/interfaces/ISSVNetworkCore.sol | 2 +- contracts/interfaces/ISSVOperators.sol | 2 +- contracts/interfaces/ISSVOperatorsWhitelist.sol | 2 +- contracts/interfaces/ISSVViews.sol | 2 +- contracts/interfaces/external/ISSVWhitelistingContract.sol | 2 +- contracts/test/interfaces/ISSVNetworkT.sol | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/contracts/interfaces/ISSVClusters.sol b/contracts/interfaces/ISSVClusters.sol index ca418194..0da81ff8 100644 --- a/contracts/interfaces/ISSVClusters.sol +++ b/contracts/interfaces/ISSVClusters.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import {ISSVNetworkCore} from "./ISSVNetworkCore.sol"; diff --git a/contracts/interfaces/ISSVDAO.sol b/contracts/interfaces/ISSVDAO.sol index 5c6d4057..a91dc3b5 100644 --- a/contracts/interfaces/ISSVDAO.sol +++ b/contracts/interfaces/ISSVDAO.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import {ISSVNetworkCore} from "./ISSVNetworkCore.sol"; diff --git a/contracts/interfaces/ISSVNetwork.sol b/contracts/interfaces/ISSVNetwork.sol index 2422d5ad..b71465c0 100644 --- a/contracts/interfaces/ISSVNetwork.sol +++ b/contracts/interfaces/ISSVNetwork.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import {ISSVNetworkCore} from "./ISSVNetworkCore.sol"; import {ISSVOperators} from "./ISSVOperators.sol"; diff --git a/contracts/interfaces/ISSVNetworkCore.sol b/contracts/interfaces/ISSVNetworkCore.sol index 8e2713b0..b36812ae 100644 --- a/contracts/interfaces/ISSVNetworkCore.sol +++ b/contracts/interfaces/ISSVNetworkCore.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; interface ISSVNetworkCore { /***********/ diff --git a/contracts/interfaces/ISSVOperators.sol b/contracts/interfaces/ISSVOperators.sol index b236db69..19548c37 100644 --- a/contracts/interfaces/ISSVOperators.sol +++ b/contracts/interfaces/ISSVOperators.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import {ISSVNetworkCore} from "./ISSVNetworkCore.sol"; diff --git a/contracts/interfaces/ISSVOperatorsWhitelist.sol b/contracts/interfaces/ISSVOperatorsWhitelist.sol index 5cf4ec76..fea9fd53 100644 --- a/contracts/interfaces/ISSVOperatorsWhitelist.sol +++ b/contracts/interfaces/ISSVOperatorsWhitelist.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import {ISSVNetworkCore} from "./ISSVNetworkCore.sol"; import {ISSVWhitelistingContract} from "./external/ISSVWhitelistingContract.sol"; diff --git a/contracts/interfaces/ISSVViews.sol b/contracts/interfaces/ISSVViews.sol index 87960d8c..2e06ae31 100644 --- a/contracts/interfaces/ISSVViews.sol +++ b/contracts/interfaces/ISSVViews.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import {ISSVNetworkCore} from "./ISSVNetworkCore.sol"; diff --git a/contracts/interfaces/external/ISSVWhitelistingContract.sol b/contracts/interfaces/external/ISSVWhitelistingContract.sol index c37e9b24..f073d38e 100644 --- a/contracts/interfaces/external/ISSVWhitelistingContract.sol +++ b/contracts/interfaces/external/ISSVWhitelistingContract.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; interface ISSVWhitelistingContract { /// @notice Checks if the caller is whitelisted diff --git a/contracts/test/interfaces/ISSVNetworkT.sol b/contracts/test/interfaces/ISSVNetworkT.sol index bc62a53b..7d5b9b21 100644 --- a/contracts/test/interfaces/ISSVNetworkT.sol +++ b/contracts/test/interfaces/ISSVNetworkT.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.24; +pragma solidity ^0.8.20; import "../../interfaces/ISSVNetworkCore.sol"; import "../../interfaces/ISSVOperators.sol";