pub type BalancesConfig = GenesisConfig<Runtime>;Aliased Type§
pub struct BalancesConfig {
pub balances: Vec<(AccountId32, u128)>,
pub dev_accounts: Option<(u32, u128, Option<String>)>,
}Fields§
§balances: Vec<(AccountId32, u128)>§dev_accounts: Option<(u32, u128, Option<String>)>Derived development accounts(Optional):
u32: The number of development accounts to generate.T::Balance: The initial balance assigned to each development account.String: An optional derivation(hard) string template.- Must include
{}as a placeholder for account indices. - Defaults to
"//Sender//{}“ ifNone.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 80 bytes