Trait frame_support::traits::tokens::nonfungibles_v2::Transfer
source · pub trait Transfer<AccountId>: Inspect<AccountId> {
// Required method
fn transfer(
collection: &Self::CollectionId,
item: &Self::ItemId,
destination: &AccountId
) -> DispatchResult;
}
Expand description
Trait for transferring non-fungible sets of items.
Required Methods§
sourcefn transfer(
collection: &Self::CollectionId,
item: &Self::ItemId,
destination: &AccountId
) -> DispatchResult
fn transfer( collection: &Self::CollectionId, item: &Self::ItemId, destination: &AccountId ) -> DispatchResult
Transfer item
of collection
into destination
account.