The DomainRecord
struct is meant to hold relevant information about a domain, such as its owner and resolver.
owner
(address): The owner of the domain (also called the owner of the Name).
resolver
(address): The address of the Resolver contract where this domain's source records are stored.
In the future, there will be multiple Resolver contracts that support different types of sources. Currently, only the ZNSAddressResolver
is implemented.
Emits when ownership of a domain is modified in records
Name | Type | Description |
---|---|---|
Emit when a domain's resolver is modified in records
Emits when a domain record is deleted
Emit when an owner allows/disallows permissions for an operator
Emitted when a new resolver type is added to ZNS
Emitted when a resolver is deleted from ZNS
Set an operator
as allowed
to give or remove permissions for all domains owned by msg.sender
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
domainHash
bytes32
the hash of a domain's name
owner
address
The new domain owner
domainHash
bytes32
the hash of a domain's name
resolver
address
The new resolver address
domainHash
bytes32
The hash of a domain's name
owner
address
Owner of the domain in question
operator
address
Address that was allowed/disallowed
allowed
bool
Boolean status of their permission
resolverType
string
The name of the resolver type
resolver
address
The address of the resolver contract
resolverType
string
The name of the resolver type
operator
address
The account to allow/disallow
allowed
bool
The true/false value to set