git.delta.rocks / unique-network / refs/commits / 03617566c0b4

difftreelog

upd: stubs

Trubnikov Sergey2023-03-12parent: #7b6dca1.patch.diff
in: master

3 files changed

modifiedpallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth
1156 dummy = 0;1156 dummy = 0;
1157 }1157 }
11581158
1159 /// @dev Not implemented1159 /// @notice Get the approved address for a single NFT
1160 /// @dev Throws if `tokenId` is not a valid NFT
1161 /// @param tokenId The NFT to find the approved address for
1162 /// @return The approved address for this NFT, or the zero address if there is none
1160 /// @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) {
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
781 /// 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;
783783
784 /// @dev Not implemented784 /// @notice Get the approved address for a single NFT
785 /// @dev Throws if `tokenId` is not a valid NFT
786 /// @param tokenId The NFT to find the approved address for
787 /// @return The approved address for this NFT, or the zero address if there is none
785 /// @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);