All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eip165.solidity.ERC165.sol Maven / Gradle / Ivy

The newest version!
pragma solidity ^0.4.20;


/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
interface ERC165 {
    /// @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.
    /// @return `true` if the contract implements `interfaceID` and
    ///  `interfaceID` is not 0xffffffff, `false` otherwise
    function supportsInterface(bytes4 interfaceID) external view returns (bool);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy