Trait frame_support::traits::tokens::BalanceConversion
source · pub trait BalanceConversion<InBalance, AssetId, OutBalance> {
type Error;
fn to_asset_balance(
balance: InBalance,
asset_id: AssetId
) -> Result<OutBalance, Self::Error>;
}
Expand description
Converts a balance value into an asset balance.