Versions in this module Expand all Collapse all v0 v0.0.9 Oct 28, 2019 Changes in this version + const IndexEight + const IndexEleven + const IndexFive + const IndexFour + const IndexNine + const IndexOne + const IndexSeven + const IndexSix + const IndexTen + const IndexThree + const IndexTwo + const IndexZero + func AddHashedKeys(currentMappings map[common.Hash]StorageValueMetadata) map[common.Hash]StorageValueMetadata + func GetIncrementedStorageKey(original common.Hash, incrementBy int64) common.Hash + func GetStorageKeyForMapping(indexOnContract, key string) common.Hash + func GetStorageKeyForNestedMapping(indexOnContract, primaryKey, secondaryKey string) common.Hash v0.0.8 Oct 3, 2019 Changes in this version + func HexToKeccak256Hash(hex string) common.Hash + type StorageDiff struct + BlockHash common.Hash + BlockHeight int + HashedAddress common.Hash + Id int + StorageKey common.Hash + StorageValue common.Hash + func FromGethStateDiff(account statediff.AccountDiff, stateDiff *statediff.StateDiff, ...) (StorageDiff, error) + func FromParityCsvRow(csvRow []string) (StorageDiff, error) v0.0.7 Sep 23, 2019 v0.0.6 Aug 26, 2019 v0.0.5 Aug 6, 2019 v0.0.4 Jul 23, 2019 Changes in this version type StorageValueMetadata + PackedNames map[int]string + PackedTypes map[int]ValueType + func GetStorageValueMetadataForPackedSlot(name string, keys map[Key]string, valueType ValueType, ...) StorageValueMetadata type ValueType + const PackedSlot + const Uint128 v0.0.3 Jun 17, 2019 v0.0.2 May 2, 2019 Changes in this version + var ErrRowExists = errors.New("parsed row for storage diff already exists") type StorageDiffRow + Id int v0.0.1 Apr 9, 2019 Changes in this version + const ExpectedRowLength + func Decode(row StorageDiffRow, metadata StorageValueMetadata) (interface{}, error) + type ErrContractNotFound struct + Contract string + func (e ErrContractNotFound) Error() string + type ErrMetadataMalformed struct + MissingData Key + func (e ErrMetadataMalformed) Error() string + type ErrRowMalformed struct + Length int + func (e ErrRowMalformed) Error() string + type ErrStorageKeyNotFound struct + Key string + func (e ErrStorageKeyNotFound) Error() string + type Key string + type StorageDiffRow struct + BlockHash common.Hash + BlockHeight int + Contract common.Address + StorageKey common.Hash + StorageValue common.Hash + func FromStrings(csvRow []string) (StorageDiffRow, error) + type StorageValueMetadata struct + Keys map[Key]string + Name string + Type ValueType + func GetStorageValueMetadata(name string, keys map[Key]string, t ValueType) StorageValueMetadata + type ValueType int + const Address + const Bytes32 + const Uint256 + const Uint48