Documentation ¶
Overview ¶
Package eventparser implements functions for parsing registry contract events from Ethereum logs into their respective structured types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PackOperatorPublicKey ¶
PackOperatorPublicKey is used for testing only, packing the operator pubkey bytes into an event.
Types ¶
type EventParser ¶
type EventParser struct {
// contains filtered or unexported fields
}
func New ¶
func New(eventFilterer eventFilterer) *EventParser
func (*EventParser) ParseOperatorAdded ¶
func (e *EventParser) ParseOperatorAdded(log ethtypes.Log) (*contract.ContractOperatorAdded, error)
Click to show internal directories.
Click to hide internal directories.