{
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "LogComponentApproved",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "LogComponentArchived",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "componentName",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "enum IComponent.ComponentType",
          "name": "componentType",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "componentAddress",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "registryAddress",
          "type": "address"
        }
      ],
      "name": "LogComponentCreated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "LogComponentDeclined",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "LogComponentPaused",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "componentName",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "enum IComponent.ComponentType",
          "name": "componentType",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "componentAddress",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "LogComponentProposed",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "LogComponentResumed",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "enum IComponent.ComponentState",
          "name": "stateOld",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "enum IComponent.ComponentState",
          "name": "stateNew",
          "type": "uint8"
        }
      ],
      "name": "LogComponentStateChanged",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "LogComponentSuspended",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "LogComponentUnpaused",
      "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": [],
      "name": "approvalCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "archiveCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "declineCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getId",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getName",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getOwner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getRegistry",
      "outputs": [
        {
          "internalType": "contract IRegistry",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getState",
      "outputs": [
        {
          "internalType": "enum IComponent.ComponentState",
          "name": "",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getType",
      "outputs": [
        {
          "internalType": "enum IComponent.ComponentType",
          "name": "",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "isOracle",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "isProduct",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "isRiskpool",
      "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": "pauseCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "proposalCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "resumeCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        }
      ],
      "name": "setId",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "suspendCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "unpauseCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "allSourcePaths": {
    "0": "/home/runner/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/access/Ownable.sol",
    "16": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IAccess.sol",
    "18": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IComponentEvents.sol",
    "2": "/home/runner/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/token/ERC20/IERC20.sol",
    "21": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IRegistry.sol",
    "23": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IComponentOwnerService.sol",
    "24": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IInstanceOperatorService.sol",
    "25": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IInstanceService.sol",
    "26": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IOracleService.sol",
    "27": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IProductService.sol",
    "28": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IRiskpoolService.sol",
    "29": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/tokens/IBundleToken.sol",
    "4": "/home/runner/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/token/ERC721/IERC721.sol",
    "5": "/home/runner/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/utils/Context.sol",
    "6": "/home/runner/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/utils/introspection/IERC165.sol",
    "8": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/Component.sol",
    "9": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/IComponent.sol"
  },
  "ast": {
    "absolutePath": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/Component.sol",
    "exportedSymbols": {
      "Component": [
        5114
      ],
      "Context": [
        6682
      ],
      "IAccess": [
        6858
      ],
      "IBundle": [
        3612
      ],
      "IBundleToken": [
        4029
      ],
      "IComponent": [
        5218
      ],
      "IComponentEvents": [
        6911
      ],
      "IComponentOwnerService": [
        7044
      ],
      "IERC165": [
        7662
      ],
      "IERC20": [
        4694
      ],
      "IERC721": [
        6660
      ],
      "IInstanceOperatorService": [
        7311
      ],
      "IInstanceService": [
        5668
      ],
      "IOracleService": [
        5262
      ],
      "IPolicy": [
        3958
      ],
      "IPool": [
        7160
      ],
      "IProductService": [
        5813
      ],
      "IRegistry": [
        7009
      ],
      "IRiskpoolService": [
        7417
      ],
      "ITreasury": [
        2409
      ],
      "Ownable": [
        6795
      ]
    },
    "id": 5115,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 4696,
        "literals": [
          "solidity",
          "0.8",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "40:22:8"
      },
      {
        "absolutePath": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/IComponent.sol",
        "file": "./IComponent.sol",
        "id": 4697,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 5115,
        "sourceUnit": 5219,
        "src": "66:26:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IAccess.sol",
        "file": "../modules/IAccess.sol",
        "id": 4698,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 5115,
        "sourceUnit": 6859,
        "src": "94:32:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IComponentEvents.sol",
        "file": "../modules/IComponentEvents.sol",
        "id": 4699,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 5115,
        "sourceUnit": 6912,
        "src": "128:41:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IRegistry.sol",
        "file": "../modules/IRegistry.sol",
        "id": 4700,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 5115,
        "sourceUnit": 7010,
        "src": "171:34:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IComponentOwnerService.sol",
        "file": "../services/IComponentOwnerService.sol",
        "id": 4701,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 5115,
        "sourceUnit": 7045,
        "src": "207:48:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IInstanceService.sol",
        "file": "../services/IInstanceService.sol",
        "id": 4702,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 5115,
        "sourceUnit": 5669,
        "src": "257:42:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/runner/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/access/Ownable.sol",
        "file": "@openzeppelin/contracts/access/Ownable.sol",
        "id": 4703,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 5115,
        "sourceUnit": 6796,
        "src": "301:52:8",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": true,
        "baseContracts": [
          {
            "baseName": {
              "id": 4704,
              "name": "IComponent",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 5218,
              "src": "498:10:8"
            },
            "id": 4705,
            "nodeType": "InheritanceSpecifier",
            "src": "498:10:8"
          },
          {
            "baseName": {
              "id": 4706,
              "name": "IComponentEvents",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 6911,
              "src": "515:16:8"
            },
            "id": 4707,
            "nodeType": "InheritanceSpecifier",
            "src": "515:16:8"
          },
          {
            "baseName": {
              "id": 4708,
              "name": "Ownable",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 6795,
              "src": "538:7:8"
            },
            "id": 4709,
            "nodeType": "InheritanceSpecifier",
            "src": "538:7:8"
          }
        ],
        "contractDependencies": [
          5218,
          6682,
          6795,
          6911
        ],
        "contractKind": "contract",
        "fullyImplemented": true,
        "id": 5114,
        "linearizedBaseContracts": [
          5114,
          6795,
          6682,
          6911,
          5218
        ],
        "name": "Component",
        "nameLocation": "479:9:8",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 4711,
            "mutability": "mutable",
            "name": "_componentName",
            "nameLocation": "571:14:8",
            "nodeType": "VariableDeclaration",
            "scope": 5114,
            "src": "555:30:8",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 4710,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "555:7:8",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 4713,
            "mutability": "mutable",
            "name": "_componentId",
            "nameLocation": "608:12:8",
            "nodeType": "VariableDeclaration",
            "scope": 5114,
            "src": "592:28:8",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 4712,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "592:7:8",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 4716,
            "mutability": "mutable",
            "name": "_componentType",
            "nameLocation": "660:14:8",
            "nodeType": "VariableDeclaration",
            "scope": 5114,
            "src": "627:47:8",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_enum$_ComponentType_$5121",
              "typeString": "enum IComponent.ComponentType"
            },
            "typeName": {
              "id": 4715,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 4714,
                "name": "IComponent.ComponentType",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 5121,
                "src": "627:24:8"
              },
              "referencedDeclaration": 5121,
              "src": "627:24:8",
              "typeDescriptions": {
                "typeIdentifier": "t_enum$_ComponentType_$5121",
                "typeString": "enum IComponent.ComponentType"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 4719,
            "mutability": "mutable",
            "name": "_registry",
            "nameLocation": "701:9:8",
            "nodeType": "VariableDeclaration",
            "scope": 5114,
            "src": "683:27:8",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IRegistry_$7009",
              "typeString": "contract IRegistry"
            },
            "typeName": {
              "id": 4718,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 4717,
                "name": "IRegistry",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 7009,
                "src": "683:9:8"
              },
              "referencedDeclaration": 7009,
              "src": "683:9:8",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IRegistry_$7009",
                "typeString": "contract IRegistry"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 4722,
            "mutability": "mutable",
            "name": "_access",
            "nameLocation": "733:7:8",
            "nodeType": "VariableDeclaration",
            "scope": 5114,
            "src": "717:23:8",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IAccess_$6858",
              "typeString": "contract IAccess"
            },
            "typeName": {
              "id": 4721,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 4720,
                "name": "IAccess",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 6858,
                "src": "717:7:8"
              },
              "referencedDeclaration": 6858,
              "src": "717:7:8",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IAccess_$6858",
                "typeString": "contract IAccess"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 4725,
            "mutability": "mutable",
            "name": "_componentOwnerService",
            "nameLocation": "778:22:8",
            "nodeType": "VariableDeclaration",
            "scope": 5114,
            "src": "747:53:8",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
              "typeString": "contract IComponentOwnerService"
            },
            "typeName": {
              "id": 4724,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 4723,
                "name": "IComponentOwnerService",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 7044,
                "src": "747:22:8"
              },
              "referencedDeclaration": 7044,
              "src": "747:22:8",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                "typeString": "contract IComponentOwnerService"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 4728,
            "mutability": "mutable",
            "name": "_instanceService",
            "nameLocation": "832:16:8",
            "nodeType": "VariableDeclaration",
            "scope": 5114,
            "src": "807:41:8",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IInstanceService_$5668",
              "typeString": "contract IInstanceService"
            },
            "typeName": {
              "id": 4727,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 4726,
                "name": "IInstanceService",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 5668,
                "src": "807:16:8"
              },
              "referencedDeclaration": 5668,
              "src": "807:16:8",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IInstanceService_$5668",
                "typeString": "contract IInstanceService"
              }
            },
            "visibility": "private"
          },
          {
            "body": {
              "id": 4741,
              "nodeType": "Block",
              "src": "896:177:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 4736,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "id": 4731,
                            "name": "_msgSender",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6672,
                            "src": "930:10:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                              "typeString": "function () view returns (address)"
                            }
                          },
                          "id": 4732,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "930:12:8",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "arguments": [
                            {
                              "hexValue": "496e7374616e63654f70657261746f7253657276696365",
                              "id": 4734,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "966:25:8",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_893eee863631637173ead46f1c66388136d13bfeb40cdedfb3bfe4f34f933544",
                                "typeString": "literal_string \"InstanceOperatorService\""
                              },
                              "value": "InstanceOperatorService"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_stringliteral_893eee863631637173ead46f1c66388136d13bfeb40cdedfb3bfe4f34f933544",
                                "typeString": "literal_string \"InstanceOperatorService\""
                              }
                            ],
                            "id": 4733,
                            "name": "_getContractAddress",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5113,
                            "src": "946:19:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                              "typeString": "function (bytes32) view returns (address)"
                            }
                          },
                          "id": 4735,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "946:46:8",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "930:62:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552524f523a434d502d3030313a4e4f545f494e5354414e43455f4f50455241544f525f53455256494345",
                        "id": 4737,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1007:45:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_0cf129911f5ea89264cf2d932a66d14be63649422912365886718bb28b51326b",
                          "typeString": "literal_string \"ERROR:CMP-001:NOT_INSTANCE_OPERATOR_SERVICE\""
                        },
                        "value": "ERROR:CMP-001:NOT_INSTANCE_OPERATOR_SERVICE"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_0cf129911f5ea89264cf2d932a66d14be63649422912365886718bb28b51326b",
                          "typeString": "literal_string \"ERROR:CMP-001:NOT_INSTANCE_OPERATOR_SERVICE\""
                        }
                      ],
                      "id": 4730,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "907:7:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 4738,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "907:146:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4739,
                  "nodeType": "ExpressionStatement",
                  "src": "907:146:8"
                },
                {
                  "id": 4740,
                  "nodeType": "PlaceholderStatement",
                  "src": "1064:1:8"
                }
              ]
            },
            "id": 4742,
            "name": "onlyInstanceOperatorService",
            "nameLocation": "866:27:8",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 4729,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "893:2:8"
            },
            "src": "857:216:8",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 4755,
              "nodeType": "Block",
              "src": "1106:147:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 4750,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "id": 4745,
                            "name": "_msgSender",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6672,
                            "src": "1140:10:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                              "typeString": "function () view returns (address)"
                            }
                          },
                          "id": 4746,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1140:12:8",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "arguments": [
                            {
                              "hexValue": "436f6d706f6e656e74",
                              "id": 4748,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1176:11:8",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_20422c9fb475bf3099f246b9754fae871c7ccc7264ca39a5be99fea0688ffe24",
                                "typeString": "literal_string \"Component\""
                              },
                              "value": "Component"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_stringliteral_20422c9fb475bf3099f246b9754fae871c7ccc7264ca39a5be99fea0688ffe24",
                                "typeString": "literal_string \"Component\""
                              }
                            ],
                            "id": 4747,
                            "name": "_getContractAddress",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5113,
                            "src": "1156:19:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                              "typeString": "function (bytes32) view returns (address)"
                            }
                          },
                          "id": 4749,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1156:32:8",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "1140:48:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552524f523a434d502d3030323a4e4f545f434f4d504f4e454e54",
                        "id": 4751,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1203:29:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_13d854cfce65ca3d798b24f0152adbdef51328a4972814c276101e4a34ebcd4a",
                          "typeString": "literal_string \"ERROR:CMP-002:NOT_COMPONENT\""
                        },
                        "value": "ERROR:CMP-002:NOT_COMPONENT"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_13d854cfce65ca3d798b24f0152adbdef51328a4972814c276101e4a34ebcd4a",
                          "typeString": "literal_string \"ERROR:CMP-002:NOT_COMPONENT\""
                        }
                      ],
                      "id": 4744,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "1117:7:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 4752,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1117:116:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4753,
                  "nodeType": "ExpressionStatement",
                  "src": "1117:116:8"
                },
                {
                  "id": 4754,
                  "nodeType": "PlaceholderStatement",
                  "src": "1244:1:8"
                }
              ]
            },
            "id": 4756,
            "name": "onlyComponent",
            "nameLocation": "1090:13:8",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 4743,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1103:2:8"
            },
            "src": "1081:172:8",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 4770,
              "nodeType": "Block",
              "src": "1298:160:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 4765,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "id": 4759,
                            "name": "_msgSender",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 6672,
                            "src": "1332:10:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                              "typeString": "function () view returns (address)"
                            }
                          },
                          "id": 4760,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1332:12:8",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "arguments": [
                            {
                              "id": 4763,
                              "name": "_componentOwnerService",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 4725,
                              "src": "1356:22:8",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                                "typeString": "contract IComponentOwnerService"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                                "typeString": "contract IComponentOwnerService"
                              }
                            ],
                            "id": 4762,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "1348:7:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 4761,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "1348:7:8",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 4764,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1348:31:8",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "1332:47:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552524f523a434d502d3030333a4e4f545f434f4d504f4e454e545f4f574e45525f53455256494345",
                        "id": 4766,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1394:43:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_5a42b6523909db0c3f07c7fc4301f658eda0aaaedcec4492e9f126a1a0b351bc",
                          "typeString": "literal_string \"ERROR:CMP-003:NOT_COMPONENT_OWNER_SERVICE\""
                        },
                        "value": "ERROR:CMP-003:NOT_COMPONENT_OWNER_SERVICE"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_5a42b6523909db0c3f07c7fc4301f658eda0aaaedcec4492e9f126a1a0b351bc",
                          "typeString": "literal_string \"ERROR:CMP-003:NOT_COMPONENT_OWNER_SERVICE\""
                        }
                      ],
                      "id": 4758,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "1309:7:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 4767,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1309:129:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4768,
                  "nodeType": "ExpressionStatement",
                  "src": "1309:129:8"
                },
                {
                  "id": 4769,
                  "nodeType": "PlaceholderStatement",
                  "src": "1449:1:8"
                }
              ]
            },
            "id": 4771,
            "name": "onlyComponentOwnerService",
            "nameLocation": "1270:25:8",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 4757,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1295:2:8"
            },
            "src": "1261:197:8",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 4835,
              "nodeType": "Block",
              "src": "1608:515:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 4789,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 4784,
                          "name": "registry",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 4778,
                          "src": "1627:8:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "arguments": [
                            {
                              "hexValue": "30",
                              "id": 4787,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1647:1:8",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 4786,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "1639:7:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 4785,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "1639:7:8",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 4788,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1639:10:8",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "1627:22:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552524f523a434d502d3030343a52454749535452595f414444524553535f5a45524f",
                        "id": 4790,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1651:37:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_5dcfc840a63d8a5a46ba6b85476b7d901628bd3e28990c52c8816700a9111acc",
                          "typeString": "literal_string \"ERROR:CMP-004:REGISTRY_ADDRESS_ZERO\""
                        },
                        "value": "ERROR:CMP-004:REGISTRY_ADDRESS_ZERO"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_5dcfc840a63d8a5a46ba6b85476b7d901628bd3e28990c52c8816700a9111acc",
                          "typeString": "literal_string \"ERROR:CMP-004:REGISTRY_ADDRESS_ZERO\""
                        }
                      ],
                      "id": 4783,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "1619:7:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 4791,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1619:70:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4792,
                  "nodeType": "ExpressionStatement",
                  "src": "1619:70:8"
                },
                {
                  "expression": {
                    "id": 4797,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 4793,
                      "name": "_registry",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4719,
                      "src": "1702:9:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IRegistry_$7009",
                        "typeString": "contract IRegistry"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 4795,
                          "name": "registry",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 4778,
                          "src": "1724:8:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 4794,
                        "name": "IRegistry",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7009,
                        "src": "1714:9:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_IRegistry_$7009_$",
                          "typeString": "type(contract IRegistry)"
                        }
                      },
                      "id": 4796,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1714:19:8",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IRegistry_$7009",
                        "typeString": "contract IRegistry"
                      }
                    },
                    "src": "1702:31:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IRegistry_$7009",
                      "typeString": "contract IRegistry"
                    }
                  },
                  "id": 4798,
                  "nodeType": "ExpressionStatement",
                  "src": "1702:31:8"
                },
                {
                  "expression": {
                    "id": 4802,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 4799,
                      "name": "_access",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4722,
                      "src": "1744:7:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IAccess_$6858",
                        "typeString": "contract IAccess"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 4800,
                        "name": "_getAccess",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5074,
                        "src": "1754:10:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$__$returns$_t_contract$_IAccess_$6858_$",
                          "typeString": "function () view returns (contract IAccess)"
                        }
                      },
                      "id": 4801,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1754:12:8",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IAccess_$6858",
                        "typeString": "contract IAccess"
                      }
                    },
                    "src": "1744:22:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IAccess_$6858",
                      "typeString": "contract IAccess"
                    }
                  },
                  "id": 4803,
                  "nodeType": "ExpressionStatement",
                  "src": "1744:22:8"
                },
                {
                  "expression": {
                    "id": 4807,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 4804,
                      "name": "_componentOwnerService",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4725,
                      "src": "1777:22:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                        "typeString": "contract IComponentOwnerService"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 4805,
                        "name": "_getComponentOwnerService",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5100,
                        "src": "1802:25:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$__$returns$_t_contract$_IComponentOwnerService_$7044_$",
                          "typeString": "function () view returns (contract IComponentOwnerService)"
                        }
                      },
                      "id": 4806,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1802:27:8",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                        "typeString": "contract IComponentOwnerService"
                      }
                    },
                    "src": "1777:52:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                      "typeString": "contract IComponentOwnerService"
                    }
                  },
                  "id": 4808,
                  "nodeType": "ExpressionStatement",
                  "src": "1777:52:8"
                },
                {
                  "expression": {
                    "id": 4812,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 4809,
                      "name": "_instanceService",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4728,
                      "src": "1840:16:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IInstanceService_$5668",
                        "typeString": "contract IInstanceService"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 4810,
                        "name": "_getInstanceService",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5087,
                        "src": "1859:19:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$__$returns$_t_contract$_IInstanceService_$5668_$",
                          "typeString": "function () view returns (contract IInstanceService)"
                        }
                      },
                      "id": 4811,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1859:21:8",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IInstanceService_$5668",
                        "typeString": "contract IInstanceService"
                      }
                    },
                    "src": "1840:40:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IInstanceService_$5668",
                      "typeString": "contract IInstanceService"
                    }
                  },
                  "id": 4813,
                  "nodeType": "ExpressionStatement",
                  "src": "1840:40:8"
                },
                {
                  "expression": {
                    "id": 4816,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 4814,
                      "name": "_componentName",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4711,
                      "src": "1893:14:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 4815,
                      "name": "name",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4773,
                      "src": "1910:4:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "1893:21:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 4817,
                  "nodeType": "ExpressionStatement",
                  "src": "1893:21:8"
                },
                {
                  "expression": {
                    "id": 4820,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 4818,
                      "name": "_componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4716,
                      "src": "1925:14:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$5121",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 4819,
                      "name": "componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4776,
                      "src": "1942:13:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$5121",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "src": "1925:30:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentType_$5121",
                      "typeString": "enum IComponent.ComponentType"
                    }
                  },
                  "id": 4821,
                  "nodeType": "ExpressionStatement",
                  "src": "1925:30:8"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 4823,
                        "name": "_componentName",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 4711,
                        "src": "2007:14:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "id": 4824,
                        "name": "_componentType",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 4716,
                        "src": "2037:14:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_enum$_ComponentType_$5121",
                          "typeString": "enum IComponent.ComponentType"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "id": 4827,
                            "name": "this",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -28,
                            "src": "2075:4:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Component_$5114",
                              "typeString": "contract Component"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Component_$5114",
                              "typeString": "contract Component"
                            }
                          ],
                          "id": 4826,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2067:7:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": {
                            "id": 4825,
                            "name": "address",
                            "nodeType": "ElementaryTypeName",
                            "src": "2067:7:8",
                            "typeDescriptions": {}
                          }
                        },
                        "id": 4828,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2067:13:8",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "id": 4831,
                            "name": "_registry",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 4719,
                            "src": "2104:9:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IRegistry_$7009",
                              "typeString": "contract IRegistry"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IRegistry_$7009",
                              "typeString": "contract IRegistry"
                            }
                          ],
                          "id": 4830,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2096:7:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": {
                            "id": 4829,
                            "name": "address",
                            "nodeType": "ElementaryTypeName",
                            "src": "2096:7:8",
                            "typeDescriptions": {}
                          }
                        },
                        "id": 4832,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2096:18:8",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_enum$_ComponentType_$5121",
                          "typeString": "enum IComponent.ComponentType"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 4822,
                      "name": "LogComponentCreated",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5140,
                      "src": "1973:19:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_enum$_ComponentType_$5121_$_t_address_$_t_address_$returns$__$",
                        "typeString": "function (bytes32,enum IComponent.ComponentType,address,address)"
                      }
                    },
                    "id": 4833,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1973:142:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4834,
                  "nodeType": "EmitStatement",
                  "src": "1968:147:8"
                }
              ]
            },
            "id": 4836,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [
              {
                "arguments": [],
                "id": 4781,
                "modifierName": {
                  "id": 4780,
                  "name": "Ownable",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 6795,
                  "src": "1593:7:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "1593:9:8"
              }
            ],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4779,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4773,
                  "mutability": "mutable",
                  "name": "name",
                  "nameLocation": "1496:4:8",
                  "nodeType": "VariableDeclaration",
                  "scope": 4836,
                  "src": "1488:12:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4772,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1488:7:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4776,
                  "mutability": "mutable",
                  "name": "componentType",
                  "nameLocation": "1536:13:8",
                  "nodeType": "VariableDeclaration",
                  "scope": 4836,
                  "src": "1511:38:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_enum$_ComponentType_$5121",
                    "typeString": "enum IComponent.ComponentType"
                  },
                  "typeName": {
                    "id": 4775,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 4774,
                      "name": "IComponent.ComponentType",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 5121,
                      "src": "1511:24:8"
                    },
                    "referencedDeclaration": 5121,
                    "src": "1511:24:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentType_$5121",
                      "typeString": "enum IComponent.ComponentType"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4778,
                  "mutability": "mutable",
                  "name": "registry",
                  "nameLocation": "1568:8:8",
                  "nodeType": "VariableDeclaration",
                  "scope": 4836,
                  "src": "1560:16:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 4777,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1560:7:8",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1477:106:8"
            },
            "returnParameters": {
              "id": 4782,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1608:0:8"
            },
            "scope": 5114,
            "src": "1466:657:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "baseFunctions": [
              5145
            ],
            "body": {
              "id": 4848,
              "nodeType": "Block",
              "src": "2190:22:8",
              "statements": [
                {
                  "expression": {
                    "id": 4846,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 4844,
                      "name": "_componentId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4713,
                      "src": "2192:12:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 4845,
                      "name": "id",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4838,
                      "src": "2207:2:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2192:17:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 4847,
                  "nodeType": "ExpressionStatement",
                  "src": "2192:17:8"
                }
              ]
            },
            "functionSelector": "d0e0ba95",
            "id": 4849,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 4842,
                "modifierName": {
                  "id": 4841,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "2176:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "2176:13:8"
              }
            ],
            "name": "setId",
            "nameLocation": "2140:5:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4840,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2167:8:8"
            },
            "parameters": {
              "id": 4839,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4838,
                  "mutability": "mutable",
                  "name": "id",
                  "nameLocation": "2154:2:8",
                  "nodeType": "VariableDeclaration",
                  "scope": 4849,
                  "src": "2146:10:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4837,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2146:7:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2145:12:8"
            },
            "returnParameters": {
              "id": 4843,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2190:0:8"
            },
            "scope": 5114,
            "src": "2131:81:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "baseFunctions": [
              5150
            ],
            "body": {
              "id": 4857,
              "nodeType": "Block",
              "src": "2277:26:8",
              "statements": [
                {
                  "expression": {
                    "id": 4855,
                    "name": "_componentName",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 4711,
                    "src": "2286:14:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 4854,
                  "id": 4856,
                  "nodeType": "Return",
                  "src": "2279:21:8"
                }
              ]
            },
            "functionSelector": "17d7de7c",
            "id": 4858,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getName",
            "nameLocation": "2229:7:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4851,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2246:8:8"
            },
            "parameters": {
              "id": 4850,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2236:2:8"
            },
            "returnParameters": {
              "id": 4854,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4853,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4858,
                  "src": "2268:7:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4852,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2268:7:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2267:9:8"
            },
            "scope": 5114,
            "src": "2220:83:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5155
            ],
            "body": {
              "id": 4866,
              "nodeType": "Block",
              "src": "2364:24:8",
              "statements": [
                {
                  "expression": {
                    "id": 4864,
                    "name": "_componentId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 4713,
                    "src": "2373:12:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 4863,
                  "id": 4865,
                  "nodeType": "Return",
                  "src": "2366:19:8"
                }
              ]
            },
            "functionSelector": "5d1ca631",
            "id": 4867,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getId",
            "nameLocation": "2318:5:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4860,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2333:8:8"
            },
            "parameters": {
              "id": 4859,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2323:2:8"
            },
            "returnParameters": {
              "id": 4863,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4862,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4867,
                  "src": "2355:7:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4861,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2355:7:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2354:9:8"
            },
            "scope": 5114,
            "src": "2309:79:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5161
            ],
            "body": {
              "id": 4876,
              "nodeType": "Block",
              "src": "2468:26:8",
              "statements": [
                {
                  "expression": {
                    "id": 4874,
                    "name": "_componentType",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 4716,
                    "src": "2477:14:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentType_$5121",
                      "typeString": "enum IComponent.ComponentType"
                    }
                  },
                  "functionReturnParameters": 4873,
                  "id": 4875,
                  "nodeType": "Return",
                  "src": "2470:21:8"
                }
              ]
            },
            "functionSelector": "15dae03e",
            "id": 4877,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getType",
            "nameLocation": "2403:7:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4869,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2420:8:8"
            },
            "parameters": {
              "id": 4868,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2410:2:8"
            },
            "returnParameters": {
              "id": 4873,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4872,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4877,
                  "src": "2442:24:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_enum$_ComponentType_$5121",
                    "typeString": "enum IComponent.ComponentType"
                  },
                  "typeName": {
                    "id": 4871,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 4870,
                      "name": "IComponent.ComponentType",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 5121,
                      "src": "2442:24:8"
                    },
                    "referencedDeclaration": 5121,
                    "src": "2442:24:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentType_$5121",
                      "typeString": "enum IComponent.ComponentType"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2441:26:8"
            },
            "scope": 5114,
            "src": "2394:100:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5167
            ],
            "body": {
              "id": 4889,
              "nodeType": "Block",
              "src": "2576:60:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 4886,
                        "name": "_componentId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 4713,
                        "src": "2620:12:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 4884,
                        "name": "_instanceService",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 4728,
                        "src": "2585:16:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IInstanceService_$5668",
                          "typeString": "contract IInstanceService"
                        }
                      },
                      "id": 4885,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getComponentState",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5470,
                      "src": "2585:34:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_enum$_ComponentState_$5129_$",
                        "typeString": "function (uint256) view external returns (enum IComponent.ComponentState)"
                      }
                    },
                    "id": 4887,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2585:48:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentState_$5129",
                      "typeString": "enum IComponent.ComponentState"
                    }
                  },
                  "functionReturnParameters": 4883,
                  "id": 4888,
                  "nodeType": "Return",
                  "src": "2578:55:8"
                }
              ]
            },
            "functionSelector": "1865c57d",
            "id": 4890,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getState",
            "nameLocation": "2509:8:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4879,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2527:8:8"
            },
            "parameters": {
              "id": 4878,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2517:2:8"
            },
            "returnParameters": {
              "id": 4883,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4882,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4890,
                  "src": "2549:25:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_enum$_ComponentState_$5129",
                    "typeString": "enum IComponent.ComponentState"
                  },
                  "typeName": {
                    "id": 4881,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 4880,
                      "name": "IComponent.ComponentState",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 5129,
                      "src": "2549:25:8"
                    },
                    "referencedDeclaration": 5129,
                    "src": "2549:25:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentState_$5129",
                      "typeString": "enum IComponent.ComponentState"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2548:27:8"
            },
            "scope": 5114,
            "src": "2500:136:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5172
            ],
            "body": {
              "id": 4899,
              "nodeType": "Block",
              "src": "2700:19:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 4896,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6723,
                      "src": "2709:5:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                        "typeString": "function () view returns (address)"
                      }
                    },
                    "id": 4897,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2709:7:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 4895,
                  "id": 4898,
                  "nodeType": "Return",
                  "src": "2702:14:8"
                }
              ]
            },
            "functionSelector": "893d20e8",
            "id": 4900,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getOwner",
            "nameLocation": "2651:8:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4892,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2669:8:8"
            },
            "parameters": {
              "id": 4891,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2659:2:8"
            },
            "returnParameters": {
              "id": 4895,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4894,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4900,
                  "src": "2691:7:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 4893,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2691:7:8",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2690:9:8"
            },
            "scope": 5114,
            "src": "2642:77:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5177
            ],
            "body": {
              "id": 4912,
              "nodeType": "Block",
              "src": "2783:62:8",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_enum$_ComponentType_$5121",
                      "typeString": "enum IComponent.ComponentType"
                    },
                    "id": 4910,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 4906,
                      "name": "_componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4716,
                      "src": "2792:14:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$5121",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "expression": {
                        "expression": {
                          "id": 4907,
                          "name": "IComponent",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5218,
                          "src": "2810:10:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IComponent_$5218_$",
                            "typeString": "type(contract IComponent)"
                          }
                        },
                        "id": 4908,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ComponentType",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5121,
                        "src": "2810:24:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_enum$_ComponentType_$5121_$",
                          "typeString": "type(enum IComponent.ComponentType)"
                        }
                      },
                      "id": 4909,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "memberName": "Product",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5119,
                      "src": "2810:32:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$5121",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "src": "2792:50:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 4905,
                  "id": 4911,
                  "nodeType": "Return",
                  "src": "2785:57:8"
                }
              ]
            },
            "functionSelector": "e0815f0d",
            "id": 4913,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isProduct",
            "nameLocation": "2736:9:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4902,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2755:8:8"
            },
            "parameters": {
              "id": 4901,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2745:2:8"
            },
            "returnParameters": {
              "id": 4905,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4904,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4913,
                  "src": "2777:4:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 4903,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2777:4:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2776:6:8"
            },
            "scope": 5114,
            "src": "2727:118:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5182
            ],
            "body": {
              "id": 4925,
              "nodeType": "Block",
              "src": "2906:61:8",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_enum$_ComponentType_$5121",
                      "typeString": "enum IComponent.ComponentType"
                    },
                    "id": 4923,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 4919,
                      "name": "_componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4716,
                      "src": "2915:14:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$5121",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "expression": {
                        "expression": {
                          "id": 4920,
                          "name": "IComponent",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5218,
                          "src": "2933:10:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IComponent_$5218_$",
                            "typeString": "type(contract IComponent)"
                          }
                        },
                        "id": 4921,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ComponentType",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5121,
                        "src": "2933:24:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_enum$_ComponentType_$5121_$",
                          "typeString": "type(enum IComponent.ComponentType)"
                        }
                      },
                      "id": 4922,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "memberName": "Oracle",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5118,
                      "src": "2933:31:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$5121",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "src": "2915:49:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 4918,
                  "id": 4924,
                  "nodeType": "Return",
                  "src": "2908:56:8"
                }
              ]
            },
            "functionSelector": "9a82f890",
            "id": 4926,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isOracle",
            "nameLocation": "2860:8:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4915,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2878:8:8"
            },
            "parameters": {
              "id": 4914,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2868:2:8"
            },
            "returnParameters": {
              "id": 4918,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4917,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4926,
                  "src": "2900:4:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 4916,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2900:4:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2899:6:8"
            },
            "scope": 5114,
            "src": "2851:116:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5187
            ],
            "body": {
              "id": 4938,
              "nodeType": "Block",
              "src": "3030:63:8",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_enum$_ComponentType_$5121",
                      "typeString": "enum IComponent.ComponentType"
                    },
                    "id": 4936,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 4932,
                      "name": "_componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 4716,
                      "src": "3039:14:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$5121",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "expression": {
                        "expression": {
                          "id": 4933,
                          "name": "IComponent",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5218,
                          "src": "3057:10:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IComponent_$5218_$",
                            "typeString": "type(contract IComponent)"
                          }
                        },
                        "id": 4934,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ComponentType",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 5121,
                        "src": "3057:24:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_enum$_ComponentType_$5121_$",
                          "typeString": "type(enum IComponent.ComponentType)"
                        }
                      },
                      "id": 4935,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "memberName": "Riskpool",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 5120,
                      "src": "3057:33:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$5121",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "src": "3039:51:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 4931,
                  "id": 4937,
                  "nodeType": "Return",
                  "src": "3032:58:8"
                }
              ]
            },
            "functionSelector": "258d560c",
            "id": 4939,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isRiskpool",
            "nameLocation": "2982:10:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4928,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3002:8:8"
            },
            "parameters": {
              "id": 4927,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2992:2:8"
            },
            "returnParameters": {
              "id": 4931,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4930,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4939,
                  "src": "3024:4:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 4929,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "3024:4:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3023:6:8"
            },
            "scope": 5114,
            "src": "2973:120:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5193
            ],
            "body": {
              "id": 4948,
              "nodeType": "Block",
              "src": "3166:21:8",
              "statements": [
                {
                  "expression": {
                    "id": 4946,
                    "name": "_registry",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 4719,
                    "src": "3175:9:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IRegistry_$7009",
                      "typeString": "contract IRegistry"
                    }
                  },
                  "functionReturnParameters": 4945,
                  "id": 4947,
                  "nodeType": "Return",
                  "src": "3168:16:8"
                }
              ]
            },
            "functionSelector": "5ab1bd53",
            "id": 4949,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getRegistry",
            "nameLocation": "3110:11:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4941,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3133:8:8"
            },
            "parameters": {
              "id": 4940,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3121:2:8"
            },
            "returnParameters": {
              "id": 4945,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4944,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 4949,
                  "src": "3155:9:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IRegistry_$7009",
                    "typeString": "contract IRegistry"
                  },
                  "typeName": {
                    "id": 4943,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 4942,
                      "name": "IRegistry",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 7009,
                      "src": "3155:9:8"
                    },
                    "referencedDeclaration": 7009,
                    "src": "3155:9:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IRegistry_$7009",
                      "typeString": "contract IRegistry"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3154:11:8"
            },
            "scope": 5114,
            "src": "3101:86:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "baseFunctions": [
              5196
            ],
            "body": {
              "id": 4958,
              "nodeType": "Block",
              "src": "3253:20:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 4955,
                      "name": "_afterPropose",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5033,
                      "src": "3255:13:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 4956,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3255:15:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4957,
                  "nodeType": "ExpressionStatement",
                  "src": "3255:15:8"
                }
              ]
            },
            "functionSelector": "638ce0ba",
            "id": 4959,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 4953,
                "modifierName": {
                  "id": 4952,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "3239:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "3239:13:8"
              }
            ],
            "name": "proposalCallback",
            "nameLocation": "3204:16:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4951,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3230:8:8"
            },
            "parameters": {
              "id": 4950,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3220:2:8"
            },
            "returnParameters": {
              "id": 4954,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3253:0:8"
            },
            "scope": 5114,
            "src": "3195:78:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5199
            ],
            "body": {
              "id": 4968,
              "nodeType": "Block",
              "src": "3337:20:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 4965,
                      "name": "_afterApprove",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5037,
                      "src": "3339:13:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 4966,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3339:15:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4967,
                  "nodeType": "ExpressionStatement",
                  "src": "3339:15:8"
                }
              ]
            },
            "functionSelector": "1b867c63",
            "id": 4969,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 4963,
                "modifierName": {
                  "id": 4962,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "3323:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "3323:13:8"
              }
            ],
            "name": "approvalCallback",
            "nameLocation": "3288:16:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4961,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3314:8:8"
            },
            "parameters": {
              "id": 4960,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3304:2:8"
            },
            "returnParameters": {
              "id": 4964,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3337:0:8"
            },
            "scope": 5114,
            "src": "3279:78:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5202
            ],
            "body": {
              "id": 4978,
              "nodeType": "Block",
              "src": "3420:20:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 4975,
                      "name": "_afterDecline",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5041,
                      "src": "3422:13:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 4976,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3422:15:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4977,
                  "nodeType": "ExpressionStatement",
                  "src": "3422:15:8"
                }
              ]
            },
            "functionSelector": "bd1fe5d0",
            "id": 4979,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 4973,
                "modifierName": {
                  "id": 4972,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "3406:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "3406:13:8"
              }
            ],
            "name": "declineCallback",
            "nameLocation": "3372:15:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4971,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3397:8:8"
            },
            "parameters": {
              "id": 4970,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3387:2:8"
            },
            "returnParameters": {
              "id": 4974,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3420:0:8"
            },
            "scope": 5114,
            "src": "3363:77:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5205
            ],
            "body": {
              "id": 4988,
              "nodeType": "Block",
              "src": "3503:20:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 4985,
                      "name": "_afterSuspend",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5045,
                      "src": "3505:13:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 4986,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3505:15:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4987,
                  "nodeType": "ExpressionStatement",
                  "src": "3505:15:8"
                }
              ]
            },
            "functionSelector": "b3fca9bd",
            "id": 4989,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 4983,
                "modifierName": {
                  "id": 4982,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "3489:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "3489:13:8"
              }
            ],
            "name": "suspendCallback",
            "nameLocation": "3455:15:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4981,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3480:8:8"
            },
            "parameters": {
              "id": 4980,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3470:2:8"
            },
            "returnParameters": {
              "id": 4984,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3503:0:8"
            },
            "scope": 5114,
            "src": "3446:77:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5208
            ],
            "body": {
              "id": 4998,
              "nodeType": "Block",
              "src": "3585:19:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 4995,
                      "name": "_afterResume",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5049,
                      "src": "3587:12:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 4996,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3587:14:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 4997,
                  "nodeType": "ExpressionStatement",
                  "src": "3587:14:8"
                }
              ]
            },
            "functionSelector": "a18f5ae2",
            "id": 4999,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 4993,
                "modifierName": {
                  "id": 4992,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "3571:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "3571:13:8"
              }
            ],
            "name": "resumeCallback",
            "nameLocation": "3538:14:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 4991,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3562:8:8"
            },
            "parameters": {
              "id": 4990,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3552:2:8"
            },
            "returnParameters": {
              "id": 4994,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3585:0:8"
            },
            "scope": 5114,
            "src": "3529:75:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5211
            ],
            "body": {
              "id": 5008,
              "nodeType": "Block",
              "src": "3665:18:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 5005,
                      "name": "_afterPause",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5053,
                      "src": "3667:11:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 5006,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3667:13:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5007,
                  "nodeType": "ExpressionStatement",
                  "src": "3667:13:8"
                }
              ]
            },
            "functionSelector": "d73cd992",
            "id": 5009,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 5003,
                "modifierName": {
                  "id": 5002,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "3651:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "3651:13:8"
              }
            ],
            "name": "pauseCallback",
            "nameLocation": "3619:13:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 5001,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3642:8:8"
            },
            "parameters": {
              "id": 5000,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3632:2:8"
            },
            "returnParameters": {
              "id": 5004,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3665:0:8"
            },
            "scope": 5114,
            "src": "3610:73:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5214
            ],
            "body": {
              "id": 5018,
              "nodeType": "Block",
              "src": "3746:20:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 5015,
                      "name": "_afterUnpause",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5057,
                      "src": "3748:13:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 5016,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3748:15:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5017,
                  "nodeType": "ExpressionStatement",
                  "src": "3748:15:8"
                }
              ]
            },
            "functionSelector": "59dacc6a",
            "id": 5019,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 5013,
                "modifierName": {
                  "id": 5012,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "3732:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "3732:13:8"
              }
            ],
            "name": "unpauseCallback",
            "nameLocation": "3698:15:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 5011,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3723:8:8"
            },
            "parameters": {
              "id": 5010,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3713:2:8"
            },
            "returnParameters": {
              "id": 5014,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3746:0:8"
            },
            "scope": 5114,
            "src": "3689:77:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              5217
            ],
            "body": {
              "id": 5028,
              "nodeType": "Block",
              "src": "3829:20:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 5025,
                      "name": "_afterArchive",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5061,
                      "src": "3831:13:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 5026,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3831:15:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5027,
                  "nodeType": "ExpressionStatement",
                  "src": "3831:15:8"
                }
              ]
            },
            "functionSelector": "be169e7e",
            "id": 5029,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 5023,
                "modifierName": {
                  "id": 5022,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 4756,
                  "src": "3815:13:8"
                },
                "nodeType": "ModifierInvocation",
                "src": "3815:13:8"
              }
            ],
            "name": "archiveCallback",
            "nameLocation": "3781:15:8",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 5021,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3806:8:8"
            },
            "parameters": {
              "id": 5020,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3796:2:8"
            },
            "returnParameters": {
              "id": 5024,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3829:0:8"
            },
            "scope": 5114,
            "src": "3772:77:8",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5032,
              "nodeType": "Block",
              "src": "4020:2:8",
              "statements": []
            },
            "id": 5033,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterPropose",
            "nameLocation": "3987:13:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5030,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4000:2:8"
            },
            "returnParameters": {
              "id": 5031,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4020:0:8"
            },
            "scope": 5114,
            "src": "3978:44:8",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5036,
              "nodeType": "Block",
              "src": "4070:2:8",
              "statements": []
            },
            "id": 5037,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterApprove",
            "nameLocation": "4037:13:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5034,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4050:2:8"
            },
            "returnParameters": {
              "id": 5035,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4070:0:8"
            },
            "scope": 5114,
            "src": "4028:44:8",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5040,
              "nodeType": "Block",
              "src": "4120:2:8",
              "statements": []
            },
            "id": 5041,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterDecline",
            "nameLocation": "4087:13:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5038,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4100:2:8"
            },
            "returnParameters": {
              "id": 5039,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4120:0:8"
            },
            "scope": 5114,
            "src": "4078:44:8",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5044,
              "nodeType": "Block",
              "src": "4170:2:8",
              "statements": []
            },
            "id": 5045,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterSuspend",
            "nameLocation": "4137:13:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5042,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4150:2:8"
            },
            "returnParameters": {
              "id": 5043,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4170:0:8"
            },
            "scope": 5114,
            "src": "4128:44:8",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5048,
              "nodeType": "Block",
              "src": "4219:2:8",
              "statements": []
            },
            "id": 5049,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterResume",
            "nameLocation": "4187:12:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5046,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4199:2:8"
            },
            "returnParameters": {
              "id": 5047,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4219:0:8"
            },
            "scope": 5114,
            "src": "4178:43:8",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5052,
              "nodeType": "Block",
              "src": "4267:2:8",
              "statements": []
            },
            "id": 5053,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterPause",
            "nameLocation": "4236:11:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5050,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4247:2:8"
            },
            "returnParameters": {
              "id": 5051,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4267:0:8"
            },
            "scope": 5114,
            "src": "4227:42:8",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5056,
              "nodeType": "Block",
              "src": "4317:2:8",
              "statements": []
            },
            "id": 5057,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterUnpause",
            "nameLocation": "4284:13:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5054,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4297:2:8"
            },
            "returnParameters": {
              "id": 5055,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4317:0:8"
            },
            "scope": 5114,
            "src": "4275:44:8",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5060,
              "nodeType": "Block",
              "src": "4367:2:8",
              "statements": []
            },
            "id": 5061,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterArchive",
            "nameLocation": "4334:13:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5058,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4347:2:8"
            },
            "returnParameters": {
              "id": 5059,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4367:0:8"
            },
            "scope": 5114,
            "src": "4325:44:8",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5073,
              "nodeType": "Block",
              "src": "4431:72:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "hexValue": "416363657373",
                            "id": 5069,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "string",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "4477:8:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_662ef9f10158779adc6a36d83dac352a0d38be4aaefa069e4f4fdcebe6a5d3ee",
                              "typeString": "literal_string \"Access\""
                            },
                            "value": "Access"
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_662ef9f10158779adc6a36d83dac352a0d38be4aaefa069e4f4fdcebe6a5d3ee",
                              "typeString": "literal_string \"Access\""
                            }
                          ],
                          "id": 5068,
                          "name": "_getContractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5113,
                          "src": "4457:19:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 5070,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4457:29:8",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 5067,
                      "name": "IAccess",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6858,
                      "src": "4449:7:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_IAccess_$6858_$",
                        "typeString": "type(contract IAccess)"
                      }
                    },
                    "id": 5071,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4449:38:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IAccess_$6858",
                      "typeString": "contract IAccess"
                    }
                  },
                  "functionReturnParameters": 5066,
                  "id": 5072,
                  "nodeType": "Return",
                  "src": "4442:45:8"
                }
              ]
            },
            "id": 5074,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getAccess",
            "nameLocation": "4386:10:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5062,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4396:2:8"
            },
            "returnParameters": {
              "id": 5066,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5065,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 5074,
                  "src": "4422:7:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IAccess_$6858",
                    "typeString": "contract IAccess"
                  },
                  "typeName": {
                    "id": 5064,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 5063,
                      "name": "IAccess",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 6858,
                      "src": "4422:7:8"
                    },
                    "referencedDeclaration": 6858,
                    "src": "4422:7:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IAccess_$6858",
                      "typeString": "contract IAccess"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4421:9:8"
            },
            "scope": 5114,
            "src": "4377:126:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5086,
              "nodeType": "Block",
              "src": "4583:90:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "hexValue": "496e7374616e636553657276696365",
                            "id": 5082,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "string",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "4638:17:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_9d0370d7b33c0a7e946fd67f2013156c598b4d6a70b1490bc73aacf4dc1a6f52",
                              "typeString": "literal_string \"InstanceService\""
                            },
                            "value": "InstanceService"
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_9d0370d7b33c0a7e946fd67f2013156c598b4d6a70b1490bc73aacf4dc1a6f52",
                              "typeString": "literal_string \"InstanceService\""
                            }
                          ],
                          "id": 5081,
                          "name": "_getContractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5113,
                          "src": "4618:19:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 5083,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4618:38:8",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 5080,
                      "name": "IInstanceService",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5668,
                      "src": "4601:16:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_IInstanceService_$5668_$",
                        "typeString": "type(contract IInstanceService)"
                      }
                    },
                    "id": 5084,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4601:56:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IInstanceService_$5668",
                      "typeString": "contract IInstanceService"
                    }
                  },
                  "functionReturnParameters": 5079,
                  "id": 5085,
                  "nodeType": "Return",
                  "src": "4594:63:8"
                }
              ]
            },
            "id": 5087,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getInstanceService",
            "nameLocation": "4520:19:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5075,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4539:2:8"
            },
            "returnParameters": {
              "id": 5079,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5078,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 5087,
                  "src": "4565:16:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IInstanceService_$5668",
                    "typeString": "contract IInstanceService"
                  },
                  "typeName": {
                    "id": 5077,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 5076,
                      "name": "IInstanceService",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 5668,
                      "src": "4565:16:8"
                    },
                    "referencedDeclaration": 5668,
                    "src": "4565:16:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IInstanceService_$5668",
                      "typeString": "contract IInstanceService"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4564:18:8"
            },
            "scope": 5114,
            "src": "4511:162:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5099,
              "nodeType": "Block",
              "src": "4765:102:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "hexValue": "436f6d706f6e656e744f776e657253657276696365",
                            "id": 5095,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "string",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "4826:23:8",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_95855e0e8f5cd64ffc781762663437a44ef7554eea00fdb413a3a655c097a675",
                              "typeString": "literal_string \"ComponentOwnerService\""
                            },
                            "value": "ComponentOwnerService"
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_95855e0e8f5cd64ffc781762663437a44ef7554eea00fdb413a3a655c097a675",
                              "typeString": "literal_string \"ComponentOwnerService\""
                            }
                          ],
                          "id": 5094,
                          "name": "_getContractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5113,
                          "src": "4806:19:8",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 5096,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4806:44:8",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 5093,
                      "name": "IComponentOwnerService",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7044,
                      "src": "4783:22:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_IComponentOwnerService_$7044_$",
                        "typeString": "type(contract IComponentOwnerService)"
                      }
                    },
                    "id": 5097,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4783:68:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                      "typeString": "contract IComponentOwnerService"
                    }
                  },
                  "functionReturnParameters": 5092,
                  "id": 5098,
                  "nodeType": "Return",
                  "src": "4776:75:8"
                }
              ]
            },
            "id": 5100,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getComponentOwnerService",
            "nameLocation": "4690:25:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5088,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4715:2:8"
            },
            "returnParameters": {
              "id": 5092,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5091,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 5100,
                  "src": "4741:22:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                    "typeString": "contract IComponentOwnerService"
                  },
                  "typeName": {
                    "id": 5090,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 5089,
                      "name": "IComponentOwnerService",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 7044,
                      "src": "4741:22:8"
                    },
                    "referencedDeclaration": 7044,
                    "src": "4741:22:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IComponentOwnerService_$7044",
                      "typeString": "contract IComponentOwnerService"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4740:24:8"
            },
            "scope": 5114,
            "src": "4681:186:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5112,
              "nodeType": "Block",
              "src": "4958:62:8",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 5109,
                        "name": "contractName",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5102,
                        "src": "4999:12:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "id": 5107,
                        "name": "_registry",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 4719,
                        "src": "4977:9:8",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IRegistry_$7009",
                          "typeString": "contract IRegistry"
                        }
                      },
                      "id": 5108,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getContract",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6982,
                      "src": "4977:21:8",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$",
                        "typeString": "function (bytes32) view external returns (address)"
                      }
                    },
                    "id": 5110,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4977:35:8",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 5106,
                  "id": 5111,
                  "nodeType": "Return",
                  "src": "4970:42:8"
                }
              ]
            },
            "id": 5113,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getContractAddress",
            "nameLocation": "4884:19:8",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5103,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5102,
                  "mutability": "mutable",
                  "name": "contractName",
                  "nameLocation": "4912:12:8",
                  "nodeType": "VariableDeclaration",
                  "scope": 5113,
                  "src": "4904:20:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5101,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4904:7:8",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4903:22:8"
            },
            "returnParameters": {
              "id": 5106,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5105,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 5113,
                  "src": "4949:7:8",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 5104,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4949:7:8",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4948:9:8"
            },
            "scope": 5114,
            "src": "4875:145:8",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          }
        ],
        "scope": 5115,
        "src": "461:4564:8"
      }
    ],
    "src": "40:4987:8"
  },
  "bytecode": "",
  "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
  "compiler": {
    "evm_version": "istanbul",
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "version": "0.8.2+commit.661d1103"
  },
  "contractName": "Component",
  "coverageMap": {
    "branches": {},
    "statements": {}
  },
  "dependencies": [
    "OpenZeppelin/openzeppelin-contracts@4.8.2/Context",
    "etherisc/gif-interface@3b0002a/IAccess",
    "etherisc/gif-interface@3b0002a/IBundleToken",
    "etherisc/gif-interface@3b0002a/IComponent",
    "etherisc/gif-interface@3b0002a/IComponentEvents",
    "etherisc/gif-interface@3b0002a/IComponentOwnerService",
    "OpenZeppelin/openzeppelin-contracts@4.8.2/IERC165",
    "OpenZeppelin/openzeppelin-contracts@4.8.2/IERC20",
    "OpenZeppelin/openzeppelin-contracts@4.8.2/IERC721",
    "etherisc/gif-interface@3b0002a/IInstanceOperatorService",
    "etherisc/gif-interface@3b0002a/IInstanceService",
    "etherisc/gif-interface@3b0002a/IOracleService",
    "etherisc/gif-interface@3b0002a/IProductService",
    "etherisc/gif-interface@3b0002a/IRegistry",
    "etherisc/gif-interface@3b0002a/IRiskpoolService",
    "OpenZeppelin/openzeppelin-contracts@4.8.2/Ownable"
  ],
  "deployedBytecode": "",
  "deployedSourceMap": "",
  "language": "Solidity",
  "natspec": {
    "kind": "dev",
    "methods": {
      "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."
      },
      "transferOwnership(address)": {
        "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
      }
    },
    "version": 1
  },
  "offset": [
    461,
    5025
  ],
  "opcodes": "",
  "pcMap": {},
  "sha1": "a26ce02347dd3f3a70532c9fcdb8fe9f6f804282",
  "source": "// SPDX-License-Identifier: Apache-2.0\npragma solidity 0.8.2;\n\nimport \"./IComponent.sol\";\nimport \"../modules/IAccess.sol\";\nimport \"../modules/IComponentEvents.sol\";\nimport \"../modules/IRegistry.sol\";\nimport \"../services/IComponentOwnerService.sol\";\nimport \"../services/IInstanceService.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\n\n\n// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/GUIDELINES.md#style-guidelines\nabstract contract Component is \n    IComponent,\n    IComponentEvents,\n    Ownable \n{\n    bytes32 private _componentName;\n    uint256 private _componentId;\n    IComponent.ComponentType private _componentType;\n\n    IRegistry private _registry;\n    IAccess private _access;\n    IComponentOwnerService private _componentOwnerService;\n    IInstanceService private _instanceService;\n\n    modifier onlyInstanceOperatorService() {\n        require(\n             _msgSender() == _getContractAddress(\"InstanceOperatorService\"),\n            \"ERROR:CMP-001:NOT_INSTANCE_OPERATOR_SERVICE\");\n        _;\n    }\n\n    modifier onlyComponent() {\n        require(\n             _msgSender() == _getContractAddress(\"Component\"),\n            \"ERROR:CMP-002:NOT_COMPONENT\");\n        _;\n    }\n\n    modifier onlyComponentOwnerService() {\n        require(\n             _msgSender() == address(_componentOwnerService),\n            \"ERROR:CMP-003:NOT_COMPONENT_OWNER_SERVICE\");\n        _;\n    }\n\n    constructor(\n        bytes32 name,\n        IComponent.ComponentType componentType,\n        address registry\n    )\n        Ownable()\n    {\n        require(registry != address(0), \"ERROR:CMP-004:REGISTRY_ADDRESS_ZERO\");\n\n        _registry = IRegistry(registry);\n        _access = _getAccess();\n        _componentOwnerService = _getComponentOwnerService();\n        _instanceService = _getInstanceService();\n\n        _componentName = name;\n        _componentType = componentType;\n\n        emit LogComponentCreated(\n            _componentName, \n            _componentType, \n            address(this), \n            address(_registry));\n    }\n\n    function setId(uint256 id) external override onlyComponent { _componentId = id; }\n\n    function getName() public override view returns(bytes32) { return _componentName; }\n    function getId() public override view returns(uint256) { return _componentId; }\n    function getType() public override view returns(IComponent.ComponentType) { return _componentType; }\n    function getState() public override view returns(IComponent.ComponentState) { return _instanceService.getComponentState(_componentId); }\n    function getOwner() public override view returns(address) { return owner(); }\n\n    function isProduct() public override view returns(bool) { return _componentType == IComponent.ComponentType.Product; }\n    function isOracle() public override view returns(bool) { return _componentType == IComponent.ComponentType.Oracle; }\n    function isRiskpool() public override view returns(bool) { return _componentType == IComponent.ComponentType.Riskpool; }\n\n    function getRegistry() external override view returns(IRegistry) { return _registry; }\n\n    function proposalCallback() public override onlyComponent { _afterPropose(); }\n    function approvalCallback() public override onlyComponent { _afterApprove(); }\n    function declineCallback() public override onlyComponent { _afterDecline(); }\n    function suspendCallback() public override onlyComponent { _afterSuspend(); }\n    function resumeCallback() public override onlyComponent { _afterResume(); }\n    function pauseCallback() public override onlyComponent { _afterPause(); }\n    function unpauseCallback() public override onlyComponent { _afterUnpause(); }\n    function archiveCallback() public override onlyComponent { _afterArchive(); }\n    \n    // these functions are intended to be overwritten to implement\n    // component specific notification handling\n    function _afterPropose() internal virtual {}\n    function _afterApprove() internal virtual {}\n    function _afterDecline() internal virtual {}\n    function _afterSuspend() internal virtual {}\n    function _afterResume() internal virtual {}\n    function _afterPause() internal virtual {}\n    function _afterUnpause() internal virtual {}\n    function _afterArchive() internal virtual {}\n\n    function _getAccess() internal view returns (IAccess) {\n        return IAccess(_getContractAddress(\"Access\"));        \n    }\n\n    function _getInstanceService() internal view returns (IInstanceService) {\n        return IInstanceService(_getContractAddress(\"InstanceService\"));        \n    }\n\n    function _getComponentOwnerService() internal view returns (IComponentOwnerService) {\n        return IComponentOwnerService(_getContractAddress(\"ComponentOwnerService\"));        \n    }\n\n    function _getContractAddress(bytes32 contractName) internal view returns (address) { \n        return _registry.getContract(contractName);\n    }\n\n}\n",
  "sourceMap": "",
  "sourcePath": "/home/runner/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/Component.sol",
  "type": "contract"
}