Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debug ¶
type Debug struct {
// contains filtered or unexported fields
}
func New ¶
func New(repo *chain.Repository, stater *state.Stater, forkConfig thor.ForkConfig) *Debug
type ExecutionResult ¶
type ExecutionResult struct { Gas uint64 `json:"gas"` Failed bool `json:"failed"` ReturnValue string `json:"returnValue"` StructLogs []StructLogRes `json:"structLogs"` }
type StorageEntry ¶
type StorageMap ¶
type StorageMap map[string]StorageEntry
type StorageRangeOption ¶
type StorageRangeResult ¶
type StorageRangeResult struct { Storage StorageMap `json:"storage"` NextKey *thor.Bytes32 `json:"nextKey"` // nil if Storage includes the last key in the trie. }
type StructLogRes ¶
type StructLogRes struct { Pc uint64 `json:"pc"` Op string `json:"op"` Gas uint64 `json:"gas"` GasCost uint64 `json:"gasCost"` Depth int `json:"depth"` Error error `json:"error,omitempty"` Stack *[]string `json:"stack,omitempty"` Memory *[]string `json:"memory,omitempty"` Storage *map[string]string `json:"storage,omitempty"` }
type TracerOption ¶
Click to show internal directories.
Click to hide internal directories.