Versions in this module Expand all Collapse all v1 v1.13.2 Dec 25, 2023 Changes in this version + func NewMarkdownLogger(cfg *Config, writer io.Writer) *mdLogger + func WriteLogs(writer io.Writer, logs []*types.Log) + func WriteTrace(writer io.Writer, logs []StructLog) + type AccessListTracer struct + func NewAccessListTracer(acl types.AccessList, from, to common.Address, precompiles []common.Address) *AccessListTracer + func (*AccessListTracer) CaptureEnd(output []byte, gasUsed uint64, err error) + func (*AccessListTracer) CaptureEnter(typ vm.OpCode, from common.Address, to common.Address, input []byte, ...) + func (*AccessListTracer) CaptureExit(output []byte, gasUsed uint64, err error) + func (*AccessListTracer) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, ...) + func (*AccessListTracer) CaptureTxEnd(restGas uint64) + func (*AccessListTracer) CaptureTxStart(gasLimit uint64) + func (a *AccessListTracer) AccessList() types.AccessList + func (a *AccessListTracer) CaptureStart(env *vm.EVM, from common.Address, to common.Address, create bool, input []byte, ...) + func (a *AccessListTracer) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, ...) + func (a *AccessListTracer) Equal(other *AccessListTracer) bool + type Config struct + Debug bool + DisableStack bool + DisableStorage bool + EnableMemory bool + EnableReturnData bool + Limit int + Overrides *params.ChainConfig + type ExecutionResult struct + Failed bool + Gas uint64 + ReturnValue string + StructLogs []StructLogRes + type JSONLogger struct + func NewJSONLogger(cfg *Config, writer io.Writer) *JSONLogger + func (l *JSONLogger) CaptureEnd(output []byte, gasUsed uint64, err error) + func (l *JSONLogger) CaptureEnter(typ vm.OpCode, from common.Address, to common.Address, input []byte, ...) + func (l *JSONLogger) CaptureExit(output []byte, gasUsed uint64, err error) + func (l *JSONLogger) CaptureFault(pc uint64, op vm.OpCode, gas uint64, cost uint64, scope *vm.ScopeContext, ...) + func (l *JSONLogger) CaptureStart(env *vm.EVM, from, to common.Address, create bool, input []byte, gas uint64, ...) + func (l *JSONLogger) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, ...) + func (l *JSONLogger) CaptureTxEnd(restGas uint64) + func (l *JSONLogger) CaptureTxStart(gasLimit uint64) + type Storage map[common.Hash]common.Hash + func (s Storage) Copy() Storage + type StructLog struct + Depth int + Err error + Gas uint64 + GasCost uint64 + Memory []byte + MemorySize int + Op vm.OpCode + Pc uint64 + RefundCounter uint64 + ReturnData []byte + Stack []uint256.Int + Storage map[common.Hash]common.Hash + func (s *StructLog) ErrorString() string + func (s *StructLog) OpName() string + func (s *StructLog) UnmarshalJSON(input []byte) error + func (s StructLog) MarshalJSON() ([]byte, error) + type StructLogRes struct + Depth int + Error string + Gas uint64 + GasCost uint64 + Memory *[]string + Op string + Pc uint64 + RefundCounter uint64 + ReturnData string + Stack *[]string + Storage *map[string]string + type StructLogger struct + func NewStructLogger(cfg *Config) *StructLogger + func (l *StructLogger) CaptureEnd(output []byte, gasUsed uint64, err error) + func (l *StructLogger) CaptureEnter(typ vm.OpCode, from common.Address, to common.Address, input []byte, ...) + func (l *StructLogger) CaptureExit(output []byte, gasUsed uint64, err error) + func (l *StructLogger) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, ...) + func (l *StructLogger) CaptureStart(env *vm.EVM, from common.Address, to common.Address, create bool, input []byte, ...) + func (l *StructLogger) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, ...) + func (l *StructLogger) CaptureTxEnd(restGas uint64) + func (l *StructLogger) CaptureTxStart(gasLimit uint64) + func (l *StructLogger) Error() error + func (l *StructLogger) GetResult() (json.RawMessage, error) + func (l *StructLogger) Output() []byte + func (l *StructLogger) Reset() + func (l *StructLogger) Stop(err error) + func (l *StructLogger) StructLogs() []StructLog