Trait evmil::analysis::EvmStorage
source · pub trait EvmStorage: Debug {
type Word: EvmWord;
// Required methods
fn get(&mut self, address: Self::Word) -> Self::Word;
fn put(&mut self, address: Self::Word, item: Self::Word);
}
Expand description
Abstraction of peristent storage within an EVM. This provides the minimal set of operations required to implement the semantics of a given bytecode instruction. For example, reading/writing from storage.