eventparser

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: GPL-3.0 Imports: 5 Imported by: 2

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

func PackOperatorPublicKey(fieldBytes []byte) ([]byte, error)

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)

type Parser

type Parser interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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