pub trait Storage<T> {
// Required methods
fn get(&self, key: &Bytes32) -> Option<T>;
fn store(&mut self, key: Bytes32, t: T);
}
Expand description
Generic storage trait. Used for the common processing logic so that each chain could have their own implementation.