pub trait ChainWithBalances: Chain {
// Required method
fn account_info_storage_key(account_id: &Self::AccountId) -> StorageKey;
}
Expand description
Substrate-based chain with AccountData
generic argument of frame_system::AccountInfo
set to
the pallet_balances::AccountData<Balance>
.
Required Methods§
Sourcefn account_info_storage_key(account_id: &Self::AccountId) -> StorageKey
fn account_info_storage_key(account_id: &Self::AccountId) -> StorageKey
Return runtime storage key for getting frame_system::AccountInfo
of given account.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.