txmatch

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package txmatch provides a flexible method of filtering transactions to check for ones matching a particular abi method

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

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

Matcher provides transaction matching capabilities allowing for the filtration of transactions to specific contracts or addresses using ABI's as the method of filtering out transactions. Suitable for building a list of addresses that have interacted with particular contracts

func NewMatcher

func NewMatcher(
	logger *zap.Logger,
	bc *bclient.BClient,
	abistr string,
	methods,
	contracts []string,
) (*Matcher, error)

NewMatcher returns a new transaction matcher

func (*Matcher) Match

func (m *Matcher) Match(outFile string, startBlock, endBlock uint64) error

Jump to

Keyboard shortcuts

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