vow

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJugFileVowConfig

func GetJugFileVowConfig() shared_t.EventTransformerConfig

Types

type JugFileVowConverter

type JugFileVowConverter struct{}

func (JugFileVowConverter) ToModels

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

type JugFileVowModel

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

type JugFileVowRepository

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

func (JugFileVowRepository) Create

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

func (JugFileVowRepository) MarkHeaderChecked

func (repository JugFileVowRepository) MarkHeaderChecked(headerID int64) error

func (JugFileVowRepository) MissingHeaders

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

func (JugFileVowRepository) RecheckHeaders

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

func (*JugFileVowRepository) SetDB

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