jug_init

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJugInitConfig

func GetJugInitConfig() shared_t.EventTransformerConfig

Types

type JugInitConverter

type JugInitConverter struct{}

func (JugInitConverter) ToModels

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

type JugInitModel

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

type JugInitRepository

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

func (JugInitRepository) Create

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

func (JugInitRepository) MarkHeaderChecked

func (repository JugInitRepository) MarkHeaderChecked(headerID int64) error

func (*JugInitRepository) SetDB

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