From 03617566c0b4d41aa639c1f4af7e6497c9643362 Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Sun, 12 Mar 2023 05:23:23 +0000 Subject: [PATCH] upd: stubs --- --- a/pallets/nonfungible/src/stubs/UniqueNFT.sol +++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol @@ -1156,7 +1156,10 @@ dummy = 0; } - /// @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 /// @dev EVM selector for this function is: 0x081812fc, /// or in textual repr: getApproved(uint256) function getApproved(uint256 tokenId) public view returns (address) { --- a/tests/src/eth/api/UniqueNFT.sol +++ b/tests/src/eth/api/UniqueNFT.sol @@ -781,7 +781,10 @@ /// or in textual repr: setApprovalForAll(address,bool) function setApprovalForAll(address operator, bool approved) external; - /// @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 /// @dev EVM selector for this function is: 0x081812fc, /// or in textual repr: getApproved(uint256) function getApproved(uint256 tokenId) external view returns (address); -- gitstuff