Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TargetAddress = common.BytesToAddress([]byte("target"))
TargetAddress can be used to match the target (to) address in the TargetStyler of CallTracerOptions.
Functions ¶
func NewCallTracer ¶
func NewCallTracer(w io.Writer, opts *CallTracerOptions) *tracing.Hooks
NewCallTracer returns a new hook that writes to w and is configured with opts.
Types ¶
type CallTracerOptions ¶
type CallTracerOptions struct { TargetStyler func(addr common.Address) lipgloss.Style ShowStaticcall bool ShowOp func(op byte, pc uint64, addr common.Address) bool OpStyler func(op byte) lipgloss.Style DecodeABI bool // contains filtered or unexported fields }
CallTracerOptions configures the CallTracer hook. A zero CallTracerOptions consists entirely of default values.
Click to show internal directories.
Click to hide internal directories.