mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-10 22:58:08 -05:00
misc: Interfaces version >=0.6.0
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title ICollectNFT
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title IERC721Burnable
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title IERC721MetaTx
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title IFollowModule
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title ICollectModule
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title ILegacyCollectNFT
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title IReferenceModule
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title ILensHubEventHooks
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title ILensImplGetters
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.15;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title IModuleGlobals
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
pragma solidity >=0.6.0;
|
||||
|
||||
/**
|
||||
* @title ITokenHandleRegistry
|
||||
|
||||
Reference in New Issue
Block a user