aboutsummaryrefslogtreecommitdiffstats
path: root/vm/virtual_machine.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/virtual_machine.go')
-rw-r--r--vm/virtual_machine.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vm/virtual_machine.go b/vm/virtual_machine.go
index cc8cd39a9..5738075fb 100644
--- a/vm/virtual_machine.go
+++ b/vm/virtual_machine.go
@@ -1,8 +1,10 @@
package vm
+import "math/big"
+
type VirtualMachine interface {
Env() Environment
- RunClosure(*Closure) ([]byte, error)
+ Run(me, caller ClosureRef, code []byte, value, gas, price *big.Int, data []byte) ([]byte, error)
Depth() int
Printf(string, ...interface{}) VirtualMachine
Endl() VirtualMachine