Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
Converter is the underlying struct for the ConverterInterface
func (*Converter) Convert ¶
func (c *Converter) Convert(logs []gethTypes.Log, event types.Event, headerID int64) ([]types.Log, error)
Convert the given watched event log into a types.Log for the given event
type ConverterInterface ¶
type ConverterInterface interface { Convert(logs []gethTypes.Log, event types.Event, headerID int64) ([]types.Log, error) ConvertBatch(logs []gethTypes.Log, events map[string]types.Event, headerID int64) (map[string][]types.Log, error) Update(info *contract.Contract) }
ConverterInterface is the interface for converting geth logs to our custom log type
Click to show internal directories.
Click to hide internal directories.