{
  "contractName": "CreatorExtension",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Base creator extension variables\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"stateVariables\":{\"LEGACY_EXTENSION_INTERFACE\":{\"details\":\"Legacy extension interface identifiers {IERC165-supportsInterface} needs to return 'true' for this interface in order backwards compatible with older creator contracts\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/extensions/CreatorExtension.sol\":\"CreatorExtension\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":25},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"project:/contracts/extensions/CreatorExtension.sol\":{\"keccak256\":\"0x36fe8d17e2364675e2bdd3fc6539976613cac057db580f3d43a202865f7f5cc9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a6f47309d37ef8dcc76802ab2c8a1500b2160099c9e368f6ac0bf05175e0b97\",\"dweb:/ipfs/QmbyMW37myT5wuQuAjTcna7AuEn8b5EgUh2sPqR9VSTF3B\"]}},\"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/ERC165.sol\";\n\n/**\n * @dev Base creator extension variables\n */\nabstract contract CreatorExtension is ERC165 {\n\n    /**\n     * @dev Legacy extension interface identifiers\n     *\n     * {IERC165-supportsInterface} needs to return 'true' for this interface\n     * in order backwards compatible with older creator contracts\n     */\n    bytes4 constant internal LEGACY_EXTENSION_INTERFACE = 0x7005caad;\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) {\n        return interfaceId == LEGACY_EXTENSION_INTERFACE\n            || super.supportsInterface(interfaceId);\n    }\n    \n}",
  "sourcePath": "/Users/chung/git/manifoldxyz/solidity/creator-core-solidity/contracts/extensions/CreatorExtension.sol",
  "ast": {
    "absolutePath": "project:/contracts/extensions/CreatorExtension.sol",
    "exportedSymbols": {
      "CreatorExtension": [
        15525
      ],
      "ERC165": [
        2132
      ],
      "IERC165": [
        2338
      ]
    },
    "id": 15526,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 15496,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "33:23:41"
      },
      {
        "absolutePath": "@openzeppelin/contracts/utils/introspection/ERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/ERC165.sol",
        "id": 15497,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 15526,
        "sourceUnit": 2133,
        "src": "85:64:41",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": true,
        "baseContracts": [
          {
            "baseName": {
              "id": 15499,
              "name": "ERC165",
              "nameLocations": [
                "238:6:41"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 2132,
              "src": "238:6:41"
            },
            "id": 15500,
            "nodeType": "InheritanceSpecifier",
            "src": "238:6:41"
          }
        ],
        "canonicalName": "CreatorExtension",
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 15498,
          "nodeType": "StructuredDocumentation",
          "src": "151:48:41",
          "text": " @dev Base creator extension variables"
        },
        "fullyImplemented": true,
        "id": 15525,
        "linearizedBaseContracts": [
          15525,
          2132,
          2338
        ],
        "name": "CreatorExtension",
        "nameLocation": "218:16:41",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "documentation": {
              "id": 15501,
              "nodeType": "StructuredDocumentation",
              "src": "252:212:41",
              "text": " @dev Legacy extension interface identifiers\n {IERC165-supportsInterface} needs to return 'true' for this interface\n in order backwards compatible with older creator contracts"
            },
            "id": 15504,
            "mutability": "constant",
            "name": "LEGACY_EXTENSION_INTERFACE",
            "nameLocation": "494:26:41",
            "nodeType": "VariableDeclaration",
            "scope": 15525,
            "src": "469:64:41",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes4",
              "typeString": "bytes4"
            },
            "typeName": {
              "id": 15502,
              "name": "bytes4",
              "nodeType": "ElementaryTypeName",
              "src": "469:6:41",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes4",
                "typeString": "bytes4"
              }
            },
            "value": {
              "hexValue": "30783730303563616164",
              "id": 15503,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "523:10:41",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_1879427757_by_1",
                "typeString": "int_const 1879427757"
              },
              "value": "0x7005caad"
            },
            "visibility": "internal"
          },
          {
            "baseFunctions": [
              2131
            ],
            "body": {
              "id": 15523,
              "nodeType": "Block",
              "src": "700:117:41",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 15521,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      },
                      "id": 15516,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 15514,
                        "name": "interfaceId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15507,
                        "src": "717:11:41",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "id": 15515,
                        "name": "LEGACY_EXTENSION_INTERFACE",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 15504,
                        "src": "732:26:41",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "src": "717:41:41",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 15519,
                          "name": "interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 15507,
                          "src": "798:11:41",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        ],
                        "expression": {
                          "id": 15517,
                          "name": "super",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 4294967271,
                          "src": "774:5:41",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_super$_CreatorExtension_$15525_$",
                            "typeString": "type(contract super CreatorExtension)"
                          }
                        },
                        "id": 15518,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberLocation": "780:17:41",
                        "memberName": "supportsInterface",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 2131,
                        "src": "774:23:41",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$",
                          "typeString": "function (bytes4) view returns (bool)"
                        }
                      },
                      "id": 15520,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "nameLocations": [],
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "774:36:41",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "717:93:41",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 15513,
                  "id": 15522,
                  "nodeType": "Return",
                  "src": "710:100:41"
                }
              ]
            },
            "documentation": {
              "id": 15505,
              "nodeType": "StructuredDocumentation",
              "src": "540:56:41",
              "text": " @dev See {IERC165-supportsInterface}."
            },
            "functionSelector": "01ffc9a7",
            "id": 15524,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "supportsInterface",
            "nameLocation": "610:17:41",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 15510,
              "nodeType": "OverrideSpecifier",
              "overrides": [
                {
                  "id": 15509,
                  "name": "ERC165",
                  "nameLocations": [
                    "677:6:41"
                  ],
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 2132,
                  "src": "677:6:41"
                }
              ],
              "src": "668:16:41"
            },
            "parameters": {
              "id": 15508,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15507,
                  "mutability": "mutable",
                  "name": "interfaceId",
                  "nameLocation": "635:11:41",
                  "nodeType": "VariableDeclaration",
                  "scope": 15524,
                  "src": "628:18:41",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 15506,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "628:6:41",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "627:20:41"
            },
            "returnParameters": {
              "id": 15513,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 15512,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 15524,
                  "src": "694:4:41",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 15511,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "694:4:41",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "693:6:41"
            },
            "scope": 15525,
            "src": "601:216:41",
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          }
        ],
        "scope": 15526,
        "src": "200:624:41",
        "usedErrors": []
      }
    ],
    "src": "33:791:41"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.19+commit.7dd6d404.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.12",
  "updatedAt": "2023-03-22T17:07:39.757Z",
  "devdoc": {
    "details": "Base creator extension variables",
    "kind": "dev",
    "methods": {
      "supportsInterface(bytes4)": {
        "details": "See {IERC165-supportsInterface}."
      }
    },
    "stateVariables": {
      "LEGACY_EXTENSION_INTERFACE": {
        "details": "Legacy extension interface identifiers {IERC165-supportsInterface} needs to return 'true' for this interface in order backwards compatible with older creator contracts"
      }
    },
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}