pub trait Transfer<AccountId>: Inspect<AccountId> {
    fn transfer(
        asset: Self::AssetId,
        source: &AccountId,
        dest: &AccountId,
        amount: Self::Balance,
        keep_alive: bool
    ) -> Result<Self::Balance, DispatchError>; }
Expand description

Trait for providing a set of named fungible assets which can only be transferred.

Required Methods§

Transfer funds from one account into another.

Implementors§

impl<AccountId, TestKey, A, B> Transfer<AccountId> for Combiner<AccountId, TestKey, A, B>where
    TestKey: Contains<<B as Inspect<AccountId>>::AssetId>,
    A: Transfer<AccountId, Balance = <B as Inspect<AccountId>>::Balance>,
    B: Transfer<AccountId>,

impl<T: Config> Transfer<<T as Config>::AccountId> for Pallet<T>