{
  "contractName": "ERC721CreatorExtensionApproveTransfer",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "account",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "AdminApproved",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "account",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "AdminRevoked",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "admin",
          "type": "address"
        }
      ],
      "name": "approveAdmin",
      "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"
    },
    {
      "inputs": [],
      "name": "getAdmins",
      "outputs": [
        {
          "internalType": "address[]",
          "name": "admins",
          "type": "address[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "admin",
          "type": "address"
        }
      ],
      "name": "isAdmin",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "admin",
          "type": "address"
        }
      ],
      "name": "revokeAdmin",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "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"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"AdminApproved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"AdminRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"approveAdmin\",\"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\"},{\"inputs\":[],\"name\":\"getAdmins\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"admins\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"isAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"revokeAdmin\",\"outputs\":[],\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Suggested implementation for extensions that require the creator to check with it before a transfer occurs\",\"kind\":\"dev\",\"methods\":{\"approveAdmin(address)\":{\"details\":\"See {IAdminControl-approveAdmin}.\"},\"approveTransfer(address,address,address,uint256)\":{\"details\":\"Called by creator contract to approve a transfer\"},\"getAdmins()\":{\"details\":\"See {IAdminControl-getAdmins}.\"},\"isAdmin(address)\":{\"details\":\"See {IAdminControl-isAdmin}.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"revokeAdmin(address)\":{\"details\":\"See {IAdminControl-revokeAdmin}.\"},\"setApproveTransfer(address,bool)\":{\"details\":\"See {IERC721CreatorExtensionApproveTransfer-setApproveTransfer}\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/extensions/ERC721/ERC721CreatorExtensionApproveTransfer.sol\":\"ERC721CreatorExtensionApproveTransfer\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":25},\"remappings\":[]},\"sources\":{\"@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol\":{\"keccak256\":\"0xaed5e7784e33745ab1b16f1d87b22084a8b25d531c1dcb8dc41fc2a89e2617da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://44837a9cc639062b2d7424a10e9d579b8d3a9bc1cefede2cfbb917bee8f452ae\",\"dweb:/ipfs/QmburkqmRDZYWjKPRUynhdfkAfP5QDKcXH4WCbH1JC8UDq\"]},\"@manifoldxyz/libraries-solidity/contracts/access/IAdminControl.sol\":{\"keccak256\":\"0x7cc2e4e7d9052532f445e62ec1fa2f05cc0f5d1d8ee1fea913b43a132277bf2f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://266618317d0654fe209b5450b8b5afa3a4a8d41294a2b37ddbae540099859887\",\"dweb:/ipfs/QmYksDqoxhachoqZquXGtjfiuAWJ1rxAKLtUYPL3YboBkE\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2\",\"dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/ERC165Checker.sol\":{\"keccak256\":\"0x0812bc73d6e30558840122fa48d6f64ae978ccc1b1fc42e616bac190c6360f46\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d95a53b7e19ca1d46043eaad8967b6e0b02aab2b5fefc2108bfa6d1ad425f5b\",\"dweb:/ipfs/QmQq7AUGT9juE3hun2Wy7r2BDoDBFdBn43DVwhJpK2StLV\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xc3ff3f5c4584e1d9a483ad7ced51ab64523201f4e3d3c65293e4ca8aeb77a961\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7d3dd6067a994690471b5fc71b6f81fac3847798b37d404f74db00b4d3c3d0e\",\"dweb:/ipfs/QmRHF1RarifjNi93RttouNPkYZGyu6CD926PgRDzD5iL35\"]},\"project:/contracts/core/ICreatorCore.sol\":{\"keccak256\":\"0x6bdcb757953594d3a259f1d68ec3d208ca42dba02115f08a6e32e2936ccb0349\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dd1853dabcd57eb9b735b3991cf59259cd28cdeca1353495b5c59dc0db2d85df\",\"dweb:/ipfs/QmfJLFZ7RoMvdR7kJLR7QmqreS1x5VNJSa7xvjVsC4mXte\"]},\"project:/contracts/core/IERC721CreatorCore.sol\":{\"keccak256\":\"0xb168262afd1960a48d9c2088b7c24df3c0e5e190d2e2451e8af38983cf713bad\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8b8e621daf8a34967aa796482e02521390328f84a130f064e67aafc1b11748e5\",\"dweb:/ipfs/QmRC4suf2UXxkfy9NazSHwVAHLFeuzqAuQPmZrf1KQfX7f\"]},\"project:/contracts/extensions/CreatorExtension.sol\":{\"keccak256\":\"0x36fe8d17e2364675e2bdd3fc6539976613cac057db580f3d43a202865f7f5cc9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a6f47309d37ef8dcc76802ab2c8a1500b2160099c9e368f6ac0bf05175e0b97\",\"dweb:/ipfs/QmbyMW37myT5wuQuAjTcna7AuEn8b5EgUh2sPqR9VSTF3B\"]},\"project:/contracts/extensions/ERC721/ERC721CreatorExtension.sol\":{\"keccak256\":\"0xb3b9d1f9b526cb52bf8a969cc40b6034498298d5d9c006c857f99d63ca34993e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7e42892b8c70ac4aef793b8f6e284dce6d1373605299a9df1ecbf3ce7391850b\",\"dweb:/ipfs/QmaPvFtVH1PKn1RyeReuLhUAwk4dev7x6KkCKCTEA4Q3iP\"]},\"project:/contracts/extensions/ERC721/ERC721CreatorExtensionApproveTransfer.sol\":{\"keccak256\":\"0x10f16f1323dd895ae9f8978579c5a51e70f460f371f3f56ef39de2c8b085c0e8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4e3551da7118508353393ec590487ac7336884897449378ec87b7560974a1181\",\"dweb:/ipfs/QmRxb4P883XmBa7hMsYPtUsN1Jui9kHKXxhzrSmLFoMVAV\"]},\"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/ERC165Checker.sol\";\nimport \"@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol\";\n\nimport \"../../core/IERC721CreatorCore.sol\";\nimport \"./ERC721CreatorExtension.sol\";\nimport \"./IERC721CreatorExtensionApproveTransfer.sol\";\n\n/**\n * @dev Suggested implementation for extensions that require the creator to\n * check with it before a transfer occurs\n */\nabstract contract ERC721CreatorExtensionApproveTransfer is AdminControl, ERC721CreatorExtension, IERC721CreatorExtensionApproveTransfer {\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(AdminControl, CreatorExtension, IERC165) returns (bool) {\n        return interfaceId == type(IERC721CreatorExtensionApproveTransfer).interfaceId\n            || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC721CreatorExtensionApproveTransfer-setApproveTransfer}\n     */\n    function setApproveTransfer(address creator, bool enabled) external override adminRequired {\n        require(ERC165Checker.supportsInterface(creator, type(IERC721CreatorCore).interfaceId), \"creator must implement IERC721CreatorCore\");\n        IERC721CreatorCore(creator).setApproveTransferExtension(enabled);\n    }\n\n}",
  "sourcePath": "/Users/chung/git/manifoldxyz/solidity/creator-core-solidity/contracts/extensions/ERC721/ERC721CreatorExtensionApproveTransfer.sol",
  "ast": {
    "absolutePath": "project:/contracts/extensions/ERC721/ERC721CreatorExtensionApproveTransfer.sol",
    "exportedSymbols": {
      "AdminControl": [
        185
      ],
      "Context": [
        1933
      ],
      "CreatorExtension": [
        15525
      ],
      "ERC165": [
        2132
      ],
      "ERC165Checker": [
        2326
      ],
      "ERC721CreatorExtension": [
        16085
      ],
      "ERC721CreatorExtensionApproveTransfer": [
        16156
      ],
      "EnumerableSet": [
        3816
      ],
      "IAdminControl": [
        417
      ],
      "ICreatorCore": [
        15197
      ],
      "IERC165": [
        2338
      ],
      "IERC721CreatorCore": [
        15407
      ],
      "IERC721CreatorExtensionApproveTransfer": [
        16483
      ],
      "Ownable": [
        1157
      ]
    },
    "id": 16157,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 16087,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "33:23:49"
      },
      {
        "absolutePath": "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol",
        "file": "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol",
        "id": 16088,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 16157,
        "sourceUnit": 2327,
        "src": "85:71:49",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol",
        "file": "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol",
        "id": 16089,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 16157,
        "sourceUnit": 186,
        "src": "157:75:49",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "project:/contracts/core/IERC721CreatorCore.sol",
        "file": "../../core/IERC721CreatorCore.sol",
        "id": 16090,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 16157,
        "sourceUnit": 15408,
        "src": "234:43:49",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "project:/contracts/extensions/ERC721/ERC721CreatorExtension.sol",
        "file": "./ERC721CreatorExtension.sol",
        "id": 16091,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 16157,
        "sourceUnit": 16086,
        "src": "278:38:49",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "project:/contracts/extensions/ERC721/IERC721CreatorExtensionApproveTransfer.sol",
        "file": "./IERC721CreatorExtensionApproveTransfer.sol",
        "id": 16092,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 16157,
        "sourceUnit": 16484,
        "src": "317:54:49",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": true,
        "baseContracts": [
          {
            "baseName": {
              "id": 16094,
              "name": "AdminControl",
              "nameLocations": [
                "558:12:49"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 185,
              "src": "558:12:49"
            },
            "id": 16095,
            "nodeType": "InheritanceSpecifier",
            "src": "558:12:49"
          },
          {
            "baseName": {
              "id": 16096,
              "name": "ERC721CreatorExtension",
              "nameLocations": [
                "572:22:49"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 16085,
              "src": "572:22:49"
            },
            "id": 16097,
            "nodeType": "InheritanceSpecifier",
            "src": "572:22:49"
          },
          {
            "baseName": {
              "id": 16098,
              "name": "IERC721CreatorExtensionApproveTransfer",
              "nameLocations": [
                "596:38:49"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 16483,
              "src": "596:38:49"
            },
            "id": 16099,
            "nodeType": "InheritanceSpecifier",
            "src": "596:38:49"
          }
        ],
        "canonicalName": "ERC721CreatorExtensionApproveTransfer",
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 16093,
          "nodeType": "StructuredDocumentation",
          "src": "373:125:49",
          "text": " @dev Suggested implementation for extensions that require the creator to\n check with it before a transfer occurs"
        },
        "fullyImplemented": false,
        "id": 16156,
        "linearizedBaseContracts": [
          16156,
          16483,
          16085,
          15525,
          185,
          2132,
          417,
          2338,
          1157,
          1933
        ],
        "name": "ERC721CreatorExtensionApproveTransfer",
        "nameLocation": "517:37:49",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "baseFunctions": [
              42,
              2337,
              15524
            ],
            "body": {
              "id": 16123,
              "nodeType": "Block",
              "src": "835:147:49",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 16121,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      },
                      "id": 16116,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 16111,
                        "name": "interfaceId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16102,
                        "src": "852:11:49",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "expression": {
                          "arguments": [
                            {
                              "id": 16113,
                              "name": "IERC721CreatorExtensionApproveTransfer",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 16483,
                              "src": "872:38:49",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_IERC721CreatorExtensionApproveTransfer_$16483_$",
                                "typeString": "type(contract IERC721CreatorExtensionApproveTransfer)"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_type$_t_contract$_IERC721CreatorExtensionApproveTransfer_$16483_$",
                                "typeString": "type(contract IERC721CreatorExtensionApproveTransfer)"
                              }
                            ],
                            "id": 16112,
                            "name": "type",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 4294967269,
                            "src": "867:4:49",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                              "typeString": "function () pure"
                            }
                          },
                          "id": 16114,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "nameLocations": [],
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "867:44:49",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_meta_type_t_contract$_IERC721CreatorExtensionApproveTransfer_$16483",
                            "typeString": "type(contract IERC721CreatorExtensionApproveTransfer)"
                          }
                        },
                        "id": 16115,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "memberLocation": "912:11:49",
                        "memberName": "interfaceId",
                        "nodeType": "MemberAccess",
                        "src": "867:56:49",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "src": "852:71:49",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 16119,
                          "name": "interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 16102,
                          "src": "963:11:49",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        ],
                        "expression": {
                          "id": 16117,
                          "name": "super",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 4294967271,
                          "src": "939:5:49",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_super$_ERC721CreatorExtensionApproveTransfer_$16156_$",
                            "typeString": "type(contract super ERC721CreatorExtensionApproveTransfer)"
                          }
                        },
                        "id": 16118,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberLocation": "945:17:49",
                        "memberName": "supportsInterface",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 15524,
                        "src": "939:23:49",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$",
                          "typeString": "function (bytes4) view returns (bool)"
                        }
                      },
                      "id": 16120,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "939:36:49",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "852:123:49",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 16110,
                  "id": 16122,
                  "nodeType": "Return",
                  "src": "845:130:49"
                }
              ]
            },
            "documentation": {
              "id": 16100,
              "nodeType": "StructuredDocumentation",
              "src": "642:56:49",
              "text": " @dev See {IERC165-supportsInterface}."
            },
            "functionSelector": "01ffc9a7",
            "id": 16124,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "supportsInterface",
            "nameLocation": "712:17:49",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 16107,
              "nodeType": "OverrideSpecifier",
              "overrides": [
                {
                  "id": 16104,
                  "name": "AdminControl",
                  "nameLocations": [
                    "779:12:49"
                  ],
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 185,
                  "src": "779:12:49"
                },
                {
                  "id": 16105,
                  "name": "CreatorExtension",
                  "nameLocations": [
                    "793:16:49"
                  ],
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 15525,
                  "src": "793:16:49"
                },
                {
                  "id": 16106,
                  "name": "IERC165",
                  "nameLocations": [
                    "811:7:49"
                  ],
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 2338,
                  "src": "811:7:49"
                }
              ],
              "src": "770:49:49"
            },
            "parameters": {
              "id": 16103,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16102,
                  "mutability": "mutable",
                  "name": "interfaceId",
                  "nameLocation": "737:11:49",
                  "nodeType": "VariableDeclaration",
                  "scope": 16124,
                  "src": "730:18:49",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 16101,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "730:6:49",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "729:20:49"
            },
            "returnParameters": {
              "id": 16110,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16109,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 16124,
                  "src": "829:4:49",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 16108,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "829:4:49",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "828:6:49"
            },
            "scope": 16156,
            "src": "703:279:49",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              16468
            ],
            "body": {
              "id": 16154,
              "nodeType": "Block",
              "src": "1171:223:49",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "id": 16138,
                            "name": "creator",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16127,
                            "src": "1221:7:49",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 16140,
                                  "name": "IERC721CreatorCore",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 15407,
                                  "src": "1235:18:49",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_contract$_IERC721CreatorCore_$15407_$",
                                    "typeString": "type(contract IERC721CreatorCore)"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_type$_t_contract$_IERC721CreatorCore_$15407_$",
                                    "typeString": "type(contract IERC721CreatorCore)"
                                  }
                                ],
                                "id": 16139,
                                "name": "type",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 4294967269,
                                "src": "1230:4:49",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                  "typeString": "function () pure"
                                }
                              },
                              "id": 16141,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "nameLocations": [],
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "1230:24:49",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_meta_type_t_contract$_IERC721CreatorCore_$15407",
                                "typeString": "type(contract IERC721CreatorCore)"
                              }
                            },
                            "id": 16142,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "memberLocation": "1255:11:49",
                            "memberName": "interfaceId",
                            "nodeType": "MemberAccess",
                            "src": "1230:36:49",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            },
                            {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            }
                          ],
                          "expression": {
                            "id": 16136,
                            "name": "ERC165Checker",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2326,
                            "src": "1189:13:49",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ERC165Checker_$2326_$",
                              "typeString": "type(library ERC165Checker)"
                            }
                          },
                          "id": 16137,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberLocation": "1203:17:49",
                          "memberName": "supportsInterface",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 2182,
                          "src": "1189:31:49",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes4_$returns$_t_bool_$",
                            "typeString": "function (address,bytes4) view returns (bool)"
                          }
                        },
                        "id": 16143,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "nameLocations": [],
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1189:78:49",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "63726561746f72206d75737420696d706c656d656e74204945524337323143726561746f72436f7265",
                        "id": 16144,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1269:43:49",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_6ce3e2a1d39a1e733326d9ad19a368bd3d0a0e54a77ac125270b9710bcd4d67f",
                          "typeString": "literal_string \"creator must implement IERC721CreatorCore\""
                        },
                        "value": "creator must implement IERC721CreatorCore"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_6ce3e2a1d39a1e733326d9ad19a368bd3d0a0e54a77ac125270b9710bcd4d67f",
                          "typeString": "literal_string \"creator must implement IERC721CreatorCore\""
                        }
                      ],
                      "id": 16135,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        4294967278,
                        4294967278
                      ],
                      "referencedDeclaration": 4294967278,
                      "src": "1181:7:49",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 16145,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "nameLocations": [],
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1181:132:49",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 16146,
                  "nodeType": "ExpressionStatement",
                  "src": "1181:132:49"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 16151,
                        "name": "enabled",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 16129,
                        "src": "1379:7:49",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "expression": {
                        "arguments": [
                          {
                            "id": 16148,
                            "name": "creator",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 16127,
                            "src": "1342:7:49",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 16147,
                          "name": "IERC721CreatorCore",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15407,
                          "src": "1323:18:49",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IERC721CreatorCore_$15407_$",
                            "typeString": "type(contract IERC721CreatorCore)"
                          }
                        },
                        "id": 16149,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "nameLocations": [],
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1323:27:49",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IERC721CreatorCore_$15407",
                          "typeString": "contract IERC721CreatorCore"
                        }
                      },
                      "id": 16150,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberLocation": "1351:27:49",
                      "memberName": "setApproveTransferExtension",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 15092,
                      "src": "1323:55:49",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_bool_$returns$__$",
                        "typeString": "function (bool) external"
                      }
                    },
                    "id": 16152,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "nameLocations": [],
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1323:64:49",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 16153,
                  "nodeType": "ExpressionStatement",
                  "src": "1323:64:49"
                }
              ]
            },
            "documentation": {
              "id": 16125,
              "nodeType": "StructuredDocumentation",
              "src": "988:87:49",
              "text": " @dev See {IERC721CreatorExtensionApproveTransfer-setApproveTransfer}"
            },
            "functionSelector": "1b95a227",
            "id": 16155,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 16133,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 16132,
                  "name": "adminRequired",
                  "nameLocations": [
                    "1157:13:49"
                  ],
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 62,
                  "src": "1157:13:49"
                },
                "nodeType": "ModifierInvocation",
                "src": "1157:13:49"
              }
            ],
            "name": "setApproveTransfer",
            "nameLocation": "1089:18:49",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 16131,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1148:8:49"
            },
            "parameters": {
              "id": 16130,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 16127,
                  "mutability": "mutable",
                  "name": "creator",
                  "nameLocation": "1116:7:49",
                  "nodeType": "VariableDeclaration",
                  "scope": 16155,
                  "src": "1108:15:49",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 16126,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1108:7:49",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 16129,
                  "mutability": "mutable",
                  "name": "enabled",
                  "nameLocation": "1130:7:49",
                  "nodeType": "VariableDeclaration",
                  "scope": 16155,
                  "src": "1125:12:49",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 16128,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1125:4:49",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1107:31:49"
            },
            "returnParameters": {
              "id": 16134,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1171:0:49"
            },
            "scope": 16156,
            "src": "1080:314:49",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 16157,
        "src": "499:898:49",
        "usedErrors": []
      }
    ],
    "src": "33:1364:49"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.19+commit.7dd6d404.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.12",
  "updatedAt": "2023-03-22T17:07:39.763Z",
  "devdoc": {
    "details": "Suggested implementation for extensions that require the creator to check with it before a transfer occurs",
    "kind": "dev",
    "methods": {
      "approveAdmin(address)": {
        "details": "See {IAdminControl-approveAdmin}."
      },
      "approveTransfer(address,address,address,uint256)": {
        "details": "Called by creator contract to approve a transfer"
      },
      "getAdmins()": {
        "details": "See {IAdminControl-getAdmins}."
      },
      "isAdmin(address)": {
        "details": "See {IAdminControl-isAdmin}."
      },
      "owner()": {
        "details": "Returns the address of the current owner."
      },
      "renounceOwnership()": {
        "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
      },
      "revokeAdmin(address)": {
        "details": "See {IAdminControl-revokeAdmin}."
      },
      "setApproveTransfer(address,bool)": {
        "details": "See {IERC721CreatorExtensionApproveTransfer-setApproveTransfer}"
      },
      "supportsInterface(bytes4)": {
        "details": "See {IERC165-supportsInterface}."
      },
      "transferOwnership(address)": {
        "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
      }
    },
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}