bite

package
v0.2.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Ink  event.ColumnName = "ink"
	Art  event.ColumnName = "art"
	Tab  event.ColumnName = "tab"
	Flip event.ColumnName = "flip"
	Id   event.ColumnName = "bid_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BiteEntity

type BiteEntity struct {
	Ilk      [32]byte
	Urn      common.Address
	Ink      *big.Int
	Art      *big.Int
	Tab      *big.Int
	Flip     common.Address
	Id       *big.Int
	HeaderID int64
	LogID    int64
}

type Converter added in v0.2.15

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

func (*Converter) SetDB added in v0.2.15

func (c *Converter) SetDB(db *postgres.DB)

func (Converter) ToModels added in v0.2.15

func (c Converter) ToModels(abi string, logs []core.HeaderSyncLog) ([]event.InsertionModel, error)

type Repository added in v0.2.15

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

func (Repository) Create added in v0.2.15

func (repository Repository) Create(models []event.InsertionModel) error

func (*Repository) SetDB added in v0.2.15

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