Trait frame_support::traits::tokens::BalanceConversion[][src]

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.

Associated Types

Required methods

Implementors