mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-12 07:44:13 +00:00
Make getApproved constant view
This commit is contained in:
parent
2bddd126de
commit
e855ea66c8
@ -132,7 +132,7 @@ interface ERC721 /* is ERC165 */ {
|
||||
/// @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
|
||||
function getApproved(uint256 _tokenId) external returns (address);
|
||||
function getApproved(uint256 _tokenId) external view returns (address);
|
||||
|
||||
/// @notice Query if an address is an authorized operator for another address
|
||||
/// @param _owner The address that owns the NFTs
|
||||
|
Loading…
x
Reference in New Issue
Block a user