Documentation
¶
Index ¶
Constants ¶
View Source
const ( InsertFlipKicksQuery = `` /* 127-byte string literal not displayed */ InsertFlipBidBidQuery = `` /* 139-byte string literal not displayed */ InsertFlipBidLotQuery = `` /* 139-byte string literal not displayed */ InsertFlipBidGuyQuery = `` /* 139-byte string literal not displayed */ InsertFlipBidTicQuery = `` /* 139-byte string literal not displayed */ InsertFlipBidEndQuery = `` /* 141-byte string literal not displayed */ InsertFlipBidUsrQuery = `` /* 139-byte string literal not displayed */ InsertFlipBidGalQuery = `` /* 139-byte string literal not displayed */ InsertFlipBidTabQuery = `` /* 139-byte string literal not displayed */ )
Variables ¶
View Source
var ( BidsMappingIndex = vdbStorage.IndexOne VatKey = common.HexToHash(vdbStorage.IndexTwo) VatMetadata = utils.GetStorageValueMetadata(storage.Vat, nil, utils.Address) IlkKey = common.HexToHash(vdbStorage.IndexThree) IlkMetadata = utils.GetStorageValueMetadata(storage.Ilk, nil, utils.Bytes32) BegKey = 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) KicksKey = common.HexToHash(vdbStorage.IndexSix) KicksMetadata = utils.GetStorageValueMetadata(storage.Kicks, nil, utils.Uint256) )
Functions ¶
This section is empty.
Types ¶
type FlipStorageRepository ¶
type FlipStorageRepository struct { ContractAddress string // contains filtered or unexported fields }
func (*FlipStorageRepository) Create ¶
func (repository *FlipStorageRepository) Create(blockNumber int, blockHash string, metadata utils.StorageValueMetadata, value interface{}) error
func (*FlipStorageRepository) SetDB ¶
func (repository *FlipStorageRepository) 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.