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

Alias method returns a string with an alias of the container if it's set (Null otherwise).
ContainersOf iterates over all container IDs owned by the specified owner.
Count method returns the number of registered containers.
Delete method removes a container from the contract storage if it has been invoked by Alphabet nodes of the Inner Ring.
EACL method returns a structure that contains a stable marshaled EACLTable structure, the signature, the public key of the extended ACL setter and a stable marshaled SessionToken structure if it was provided.
Get method returns a structure that contains a stable marshaled Container structure, the signature, the public key of the container creator and a stable marshaled SessionToken structure if it was provided.
GetContainerSize method returns the container ID and a slice of container estimations.
IterateAllContainerSizes method returns iterator over all container size estimations that have been registered for the specified epoch.
IterateContainerSizes method returns iterator over specific container size estimations that have been registered for the specified epoch.
List method returns a list of all container IDs owned by the specified owner.
ListContainerSizes method returns the IDs of container size estimations that have been registered for the specified epoch.
NewEpoch method removes all container size estimations from epoch older than epochNum + 3.
OnNEP11Payment is needed for registration with contract as the owner to work.
Owner method returns a 25 byte Owner ID of the container.
Put method creates a new container if it has been invoked by Alphabet nodes of the Inner Ring.
PutContainerSize method saves container size estimation in contract memory.
PutNamed is similar to put but also sets a TXT record in nns contract.
SetEACL method sets a new extended ACL table related to the contract if it was invoked by Alphabet nodes of the Inner Ring.
StartContainerEstimation method produces StartEstimation notification.
StopContainerEstimation method produces StopEstimation notification.
Update method updates contract source code and manifest.
Version returns the version of the contract.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author