github.com/aerth/aquachain@v1.4.1/contracts/ens/contract/AbstractENS.sol (about) 1 pragma solidity ^0.4.0; 2 3 contract AbstractENS { 4 function owner(bytes32 node) constant returns(address); 5 function resolver(bytes32 node) constant returns(address); 6 function ttl(bytes32 node) constant returns(uint64); 7 function setOwner(bytes32 node, address owner); 8 function setSubnodeOwner(bytes32 node, bytes32 label, address owner); 9 function setResolver(bytes32 node, address resolver); 10 function setTTL(bytes32 node, uint64 ttl); 11 12 // Logged when the owner of a node assigns a new owner to a subnode. 13 event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); 14 15 // Logged when the owner of a node transfers ownership to a new account. 16 event Transfer(bytes32 indexed node, address owner); 17 18 // Logged when the resolver for a node changes. 19 event NewResolver(bytes32 indexed node, address resolver); 20 21 // Logged when the TTL of a node changes 22 event NewTTL(bytes32 indexed node, uint64 ttl); 23 }