 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const ( Vat = "vat" Gem = "gem" Beg = "beg" 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" )
      View Source
      
  
const (
	InsertKicksQuery = `` /* 127-byte string literal not displayed */
)
    Variables ¶
      View Source
      
  
var ( BidsIndex = vdb_storage.IndexOne VatStorageKey = common.HexToHash(vdb_storage.IndexTwo) VatMetadata = utils.GetStorageValueMetadata(Vat, nil, utils.Address) GemStorageKey = common.HexToHash(vdb_storage.IndexThree) GemMetadata = utils.GetStorageValueMetadata(Gem, nil, utils.Address) BegStorageKey = common.HexToHash(vdb_storage.IndexFour) BegMetadata = utils.GetStorageValueMetadata(Beg, nil, utils.Uint256) TtlAndTauStorageKey = common.HexToHash(vdb_storage.IndexFive) TtlAndTauMetadata = utils.GetStorageValueMetadataForPackedSlot(Packed, nil, utils.PackedSlot, packedNames, packedTypes) KicksStorageKey = common.HexToHash(vdb_storage.IndexSix) KicksMetadata = utils.GetStorageValueMetadata(Kicks, nil, utils.Uint256) LiveStorageKey = common.HexToHash(vdb_storage.IndexSeven) LiveMetadata = utils.GetStorageValueMetadata(Live, nil, utils.Uint256) )
Functions ¶
This section is empty.
Types ¶
type FlapStorageRepository ¶
type FlapStorageRepository struct {
	ContractAddress string
	// contains filtered or unexported fields
}
    func (*FlapStorageRepository) Create ¶
func (repository *FlapStorageRepository) Create(blockNumber int, blockHash string, metadata utils.StorageValueMetadata, value interface{}) error
func (*FlapStorageRepository) SetDB ¶
func (repository *FlapStorageRepository) SetDB(db *postgres.DB)
type StorageKeysLookup ¶
type StorageKeysLookup struct {
	StorageRepository storage.IMakerStorageRepository
	ContractAddress string
	// contains filtered or unexported fields
}
    func (*StorageKeysLookup) Lookup ¶
func (mapping *StorageKeysLookup) Lookup(key common.Hash) (utils.StorageValueMetadata, error)
func (*StorageKeysLookup) SetDB ¶
func (mapping *StorageKeysLookup) SetDB(db *postgres.DB)
 Click to show internal directories. 
   Click to hide internal directories.