web3wagmi
← All standards

ERC-4834 Hierarchical Domains

FinalERCcreated 2022-02-22

Extremely generic name resolution

Author: Gavin John (@Pandapip1)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IDomain0x1f37a3c3
IDomainRegisterable0x703703b2
IDomainEnumerable0x8d5fd78e

Functions this standard introduces (10)

0x64e5fc3bcanCreateDomain(address,string,address)view
0x3a838cd0canDeleteDomain(address,string)view
0x3bb0531fcanSetDomain(address,string,address)view
0x14758433createDomain(string,address)payable
0x0eaf9752deleteDomain(string)
0x96ef6189getDomain(string[])view
0x89d8c24ahasDomain(string[])view
0x0f3b3327setDomain(string,address)
0x80c449fesubdomainByIndex(uint256)view
0x0d9b9e70totalSubdomains()view

Events (3)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0x91c5fca8fe40c5c408f40db4d115910d772738007ac5a3a5b8aaddc28bab45dcSubdomainCreate(address,string,address)
0x5adeb15aef4ef1361c9841fcb33dca150f399cdbba09323708e283986282d5b4SubdomainUpdate(address,string,address,address)
0x22a6255e69eb6e6e2b7fc5dc4247f53aa6416a72fb7af6f1e38224a0a865cfa3SubdomainDelete(address,string,address)

What the specification covers

Compare with

Parsed from the canonical specification · discussion