drip_drip

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDripDripConfig

func GetDripDripConfig() shared_t.TransformerConfig

Types

type DripDripConverter

type DripDripConverter struct{}

func (DripDripConverter) ToModels

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

type DripDripModel

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

type DripDripRepository

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

func (DripDripRepository) Create

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

func (DripDripRepository) MarkHeaderChecked

func (repository DripDripRepository) MarkHeaderChecked(headerID int64) error

func (DripDripRepository) MissingHeaders

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

func (DripDripRepository) RecheckHeaders

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

func (*DripDripRepository) SetDB

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