-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
export * from './hooks.js' | ||
export { resolverInterfaces } from './interfaces.js' | ||
export type { ParamWithClients } from './client.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
export const resolverInterfaces = { | ||
/** | ||
* Addr addr(bytes32 node, uint256 coinType) | ||
* Legacy please use addrMulticoin | ||
*/ | ||
addr: '0x3b3b57de', | ||
/** | ||
* Addr Multicoin addr(bytes32 node, uint256 coinType) | ||
*/ | ||
addrMulticoin: '0xf1cb7e06', | ||
/** | ||
* Content Hash contenthash(bytes32 node) | ||
*/ | ||
contentHash: '0xbc1c58d1', | ||
/** | ||
* Text text(bytes32 node, string key) | ||
*/ | ||
text: '0x59d1d43c', | ||
/** | ||
* ABI abi(bytes32 node, uint256 contentType) | ||
*/ | ||
abi: '0x2203ab56', | ||
/** | ||
* Public Key pubkey(bytes32 node) | ||
*/ | ||
pubkey: '0xc8690233', | ||
/** | ||
* Reverse Name name(bytes32 node) | ||
*/ | ||
name: '0x691f3431', | ||
/** | ||
* Wildcard | ||
*/ | ||
wildcard: '0x9061b923', | ||
} as const |