pub trait GlobalStateInterface: StateInterface {
// Required method
fn get_storage(&mut self, address: H160, slot: U256) -> U256;
}
Expand description
State interface with access to global state like storage.
Required Methods§
sourcefn get_storage(&mut self, address: H160, slot: U256) -> U256
fn get_storage(&mut self, address: H160, slot: U256) -> U256
Gets value of the specified storage slot.
Object Safety§
This trait is not object safe.