state

package
v1.4.560 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrEventStorageKeyCreation = libErr.Error("event storage key creation")
	ErrEventStorageRetrieval   = libErr.Error("event storage retrieval")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventProvider

type EventProvider interface {
	GetStorageEvents(meta *types.Metadata, blockHash types.Hash) (*types.StorageDataRaw, error)
}

EventProvider is the interface used for retrieving event data from the storage.

func NewEventProvider

func NewEventProvider(stateRPC state.State) EventProvider

NewEventProvider creates a new EventProvider.

Jump to

Keyboard shortcuts

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