difftreelog
upd: stubs
in: master
3 files changed
pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth--- 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) {
tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth781 /// or in textual repr: setApprovalForAll(address,bool)781 /// or in textual repr: setApprovalForAll(address,bool)782 function setApprovalForAll(address operator, bool approved) external;782 function setApprovalForAll(address operator, bool approved) external;783783784 /// @dev Not implemented784 /// @notice Get the approved address for a single NFT785 /// @dev Throws if `tokenId` is not a valid NFT786 /// @param tokenId The NFT to find the approved address for787 /// @return The approved address for this NFT, or the zero address if there is none785 /// @dev EVM selector for this function is: 0x081812fc,788 /// @dev EVM selector for this function is: 0x081812fc,786 /// or in textual repr: getApproved(uint256)789 /// or in textual repr: getApproved(uint256)787 function getApproved(uint256 tokenId) external view returns (address);790 function getApproved(uint256 tokenId) external view returns (address);