diff options
Diffstat (limited to 'vm/virtual_machine.go')
-rw-r--r-- | vm/virtual_machine.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vm/virtual_machine.go b/vm/virtual_machine.go new file mode 100644 index 000000000..23ac4878f --- /dev/null +++ b/vm/virtual_machine.go @@ -0,0 +1,10 @@ +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 +} |