chop_lump

package
v0.2.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCatFileChopLumpConfig

func GetCatFileChopLumpConfig() shared_t.EventTransformerConfig

Types

type CatFileChopLumpConverter

type CatFileChopLumpConverter struct{}

func (CatFileChopLumpConverter) ToModels

func (CatFileChopLumpConverter) ToModels(ethLogs []types.Log) ([]interface{}, error)

type CatFileChopLumpModel

type CatFileChopLumpModel struct {
	Ilk              string `db:"ilk_id"`
	What             string
	Data             string
	TransactionIndex uint   `db:"tx_idx"`
	LogIndex         uint   `db:"log_idx"`
	Raw              []byte `db:"raw_log"`
}

type CatFileChopLumpRepository

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

func (CatFileChopLumpRepository) Create

func (repository CatFileChopLumpRepository) Create(headerID int64, models []interface{}) error

func (CatFileChopLumpRepository) MarkHeaderChecked

func (repository CatFileChopLumpRepository) MarkHeaderChecked(headerID int64) error

func (CatFileChopLumpRepository) MissingHeaders

func (repository CatFileChopLumpRepository) MissingHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)

func (CatFileChopLumpRepository) RecheckHeaders

func (repository CatFileChopLumpRepository) RecheckHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)

func (*CatFileChopLumpRepository) SetDB

func (repository *CatFileChopLumpRepository) SetDB(db *postgres.DB)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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