🌷IZNSSubRegistrar

IZNSSubRegistrar

IZNSSubRegistrar.sol - Interface for the ZNSSubRegistrar contract responsible for registering subdomains.

SubdomainRegisterArgs

struct SubdomainRegisterArgs {
  bytes32 parentHash;
  address domainAddress;
  address tokenOwner;
  string tokenURI;
  struct IDistributionConfig.DistributionConfig distrConfig;
  struct PaymentConfig paymentConfig;
  string label;
}

ParentLockedOrDoesntExist

error ParentLockedOrDoesntExist(bytes32 parentHash)

Reverted when someone other than parent owner is trying to buy a subdomain under the parent that is locked or when the parent provided does not exist.

SenderNotApprovedForPurchase

error SenderNotApprovedForPurchase(bytes32 parentHash, address sender)

Reverted when the buyer of subdomain is not approved by the parent in it's mintlist.

ZeroParentHash

Reverted when the subdomain is nested and doesn't have parentHash. Attaches a domain label.

PricerDataSet

Emitted when a new DistributionConfig.pricerContract is set for a domain.

MintlistUpdated

Emitted when a mintlist is updated for a domain.

MintlistCleared

RootRegistrarSet

Emitted when the ZNSRootRegistrar address is set in state.

initialize

distrConfigs

registerSubdomain

registerSubdomainBulk

setDistributionConfigForDomain

setPricerDataForDomain

setPaymentTypeForDomain

setAccessTypeForDomain

updateMintlistForDomain

clearMintlistForDomain

clearMintlistAndLock

setRegistry

setRootRegistrar

isMintlistedForDomain

hashWithParent

pauseRegistration

unpauseRegistration

rootRegistrar

Last updated