* Now compiling in a separate directory using truffle 5. * Ported to 0.5.1, now compiling using 0.5.1. * test now also compiles using the truffle 5 hack. * Downgraded to 0.5.0. * Sorted scripts. * Cleaned up the compile script a bit.
16 lines
484 B
Solidity
16 lines
484 B
Solidity
pragma solidity ^0.5.0;
|
|
|
|
/**
|
|
* @title IERC165
|
|
* @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
|
|
*/
|
|
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);
|
|
}
|