Documentation ¶
Overview ¶
Package tracers is a manager for transaction tracing engines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDirectory = directory{/* contains filtered or unexported fields */}
DefaultDirectory is the collection of tracers bundled by default.
Functions ¶
Types ¶
type Context ¶
type Context struct { BlockID thor.Bytes32 // Hash of the block the tx is contained within (zero if dangling tx or call) BlockTime uint64 // Timestamp of the block the tx is contained within TxIndex uint64 // Index of the transaction within a block (zero if dangling tx or call) TxID thor.Bytes32 // ID of the transaction being traced (zero if dangling call) ClauseIndex uint32 // Index of the clause within a transaction (zero if dangling call) State *state.State }
Context contains some contextual infos for a transaction execution that is not available from within the EVM object.
Directories ¶
Path | Synopsis |
---|---|
internal/tracers
Package tracers contains the actual JavaScript tracer assets.
|
Package tracers contains the actual JavaScript tracer assets. |
Click to show internal directories.
Click to hide internal directories.