pub trait BalancesExtrinsics {
type Balance;
type Address;
type Extrinsic<Call>;
// Required methods
fn balance_transfer_allow_death<'life0, 'async_trait>(
&'life0 self,
to: Self::Address,
amount: Self::Balance
) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<TransferAllowDeathCall<Self::Address, Self::Balance>>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn balance_force_set_balance<'life0, 'async_trait>(
&'life0 self,
who: Self::Address,
free_balance: Self::Balance
) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<ForceSetBalanceCall<Self::Address, Self::Balance>>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Associated Types§
Required Methods§
sourcefn balance_transfer_allow_death<'life0, 'async_trait>(
&'life0 self,
to: Self::Address,
amount: Self::Balance
) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<TransferAllowDeathCall<Self::Address, Self::Balance>>>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn balance_transfer_allow_death<'life0, 'async_trait>(
&'life0 self,
to: Self::Address,
amount: Self::Balance
) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<TransferAllowDeathCall<Self::Address, Self::Balance>>>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Transfer some liquid free balance to another account.
sourcefn balance_force_set_balance<'life0, 'async_trait>(
&'life0 self,
who: Self::Address,
free_balance: Self::Balance
) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<ForceSetBalanceCall<Self::Address, Self::Balance>>>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn balance_force_set_balance<'life0, 'async_trait>(
&'life0 self,
who: Self::Address,
free_balance: Self::Balance
) -> Pin<Box<dyn Future<Output = Option<Self::Extrinsic<ForceSetBalanceCall<Self::Address, Self::Balance>>>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Set the balances of a given account.
Object Safety§
This trait is not object safe.