difftreelog
upd: stubs
in: master
3 files changed
pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth1156 dummy = 0;1156 dummy = 0;1157 }1157 }115811581159 /// @dev Not implemented1159 /// @notice Get the approved address for a single NFT1160 /// @dev Throws if `tokenId` is not a valid NFT1161 /// @param tokenId The NFT to find the approved address for1162 /// @return The approved address for this NFT, or the zero address if there is none1160 /// @dev EVM selector for this function is: 0x081812fc,1163 /// @dev EVM selector for this function is: 0x081812fc,1161 /// or in textual repr: getApproved(uint256)1164 /// or in textual repr: getApproved(uint256)1162 function getApproved(uint256 tokenId) public view returns (address) {1165 function getApproved(uint256 tokenId) public view returns (address) {tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth--- 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);