fn do_force_transfer(
		sender: &T::AccountId,
		to: &T::AccountId,
		asset_id: (ClassIdOf<T>, TokenIdOf<T>),
	) -> Result<<T as orml_nft::Config>::TokenId, DispatchError> {
		ensure!(!Self::is_collection_locked(&asset_id.0), Error::<T>::CollectionIsLocked);

		NftModule::<T>::transfer(&sender, &to, asset_id.clone())?;
		Ok(asset_id.1)
	}
/// Force transfer NFT only for governance override action
Force transfer NFT only for governance override action
Force transfer NFT only for governance override action
fn do_force_transfer(
		sender: &T::AccountId,
		to: &T::AccountId,
		asset_id: (ClassIdOf<T>, TokenIdOf<T>),
	) -> Result<<T as orml_nft::Config>::TokenId, DispatchError> {
		ensure!(!Self::is_collection_locked(&asset_id.0), Error::<T>::CollectionIsLocked);
		NftModule::<T>::transfer(&sender, &to, asset_id.clone())?;
		Ok(asset_id.1)
	}
fn do_force_transfer ( sender : & T :: AccountId , to : & T :: AccountId , asset_id : ( ClassIdOf < T > , TokenIdOf < T > ) , ) -> Result < < T as orml_nft :: Config > :: TokenId , DispatchError > { ensure ! ( Self is_collection_locked ( asset_id 0 ) Error T CollectionIsLocked ) ; NftModule :: < T > :: transfer ( & sender , & to , asset_id . clone ( ) ) ? ; Ok ( asset_id . 1 ) }
Force transfer NFT only for governance override action
Force transfer NFT only for governance override action
sender
&T::AccountId
to
&T::AccountId
asset_id
(ClassIdOf<T>, TokenIdOf<T>)