Expand description
Interact with hypermap, the onchain namespace
Modules§
- contract
- Sol structures for Hypermap requests
Structs§
- Fact
- A fact log from the hypermap, converted to a ‘resolved’ format using namespace data saved in the hns-indexer
- Hypermap
- Helper struct for reading from the hypermap.
- LogCache
- Mint
- A mint log from the hypermap, converted to a ‘resolved’ format using namespace data saved in the hns-indexer.
- Note
- A note log from the hypermap, converted to a ‘resolved’ format using namespace data saved in the hns-indexer
Enums§
- Decode
LogError - Errors that can occur when decoding a log from the hypermap using
decode_mint_log()
ordecode_note_log()
.
Constants§
- HYPERMAP_
ADDRESS - hypermap deployment address on base
- HYPERMAP_
CHAIN_ ID - base chain id
- HYPERMAP_
FIRST_ BLOCK - first block (minus one) of hypermap deployment on base
- HYPERMAP_
ROOT_ HASH - the root hash of hypermap, empty bytes32
Functions§
- decode_
fact_ log - decode_
mint_ log - Decode a mint log from the hypermap into a ‘resolved’ format.
- decode_
note_ log - Decode a note log from the hypermap into a ‘resolved’ format.
- eth_
apply_ filter - namehash
- Produce a namehash from a hypermap name.
- resolve_
full_ name - Given a
crate::eth::Log
(which must be a log from hypermap), resolve the full name of the new entry or note. - resolve_
parent - Given a
crate::eth::Log
(which must be a log from hypermap), resolve the parent name of the new entry or note. - valid_
entry - Canonical function to determine if a hypermap entry is valid.
- valid_
fact - valid_
name - valid_
note