Merge pull request #925 from Fang-/patch-1

EIP-721: Be explicit about setApprovalForAll's msg.sender requirement.
This commit is contained in:
Nick Savers 2018-03-10 23:01:28 +01:00 committed by GitHub
commit 8ebe56e8ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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