我搜索了 src/ 文件夹里面的代码, "IERC165" 只定义了一次。
下面就是 "grep 'IERC165' -r contracts/src" 的结果:
contracts/src/lib/IERC721A.sol: // IERC165
contracts/src/lib/ERC721A.sol: // IERC165
contracts/src/lib/IERC2981.sol:import {IERC165} from "./IERC165.sol";
contracts/src/lib/IERC2981.sol:interface IERC2981 is IERC165 {
contracts/src/lib/ERC165.sol:import {IERC165} from "./IERC165.sol";
contracts/src/lib/ERC165.sol: * @dev Implementation of the {IERC165} interface.
contracts/src/lib/ERC165.sol:abstract contract ERC165 is IERC165 {
contracts/src/lib/ERC165.sol: * @dev See {IERC165-supportsInterface}.
contracts/src/lib/ERC165.sol: return interfaceId == type(IERC165).interfaceId;
contracts/src/lib/ERC2981.sol:import {IERC165} from "./IERC165.sol";
contracts/src/lib/ERC2981.sol: * @dev See {IERC165-supportsInterface}.
contracts/src/lib/ERC2981.sol: ) public view virtual override(IERC165, ERC165) returns (bool) {
contracts/src/lib/IERC165.sol:// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
contracts/src/lib/IERC165.sol:interface IERC165 {
求教高手,如何解决这个错误?