Trait frame_support::traits::tokens::nonfungibles::Transfer
source · [−]pub trait Transfer<AccountId>: Inspect<AccountId> {
fn transfer(
class: &Self::ClassId,
instance: &Self::InstanceId,
destination: &AccountId
) -> DispatchResult;
}
Expand description
Trait for providing a non-fungible sets of assets which can only be transferred.
Required methods
fn transfer(
class: &Self::ClassId,
instance: &Self::InstanceId,
destination: &AccountId
) -> DispatchResult
fn transfer(
class: &Self::ClassId,
instance: &Self::InstanceId,
destination: &AccountId
) -> DispatchResult
Transfer asset instance
of class
into destination
account.