diff --git a/contracts/interfaces/ICollectModule.sol b/contracts/interfaces/ICollectModule.sol index a7847d2..91781ef 100644 --- a/contracts/interfaces/ICollectModule.sol +++ b/contracts/interfaces/ICollectModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; import {Types} from 'contracts/libraries/constants/Types.sol'; diff --git a/contracts/interfaces/ICollectNFT.sol b/contracts/interfaces/ICollectNFT.sol index a524fcc..7826cc5 100644 --- a/contracts/interfaces/ICollectNFT.sol +++ b/contracts/interfaces/ICollectNFT.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title ICollectNFT diff --git a/contracts/interfaces/IERC721Burnable.sol b/contracts/interfaces/IERC721Burnable.sol index 97fa0eb..0ba2261 100644 --- a/contracts/interfaces/IERC721Burnable.sol +++ b/contracts/interfaces/IERC721Burnable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title IERC721Burnable diff --git a/contracts/interfaces/IERC721MetaTx.sol b/contracts/interfaces/IERC721MetaTx.sol index d4272cc..5da9e3c 100644 --- a/contracts/interfaces/IERC721MetaTx.sol +++ b/contracts/interfaces/IERC721MetaTx.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity >=0.6.0; /** * @title IERC721MetaTx diff --git a/contracts/interfaces/IERC721Timestamped.sol b/contracts/interfaces/IERC721Timestamped.sol index 12beb70..2518bab 100644 --- a/contracts/interfaces/IERC721Timestamped.sol +++ b/contracts/interfaces/IERC721Timestamped.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; +pragma solidity >=0.6.0; import {Types} from 'contracts/libraries/constants/Types.sol'; diff --git a/contracts/interfaces/IFollowModule.sol b/contracts/interfaces/IFollowModule.sol index 248bc01..8403fb1 100644 --- a/contracts/interfaces/IFollowModule.sol +++ b/contracts/interfaces/IFollowModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title IFollowModule diff --git a/contracts/interfaces/IFollowNFT.sol b/contracts/interfaces/IFollowNFT.sol index ab2a5fd..12720d5 100644 --- a/contracts/interfaces/IFollowNFT.sol +++ b/contracts/interfaces/IFollowNFT.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; import {Types} from 'contracts/libraries/constants/Types.sol'; diff --git a/contracts/interfaces/ILegacyCollectModule.sol b/contracts/interfaces/ILegacyCollectModule.sol index 7d33c94..3179f5d 100644 --- a/contracts/interfaces/ILegacyCollectModule.sol +++ b/contracts/interfaces/ILegacyCollectModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title ICollectModule diff --git a/contracts/interfaces/ILegacyCollectNFT.sol b/contracts/interfaces/ILegacyCollectNFT.sol index 890f069..414a659 100644 --- a/contracts/interfaces/ILegacyCollectNFT.sol +++ b/contracts/interfaces/ILegacyCollectNFT.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title ILegacyCollectNFT diff --git a/contracts/interfaces/ILegacyReferenceModule.sol b/contracts/interfaces/ILegacyReferenceModule.sol index 5b7e469..6fb6490 100644 --- a/contracts/interfaces/ILegacyReferenceModule.sol +++ b/contracts/interfaces/ILegacyReferenceModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title IReferenceModule diff --git a/contracts/interfaces/ILensERC721.sol b/contracts/interfaces/ILensERC721.sol index db20029..5ee9a9b 100644 --- a/contracts/interfaces/ILensERC721.sol +++ b/contracts/interfaces/ILensERC721.sol @@ -1,7 +1,6 @@ // SPDX-License-Identifier: MIT -// TODO: Replace solidity version in all interfaces with >0.6.0 -pragma solidity >0.6.0; +pragma solidity >=0.6.0; import {IERC721} from '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import {IERC721Timestamped} from 'contracts/interfaces/IERC721Timestamped.sol'; diff --git a/contracts/interfaces/ILensGovernable.sol b/contracts/interfaces/ILensGovernable.sol index 7659c36..9989daf 100644 --- a/contracts/interfaces/ILensGovernable.sol +++ b/contracts/interfaces/ILensGovernable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; import {Types} from 'contracts/libraries/constants/Types.sol'; diff --git a/contracts/interfaces/ILensHandles.sol b/contracts/interfaces/ILensHandles.sol index da78b74..1d5161f 100644 --- a/contracts/interfaces/ILensHandles.sol +++ b/contracts/interfaces/ILensHandles.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity >=0.6.0; import {IERC721} from '@openzeppelin/contracts/token/ERC721/IERC721.sol'; diff --git a/contracts/interfaces/ILensHub.sol b/contracts/interfaces/ILensHub.sol index b5c33e0..4a32cfe 100644 --- a/contracts/interfaces/ILensHub.sol +++ b/contracts/interfaces/ILensHub.sol @@ -1,7 +1,6 @@ // SPDX-License-Identifier: MIT -// TODO: Replace solidity version in all interfaces with >0.6.0 -pragma solidity >0.6.0; +pragma solidity >=0.6.0; import {ILensProtocol} from 'contracts/interfaces/ILensProtocol.sol'; import {ILensGovernable} from 'contracts/interfaces/ILensGovernable.sol'; diff --git a/contracts/interfaces/ILensHubEventHooks.sol b/contracts/interfaces/ILensHubEventHooks.sol index fa324db..9820e17 100644 --- a/contracts/interfaces/ILensHubEventHooks.sol +++ b/contracts/interfaces/ILensHubEventHooks.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title ILensHubEventHooks diff --git a/contracts/interfaces/ILensHubInitializable.sol b/contracts/interfaces/ILensHubInitializable.sol index 7845d06..35c46cd 100644 --- a/contracts/interfaces/ILensHubInitializable.sol +++ b/contracts/interfaces/ILensHubInitializable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; import {Types} from 'contracts/libraries/constants/Types.sol'; diff --git a/contracts/interfaces/ILensImplGetters.sol b/contracts/interfaces/ILensImplGetters.sol index f8f0950..cde9d66 100644 --- a/contracts/interfaces/ILensImplGetters.sol +++ b/contracts/interfaces/ILensImplGetters.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title ILensImplGetters diff --git a/contracts/interfaces/ILensProtocol.sol b/contracts/interfaces/ILensProtocol.sol index 4e5931e..2e08701 100644 --- a/contracts/interfaces/ILensProtocol.sol +++ b/contracts/interfaces/ILensProtocol.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; import {Types} from 'contracts/libraries/constants/Types.sol'; @@ -86,7 +86,7 @@ interface ILensProtocol { * @param delegatedExecutors The array of delegated executors to set the approval for. * @param approvals The array of booleans indicating the corresponding executor's new approval status. */ - function changeCurrentDelegatedExecutorsConfig( + function changeDelegatedExecutorsConfig( uint256 delegatorProfileId, address[] calldata delegatedExecutors, bool[] calldata approvals @@ -375,7 +375,6 @@ interface ILensProtocol { * @return bool True if the address is approved as a delegated executor to act on behalf of the profile in the * current configuration, false otherwise. */ - // TODO: Rename to `isDelegatedExecutorApprovedInCurrentConfig` ? function isDelegatedExecutorApproved( uint256 delegatorProfileId, address delegatedExecutor diff --git a/contracts/interfaces/IModuleGlobals.sol b/contracts/interfaces/IModuleGlobals.sol index 03afafe..e9a11e5 100644 --- a/contracts/interfaces/IModuleGlobals.sol +++ b/contracts/interfaces/IModuleGlobals.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; /** * @title IModuleGlobals diff --git a/contracts/interfaces/IPublicationActionModule.sol b/contracts/interfaces/IPublicationActionModule.sol index e5d5626..a9a076a 100644 --- a/contracts/interfaces/IPublicationActionModule.sol +++ b/contracts/interfaces/IPublicationActionModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; import {Types} from 'contracts/libraries/constants/Types.sol'; diff --git a/contracts/interfaces/IReferenceModule.sol b/contracts/interfaces/IReferenceModule.sol index 225add8..6723ecb 100644 --- a/contracts/interfaces/IReferenceModule.sol +++ b/contracts/interfaces/IReferenceModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.15; +pragma solidity >=0.6.0; import {Types} from 'contracts/libraries/constants/Types.sol'; diff --git a/contracts/interfaces/ITokenHandleRegistry.sol b/contracts/interfaces/ITokenHandleRegistry.sol index 80e2d3c..0e153d1 100644 --- a/contracts/interfaces/ITokenHandleRegistry.sol +++ b/contracts/interfaces/ITokenHandleRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity >=0.6.0; /** * @title ITokenHandleRegistry