package
0.20.0
Repository: https://github.com/nspcc-dev/neofs-contract.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddRecord appends domain record to the list of domain records with the specified type if it doesn't exist yet.
BalanceOf returns the overall number of domains owned by the specified owner.
Decimals returns NeoNameService decimals.
DeleteRecords removes domain records with the specified type.
GetAllRecords returns an Iterator with RecordState items for the given name.
GetPrice returns the domain registration price.
GetRecords returns domain record of the specified type if it exists or an empty string if not.
IsAvailable checks whether the provided domain name is available.
OwnerOf returns the owner of the specified domain.
Properties returns a domain name and an expiration date of the specified domain.
Register registers a new domain with the specified owner and name if it's available.
RegisterTLD registers new top-level domain.
Renew increases domain expiration date.
Resolve resolves given name (not more than three redirects are allowed).
Roots returns iterator over a set of NameService roots.
SetAdmin updates domain admin.
SetPrice sets the domain registration price.
SetRecord updates existing domain record with the specified type and ID.
Symbol returns NeoNameService symbol.
Tokens returns iterator over a set of all registered domain names.
TokensOf returns iterator over minted domains owned by the specified owner.
TotalSupply returns the overall number of domains minted by NeoNameService contract.
Transfer transfers the domain with the specified name to a new owner.
Update updates NameService contract.
UpdateSOA updates soa record.
Version returns the version of the contract.

# Structs

NameState represents domain name state.
RecordState is a type that registered entities are saved to.