github.com/klaytn/klaytn@v1.12.1/contracts/kip13/InterfaceIdentifier.sol (about)

     1  pragma solidity ^0.5.6;
     2  
     3  interface InterfaceIdentifier {
     4      /// @notice Query if a contract implements an interface
     5      /// @param interfaceID The interface identifier, as defined in KIP-13.
     6      /// @dev Interface identifier is defined in KIP-13. This function
     7      ///  uses less than 30,000 gas.
     8      /// @return `true` if the contract implements `interfaceID` and
     9      ///  `interfaceID` is not 0xffffffff, `false` otherwise.
    10      function supportsInterface(bytes4 interfaceID) external view returns (bool);
    11  }