debt_ceiling

package
v0.2.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDebtCeilingFileConfig

func GetDebtCeilingFileConfig() shared_t.EventTransformerConfig

Types

type VatFileDebtCeilingConverter

type VatFileDebtCeilingConverter struct{}

func (VatFileDebtCeilingConverter) ToModels

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

type VatFileDebtCeilingModel

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

type VatFileDebtCeilingRepository

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

func (VatFileDebtCeilingRepository) Create

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

func (VatFileDebtCeilingRepository) MarkHeaderChecked

func (repository VatFileDebtCeilingRepository) MarkHeaderChecked(headerID int64) error

func (VatFileDebtCeilingRepository) MissingHeaders

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

func (VatFileDebtCeilingRepository) RecheckHeaders

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

func (*VatFileDebtCeilingRepository) SetDB

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