flip

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCatFileFlipConfig

func GetCatFileFlipConfig() shared_t.EventTransformerConfig

Types

type CatFileFlipConverter

type CatFileFlipConverter struct{}

func (CatFileFlipConverter) ToModels

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

type CatFileFlipModel

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

type CatFileFlipRepository

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

func (CatFileFlipRepository) Create

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

func (CatFileFlipRepository) MarkHeaderChecked

func (repository CatFileFlipRepository) MarkHeaderChecked(headerID int64) error

func (CatFileFlipRepository) MissingHeaders

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

func (CatFileFlipRepository) RecheckHeaders

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

func (*CatFileFlipRepository) SetDB

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