vat_init

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVatInitConfig

func GetVatInitConfig() shared_t.TransformerConfig

Types

type VatInitConverter

type VatInitConverter struct{}

func (VatInitConverter) ToModels

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

type VatInitModel

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

type VatInitRepository

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

func (VatInitRepository) Create

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

func (VatInitRepository) MarkHeaderChecked

func (repository VatInitRepository) MarkHeaderChecked(headerID int64) error

func (VatInitRepository) MissingHeaders

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

func (VatInitRepository) RecheckHeaders

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

func (*VatInitRepository) SetDB

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