pub trait GetTotalBalance<T: Config> {
    // Required method
    fn total_balance(
        asset_id: &T::AssetId,
        who: &T::AccountId
    ) -> Result<Balance, DispatchError>;
}

Required Methods§

source

fn total_balance( asset_id: &T::AssetId, who: &T::AccountId ) -> Result<Balance, DispatchError>

Implementations on Foreign Types§

source§

impl<T: Config> GetTotalBalance<T> for ()

source§

fn total_balance( _asset_id: &T::AssetId, _who: &T::AccountId ) -> Result<Balance, DispatchError>

Implementors§