Type Alias asset_hub_westend_runtime::ForeignAssetsConfig
source · pub type ForeignAssetsConfig = GenesisConfig<Runtime, Instance2>;
Aliased Type§
struct ForeignAssetsConfig {
pub assets: Vec<(Location, AccountId32, bool, u128)>,
pub metadata: Vec<(Location, Vec<u8>, Vec<u8>, u8)>,
pub accounts: Vec<(Location, AccountId32, u128)>,
pub next_asset_id: Option<Location>,
}
Fields§
§assets: Vec<(Location, AccountId32, bool, u128)>
Genesis assets: id, owner, is_sufficient, min_balance
metadata: Vec<(Location, Vec<u8>, Vec<u8>, u8)>
Genesis metadata: id, name, symbol, decimals
accounts: Vec<(Location, AccountId32, u128)>
Genesis accounts: id, account_id, balance
next_asset_id: Option<Location>
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.