yank

package
v0.2.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type YankConverter

type YankConverter struct{}

func (YankConverter) ToModels

func (YankConverter) ToModels(ethLogs []types.Log) (results []shared.InsertionModel, err error)

type YankModel

type YankModel struct {
	BidId            string `db:"bid_id"`
	ContractAddress  string `db:"contract_address"`
	LogIndex         uint   `db:"log_idx"`
	TransactionIndex uint   `db:"tx_idx"`
	Raw              []byte `db:"raw_log"`
}

type YankRepository

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

func (YankRepository) Create

func (repo YankRepository) Create(headerID int64, models []shared.InsertionModel) error

func (YankRepository) MarkHeaderChecked

func (repo YankRepository) MarkHeaderChecked(headerID int64) error

func (*YankRepository) SetDB

func (repo *YankRepository) 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