{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "methodIdentifiers": {
    "supportsInterface(bytes4)": "01ffc9a7"
  },
  "ast": {
    "absolutePath": "node_modules/@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol",
    "id": 23244,
    "exportedSymbols": {
      "AddressUpgradeable": [
        25086
      ],
      "ERC165Upgradeable": [
        23243
      ],
      "IERC165Upgradeable": [
        23255
      ],
      "Initializable": [
        23676
      ]
    },
    "nodeType": "SourceUnit",
    "src": "33:1917:8",
    "nodes": [
      {
        "id": 23170,
        "nodeType": "PragmaDirective",
        "src": "33:31:8",
        "literals": [
          "solidity",
          ">=",
          "0.6",
          ".0",
          "<",
          "0.8",
          ".0"
        ]
      },
      {
        "id": 23171,
        "nodeType": "ImportDirective",
        "src": "66:34:8",
        "absolutePath": "node_modules/@openzeppelin/contracts-upgradeable/introspection/IERC165Upgradeable.sol",
        "file": "./IERC165Upgradeable.sol",
        "scope": 23244,
        "sourceUnit": 23256,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 23172,
        "nodeType": "ImportDirective",
        "src": "101:36:8",
        "absolutePath": "node_modules/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol",
        "file": "../proxy/Initializable.sol",
        "scope": 23244,
        "sourceUnit": 23677,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 23243,
        "nodeType": "ContractDefinition",
        "src": "311:1638:8",
        "nodes": [
          {
            "id": 23180,
            "nodeType": "VariableDeclaration",
            "src": "473:57:8",
            "constant": true,
            "mutability": "constant",
            "name": "_INTERFACE_ID_ERC165",
            "scope": 23243,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes4",
              "typeString": "bytes4"
            },
            "typeName": {
              "id": 23178,
              "name": "bytes4",
              "nodeType": "ElementaryTypeName",
              "src": "473:6:8",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes4",
                "typeString": "bytes4"
              }
            },
            "value": {
              "hexValue": "30783031666663396137",
              "id": 23179,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "520:10:8",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_33540519_by_1",
                "typeString": "int_const 33540519"
              },
              "value": "0x01ffc9a7"
            },
            "visibility": "private"
          },
          {
            "id": 23185,
            "nodeType": "VariableDeclaration",
            "src": "624:52:8",
            "constant": false,
            "documentation": {
              "id": 23181,
              "nodeType": "StructuredDocumentation",
              "src": "537:82:8",
              "text": " @dev Mapping of interface ids to whether or not it's supported."
            },
            "mutability": "mutable",
            "name": "_supportedInterfaces",
            "scope": 23243,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$",
              "typeString": "mapping(bytes4 => bool)"
            },
            "typeName": {
              "id": 23184,
              "keyType": {
                "id": 23182,
                "name": "bytes4",
                "nodeType": "ElementaryTypeName",
                "src": "632:6:8",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes4",
                  "typeString": "bytes4"
                }
              },
              "nodeType": "Mapping",
              "src": "624:23:8",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$",
                "typeString": "mapping(bytes4 => bool)"
              },
              "valueType": {
                "id": 23183,
                "name": "bool",
                "nodeType": "ElementaryTypeName",
                "src": "642:4:8",
                "typeDescriptions": {
                  "typeIdentifier": "t_bool",
                  "typeString": "bool"
                }
              }
            },
            "visibility": "private"
          },
          {
            "id": 23194,
            "nodeType": "FunctionDefinition",
            "src": "683:88:8",
            "body": {
              "id": 23193,
              "nodeType": "Block",
              "src": "729:42:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 23190,
                      "name": "__ERC165_init_unchained",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 23204,
                      "src": "739:23:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 23191,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "739:25:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 23192,
                  "nodeType": "ExpressionStatement",
                  "src": "739:25:8"
                }
              ]
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 23188,
                "modifierName": {
                  "id": 23187,
                  "name": "initializer",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 23659,
                  "src": "717:11:8",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "717:11:8"
              }
            ],
            "name": "__ERC165_init",
            "parameters": {
              "id": 23186,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "705:2:8"
            },
            "returnParameters": {
              "id": 23189,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "729:0:8"
            },
            "scope": 23243,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 23204,
            "nodeType": "FunctionDefinition",
            "src": "777:249:8",
            "body": {
              "id": 23203,
              "nodeType": "Block",
              "src": "833:193:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 23200,
                        "name": "_INTERFACE_ID_ERC165",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23180,
                        "src": "998:20:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      ],
                      "id": 23199,
                      "name": "_registerInterface",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 23238,
                      "src": "979:18:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$",
                        "typeString": "function (bytes4)"
                      }
                    },
                    "id": 23201,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "979:40:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 23202,
                  "nodeType": "ExpressionStatement",
                  "src": "979:40:8"
                }
              ]
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 23197,
                "modifierName": {
                  "id": 23196,
                  "name": "initializer",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 23659,
                  "src": "821:11:8",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "821:11:8"
              }
            ],
            "name": "__ERC165_init_unchained",
            "parameters": {
              "id": 23195,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "809:2:8"
            },
            "returnParameters": {
              "id": 23198,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "833:0:8"
            },
            "scope": 23243,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 23218,
            "nodeType": "FunctionDefinition",
            "src": "1176:148:8",
            "body": {
              "id": 23217,
              "nodeType": "Block",
              "src": "1267:57:8",
              "statements": [
                {
                  "expression": {
                    "baseExpression": {
                      "id": 23213,
                      "name": "_supportedInterfaces",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 23185,
                      "src": "1284:20:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$",
                        "typeString": "mapping(bytes4 => bool)"
                      }
                    },
                    "id": 23215,
                    "indexExpression": {
                      "id": 23214,
                      "name": "interfaceId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 23207,
                      "src": "1305:11:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes4",
                        "typeString": "bytes4"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "1284:33:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 23212,
                  "id": 23216,
                  "nodeType": "Return",
                  "src": "1277:40:8"
                }
              ]
            },
            "baseFunctions": [
              23254
            ],
            "documentation": {
              "id": 23205,
              "nodeType": "StructuredDocumentation",
              "src": "1032:139:8",
              "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas."
            },
            "functionSelector": "01ffc9a7",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "supportsInterface",
            "overrides": {
              "id": 23209,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1243:8:8"
            },
            "parameters": {
              "id": 23208,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 23207,
                  "mutability": "mutable",
                  "name": "interfaceId",
                  "nodeType": "VariableDeclaration",
                  "scope": 23218,
                  "src": "1203:18:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 23206,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1203:6:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1202:20:8"
            },
            "returnParameters": {
              "id": 23212,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 23211,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 23218,
                  "src": "1261:4:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 23210,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1261:4:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1260:6:8"
            },
            "scope": 23243,
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "id": 23238,
            "nodeType": "FunctionDefinition",
            "src": "1718:198:8",
            "body": {
              "id": 23237,
              "nodeType": "Block",
              "src": "1783:133:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        },
                        "id": 23227,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 23225,
                          "name": "interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23221,
                          "src": "1801:11:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "hexValue": "30786666666666666666",
                          "id": 23226,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1816:10:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_4294967295_by_1",
                            "typeString": "int_const 4294967295"
                          },
                          "value": "0xffffffff"
                        },
                        "src": "1801:25:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964",
                        "id": 23228,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1828:30:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee",
                          "typeString": "literal_string \"ERC165: invalid interface id\""
                        },
                        "value": "ERC165: invalid interface id"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee",
                          "typeString": "literal_string \"ERC165: invalid interface id\""
                        }
                      ],
                      "id": 23224,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "1793:7:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 23229,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1793:66:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 23230,
                  "nodeType": "ExpressionStatement",
                  "src": "1793:66:8"
                },
                {
                  "expression": {
                    "id": 23235,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 23231,
                        "name": "_supportedInterfaces",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23185,
                        "src": "1869:20:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$",
                          "typeString": "mapping(bytes4 => bool)"
                        }
                      },
                      "id": 23233,
                      "indexExpression": {
                        "id": 23232,
                        "name": "interfaceId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23221,
                        "src": "1890:11:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "1869:33:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "hexValue": "74727565",
                      "id": 23234,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "bool",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1905:4:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "value": "true"
                    },
                    "src": "1869:40:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 23236,
                  "nodeType": "ExpressionStatement",
                  "src": "1869:40:8"
                }
              ]
            },
            "documentation": {
              "id": 23219,
              "nodeType": "StructuredDocumentation",
              "src": "1330:383:8",
              "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_registerInterface",
            "parameters": {
              "id": 23222,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 23221,
                  "mutability": "mutable",
                  "name": "interfaceId",
                  "nodeType": "VariableDeclaration",
                  "scope": 23238,
                  "src": "1746:18:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 23220,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "1746:6:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1745:20:8"
            },
            "returnParameters": {
              "id": 23223,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1783:0:8"
            },
            "scope": 23243,
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "id": 23242,
            "nodeType": "VariableDeclaration",
            "src": "1921:25:8",
            "constant": false,
            "mutability": "mutable",
            "name": "__gap",
            "scope": 23243,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_array$_t_uint256_$49_storage",
              "typeString": "uint256[49]"
            },
            "typeName": {
              "baseType": {
                "id": 23239,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "1921:7:8",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "id": 23241,
              "length": {
                "hexValue": "3439",
                "id": 23240,
                "isConstant": false,
                "isLValue": false,
                "isPure": true,
                "kind": "number",
                "lValueRequested": false,
                "nodeType": "Literal",
                "src": "1929:2:8",
                "typeDescriptions": {
                  "typeIdentifier": "t_rational_49_by_1",
                  "typeString": "int_const 49"
                },
                "value": "49"
              },
              "nodeType": "ArrayTypeName",
              "src": "1921:11:8",
              "typeDescriptions": {
                "typeIdentifier": "t_array$_t_uint256_$49_storage_ptr",
                "typeString": "uint256[49]"
              }
            },
            "visibility": "private"
          }
        ],
        "abstract": true,
        "baseContracts": [
          {
            "baseName": {
              "id": 23174,
              "name": "Initializable",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 23676,
              "src": "350:13:8",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Initializable_$23676",
                "typeString": "contract Initializable"
              }
            },
            "id": 23175,
            "nodeType": "InheritanceSpecifier",
            "src": "350:13:8"
          },
          {
            "baseName": {
              "id": 23176,
              "name": "IERC165Upgradeable",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 23255,
              "src": "365:18:8",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IERC165Upgradeable_$23255",
                "typeString": "contract IERC165Upgradeable"
              }
            },
            "id": 23177,
            "nodeType": "InheritanceSpecifier",
            "src": "365:18:8"
          }
        ],
        "contractDependencies": [
          23255,
          23676
        ],
        "contractKind": "contract",
        "documentation": {
          "id": 23173,
          "nodeType": "StructuredDocumentation",
          "src": "139:171:8",
          "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface."
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          23243,
          23255,
          23676
        ],
        "name": "ERC165Upgradeable",
        "scope": 23244
      }
    ],
    "license": "MIT"
  },
  "id": 8
}