storage

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Vat    = "vat"
	Ilk    = "ilk"
	Gem    = "gem"
	Beg    = "beg"
	Pad    = "pad"
	Ttl    = "ttl"
	Tau    = "tau"
	Kicks  = "kicks"
	Live   = "live"
	Packed = "packed_storage_values"

	BidBid = "bid_bid"
	BidLot = "bid_lot"
	BidGuy = "bid_guy"
	BidTic = "bid_tic"
	BidEnd = "bid_end"
	BidGal = "bid_gal"
	BidUsr = "bid_usr"
	BidTab = "bid_tab"
)
View Source
var ErrNoFlips = errors.New("no flips exist in db")

Functions

This section is empty.

Types

type IMakerStorageRepository

type IMakerStorageRepository interface {
	GetDaiKeys() ([]string, error)
	GetFlapBidIds(string) ([]string, error)
	GetGemKeys() ([]Urn, error)
	GetIlks() ([]string, error)
	GetVatSinKeys() ([]string, error)
	GetVowSinKeys() ([]string, error)
	GetUrns() ([]Urn, error)
	GetCdpis() ([]string, error)
	GetOwners() ([]string, error)
	GetFlipBidIds(contractAddress string) ([]string, error)
	GetFlopBidIds(contractAddress string) ([]string, error)
	GetPotPieUsers() ([]string, error)
	SetDB(db *postgres.DB)
}

type MakerStorageRepository

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

func (*MakerStorageRepository) GetCdpis added in v0.2.15

func (repository *MakerStorageRepository) GetCdpis() ([]string, error)

func (*MakerStorageRepository) GetDaiKeys

func (repository *MakerStorageRepository) GetDaiKeys() ([]string, error)

func (*MakerStorageRepository) GetFlapBidIds added in v0.2.9

func (repository *MakerStorageRepository) GetFlapBidIds(contractAddress string) ([]string, error)

func (*MakerStorageRepository) GetFlipBidIds added in v0.2.9

func (repository *MakerStorageRepository) GetFlipBidIds(contractAddress string) ([]string, error)

func (*MakerStorageRepository) GetFlopBidIds added in v0.2.9

func (repository *MakerStorageRepository) GetFlopBidIds(contractAddress string) ([]string, error)

func (*MakerStorageRepository) GetGemKeys

func (repository *MakerStorageRepository) GetGemKeys() ([]Urn, error)

func (MakerStorageRepository) GetIlks

func (repository MakerStorageRepository) GetIlks() ([]string, error)

func (*MakerStorageRepository) GetOrCreateAddress added in v0.2.15

func (repository *MakerStorageRepository) GetOrCreateAddress(contractAddress string) (int64, error)

func (*MakerStorageRepository) GetOwners added in v0.2.15

func (repository *MakerStorageRepository) GetOwners() ([]string, error)

func (*MakerStorageRepository) GetPotPieUsers added in v0.2.17

func (repository *MakerStorageRepository) GetPotPieUsers() ([]string, error)

func (*MakerStorageRepository) GetUrns

func (repository *MakerStorageRepository) GetUrns() ([]Urn, error)

func (*MakerStorageRepository) GetVatSinKeys added in v0.2.2

func (repository *MakerStorageRepository) GetVatSinKeys() ([]string, error)

func (*MakerStorageRepository) GetVowSinKeys added in v0.2.2

func (repository *MakerStorageRepository) GetVowSinKeys() ([]string, error)

func (*MakerStorageRepository) SetDB

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

type Urn

type Urn struct {
	Ilk        string
	Identifier string
}

Jump to

Keyboard shortcuts

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