debt_ceiling

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDebtCeilingFileConfig

func GetDebtCeilingFileConfig() shared_t.TransformerConfig

Types

type PitFileDebtCeilingConverter

type PitFileDebtCeilingConverter struct{}

func (PitFileDebtCeilingConverter) ToModels

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

type PitFileDebtCeilingModel

type PitFileDebtCeilingModel struct {
	What             string
	Data             string
	LogIndex         uint   `db:"log_idx"`
	TransactionIndex uint   `db:"tx_idx"`
	Raw              []byte `db:"raw_log"`
}

type PitFileDebtCeilingRepository

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

func (PitFileDebtCeilingRepository) Create

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

func (PitFileDebtCeilingRepository) MarkHeaderChecked

func (repository PitFileDebtCeilingRepository) MarkHeaderChecked(headerID int64) error

func (PitFileDebtCeilingRepository) MissingHeaders

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

func (PitFileDebtCeilingRepository) RecheckHeaders

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

func (*PitFileDebtCeilingRepository) SetDB

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