RNS Solidity artifacts - String Resolver
String Resolver provides an RNS domain of a string resolution.
- Rootstock (RSK) Mainnet:
0x2e4ae4ce78261f0efd8d859cf54966d7b2a7ae11
- Rootstock (RSK) Testnet:
0xc980a15304b70a6a00ce8fd376e8ce78e15c5dd8
It provides two methods:
function str(bytes32 node) external view returns (string memory)
Returns the current str
record for a domain.
Params:
node
domain
Returns:
str
record
function setStr(bytes32 node, string calldata newStr) external onlyNodeOwner(node)
Sets the str
record for a domain.
Params:
node
domainnewStr
record value
Emits:
event NewStr(bytes32 indexed node, string str)