recovery alpha + ens based recoverer
This commit is contained in:
parent
a8bede2b86
commit
bd4b888931
|
@ -0,0 +1,14 @@
|
|||
pragma solidity ^0.4.17;
|
||||
|
||||
import "./Resolver.sol";
|
||||
|
||||
|
||||
contract ENS {
|
||||
function owner(bytes32 node) public constant returns (address);
|
||||
function resolver(bytes32 node) public constant returns (Resolver);
|
||||
function ttl(bytes32 node) public constant returns (uint64);
|
||||
function setOwner(bytes32 node, address owner) public;
|
||||
function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public;
|
||||
function setResolver(bytes32 node, address resolver) public;
|
||||
function setTTL(bytes32 node, uint64 ttl) public;
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
pragma solidity ^0.4.17;
|
||||
|
||||
contract Resolver {
|
||||
function addr(bytes32 node) public constant returns (address);
|
||||
}
|
Loading…
Reference in New Issue