embark/lib/modules/ens/contracts/ResolverInterface.sol
VoR0220 cbc0b1b9fd add ens contracts
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:01:36 -04:00

11 lines
429 B
Solidity

pragma solidity ^0.4.18;
contract ResolverInterface {
function PublicResolver(address ensAddr) public;
function setAddr(bytes32 node, address addr) public;
function setHash(bytes32 node, bytes32 hash) public;
function addr(bytes32 node) public view returns (address);
function hash(bytes32 node) public view returns (bytes32);
function supportsInterface(bytes4 interfaceID) public pure returns (bool);
}