foundry_common::ens

Module EnsResolver

Source
Expand description

ENS Resolver interface.

contract EnsResolver {
    function addr(bytes32 node) view returns (address);
    function name(bytes32 node) view returns (string);
}

Structs§

  • A EnsResolver instance.
  • Returns the address associated with the specified node. Function with signature addr(bytes32) and selector 0x3b3b57de.
  • Returns the address associated with the specified node. Container type for the return parameters of the addr(bytes32) function.
  • Returns the name associated with an ENS node, for reverse records. Function with signature name(bytes32) and selector 0x691f3431.
  • Returns the name associated with an ENS node, for reverse records. Container type for the return parameters of the name(bytes32) function.

Enums§

Functions§

  • Creates a new wrapper around an on-chain EnsResolver contract instance.