AbstractENS.sol 964 B

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