referrerpolicy=no-referrer-when-downgrade
relay_substrate_client

Trait ChainWithBalances

Source
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§

Source

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.

Implementors§