pub trait Transfer<AccountId>: Inspect<AccountId> {
    // Required method
    fn transfer(
        item: &Self::ItemId,
        destination: &AccountId
    ) -> Result<(), DispatchError>;
}
Expand description

Trait for providing a non-fungible set of items which can only be transferred.

Required Methods§

fn transfer( item: &Self::ItemId, destination: &AccountId ) -> Result<(), DispatchError>

Transfer item into destination account.

Implementors§

§

impl<F, A, AccountId> Transfer<AccountId> for ItemOf<F, A, AccountId>where F: Transfer<AccountId>, A: Get<<F as Inspect<AccountId>>::CollectionId>,