vat_grab

package
v0.2.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVatGrabConfig

func GetVatGrabConfig() shared_t.EventTransformerConfig

Types

type VatGrabConverter

type VatGrabConverter struct{}

func (VatGrabConverter) ToModels

func (VatGrabConverter) ToModels(ethLogs []types.Log) ([]shared.InsertionModel, error)

type VatGrabRepository

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

func (VatGrabRepository) Create

func (repository VatGrabRepository) Create(headerID int64, models []shared.InsertionModel) error

func (VatGrabRepository) MarkHeaderChecked

func (repository VatGrabRepository) MarkHeaderChecked(headerID int64) error

func (*VatGrabRepository) SetDB

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