go-ethereum/ethvm/debugger.go

11 lines
325 B
Go

package ethvm
import "github.com/ethereum/eth-go/ethstate"
type Debugger interface {
BreakHook(step int, op OpCode, mem *Memory, stack *Stack, object *ethstate.StateObject) bool
StepHook(step int, op OpCode, mem *Memory, stack *Stack, object *ethstate.StateObject) bool
BreakPoints() []int64
SetCode(byteCode []byte)
}