storage

package
v1.1.2-mainnet.rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	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"
)

Functions

This section is empty.

Types

type IMakerStorageRepository

type IMakerStorageRepository interface {
	GetCdpis() ([]string, error)
	GetDaiKeys() ([]string, error)
	GetFlapBidIDs(string) ([]string, error)
	GetFlipBidIDs(contractAddress string) ([]string, error)
	GetFlopBidIDs(contractAddress string) ([]string, error)
	GetGemKeys() ([]Urn, error)
	GetIlks() ([]string, error)
	GetMedianBudAddresses(string) ([]string, error)
	GetMedianOrclAddresses(string) ([]string, error)
	GetMedianSlotIDs() ([]string, error)
	GetOwners() ([]string, error)
	GetPotPieUsers() ([]string, error)
	GetUrns() ([]Urn, error)
	GetVatSinKeys() ([]string, error)
	GetVowSinKeys() ([]string, error)
	GetVatWardsAddresses() ([]string, error)
	GetWardsAddresses(string) ([]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

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

func (*MakerStorageRepository) GetFlipBidIDs

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

func (*MakerStorageRepository) GetFlopBidIDs

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) GetMedianBudAddresses

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

func (*MakerStorageRepository) GetMedianOrclAddresses

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

func (*MakerStorageRepository) GetMedianSlotIDs

func (repository *MakerStorageRepository) GetMedianSlotIDs() ([]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) GetVatWardsAddresses

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

func (*MakerStorageRepository) GetVowSinKeys added in v0.2.2

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

func (*MakerStorageRepository) GetWardsAddresses

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

func (*MakerStorageRepository) SetDB

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

type Urn

type Urn struct {
	Ilk        string
	Identifier string
}

Directories

Path Synopsis
cat
jug
pot
vat
vow

Jump to

Keyboard shortcuts

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