poseidon-solidity-example/lib/forge-std/src/interfaces/IERC165.sol
lib/forge-std/src/interfaces/IERC165.solRaw
1// SPDX-License-Identifier: MIT
2pragma solidity >=0.6.2;
3
4interface IERC165 {
5 /// @notice Query if a contract implements an interface
6 /// @param interfaceID The interface identifier, as specified in ERC-165
7 /// @dev Interface identification is specified in ERC-165. This function
8 /// uses less than 30,000 gas.
9 /// @return `true` if the contract implements `interfaceID` and
10 /// `interfaceID` is not 0xffffffff, `false` otherwise
11 function supportsInterface(bytes4 interfaceID) external view returns (bool);
12}