neofs

package
v0.39.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlphabetState added in v0.18.0

type AlphabetState interface {
	IsAlphabet() bool
}

AlphabetState is a callback interface for inner ring global state.

type EpochState

type EpochState interface {
	EpochCounter() uint64
}

EpochState is a callback interface for inner ring global state.

type Params

type Params struct {
	Log                 *zap.Logger
	PoolSize            int
	NeoFSContract       util.Uint160
	NeoFSIDClient       *neofsid.Client
	BalanceClient       *balance.Client
	NetmapClient        *nmClient.Client
	MorphClient         *client.Client
	EpochState          EpochState
	AlphabetState       AlphabetState
	Converter           PrecisionConverter
	MintEmitCacheSize   int
	MintEmitThreshold   uint64 // in epochs
	MintEmitValue       fixedn.Fixed8
	GasBalanceThreshold int64
}

Params of the processor constructor.

type PrecisionConverter added in v0.12.0

type PrecisionConverter interface {
	ToBalancePrecision(int64) int64
}

PrecisionConverter converts balance amount values.

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

Processor of events produced by neofs contract in main net.

func New

func New(p *Params) (*Processor, error)

New creates neofs mainnet contract processor instance.

func (*Processor) ListenerNotaryHandlers added in v0.25.0

func (np *Processor) ListenerNotaryHandlers() []event.NotaryHandlerInfo

ListenerNotaryHandlers for the 'event.Listener' event producer.

func (*Processor) ListenerNotaryParsers added in v0.25.0

func (np *Processor) ListenerNotaryParsers() []event.NotaryParserInfo

ListenerNotaryParsers for the 'event.Listener' event producer.

func (*Processor) ListenerNotificationHandlers added in v0.25.0

func (np *Processor) ListenerNotificationHandlers() []event.NotificationHandlerInfo

ListenerNotificationHandlers for the 'event.Listener' event producer.

func (*Processor) ListenerNotificationParsers added in v0.25.0

func (np *Processor) ListenerNotificationParsers() []event.NotificationParserInfo

ListenerNotificationParsers for the 'event.Listener' event producer.

func (*Processor) TimersHandlers

func (np *Processor) TimersHandlers() []event.NotificationHandlerInfo

TimersHandlers for the 'Timers' event producer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL