Expand description
ENS Resolver interface.
contract EnsResolver {
function addr(bytes32 node) view returns (address);
function name(bytes32 node) view returns (string);
}
Structs§
- EnsResolver
Instance - A
EnsResolver
instance. - addr
Call - Returns the address associated with the specified node.
Function with signature
addr(bytes32)
and selector0x3b3b57de
. - addr
Return - Returns the address associated with the specified node.
Container type for the return parameters of the
addr(bytes32)
function. - name
Call - Returns the name associated with an ENS node, for reverse records.
Function with signature
name(bytes32)
and selector0x691f3431
. - name
Return - Returns the name associated with an ENS node, for reverse records.
Container type for the return parameters of the
name(bytes32)
function.
Enums§
- EnsResolver
Calls - Container for all the
EnsResolver
function calls.
Functions§
- new
- Creates a new wrapper around an on-chain
EnsResolver
contract instance.