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.
Properties
Section titled “Properties”foreign?
Section titled “foreign?”
optionalforeign?:string
Defined in: names-suite.ts:23
A name shape another resolver owns (alice.sol for ENS) — supports must be false.
invalid
Section titled “invalid”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
Section titled “address”address:
string
chain:
string
name:
string
noRecord?
Section titled “noRecord?”
optionalnoRecord?:object
Defined in: names-suite.ts:19
A name that exists but has no record for this chain (optional).
chain:
string
name:
string
unregistered
Section titled “unregistered”unregistered:
string
Defined in: names-suite.ts:15
A name the resolver serves but that is not registered.
unsupportedChain?
Section titled “unsupportedChain?”
optionalunsupportedChain?:string
Defined in: names-suite.ts:21
A chain the resolver cannot serve at all (optional).