Skip to content
docs

NamesSuiteFixture

Defined in: names-suite.ts:11

What every NameResolver promises: a known name resolves to the expected address for its chain, bad input is refused by code (no I/O for invalid names), a name with no record for a chain is no-address-for-chain rather than another chain’s address, reverse lookups are forward-verified, and supports is a pure shape check.

optional foreign?: string

Defined in: names-suite.ts:23

A name shape another resolver owns (alice.sol for ENS) — supports must be false.


invalid: string

Defined in: names-suite.ts:17

Input that must be refused as invalid-name.


known: object

Defined in: names-suite.ts:13

A name that resolves on chain to address (case-insensitive compare).

address: string

chain: string

name: string


optional noRecord?: object

Defined in: names-suite.ts:19

A name that exists but has no record for this chain (optional).

chain: string

name: string


unregistered: string

Defined in: names-suite.ts:15

A name the resolver serves but that is not registered.


optional unsupportedChain?: string

Defined in: names-suite.ts:21

A chain the resolver cannot serve at all (optional).