package
Version:
v0.12.0
Opens a new window with list of versions in this module.
Published: Oct 24, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SlotOf returns the slot number of the given label in the storage layout.
type StorageLayoutEntry struct {
AstID uint `json:"astId"`
Contract string `json:"contract"`
Label string `json:"label"`
Offset uint `json:"offset"`
Slot uint `json:"slot,string"`
Type string `json:"type"`
}
type StorageLayoutType struct {
Encoding string `json:"encoding"`
Label string `json:"label"`
NumberOfBytes uint `json:"numberOfBytes,string"`
Key string `json:"key,omitempty"`
Value string `json:"value,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.