git.delta.rocks / unique-network / refs/commits / fe92d252231d

difftreelog

fix doc

Trubnikov Sergey2023-03-09parent: #112c006.patch.diff
in: master

1 file changed

modifiedpallets/nonfungible/src/erc.rsdiffbeforeafterboth
516 }516 }
517517
518 /// @notice Get the approved address for a single NFT518 /// @notice Get the approved address for a single NFT
519 /// @dev Throws if `_tokenId` is not a valid NFT519 /// @dev Throws if `tokenId` is not a valid NFT
520 /// @param _tokenId The NFT to find the approved address for520 /// @param tokenId The NFT to find the approved address for
521 /// @return The approved address for this NFT, or the zero address if there is none521 /// @return The approved address for this NFT, or the zero address if there is none
522 fn get_approved(&self, token_id: U256) -> Result<Address> {522 fn get_approved(&self, token_id: U256) -> Result<Address> {
523 let token = token_id.try_into()?;523 let token = token_id.try_into()?;