|
|
|
@ -98,7 +98,7 @@ func (s *StructLog) ErrorString() string { |
|
|
|
|
// Note that reference types are actual VM data structures; make copies
|
|
|
|
|
// if you need to retain them beyond the current call.
|
|
|
|
|
type Tracer interface { |
|
|
|
|
CaptureStart(from common.Address, to common.Address, call bool, input []byte, gas uint64, value *big.Int) error |
|
|
|
|
CaptureStart(from common.Address, to common.Address, create bool, input []byte, gas uint64, value *big.Int) error |
|
|
|
|
CaptureState(env *EVM, pc uint64, op OpCode, gas, cost uint64, memory *Memory, stack *Stack, contract *Contract, depth int, err error) error |
|
|
|
|
CaptureFault(env *EVM, pc uint64, op OpCode, gas, cost uint64, memory *Memory, stack *Stack, contract *Contract, depth int, err error) error |
|
|
|
|
CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error) error |
|
|
|
|