Skip to content
Lattice

IAddrResolver

Git Source

Title: IAddrResolver

Authors: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80), Vendored minimal subset of ENS's IAddrResolver (https://github.com/ensdomains/ens-contracts). Upstream license: MIT.

Minimal vendored interface for an ENS address resolver (EIP-137 addr), used by ENSResolver for forward resolution.

Functions

addr

Returns the address associated with an ENS node.

function addr(bytes32 node) external view returns (address payable);

Parameters

NameTypeDescription
nodebytes32The ENS node (namehash) to resolve.

Returns

NameTypeDescription
<none>address payableThe associated address (zero if unset).