From 112c00635f55ed12f7d224f4585d33984fd62b47 Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Thu, 09 Mar 2023 09:19:40 +0000 Subject: [PATCH] doc --- --- a/pallets/nonfungible/src/erc.rs +++ b/pallets/nonfungible/src/erc.rs @@ -515,7 +515,10 @@ Ok(()) } - /// @dev Not implemented + /// @notice Get the approved address for a single NFT + /// @dev Throws if `_tokenId` is not a valid NFT + /// @param _tokenId The NFT to find the approved address for + /// @return The approved address for this NFT, or the zero address if there is none fn get_approved(&self, token_id: U256) -> Result
{ let token = token_id.try_into()?; let operator = >::get_allowance(self, token).map_err(dispatch_to_evm::)?; -- gitstuff