You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
789 B
17 lines
789 B
pragma solidity ^0.5.0;
|
|
|
|
/**
|
|
* @title IERC1820Implementer
|
|
* Interface for contracts that will be registered as implementers in the ERC1820 registry.
|
|
* @notice For more details, see https://eips.ethereum.org/EIPS/eip-1820
|
|
*/
|
|
interface IERC1820Implementer {
|
|
/**
|
|
* @notice Indicates whether the contract implements the interface `interfaceHash` for the address `account` or
|
|
* not.
|
|
* @param interfaceHash keccak256 hash of the name of the interface
|
|
* @param account Address for which the contract will implement the interface
|
|
* @return ERC1820_ACCEPT_MAGIC only if the contract implements `interfaceHash` for the address `account`.
|
|
*/
|
|
function canImplementInterfaceForAddress(bytes32 interfaceHash, address account) external view returns (bytes32);
|
|
}
|
|
|