Documentation ¶
Index ¶
Constants ¶
View Source
const ( InsertFlopKicksQuery = `` /* 127-byte string literal not displayed */ InsertFlopBidBidQuery = `` /* 139-byte string literal not displayed */ InsertFlopBidLotQuery = `` /* 139-byte string literal not displayed */ InsertFlopBidGuyQuery = `` /* 139-byte string literal not displayed */ InsertFlopBidTicQuery = `` /* 139-byte string literal not displayed */ InsertFlopBidEndQuery = `` /* 141-byte string literal not displayed */ )
Variables ¶
View Source
var ( BidsIndex = vdbStorage.IndexOne VatKey = common.HexToHash(vdbStorage.IndexTwo) VatMetadata = utils.GetStorageValueMetadata(storage.Vat, nil, utils.Address) GemKey = common.HexToHash(vdbStorage.IndexThree) GemMetadata = utils.GetStorageValueMetadata(storage.Gem, nil, utils.Address) BegKey = common.HexToHash(vdbStorage.IndexFour) BegMetadata = utils.GetStorageValueMetadata(storage.Beg, nil, utils.Uint256) TtlAndTauKey = common.HexToHash(vdbStorage.IndexFive) TtlAndTauMetadata = utils.GetStorageValueMetadataForPackedSlot(storage.Packed, nil, utils.PackedSlot, ttlAndTauNames, ttlAndTauTypes) KicksKey = common.HexToHash(vdbStorage.IndexSix) KicksMetadata = utils.GetStorageValueMetadata(storage.Kicks, nil, utils.Uint256) LiveKey = common.HexToHash(vdbStorage.IndexSeven) LiveMetadata = utils.GetStorageValueMetadata(storage.Live, nil, utils.Uint256) )
Functions ¶
This section is empty.
Types ¶
type FlopStorageRepository ¶
type FlopStorageRepository struct { ContractAddress string // contains filtered or unexported fields }
func (*FlopStorageRepository) Create ¶
func (repository *FlopStorageRepository) Create(blockNumber int, blockHash string, metadata utils.StorageValueMetadata, value interface{}) error
func (*FlopStorageRepository) SetDB ¶
func (repository *FlopStorageRepository) SetDB(db *postgres.DB)
type StorageKeysLookup ¶
type StorageKeysLookup struct { StorageRepository storage.IMakerStorageRepository ContractAddress string // contains filtered or unexported fields }
func (StorageKeysLookup) Lookup ¶
func (mappings StorageKeysLookup) Lookup(key common.Hash) (utils.StorageValueMetadata, error)
func (*StorageKeysLookup) SetDB ¶
func (mappings *StorageKeysLookup) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.