fetcher

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILogFetcher added in v0.0.2

type ILogFetcher interface {
	FetchLogs(contractAddresses []common.Address, topics []common.Hash, missingHeader core.Header) ([]types.Log, error)
}

type LogFetcher

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

func NewLogFetcher added in v0.0.2

func NewLogFetcher(blockchain core.BlockChain) *LogFetcher

func (LogFetcher) FetchLogs

func (logFetcher LogFetcher) FetchLogs(addresses []common.Address, topic0s []common.Hash, header core.Header) ([]types.Log, error)

Checks all topic0s, on all addresses, fetching matching logs for the given header

Jump to

Keyboard shortcuts

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