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