 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( VowVat = "vat" VowCow = "cow" VowRow = "row" VowSin = "Sin" VowWoe = "Woe" VowAsh = "Ash" VowWait = "wait" VowSump = "sump" VowBump = "bump" VowHump = "hump" )
Variables ¶
      View Source
      
  
var ( VatKey = common.HexToHash(storage.IndexOne) VatMetadata = utils.StorageValueMetadata{ Name: VowVat, Keys: nil, Type: utils.Address, } CowKey = common.HexToHash(storage.IndexTwo) CowMetadata = utils.StorageValueMetadata{ Name: VowCow, Keys: nil, Type: utils.Address, } RowKey = common.HexToHash(storage.IndexThree) RowMetadata = utils.StorageValueMetadata{ Name: VowRow, Keys: nil, Type: utils.Address, } SinKey = common.HexToHash(storage.IndexFive) SinMetadata = utils.StorageValueMetadata{ Name: VowSin, Keys: nil, Type: utils.Uint256, } WoeKey = common.HexToHash(storage.IndexSix) WoeMetadata = utils.StorageValueMetadata{ Name: VowWoe, Keys: nil, Type: utils.Uint256, } AshKey = common.HexToHash(storage.IndexSeven) AshMetadata = utils.StorageValueMetadata{ Name: VowAsh, Keys: nil, Type: utils.Uint256, } WaitKey = common.HexToHash(storage.IndexEight) WaitMetadata = utils.StorageValueMetadata{ Name: VowWait, Keys: nil, Type: utils.Uint256, } SumpKey = common.HexToHash(storage.IndexNine) SumpMetadata = utils.StorageValueMetadata{ Name: VowSump, Keys: nil, Type: utils.Uint256, } BumpKey = common.HexToHash(storage.IndexTen) BumpMetadata = utils.StorageValueMetadata{ Name: VowBump, Keys: nil, Type: utils.Uint256, } HumpKey = common.HexToHash(storage.IndexEleven) HumpMetadata = utils.StorageValueMetadata{ Name: VowHump, Keys: nil, Type: utils.Uint256, } )
Functions ¶
This section is empty.
Types ¶
type VowMappings ¶
type VowMappings struct {
	StorageRepository s2.IMakerStorageRepository
	// contains filtered or unexported fields
}
    func (*VowMappings) Lookup ¶
func (mappings *VowMappings) Lookup(key common.Hash) (utils.StorageValueMetadata, error)
func (*VowMappings) SetDB ¶
func (mappings *VowMappings) SetDB(db *postgres.DB)
type VowStorageRepository ¶
type VowStorageRepository struct {
	// contains filtered or unexported fields
}
    func (VowStorageRepository) Create ¶
func (repository VowStorageRepository) Create(blockNumber int, blockHash string, metadata utils.StorageValueMetadata, value interface{}) error
func (*VowStorageRepository) SetDB ¶
func (repository *VowStorageRepository) SetDB(db *postgres.DB)
 Click to show internal directories. 
   Click to hide internal directories.