Files
pezkuwi-subxt/subxt/src/storage/mod.rs
T
2024-02-02 16:12:15 +01:00

26 lines
866 B
Rust

// Copyright 2019-2023 Parity Technologies (UK) Ltd.
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
// see LICENSE for license details.
//! Types associated with accessing and working with storage items.
mod storage_client;
mod storage_type;
pub use storage_client::StorageClient;
pub use storage_type::Storage;
/// Types representing an address which describes where a storage
/// entry lives and how to properly decode it.
pub mod address {
pub use subxt_core::storage::storage_address::{
dynamic, make_static_storage_map_key, Address, DynamicAddress, StaticStorageMapKey,
StorageAddress,
};
pub use subxt_core::Yes;
}
// For consistency with other modules, also expose
// the basic address stuff at the root of the module.
pub use subxt_core::storage::storage_address::{dynamic, Address, DynamicAddress, StorageAddress};