pub trait KVStore { // Required methods fn contains(&self, key: &[u8]) -> bool; fn get(&self, key: &[u8]) -> Option<Vec<u8>>; }
Interface for a Blockchain-flavored key-value store.
Returns whether the key is present in account storage.
Returns the data stored in the account at addr under the given key.
addr
key