pub trait CollateralBalancesPallet {
// Required methods
fn get_free_balance<'life0, 'async_trait>(
&'life0 self,
currency_id: CurrencyId
) -> Pin<Box<dyn Future<Output = Result<Balance, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_free_balance_for_id<'life0, 'async_trait>(
&'life0 self,
id: AccountId,
currency_id: CurrencyId
) -> Pin<Box<dyn Future<Output = Result<Balance, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_reserved_balance<'life0, 'async_trait>(
&'life0 self,
currency_id: CurrencyId
) -> Pin<Box<dyn Future<Output = Result<Balance, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_reserved_balance_for_id<'life0, 'async_trait>(
&'life0 self,
id: AccountId,
currency_id: CurrencyId
) -> Pin<Box<dyn Future<Output = Result<Balance, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn transfer_to<'life0, 'life1, 'async_trait>(
&'life0 self,
recipient: &'life1 AccountId,
amounts: Vec<(u128, CurrencyId)>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}