jug_drip

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJugDripConfig

func GetJugDripConfig() shared_t.EventTransformerConfig

Types

type JugDripConverter

type JugDripConverter struct{}

func (JugDripConverter) ToModels

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

type JugDripModel

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

type JugDripRepository

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

func (JugDripRepository) Create

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

func (JugDripRepository) MarkHeaderChecked

func (repository JugDripRepository) MarkHeaderChecked(headerID int64) error

func (JugDripRepository) MissingHeaders

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

func (JugDripRepository) RecheckHeaders

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

func (*JugDripRepository) SetDB

func (repository *JugDripRepository) 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