# Functions
ComputeStorageSlots will compute the storage slots for a given contract.
EncodeAddressValue will encode an address like value given a storage offset.
EncodeBoolValue will encode a boolean value given a storage offset.
EncodeBytes32Value will encode a bytes32 value.
EncodeStorage will encode a storage layout.
EncodeStorageKeyValue encodes the key value pair that is stored in state given a StorageLayoutEntry and StorageLayoutType.
EncodeStringValue will encode a string to a type suitable for storage in state.
EncodeUintValue will encode a uint value given a storage offset.
MergeStorage will combine any overlapping storage slots for when values are tightly packed.
No description provided by the author
SetStorage will set the storage values in a db given a contract name, address and the storage values.
# Structs
EncodedStorage represents the storage key and value serialized to be placed in Ethereum state.
MemoryStateDB implements geth's StateDB interface but operates on a core.Genesis so that a genesis.json can easily be created.
# Type aliases
ElementEncoder is a function that can encode an element based on a solidity type.
StorageConfig represents the storage configuration for the L2 predeploy contracts.
StorageValues represents the values to be set in storage.