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
Name | Type | Description |
---|---|---|
node | bytes32 | The node to update. |
key | string | The key to set. |
value | string | The text data value to set. |
supportsInterface
function supportsInterface(bytes4 _interfaceId) public view virtual override returns (bool);