go-pulse/vm/virtual_machine.go

12 lines
265 B
Go
Raw Normal View History

2014-10-18 11:31:20 +00:00
package vm
import "math/big"
type VirtualMachine interface {
Env() Environment
Run(me, caller ClosureRef, code []byte, value, gas, price *big.Int, data []byte) ([]byte, error)
Depth() int
2014-10-14 11:37:26 +00:00
Printf(string, ...interface{}) VirtualMachine
Endl() VirtualMachine
}