difftreelog
feat add Approved event
in: master
1 file changed
pallets/nft/src/lib.rsdiffbeforeafterboth654 /// * amount: Always 1 for NFT654 /// * amount: Always 1 for NFT655 Transfer(CollectionId, TokenId, AccountId, AccountId, u128),655 Transfer(CollectionId, TokenId, AccountId, AccountId, u128),656657 /// * collection_id658 ///659 /// * item_id660 ///661 /// * sender662 ///663 /// * spender664 ///665 /// * amount666 Approved(CollectionId, TokenId, AccountId, AccountId, u128),656 }667 }657);668);6586691292 }1303 }1293 <Allowances<T>>::insert(collection_id, (item_id, sender.clone(), spender.clone()), allowance);1304 <Allowances<T>>::insert(collection_id, (item_id, sender.clone(), spender.clone()), allowance);129413051306 Self::deposit_event(RawEvent::Approved(target_collection.id, item_id, sender, spender, allowance));1295 Ok(())1307 Ok(())1296 }1308 }1297 1309