Documentation
¶
Index ¶
Constants ¶
View Source
const (
InsertKicksQuery = `` /* 127-byte string literal not displayed */
)
Variables ¶
View Source
var ( BidsIndex = vdbStorage.IndexOne VatStorageKey = common.HexToHash(vdbStorage.IndexTwo) VatMetadata = utils.GetStorageValueMetadata(storage.Vat, nil, utils.Address) GemStorageKey = common.HexToHash(vdbStorage.IndexThree) GemMetadata = utils.GetStorageValueMetadata(storage.Gem, nil, utils.Address) BegStorageKey = common.HexToHash(vdbStorage.IndexFour) BegMetadata = utils.GetStorageValueMetadata(storage.Beg, nil, utils.Uint256) TtlAndTauStorageKey = common.HexToHash(vdbStorage.IndexFive) TtlAndTauMetadata = utils.GetStorageValueMetadataForPackedSlot(storage.Packed, nil, utils.PackedSlot, ttlAndTauNames, ttlAndTauTypes) KicksStorageKey = common.HexToHash(vdbStorage.IndexSix) KicksMetadata = utils.GetStorageValueMetadata(storage.Kicks, nil, utils.Uint256) LiveStorageKey = common.HexToHash(vdbStorage.IndexSeven) LiveMetadata = utils.GetStorageValueMetadata(storage.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.