aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-01 22:29:57 +0800
committerobscuren <geffobscura@gmail.com>2015-02-01 22:29:57 +0800
commitd52878c744fd7acce727feb41c2d4296e56826d3 (patch)
tree6b9f101f57a5ac0902b80f252214caa5ed63eb8c /vm
parent0d97c3ce1322083fb9683a5afec004b2626b620a (diff)
downloaddexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar
dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.gz
dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.bz2
dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.lz
dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.xz
dexon-d52878c744fd7acce727feb41c2d4296e56826d3.tar.zst
dexon-d52878c744fd7acce727feb41c2d4296e56826d3.zip
Removed some VMEnv & Added VmType() to vm.Environment
Diffstat (limited to 'vm')
-rw-r--r--vm/environment.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/environment.go b/vm/environment.go
index 8ec13ee41..8507e248f 100644
--- a/vm/environment.go
+++ b/vm/environment.go
@@ -22,6 +22,8 @@ type Environment interface {
Transfer(from, to Account, amount *big.Int) error
AddLog(state.Log)
+ VmType() Type
+
Depth() int
SetDepth(i int)