openethereum/src/evm/env.rs

24 lines
298 B
Rust
Raw Normal View History

2015-12-23 13:02:01 +01:00
use util::hash::*;
pub struct Env;
impl Env {
pub fn new() -> Env {
Env
}
pub fn sload(&self, _index: &H256) -> H256 {
2015-12-28 15:11:05 +01:00
println!("sload!");
//unimplemented!();
H256::new()
2015-12-23 13:02:01 +01:00
}
pub fn sstore(&self, _index: &H256, _value: &H256) {
2015-12-28 15:11:05 +01:00
println!("sstore!");
//unimplemented!();
2015-12-23 13:02:01 +01:00
}
}