Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemDB ¶
type MemDB struct {
// contains filtered or unexported fields
}
MemDB is an in stateful wrapper around core.Genesis, that makes it easier to build genesis state.
type StorageSlot ¶
func EncodeStorage ¶
func EncodeStorage(layout solc.StorageLayout, values StorageValues) ([]StorageSlot, error)
EncodeStorage encodes the given storage values according to the given storage layout. If it does not find a slot for a label, it returns an error. If it does not support encoding a value, it returns an error.
type StorageValues ¶
Click to show internal directories.
Click to hide internal directories.