IResolver
Interface · src/framework/utils/ens/IResolver.sol
Minimal resolver interface for MemberRegistry. Covers what the registry calls during subnode lifecycle and record migration. Members call the full PublicResolver directly for additional record management.
security-contact: sirt@aragon.org
Functions
approve
function approve(bytes32 node, address delegate, bool approved) externalSelector: 0xa4b91a01
Approve a delegate to manage resolver records for a specific node.
Dev: Per-node delegation. Available in ens-contracts >= v0.0.19.
clearRecords
function clearRecords(bytes32 node) externalSelector: 0x3603d758
Invalidate all resolver records for a node by incrementing the version counter.
isApprovedFor
function isApprovedFor(
address owner,
bytes32 node,
address delegate
) external view returns (bool)Selector: 0xa9784b3e
Check if a delegate is approved for a node by a given owner.
setAddr
function setAddr(bytes32 node, address addr) externalSelector: 0xd5fa2b00
Set the address record for a node.
setContenthash
function setContenthash(bytes32 node, bytes hash) externalSelector: 0x304e6ade
Set the contenthash for a node.
setText
function setText(bytes32 node, string key, string value) externalSelector: 0x10f13a8c
Set a text record for a node.