// SPDX-License-Identifier: GPL3 pragma solidity ^0.8.9; // Author: Francesco Sullo // erc165 interfaceId 0x2281ffc3 interface IERC721DefaultApprovable { // Must be emitted when the contract is deployed. event DefaultApprovable(bool approvable); // Must be emitted any time the status changes. event Approvable(uint256 indexed tokenId, bool approvable); // Returns true if the token is approvable. // It should revert if the token does not exist. function approvable(uint256 tokenId) external view returns (bool); // A contract implementing this interface should not allow // the approval for all. So, any actor validating this interface // should assume that the tokens are not approvable for all. // An extension of this interface may include info about the // approval for all, but it should be considered as a separate // feature, not as a replacement of this interface. }