{
  "contractName": "IERC721CreatorExtensionApproveTransfer",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "creator",
          "type": "address"
        },
        {
          "internalType": "bool",
          "name": "enabled",
          "type": "bool"
        }
      ],
      "name": "setApproveTransfer",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "operator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "from",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "to",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "tokenId",
          "type": "uint256"
        }
      ],
      "name": "approveTransfer",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approveTransfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setApproveTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approveTransfer(address,address,address,uint256)\":{\"details\":\"Called by creator contract to approve a transfer\"},\"setApproveTransfer(address,bool)\":{\"details\":\"Set whether or not the creator will check the extension for approval of token transfer\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Implement this if you want your extension to approve a transfer\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/extensions/ERC721/IERC721CreatorExtensionApproveTransfer.sol\":\"IERC721CreatorExtensionApproveTransfer\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":25},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"project:/contracts/extensions/ERC721/IERC721CreatorExtensionApproveTransfer.sol\":{\"keccak256\":\"0xf775f61378aaabce44f639c5ba3978dcd891a3a25379a9465a161edd5f2ca486\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c67ca952670ffe8bc506b8a59cd5f06b5d6524946013e72023ed53a7d3f97a4f\",\"dweb:/ipfs/QmUXt1nMDmCeHN8SuHDUUZdMbBvZsVJHeborAu1pWtFgHS\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "generatedSources": [],
  "deployedGeneratedSources": [],
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\n/// @author: manifold.xyz\n\nimport \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\n\n/**\n * Implement this if you want your extension to approve a transfer\n */\ninterface IERC721CreatorExtensionApproveTransfer is IERC165 {\n\n    /**\n     * @dev Set whether or not the creator will check the extension for approval of token transfer\n     */\n    function setApproveTransfer(address creator, bool enabled) external;\n\n    /**\n     * @dev Called by creator contract to approve a transfer\n     */\n    function approveTransfer(address operator, address from, address to, uint256 tokenId) external returns (bool);\n}\n",
  "sourcePath": "/Users/chung/git/manifoldxyz/solidity/creator-core-solidity/contracts/extensions/ERC721/IERC721CreatorExtensionApproveTransfer.sol",
  "ast": {
    "absolutePath": "project:/contracts/extensions/ERC721/IERC721CreatorExtensionApproveTransfer.sol",
    "exportedSymbols": {
      "IERC165": [
        2338
      ],
      "IERC721CreatorExtensionApproveTransfer": [
        16483
      ]
    },
    "id": 16484,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 16456,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "33:23:51"
      },
      {
        "absolutePath": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "id": 16457,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 16484,
        "sourceUnit": 2339,
        "src": "85:65:51",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 16459,
              "name": "IERC165",
              "nameLocations": [
                "279:7:51"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 2338,
              "src": "279:7:51"
            },
            "id": 16460,
            "nodeType": "InheritanceSpecifier",
            "src": "279:7:51"
          }
        ],
        "canonicalName": "IERC721CreatorExtensionApproveTransfer",
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 16458,
          "nodeType": "StructuredDocumentation",
          "src": "152:74:51",
          "text": " Implement this if you want your extension to approve a transfer"
        },
        "fullyImplemented": false,
        "id": 16483,
        "linearizedBaseContracts": [
          16483,
          2338
        ],
        "name": "IERC721CreatorExtensionApproveTransfer",
        "nameLocation": "237:38:51",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "documentation": {
              "id": 16461,
              "nodeType": "StructuredDocumentation",
              "src": "294:110:51",
              "text": " @dev Set whether or not the creator will check the extension for approval of token transfer"
            },
            "functionSelector": "1b95a227",
            "id": 16468,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setApproveTransfer",
            "nameLocation": "418:18:51",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 16466,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16463,
                  "mutability": "mutable",
                  "name": "creator",
                  "nameLocation": "445:7:51",
                  "nodeType": "VariableDeclaration",
                  "scope": 16468,
                  "src": "437:15:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16462,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "437:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16465,
                  "mutability": "mutable",
                  "name": "enabled",
                  "nameLocation": "459:7:51",
                  "nodeType": "VariableDeclaration",
                  "scope": 16468,
                  "src": "454:12:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 16464,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "454:4:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "436:31:51"
            },
            "returnParameters": {
              "id": 16467,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "476:0:51"
            },
            "scope": 16483,
            "src": "409:68:51",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 16469,
              "nodeType": "StructuredDocumentation",
              "src": "483:72:51",
              "text": " @dev Called by creator contract to approve a transfer"
            },
            "functionSelector": "5e6a6f8a",
            "id": 16482,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "approveTransfer",
            "nameLocation": "569:15:51",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 16478,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16471,
                  "mutability": "mutable",
                  "name": "operator",
                  "nameLocation": "593:8:51",
                  "nodeType": "VariableDeclaration",
                  "scope": 16482,
                  "src": "585:16:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16470,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "585:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16473,
                  "mutability": "mutable",
                  "name": "from",
                  "nameLocation": "611:4:51",
                  "nodeType": "VariableDeclaration",
                  "scope": 16482,
                  "src": "603:12:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16472,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "603:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16475,
                  "mutability": "mutable",
                  "name": "to",
                  "nameLocation": "625:2:51",
                  "nodeType": "VariableDeclaration",
                  "scope": 16482,
                  "src": "617:10:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16474,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "617:7:51",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16477,
                  "mutability": "mutable",
                  "name": "tokenId",
                  "nameLocation": "637:7:51",
                  "nodeType": "VariableDeclaration",
                  "scope": 16482,
                  "src": "629:15:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 16476,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "629:7:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "584:61:51"
            },
            "returnParameters": {
              "id": 16481,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16480,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16482,
                  "src": "664:4:51",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 16479,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "664:4:51",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "663:6:51"
            },
            "scope": 16483,
            "src": "560:110:51",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 16484,
        "src": "227:445:51",
        "usedErrors": []
      }
    ],
    "src": "33:640:51"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.19+commit.7dd6d404.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.12",
  "updatedAt": "2023-03-22T17:07:39.767Z",
  "devdoc": {
    "kind": "dev",
    "methods": {
      "approveTransfer(address,address,address,uint256)": {
        "details": "Called by creator contract to approve a transfer"
      },
      "setApproveTransfer(address,bool)": {
        "details": "Set whether or not the creator will check the extension for approval of token transfer"
      },
      "supportsInterface(bytes4)": {
        "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
      }
    },
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "notice": "Implement this if you want your extension to approve a transfer",
    "version": 1
  }
}