123456789101112131415 |
- pragma solidity ^0.5.7;
- /**
- * @title IERC165
- * @dev https://eips.ethereum.org/EIPS/eip-165
- */
- interface IERC165 {
- /**
- * @notice Query if a contract implements an interface
- * @param interfaceId The interface identifier, as specified in ERC-165
- * @dev Interface identification is specified in ERC-165. This function
- * uses less than 30,000 gas.
- */
- function supportsInterface(bytes4 interfaceId) external view returns (bool);
- }
|