Type Alias asset_hub_westend_runtime::PoolAssetsConfig
source · pub type PoolAssetsConfig = GenesisConfig<Runtime, Instance3>;
Aliased Type§
struct PoolAssetsConfig {
pub assets: Vec<(u32, AccountId32, bool, u128)>,
pub metadata: Vec<(u32, Vec<u8>, Vec<u8>, u8)>,
pub accounts: Vec<(u32, AccountId32, u128)>,
pub next_asset_id: Option<u32>,
}
Fields§
§assets: Vec<(u32, AccountId32, bool, u128)>
Genesis assets: id, owner, is_sufficient, min_balance
metadata: Vec<(u32, Vec<u8>, Vec<u8>, u8)>
Genesis metadata: id, name, symbol, decimals
accounts: Vec<(u32, AccountId32, u128)>
Genesis accounts: id, account_id, balance
next_asset_id: Option<u32>
Genesis [NextAssetId
].
Refer to the [NextAssetId
] item for more information.
This does not enforce the asset ID for the assets within the
genesis config. It sets the [NextAssetId
] after they have been created.