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.

Required Associated Types§

Required Methods§

Implementors§