{ "contractName": "ENSRegistry", "abi": [ { "inputs": [], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "node", "type": "bytes32" }, { "indexed": true, "name": "label", "type": "bytes32" }, { "indexed": false, "name": "owner", "type": "address" } ], "name": "NewOwner", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "node", "type": "bytes32" }, { "indexed": false, "name": "owner", "type": "address" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "node", "type": "bytes32" }, { "indexed": false, "name": "resolver", "type": "address" } ], "name": "NewResolver", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "node", "type": "bytes32" }, { "indexed": false, "name": "ttl", "type": "uint64" } ], "name": "NewTTL", "type": "event" }, { "constant": false, "inputs": [ { "name": "node", "type": "bytes32" }, { "name": "owner", "type": "address" } ], "name": "setOwner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "node", "type": "bytes32" }, { "name": "label", "type": "bytes32" }, { "name": "owner", "type": "address" } ], "name": "setSubnodeOwner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "node", "type": "bytes32" }, { "name": "resolver", "type": "address" } ], "name": "setResolver", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "node", "type": "bytes32" }, { "name": "ttl", "type": "uint64" } ], "name": "setTTL", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "node", "type": "bytes32" } ], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "node", "type": "bytes32" } ], "name": "resolver", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "node", "type": "bytes32" } ], "name": "ttl", "outputs": [ { "name": "", "type": "uint64" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "devdoc": { "methods": { "constructor": { "details": "Constructs a new ENS registrar." }, "owner(bytes32)": { "details": "Returns the address that owns the specified node.", "params": { "node": "The specified node." }, "return": "address of the owner." }, "resolver(bytes32)": { "details": "Returns the address of the resolver for the specified node.", "params": { "node": "The specified node." }, "return": "address of the resolver." }, "setOwner(bytes32,address)": { "details": "Transfers ownership of a node to a new address.", "params": { "node": "The node to transfer ownership of.", "owner": "The address of the new owner." } }, "setResolver(bytes32,address)": { "details": "Sets the resolver address for the specified node.", "params": { "node": "The node to update.", "resolver": "The address of the resolver." } }, "setSubnodeOwner(bytes32,bytes32,address)": { "details": "Transfers ownership of a subnode keccak256(node, label) to a new address. May only be called by the owner of the parent node.", "params": { "label": "The hash of the label specifying the subnode.", "node": "The parent node.", "owner": "The address of the new owner." } }, "setTTL(bytes32,uint64)": { "details": "Sets the TTL for the specified node.", "params": { "node": "The node to update.", "ttl": "The TTL in seconds." } }, "ttl(bytes32)": { "details": "Returns the TTL of a node, and any records associated with it.", "params": { "node": "The specified node." }, "return": "ttl of the node." } }, "title": "Modified ENS registry contract." }, "userdoc": { "methods": {}, "notice": "https://github.com/ensdomains/ens/blob/master/contracts/ENSRegistry.sol" } }