vat_move

package
v0.2.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVatMoveConfig

func GetVatMoveConfig() shared_t.EventTransformerConfig

Types

type VatMoveConverter

type VatMoveConverter struct{}

func (VatMoveConverter) ToModels

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

type VatMoveModel

type VatMoveModel struct {
	Src              string
	Dst              string
	Rad              string
	LogIndex         uint   `db:"log_idx"`
	TransactionIndex uint   `db:"tx_idx"`
	Raw              []byte `db:"raw_log"`
}

type VatMoveRepository

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

func (VatMoveRepository) Create

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

func (VatMoveRepository) MarkHeaderChecked

func (repository VatMoveRepository) MarkHeaderChecked(headerID int64) error

func (VatMoveRepository) MissingHeaders

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

func (VatMoveRepository) RecheckHeaders

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

func (*VatMoveRepository) SetDB

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