Documentation ¶
Index ¶
- Variables
- type IMakerStorageRepository
- type MakerStorageRepository
- func (repository *MakerStorageRepository) GetCdpis() ([]string, error)
- func (repository *MakerStorageRepository) GetDaiKeys() ([]string, error)
- func (repository *MakerStorageRepository) GetFlapBidIds(contractAddress string) ([]string, error)
- func (repository *MakerStorageRepository) GetFlipBidIds(contractAddress string) ([]string, error)
- func (repository *MakerStorageRepository) GetFlopBidIds(contractAddress string) ([]string, error)
- func (repository *MakerStorageRepository) GetGemKeys() ([]Urn, error)
- func (repository MakerStorageRepository) GetIlks() ([]string, error)
- func (repository *MakerStorageRepository) GetOrCreateAddress(contractAddress string) (int64, error)
- func (repository *MakerStorageRepository) GetOwners() ([]string, error)
- func (repository *MakerStorageRepository) GetPotPieUsers() ([]string, error)
- func (repository *MakerStorageRepository) GetUrns() ([]Urn, error)
- func (repository *MakerStorageRepository) GetVatSinKeys() ([]string, error)
- func (repository *MakerStorageRepository) GetVowSinKeys() ([]string, error)
- func (repository *MakerStorageRepository) SetDB(db *postgres.DB)
- type Urn
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)
Click to show internal directories.
Click to hide internal directories.