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

# Functions

AddPeerSuccessEventsFromApplicationLog retrieves a set of all emitted events with "AddPeerSuccess" name from the provided [result.ApplicationLog].
New creates an instance of Contract using provided contract hash and the given Actor.
NewEpochEventsFromApplicationLog retrieves a set of all emitted events with "NewEpoch" name from the provided [result.ApplicationLog].
NewEpochSubscriptionEventsFromApplicationLog retrieves a set of all emitted events with "NewEpochSubscription" name from the provided [result.ApplicationLog].
NewReader creates an instance of ContractReader using provided contract hash and the given Invoker.
UpdateStateSuccessEventsFromApplicationLog retrieves a set of all emitted events with "UpdateStateSuccess" name from the provided [result.ApplicationLog].

# Variables

NodeStateMaintenance is used by nodes with known partial availability.
NodeStateOffline is used by for currently unavailable nodes.
NodeStateOnline is used by healthy available nodes.

# Structs

AddPeerSuccessEvent represents "AddPeerSuccess" event emitted by the contract.
CommonBallot is a contract-specific common.Ballot type used by its methods.
CommonIRNode is a contract-specific common.IRNode type used by its methods.
Contract implements all contract methods.
ContractReader implements safe contract methods.
NetmapNode is a contract-specific netmap.Node type used by its methods.
Netmaprecord is a contract-specific netmap.record type used by its methods.
NewEpochEvent represents "NewEpoch" event emitted by the contract.
NewEpochSubscriptionEvent represents "NewEpochSubscription" event emitted by the contract.
UpdateStateSuccessEvent represents "UpdateStateSuccess" event emitted by the contract.

# Interfaces

Actor is used by Contract to call state-changing methods.
Invoker is used by ContractReader to call various safe methods.