aboutsummaryrefslogtreecommitdiffstats
path: root/vm/environment.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-04 21:39:15 +0800
committerobscuren <geffobscura@gmail.com>2015-01-04 21:39:15 +0800
commit987119cd4adcdbc7ebfd0bbb027a0c9e2a7487e9 (patch)
tree32ff13edca8c3d9b61b303f7d314291d0f216574 /vm/environment.go
parent1b905675465d96227f1a8144fe592e76f646f559 (diff)
parent08b03afa4bb3a40d2faf6543bc884a8ece5be2a1 (diff)
downloaddexon-987119cd4adcdbc7ebfd0bbb027a0c9e2a7487e9.tar
dexon-987119cd4adcdbc7ebfd0bbb027a0c9e2a7487e9.tar.gz
dexon-987119cd4adcdbc7ebfd0bbb027a0c9e2a7487e9.tar.bz2
dexon-987119cd4adcdbc7ebfd0bbb027a0c9e2a7487e9.tar.lz
dexon-987119cd4adcdbc7ebfd0bbb027a0c9e2a7487e9.tar.xz
dexon-987119cd4adcdbc7ebfd0bbb027a0c9e2a7487e9.tar.zst
dexon-987119cd4adcdbc7ebfd0bbb027a0c9e2a7487e9.zip
Merge branch 'poc8' into docbranch
Diffstat (limited to 'vm/environment.go')
-rw-r--r--vm/environment.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/vm/environment.go b/vm/environment.go
index 01bbd56ce..8ec13ee41 100644
--- a/vm/environment.go
+++ b/vm/environment.go
@@ -14,11 +14,10 @@ type Environment interface {
Origin() []byte
BlockNumber() *big.Int
- PrevHash() []byte
+ GetHash(n uint64) []byte
Coinbase() []byte
Time() int64
Difficulty() *big.Int
- BlockHash() []byte
GasLimit() *big.Int
Transfer(from, to Account, amount *big.Int) error
AddLog(state.Log)
@@ -31,11 +30,6 @@ type Environment interface {
Create(me ContextRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error, ContextRef)
}
-type Object interface {
- GetStorage(key *big.Int) *ethutil.Value
- SetStorage(key *big.Int, value *ethutil.Value)
-}
-
type Account interface {
SubBalance(amount *big.Int)
AddBalance(amount *big.Int)