ilk

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 GetIlkFileConfig

func GetIlkFileConfig() shared_t.EventTransformerConfig

Types

type VatFileIlkConverter

type VatFileIlkConverter struct{}

func (VatFileIlkConverter) ToModels

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

type VatFileIlkModel

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

type VatFileIlkRepository

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

func (VatFileIlkRepository) Create

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

func (VatFileIlkRepository) MarkHeaderChecked

func (repository VatFileIlkRepository) MarkHeaderChecked(headerID int64) error

func (VatFileIlkRepository) MissingHeaders

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

func (VatFileIlkRepository) RecheckHeaders

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

func (*VatFileIlkRepository) SetDB

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