ilk

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDripFileIlkConfig

func GetDripFileIlkConfig() shared_t.TransformerConfig

Types

type DripFileIlkConverter

type DripFileIlkConverter struct{}

func (DripFileIlkConverter) ToModels

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

type DripFileIlkModel

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

type DripFileIlkRepository

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

func (DripFileIlkRepository) Create

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

func (DripFileIlkRepository) MarkHeaderChecked

func (repository DripFileIlkRepository) MarkHeaderChecked(headerID int64) error

func (DripFileIlkRepository) MissingHeaders

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

func (DripFileIlkRepository) RecheckHeaders

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

func (*DripFileIlkRepository) SetDB

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