Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Discoverer interface { ShouldDiscover(tx state.Tx, startingBlock, lastBlock uint64) (bool, error) GetContracts(tx state.Tx) ([]string, error) DiscoverContracts(ctx context.Context, tx state.Tx, startingBlock, lastBlock uint64) (map[common.Address]uint64, error) }
func New ¶
func New( client blockchain.EthClient, contracts []string, scanner scan.Scanner, validator uValidator.Validator, ) Discoverer
Click to show internal directories.
Click to hide internal directories.