Type Definition pallet_remote_asset_manager::pallet::AssetBalance[][src]

pub type AssetBalance<T: Config> = StorageMap<_GeneratedPrefixForStorageAssetBalance<T>, Twox64Concat, <T as Config>::AssetId, AssetLedger<T::Balance>, ValueQuery>;
Expand description

The ledger of deposited funds and funds about to be withdrawn This mirrors the deposited and withdrawn amounts from the asset index until Separating this from the MultiCurrency balances, which is used to represent any kind of funds (for example assets minted via governance proposal), ensures that this the real inflow of reserve backed assets.

NOTE: This expects the deposited funds to be backed by reserve deposits on the assets native location. For DOT for example this expects the deposited funds to be available on the Polkadot relay chain in the sovereign account of the PINT parachain.