mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-10 20:57:06 +00:00
Fetch paged storage keys
This commit is contained in:
1 parent
d3e7bd2282
commit
663934ca37
5 files changed
+71
-7
No files matched your search
@@ -42,6 +42,8 @@ pub trait Store<T>: Encode {
|
||||
const FIELD: &'static str;
|
||||
/// Return type.
|
||||
type Returns: Decode;
|
||||
/// Returns the key prefix for storage maps
|
||||
fn prefix(metadata: &Metadata) -> Result<StorageKey, MetadataError>;
|
||||
/// Returns the `StorageKey`.
|
||||
fn key(&self, metadata: &Metadata) -> Result<StorageKey, MetadataError>;
|
||||
/// Returns the default value.
|
||||
|
||||
Reference in new issue
Block a user