flip

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InsertFlipKicksQuery = `INSERT INTO maker.flip_kicks (diff_id, header_id, address_id, kicks) VALUES ($1, $2, $3, $4) ON CONFLICT DO NOTHING`

	InsertFlipBidBidQuery = `` /* 127-byte string literal not displayed */
	InsertFlipBidLotQuery = `` /* 127-byte string literal not displayed */
	InsertFlipBidGuyQuery = `` /* 127-byte string literal not displayed */
	InsertFlipBidTicQuery = `` /* 127-byte string literal not displayed */
	InsertFlipBidEndQuery = `` /* 129-byte string literal not displayed */
	InsertFlipBidUsrQuery = `` /* 127-byte string literal not displayed */
	InsertFlipBidGalQuery = `` /* 127-byte string literal not displayed */
	InsertFlipBidTabQuery = `` /* 127-byte string literal not displayed */
)

Variables

Functions

func NewKeysLoader added in v0.2.15

func NewKeysLoader(storageRepository mcdStorage.IMakerStorageRepository, contractAddress string) storage.KeysLoader

Types

type FlipStorageRepository

type FlipStorageRepository struct {
	ContractAddress string
	// contains filtered or unexported fields
}

func (*FlipStorageRepository) Create

func (repository *FlipStorageRepository) Create(diffID, headerID int64, metadata vdbStorage.ValueMetadata, value interface{}) error

func (*FlipStorageRepository) SetDB

func (repository *FlipStorageRepository) SetDB(db *postgres.DB)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL