use crate::non_fungible_token::token::TokenId;
use unc_sdk::{ext_contract, AccountId, PromiseOrValue};
#[ext_contract(ext_nft_receiver)]
pub trait NonFungibleTokenReceiver {
fn nft_on_transfer(
&mut self,
sender_id: AccountId,
previous_owner_id: AccountId,
token_id: TokenId,
msg: String,
) -> PromiseOrValue<bool>;
}