Methods
Abstract address
- address(domain: string, currencyTicker: string): Promise<string>
-
Parameters
-
domain: string
-
currencyTicker: string
Returns Promise<string>
Protected ensureSupportedDomain
- ensureSupportedDomain(domain: string): void
Abstract isSupportedDomain
- isSupportedDomain(domain: string): boolean
-
Parameters
Returns boolean
Abstract isSupportedNetwork
- isSupportedNetwork(): boolean
Abstract namehash
- namehash(domain: string): string
-
Parameters
Returns string
Protected Abstract normalizeSource
Abstract owner
- owner(domain: string): Promise<string>
-
Parameters
Returns Promise<string>
Abstract record
- record(domain: string, key: string): Promise<string>
-
Parameters
-
domain: string
-
key: string
Returns Promise<string>
serviceName
- serviceName(domain: string): string
-
Parameters
Returns string
Abstract class for different Naming Service supports like