vat_slip

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVatSlipConfig

func GetVatSlipConfig() shared_t.EventTransformerConfig

Types

type VatSlipConverter

type VatSlipConverter struct{}

func (VatSlipConverter) ToModels

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

type VatSlipModel

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

type VatSlipRepository

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

func (VatSlipRepository) Create

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

func (VatSlipRepository) MarkHeaderChecked

func (repository VatSlipRepository) MarkHeaderChecked(headerID int64) error

func (*VatSlipRepository) SetDB

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