proposal-43/contracts/interfaces/IENSRegistry.sol
2023-12-21 20:51:32 +00:00

18 lines
571 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
interface IENSRegistry {
function setSubnodeOwner(bytes32 node, bytes32 label, address owner) external returns (bytes32);
function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) external;
function resolver(bytes32 node) external view returns (address);
function setOwner(bytes32 node, address owner) external;
function owner(bytes32 node) external view returns (address);
function recordExists(bytes32 node) external view returns (bool);
}