Smart Contracts
Contracts
Resolvers
TextResolver

TextResolver

Git Source (opens in a new tab)

Inherits: ITextResolver, BaseResolver

State Variables

versionable_texts

mapping(uint256 => mapping(bytes32 => mapping(string => string))) versionable_texts;

Functions

text

function text(bytes32 node, string calldata key) external view returns (string memory);

setText

Sets the text data associated with an ENS node and key. May only be called by the owner of that node in the ENS registry.

function setText(bytes32 node, string calldata key, string calldata value) public virtual authorised(node);

Parameters

NameTypeDescription
nodebytes32The node to update.
keystringThe key to set.
valuestringThe text data value to set.

supportsInterface

function supportsInterface(bytes4 _interfaceId) public view virtual override returns (bool);