Moving operator language to function instead of event

This commit is contained in:
John Forrest 2018-03-27 10:48:17 -05:00
parent 48bec76f58
commit 87f1091c0c
1 changed files with 3 additions and 3 deletions

View File

@ -60,8 +60,7 @@ interface ERC721 /* is ERC165 */ {
event Approval(address indexed _owner, address indexed _approved, uint256 _tokenId);
/// @dev This emits when an operator is enabled or disabled for an owner.
/// The operator can manage all NFTs of the owner. The contract MUST allow
/// multiple operators per owner.
/// The operator can manage all NFTs of the owner.
event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved);
/// @notice Count all NFTs assigned to an owner
@ -122,7 +121,8 @@ interface ERC721 /* is ERC165 */ {
/// @notice Enable or disable approval for a third party ("operator") to manage
/// all of `msg.sender`'s assets.
/// @dev Emits the ApprovalForAll event
/// @dev Emits the ApprovalForAll event. The contract MUST allow
/// multiple operators per owner.
/// @param _operator Address to add to the set of authorized operators.
/// @param _approved True if the operator is approved, false to revoke approval
function setApprovalForAll(address _operator, bool _approved) external;