You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
611 B
20 lines
611 B
/** |
|
* Returns the ENS %%name%% normalized. |
|
*/ |
|
export declare function ensNormalize(name: string): string; |
|
/** |
|
* Returns ``true`` if %%name%% is a valid ENS name. |
|
*/ |
|
export declare function isValidName(name: string): name is string; |
|
/** |
|
* Returns the [[link-namehash]] for %%name%%. |
|
*/ |
|
export declare function namehash(name: string): string; |
|
/** |
|
* Returns the DNS encoded %%name%%. |
|
* |
|
* This is used for various parts of ENS name resolution, such |
|
* as the wildcard resolution. |
|
*/ |
|
export declare function dnsEncode(name: string, _maxLength?: number): string; |
|
//# sourceMappingURL=namehash.d.ts.map
|