plugeth/vm/virtual_machine.go
2015-01-02 16:14:12 +01:00

11 lines
252 B
Go

package vm
import "math/big"
type VirtualMachine interface {
Env() Environment
Run(me, caller ContextRef, code []byte, value, gas, price *big.Int, data []byte) ([]byte, error)
Printf(string, ...interface{}) VirtualMachine
Endl() VirtualMachine
}