From 812f414d261ce04329938c36e3e4c60f1cfbeb01 Mon Sep 17 00:00:00 2001 From: Fang Date: Sat, 10 Mar 2018 21:26:49 +0100 Subject: [PATCH] Be explicit about setApprovalForAll's msg.sender requirement. Also correct a typo. --- EIPS/eip-721.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EIPS/eip-721.md b/EIPS/eip-721.md index c3dc3f84..a0a5d0d3 100644 --- a/EIPS/eip-721.md +++ b/EIPS/eip-721.md @@ -122,7 +122,8 @@ interface ERC721 /* is ERC165 */ { function approve(address _approved, uint256 _tokenId) external payable; /// @notice Enable or disable approval for a third party ("operator") to manage - /// all your asset. + /// all your assets. + /// @dev Throws unless `msg.sender` is the current NFT owner. /// @dev Emits the ApprovalForAll event /// @param _operator Address to add to the set of authorized operators. /// @param _approved True if the operators is approved, false to revoke approval