result

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutedCollection

type ExecutedCollection interface {
	// BlockHeader returns the block header in which collection was included
	BlockHeader() *flow.Header

	// Collection returns the content of the collection
	Collection() *flow.Collection

	// RegisterUpdates returns all registers that were updated during collection execution
	UpdatedRegisters() flow.RegisterEntries

	// ReadRegisterIDs returns all registers that has been read during collection execution
	ReadRegisterIDs() flow.RegisterIDs

	// EmittedEvents returns a list of events emitted during collection execution
	EmittedEvents() flow.EventsList

	// TransactionResults returns a list of transaction results
	TransactionResults() flow.TransactionResults
}

ExecutedCollection holds results of a collection execution

type ExecutedCollectionConsumer

type ExecutedCollectionConsumer interface {
	OnExecutedCollection(ec ExecutedCollection) error
}

ExecutedCollectionConsumer consumes ExecutedCollections

Jump to

Keyboard shortcuts

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