pub trait ZeldStore {
// Required methods
fn get(&mut self, key: &UtxoKey) -> Balance;
fn set(&mut self, key: UtxoKey, value: Balance);
}Expand description
Abstraction over the persistence layer used by ZeldProtocol.
Any backend that can read and write ZELD balances using the provided key can be used. Higher-level lifecycle management (transactions, staging, etc.) is left to concrete implementations.