mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 10:12:19 +00:00
da20785685
Former-commit-id: 23f542f43b4b493e38f5aa4c29788ed93a63b43b [formerly 71b23a6a28eb045fcfeab6329de69f1e5455486b] Former-commit-id: d12b3a6decc876f010a71f98e11df7387c1aaf2a
24 lines
964 B
Solidity
24 lines
964 B
Solidity
pragma solidity ^0.4.0;
|
|
|
|
contract AbstractENS {
|
|
function owner(bytes32 node) constant returns(address);
|
|
function resolver(bytes32 node) constant returns(address);
|
|
function ttl(bytes32 node) constant returns(uint64);
|
|
function setOwner(bytes32 node, address owner);
|
|
function setSubnodeOwner(bytes32 node, bytes32 label, address owner);
|
|
function setResolver(bytes32 node, address resolver);
|
|
function setTTL(bytes32 node, uint64 ttl);
|
|
|
|
// Logged when the owner of a node assigns a new owner to a subnode.
|
|
event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);
|
|
|
|
// Logged when the owner of a node transfers ownership to a new account.
|
|
event Transfer(bytes32 indexed node, address owner);
|
|
|
|
// Logged when the resolver for a node changes.
|
|
event NewResolver(bytes32 indexed node, address resolver);
|
|
|
|
// Logged when the TTL of a node changes
|
|
event NewTTL(bytes32 indexed node, uint64 ttl);
|
|
}
|