vat_fork

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

Documentation

Index

Constants

View Source
const (
	InsertVatForkQuery = `` /* 294-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func GetVatForkConfig

func GetVatForkConfig() shared_t.EventTransformerConfig

Types

type VatForkConverter

type VatForkConverter struct{}

func (VatForkConverter) ToModels

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

type VatForkModel

type VatForkModel struct {
	Ilk              string `db:"ilk_id"`
	Src              string
	Dst              string
	Dink             string
	Dart             string
	LogIndex         uint   `db:"log_idx"`
	TransactionIndex uint   `db:"tx_idx"`
	Raw              []byte `db:"raw_log"`
}

type VatForkRepository

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

func (VatForkRepository) Create

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

func (VatForkRepository) MarkHeaderChecked

func (repository VatForkRepository) MarkHeaderChecked(headerID int64) error

func (*VatForkRepository) SetDB

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