UNPKG

@authereum/resolution

Version:
24 lines (23 loc) 1 kB
import { EthereumNamingService } from './EthereumNamingService'; import { ProxyReaderMap } from './types'; import { SourceDefinition, ResolutionResponse, CryptoRecords } from './publicTypes'; export default class Cns extends EthereumNamingService { static TwitterVerificationAddress: string; static ProxyReaderMap: ProxyReaderMap; constructor(source?: SourceDefinition); protected readerAbi(): any; protected defaultRegistry(network: number): string | undefined; isSupportedDomain(domain: string): boolean; resolver(domain: string): Promise<string>; owner(domain: string): Promise<string>; allRecords(domain: string): Promise<CryptoRecords>; twitter(domain: string): Promise<string>; records(domain: string, keys: string[]): Promise<CryptoRecords>; resolve(_: string): Promise<ResolutionResponse>; private getVerifiedData; private getStandardRecords; private getAllRecords; private getMany; private getManyByHash; private get; }