aboutsummaryrefslogtreecommitdiffstats
path: root/ethvm/virtual_machine.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethvm/virtual_machine.go')
-rw-r--r--ethvm/virtual_machine.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/ethvm/virtual_machine.go b/ethvm/virtual_machine.go
new file mode 100644
index 000000000..6dd837049
--- /dev/null
+++ b/ethvm/virtual_machine.go
@@ -0,0 +1,7 @@
+package ethvm
+
+type VirtualMachine interface {
+ Env() Environment
+ RunClosure(*Closure) ([]byte, error)
+ Depth() int
+}