{
  "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": {
    "13": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/token/ERC20/IERC20.sol",
    "18": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/token/ERC721/IERC721.sol",
    "22": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/utils/Context.sol",
    "26": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/utils/introspection/IERC165.sol",
    "29": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/Component.sol",
    "30": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/IComponent.sol",
    "37": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IAccess.sol",
    "39": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IComponentEvents.sol",
    "4": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/access/Ownable.sol",
    "44": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IRegistry.sol",
    "46": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IComponentOwnerService.sol",
    "47": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IInstanceOperatorService.sol",
    "48": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IInstanceService.sol",
    "49": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IOracleService.sol",
    "50": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IProductService.sol",
    "51": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IRiskpoolService.sol",
    "53": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/tokens/IBundleToken.sol"
  },
  "ast": {
    "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/Component.sol",
    "exportedSymbols": {
      "Component": [
        25407
      ],
      "Context": [
        24074
      ],
      "IAccess": [
        21938
      ],
      "IBundle": [
        20491
      ],
      "IBundleToken": [
        24052
      ],
      "IComponent": [
        22099
      ],
      "IComponentEvents": [
        22419
      ],
      "IComponentOwnerService": [
        23478
      ],
      "IERC165": [
        27203
      ],
      "IERC20": [
        18510
      ],
      "IERC721": [
        23745
      ],
      "IInstanceOperatorService": [
        23629
      ],
      "IInstanceService": [
        22849
      ],
      "IOracleService": [
        23755
      ],
      "IPolicy": [
        20837
      ],
      "IPool": [
        21652
      ],
      "IProductService": [
        23900
      ],
      "IRegistry": [
        21750
      ],
      "IRiskpoolService": [
        24006
      ],
      "ITreasury": [
        23443
      ],
      "Ownable": [
        20950
      ]
    },
    "id": 25408,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 24989,
        "literals": [
          "solidity",
          "0.8",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "40:22:29"
      },
      {
        "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/IComponent.sol",
        "file": "./IComponent.sol",
        "id": 24990,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 25408,
        "sourceUnit": 22100,
        "src": "66:26:29",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IAccess.sol",
        "file": "../modules/IAccess.sol",
        "id": 24991,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 25408,
        "sourceUnit": 21939,
        "src": "94:32:29",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IComponentEvents.sol",
        "file": "../modules/IComponentEvents.sol",
        "id": 24992,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 25408,
        "sourceUnit": 22420,
        "src": "128:41:29",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IRegistry.sol",
        "file": "../modules/IRegistry.sol",
        "id": 24993,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 25408,
        "sourceUnit": 21751,
        "src": "171:34:29",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IComponentOwnerService.sol",
        "file": "../services/IComponentOwnerService.sol",
        "id": 24994,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 25408,
        "sourceUnit": 23479,
        "src": "207:48:29",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/services/IInstanceService.sol",
        "file": "../services/IInstanceService.sol",
        "id": 24995,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 25408,
        "sourceUnit": 22850,
        "src": "257:42:29",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/access/Ownable.sol",
        "file": "@openzeppelin/contracts/access/Ownable.sol",
        "id": 24996,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 25408,
        "sourceUnit": 20951,
        "src": "301:52:29",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": true,
        "baseContracts": [
          {
            "baseName": {
              "id": 24997,
              "name": "IComponent",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 22099,
              "src": "498:10:29"
            },
            "id": 24998,
            "nodeType": "InheritanceSpecifier",
            "src": "498:10:29"
          },
          {
            "baseName": {
              "id": 24999,
              "name": "IComponentEvents",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 22419,
              "src": "515:16:29"
            },
            "id": 25000,
            "nodeType": "InheritanceSpecifier",
            "src": "515:16:29"
          },
          {
            "baseName": {
              "id": 25001,
              "name": "Ownable",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 20950,
              "src": "538:7:29"
            },
            "id": 25002,
            "nodeType": "InheritanceSpecifier",
            "src": "538:7:29"
          }
        ],
        "contractDependencies": [
          20950,
          22099,
          22419,
          24074
        ],
        "contractKind": "contract",
        "fullyImplemented": true,
        "id": 25407,
        "linearizedBaseContracts": [
          25407,
          20950,
          24074,
          22419,
          22099
        ],
        "name": "Component",
        "nameLocation": "479:9:29",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 25004,
            "mutability": "mutable",
            "name": "_componentName",
            "nameLocation": "571:14:29",
            "nodeType": "VariableDeclaration",
            "scope": 25407,
            "src": "555:30:29",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 25003,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "555:7:29",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 25006,
            "mutability": "mutable",
            "name": "_componentId",
            "nameLocation": "608:12:29",
            "nodeType": "VariableDeclaration",
            "scope": 25407,
            "src": "592:28:29",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 25005,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "592:7:29",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 25009,
            "mutability": "mutable",
            "name": "_componentType",
            "nameLocation": "660:14:29",
            "nodeType": "VariableDeclaration",
            "scope": 25407,
            "src": "627:47:29",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_enum$_ComponentType_$22002",
              "typeString": "enum IComponent.ComponentType"
            },
            "typeName": {
              "id": 25008,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 25007,
                "name": "IComponent.ComponentType",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 22002,
                "src": "627:24:29"
              },
              "referencedDeclaration": 22002,
              "src": "627:24:29",
              "typeDescriptions": {
                "typeIdentifier": "t_enum$_ComponentType_$22002",
                "typeString": "enum IComponent.ComponentType"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 25012,
            "mutability": "mutable",
            "name": "_registry",
            "nameLocation": "701:9:29",
            "nodeType": "VariableDeclaration",
            "scope": 25407,
            "src": "683:27:29",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IRegistry_$21750",
              "typeString": "contract IRegistry"
            },
            "typeName": {
              "id": 25011,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 25010,
                "name": "IRegistry",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 21750,
                "src": "683:9:29"
              },
              "referencedDeclaration": 21750,
              "src": "683:9:29",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IRegistry_$21750",
                "typeString": "contract IRegistry"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 25015,
            "mutability": "mutable",
            "name": "_access",
            "nameLocation": "733:7:29",
            "nodeType": "VariableDeclaration",
            "scope": 25407,
            "src": "717:23:29",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IAccess_$21938",
              "typeString": "contract IAccess"
            },
            "typeName": {
              "id": 25014,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 25013,
                "name": "IAccess",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 21938,
                "src": "717:7:29"
              },
              "referencedDeclaration": 21938,
              "src": "717:7:29",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IAccess_$21938",
                "typeString": "contract IAccess"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 25018,
            "mutability": "mutable",
            "name": "_componentOwnerService",
            "nameLocation": "778:22:29",
            "nodeType": "VariableDeclaration",
            "scope": 25407,
            "src": "747:53:29",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
              "typeString": "contract IComponentOwnerService"
            },
            "typeName": {
              "id": 25017,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 25016,
                "name": "IComponentOwnerService",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 23478,
                "src": "747:22:29"
              },
              "referencedDeclaration": 23478,
              "src": "747:22:29",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                "typeString": "contract IComponentOwnerService"
              }
            },
            "visibility": "private"
          },
          {
            "constant": false,
            "id": 25021,
            "mutability": "mutable",
            "name": "_instanceService",
            "nameLocation": "832:16:29",
            "nodeType": "VariableDeclaration",
            "scope": 25407,
            "src": "807:41:29",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IInstanceService_$22849",
              "typeString": "contract IInstanceService"
            },
            "typeName": {
              "id": 25020,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 25019,
                "name": "IInstanceService",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 22849,
                "src": "807:16:29"
              },
              "referencedDeclaration": 22849,
              "src": "807:16:29",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IInstanceService_$22849",
                "typeString": "contract IInstanceService"
              }
            },
            "visibility": "private"
          },
          {
            "body": {
              "id": 25034,
              "nodeType": "Block",
              "src": "896:177:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 25029,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "id": 25024,
                            "name": "_msgSender",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 24064,
                            "src": "930:10:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                              "typeString": "function () view returns (address)"
                            }
                          },
                          "id": 25025,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "930:12:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "arguments": [
                            {
                              "hexValue": "496e7374616e63654f70657261746f7253657276696365",
                              "id": 25027,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "966:25:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_893eee863631637173ead46f1c66388136d13bfeb40cdedfb3bfe4f34f933544",
                                "typeString": "literal_string \"InstanceOperatorService\""
                              },
                              "value": "InstanceOperatorService"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_stringliteral_893eee863631637173ead46f1c66388136d13bfeb40cdedfb3bfe4f34f933544",
                                "typeString": "literal_string \"InstanceOperatorService\""
                              }
                            ],
                            "id": 25026,
                            "name": "_getContractAddress",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 25406,
                            "src": "946:19:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                              "typeString": "function (bytes32) view returns (address)"
                            }
                          },
                          "id": 25028,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "946:46:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "930:62:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552524f523a434d502d3030313a4e4f545f494e5354414e43455f4f50455241544f525f53455256494345",
                        "id": 25030,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1007:45:29",
                        "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": 25023,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "907:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 25031,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "907:146:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25032,
                  "nodeType": "ExpressionStatement",
                  "src": "907:146:29"
                },
                {
                  "id": 25033,
                  "nodeType": "PlaceholderStatement",
                  "src": "1064:1:29"
                }
              ]
            },
            "id": 25035,
            "name": "onlyInstanceOperatorService",
            "nameLocation": "866:27:29",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 25022,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "893:2:29"
            },
            "src": "857:216:29",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25048,
              "nodeType": "Block",
              "src": "1106:147:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 25043,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "id": 25038,
                            "name": "_msgSender",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 24064,
                            "src": "1140:10:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                              "typeString": "function () view returns (address)"
                            }
                          },
                          "id": 25039,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1140:12:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "arguments": [
                            {
                              "hexValue": "436f6d706f6e656e74",
                              "id": 25041,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1176:11:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_20422c9fb475bf3099f246b9754fae871c7ccc7264ca39a5be99fea0688ffe24",
                                "typeString": "literal_string \"Component\""
                              },
                              "value": "Component"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_stringliteral_20422c9fb475bf3099f246b9754fae871c7ccc7264ca39a5be99fea0688ffe24",
                                "typeString": "literal_string \"Component\""
                              }
                            ],
                            "id": 25040,
                            "name": "_getContractAddress",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 25406,
                            "src": "1156:19:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                              "typeString": "function (bytes32) view returns (address)"
                            }
                          },
                          "id": 25042,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1156:32:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "1140:48:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552524f523a434d502d3030323a4e4f545f434f4d504f4e454e54",
                        "id": 25044,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1203:29:29",
                        "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": 25037,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "1117:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 25045,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1117:116:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25046,
                  "nodeType": "ExpressionStatement",
                  "src": "1117:116:29"
                },
                {
                  "id": 25047,
                  "nodeType": "PlaceholderStatement",
                  "src": "1244:1:29"
                }
              ]
            },
            "id": 25049,
            "name": "onlyComponent",
            "nameLocation": "1090:13:29",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 25036,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1103:2:29"
            },
            "src": "1081:172:29",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25063,
              "nodeType": "Block",
              "src": "1298:160:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 25058,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "id": 25052,
                            "name": "_msgSender",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 24064,
                            "src": "1332:10:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                              "typeString": "function () view returns (address)"
                            }
                          },
                          "id": 25053,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1332:12:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "arguments": [
                            {
                              "id": 25056,
                              "name": "_componentOwnerService",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 25018,
                              "src": "1356:22:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                                "typeString": "contract IComponentOwnerService"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                                "typeString": "contract IComponentOwnerService"
                              }
                            ],
                            "id": 25055,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "1348:7:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 25054,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "1348:7:29",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 25057,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1348:31:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "1332:47:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552524f523a434d502d3030333a4e4f545f434f4d504f4e454e545f4f574e45525f53455256494345",
                        "id": 25059,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1394:43:29",
                        "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": 25051,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "1309:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 25060,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1309:129:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25061,
                  "nodeType": "ExpressionStatement",
                  "src": "1309:129:29"
                },
                {
                  "id": 25062,
                  "nodeType": "PlaceholderStatement",
                  "src": "1449:1:29"
                }
              ]
            },
            "id": 25064,
            "name": "onlyComponentOwnerService",
            "nameLocation": "1270:25:29",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 25050,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1295:2:29"
            },
            "src": "1261:197:29",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25128,
              "nodeType": "Block",
              "src": "1608:515:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 25082,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 25077,
                          "name": "registry",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 25071,
                          "src": "1627:8:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "arguments": [
                            {
                              "hexValue": "30",
                              "id": 25080,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1647:1:29",
                              "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": 25079,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "1639:7:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 25078,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "1639:7:29",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 25081,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1639:10:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "1627:22:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4552524f523a434d502d3030343a52454749535452595f414444524553535f5a45524f",
                        "id": 25083,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1651:37:29",
                        "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": 25076,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "1619:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 25084,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1619:70:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25085,
                  "nodeType": "ExpressionStatement",
                  "src": "1619:70:29"
                },
                {
                  "expression": {
                    "id": 25090,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 25086,
                      "name": "_registry",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25012,
                      "src": "1702:9:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IRegistry_$21750",
                        "typeString": "contract IRegistry"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 25088,
                          "name": "registry",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 25071,
                          "src": "1724:8:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 25087,
                        "name": "IRegistry",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 21750,
                        "src": "1714:9:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_IRegistry_$21750_$",
                          "typeString": "type(contract IRegistry)"
                        }
                      },
                      "id": 25089,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1714:19:29",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IRegistry_$21750",
                        "typeString": "contract IRegistry"
                      }
                    },
                    "src": "1702:31:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IRegistry_$21750",
                      "typeString": "contract IRegistry"
                    }
                  },
                  "id": 25091,
                  "nodeType": "ExpressionStatement",
                  "src": "1702:31:29"
                },
                {
                  "expression": {
                    "id": 25095,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 25092,
                      "name": "_access",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25015,
                      "src": "1744:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IAccess_$21938",
                        "typeString": "contract IAccess"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 25093,
                        "name": "_getAccess",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25367,
                        "src": "1754:10:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$__$returns$_t_contract$_IAccess_$21938_$",
                          "typeString": "function () view returns (contract IAccess)"
                        }
                      },
                      "id": 25094,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1754:12:29",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IAccess_$21938",
                        "typeString": "contract IAccess"
                      }
                    },
                    "src": "1744:22:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IAccess_$21938",
                      "typeString": "contract IAccess"
                    }
                  },
                  "id": 25096,
                  "nodeType": "ExpressionStatement",
                  "src": "1744:22:29"
                },
                {
                  "expression": {
                    "id": 25100,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 25097,
                      "name": "_componentOwnerService",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25018,
                      "src": "1777:22:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                        "typeString": "contract IComponentOwnerService"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 25098,
                        "name": "_getComponentOwnerService",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25393,
                        "src": "1802:25:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$__$returns$_t_contract$_IComponentOwnerService_$23478_$",
                          "typeString": "function () view returns (contract IComponentOwnerService)"
                        }
                      },
                      "id": 25099,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1802:27:29",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                        "typeString": "contract IComponentOwnerService"
                      }
                    },
                    "src": "1777:52:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                      "typeString": "contract IComponentOwnerService"
                    }
                  },
                  "id": 25101,
                  "nodeType": "ExpressionStatement",
                  "src": "1777:52:29"
                },
                {
                  "expression": {
                    "id": 25105,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 25102,
                      "name": "_instanceService",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25021,
                      "src": "1840:16:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IInstanceService_$22849",
                        "typeString": "contract IInstanceService"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [],
                      "expression": {
                        "argumentTypes": [],
                        "id": 25103,
                        "name": "_getInstanceService",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25380,
                        "src": "1859:19:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$__$returns$_t_contract$_IInstanceService_$22849_$",
                          "typeString": "function () view returns (contract IInstanceService)"
                        }
                      },
                      "id": 25104,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1859:21:29",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IInstanceService_$22849",
                        "typeString": "contract IInstanceService"
                      }
                    },
                    "src": "1840:40:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IInstanceService_$22849",
                      "typeString": "contract IInstanceService"
                    }
                  },
                  "id": 25106,
                  "nodeType": "ExpressionStatement",
                  "src": "1840:40:29"
                },
                {
                  "expression": {
                    "id": 25109,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 25107,
                      "name": "_componentName",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25004,
                      "src": "1893:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 25108,
                      "name": "name",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25066,
                      "src": "1910:4:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      }
                    },
                    "src": "1893:21:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "id": 25110,
                  "nodeType": "ExpressionStatement",
                  "src": "1893:21:29"
                },
                {
                  "expression": {
                    "id": 25113,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 25111,
                      "name": "_componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25009,
                      "src": "1925:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$22002",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 25112,
                      "name": "componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25069,
                      "src": "1942:13:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$22002",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "src": "1925:30:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentType_$22002",
                      "typeString": "enum IComponent.ComponentType"
                    }
                  },
                  "id": 25114,
                  "nodeType": "ExpressionStatement",
                  "src": "1925:30:29"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 25116,
                        "name": "_componentName",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25004,
                        "src": "2007:14:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      {
                        "id": 25117,
                        "name": "_componentType",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25009,
                        "src": "2037:14:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_enum$_ComponentType_$22002",
                          "typeString": "enum IComponent.ComponentType"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "id": 25120,
                            "name": "this",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -28,
                            "src": "2075:4:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Component_$25407",
                              "typeString": "contract Component"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_Component_$25407",
                              "typeString": "contract Component"
                            }
                          ],
                          "id": 25119,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2067:7:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": {
                            "id": 25118,
                            "name": "address",
                            "nodeType": "ElementaryTypeName",
                            "src": "2067:7:29",
                            "typeDescriptions": {}
                          }
                        },
                        "id": 25121,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2067:13:29",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "id": 25124,
                            "name": "_registry",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 25012,
                            "src": "2104:9:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IRegistry_$21750",
                              "typeString": "contract IRegistry"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IRegistry_$21750",
                              "typeString": "contract IRegistry"
                            }
                          ],
                          "id": 25123,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "2096:7:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": {
                            "id": 25122,
                            "name": "address",
                            "nodeType": "ElementaryTypeName",
                            "src": "2096:7:29",
                            "typeDescriptions": {}
                          }
                        },
                        "id": 25125,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2096:18:29",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        },
                        {
                          "typeIdentifier": "t_enum$_ComponentType_$22002",
                          "typeString": "enum IComponent.ComponentType"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 25115,
                      "name": "LogComponentCreated",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22021,
                      "src": "1973:19:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_enum$_ComponentType_$22002_$_t_address_$_t_address_$returns$__$",
                        "typeString": "function (bytes32,enum IComponent.ComponentType,address,address)"
                      }
                    },
                    "id": 25126,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1973:142:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25127,
                  "nodeType": "EmitStatement",
                  "src": "1968:147:29"
                }
              ]
            },
            "id": 25129,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [
              {
                "arguments": [],
                "id": 25074,
                "modifierName": {
                  "id": 25073,
                  "name": "Ownable",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 20950,
                  "src": "1593:7:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "1593:9:29"
              }
            ],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25072,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25066,
                  "mutability": "mutable",
                  "name": "name",
                  "nameLocation": "1496:4:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 25129,
                  "src": "1488:12:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 25065,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1488:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 25069,
                  "mutability": "mutable",
                  "name": "componentType",
                  "nameLocation": "1536:13:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 25129,
                  "src": "1511:38:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_enum$_ComponentType_$22002",
                    "typeString": "enum IComponent.ComponentType"
                  },
                  "typeName": {
                    "id": 25068,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 25067,
                      "name": "IComponent.ComponentType",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22002,
                      "src": "1511:24:29"
                    },
                    "referencedDeclaration": 22002,
                    "src": "1511:24:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentType_$22002",
                      "typeString": "enum IComponent.ComponentType"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 25071,
                  "mutability": "mutable",
                  "name": "registry",
                  "nameLocation": "1568:8:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 25129,
                  "src": "1560:16:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 25070,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1560:7:29",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1477:106:29"
            },
            "returnParameters": {
              "id": 25075,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1608:0:29"
            },
            "scope": 25407,
            "src": "1466:657:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "baseFunctions": [
              22026
            ],
            "body": {
              "id": 25141,
              "nodeType": "Block",
              "src": "2190:22:29",
              "statements": [
                {
                  "expression": {
                    "id": 25139,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 25137,
                      "name": "_componentId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25006,
                      "src": "2192:12:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 25138,
                      "name": "id",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25131,
                      "src": "2207:2:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2192:17:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 25140,
                  "nodeType": "ExpressionStatement",
                  "src": "2192:17:29"
                }
              ]
            },
            "functionSelector": "d0e0ba95",
            "id": 25142,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25135,
                "modifierName": {
                  "id": 25134,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "2176:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "2176:13:29"
              }
            ],
            "name": "setId",
            "nameLocation": "2140:5:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25133,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2167:8:29"
            },
            "parameters": {
              "id": 25132,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25131,
                  "mutability": "mutable",
                  "name": "id",
                  "nameLocation": "2154:2:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 25142,
                  "src": "2146:10:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 25130,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2146:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2145:12:29"
            },
            "returnParameters": {
              "id": 25136,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2190:0:29"
            },
            "scope": 25407,
            "src": "2131:81:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "baseFunctions": [
              22031
            ],
            "body": {
              "id": 25150,
              "nodeType": "Block",
              "src": "2277:26:29",
              "statements": [
                {
                  "expression": {
                    "id": 25148,
                    "name": "_componentName",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 25004,
                    "src": "2286:14:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 25147,
                  "id": 25149,
                  "nodeType": "Return",
                  "src": "2279:21:29"
                }
              ]
            },
            "functionSelector": "17d7de7c",
            "id": 25151,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getName",
            "nameLocation": "2229:7:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25144,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2246:8:29"
            },
            "parameters": {
              "id": 25143,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2236:2:29"
            },
            "returnParameters": {
              "id": 25147,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25146,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25151,
                  "src": "2268:7:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 25145,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "2268:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2267:9:29"
            },
            "scope": 25407,
            "src": "2220:83:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22036
            ],
            "body": {
              "id": 25159,
              "nodeType": "Block",
              "src": "2364:24:29",
              "statements": [
                {
                  "expression": {
                    "id": 25157,
                    "name": "_componentId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 25006,
                    "src": "2373:12:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 25156,
                  "id": 25158,
                  "nodeType": "Return",
                  "src": "2366:19:29"
                }
              ]
            },
            "functionSelector": "5d1ca631",
            "id": 25160,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getId",
            "nameLocation": "2318:5:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25153,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2333:8:29"
            },
            "parameters": {
              "id": 25152,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2323:2:29"
            },
            "returnParameters": {
              "id": 25156,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25155,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25160,
                  "src": "2355:7:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 25154,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2355:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2354:9:29"
            },
            "scope": 25407,
            "src": "2309:79:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22042
            ],
            "body": {
              "id": 25169,
              "nodeType": "Block",
              "src": "2468:26:29",
              "statements": [
                {
                  "expression": {
                    "id": 25167,
                    "name": "_componentType",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 25009,
                    "src": "2477:14:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentType_$22002",
                      "typeString": "enum IComponent.ComponentType"
                    }
                  },
                  "functionReturnParameters": 25166,
                  "id": 25168,
                  "nodeType": "Return",
                  "src": "2470:21:29"
                }
              ]
            },
            "functionSelector": "15dae03e",
            "id": 25170,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getType",
            "nameLocation": "2403:7:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25162,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2420:8:29"
            },
            "parameters": {
              "id": 25161,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2410:2:29"
            },
            "returnParameters": {
              "id": 25166,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25165,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25170,
                  "src": "2442:24:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_enum$_ComponentType_$22002",
                    "typeString": "enum IComponent.ComponentType"
                  },
                  "typeName": {
                    "id": 25164,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 25163,
                      "name": "IComponent.ComponentType",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22002,
                      "src": "2442:24:29"
                    },
                    "referencedDeclaration": 22002,
                    "src": "2442:24:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentType_$22002",
                      "typeString": "enum IComponent.ComponentType"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2441:26:29"
            },
            "scope": 25407,
            "src": "2394:100:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22048
            ],
            "body": {
              "id": 25182,
              "nodeType": "Block",
              "src": "2576:60:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 25179,
                        "name": "_componentId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25006,
                        "src": "2620:12:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 25177,
                        "name": "_instanceService",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25021,
                        "src": "2585:16:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IInstanceService_$22849",
                          "typeString": "contract IInstanceService"
                        }
                      },
                      "id": 25178,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getComponentState",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 22651,
                      "src": "2585:34:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_enum$_ComponentState_$22010_$",
                        "typeString": "function (uint256) view external returns (enum IComponent.ComponentState)"
                      }
                    },
                    "id": 25180,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2585:48:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentState_$22010",
                      "typeString": "enum IComponent.ComponentState"
                    }
                  },
                  "functionReturnParameters": 25176,
                  "id": 25181,
                  "nodeType": "Return",
                  "src": "2578:55:29"
                }
              ]
            },
            "functionSelector": "1865c57d",
            "id": 25183,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getState",
            "nameLocation": "2509:8:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25172,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2527:8:29"
            },
            "parameters": {
              "id": 25171,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2517:2:29"
            },
            "returnParameters": {
              "id": 25176,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25175,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25183,
                  "src": "2549:25:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_enum$_ComponentState_$22010",
                    "typeString": "enum IComponent.ComponentState"
                  },
                  "typeName": {
                    "id": 25174,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 25173,
                      "name": "IComponent.ComponentState",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22010,
                      "src": "2549:25:29"
                    },
                    "referencedDeclaration": 22010,
                    "src": "2549:25:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_enum$_ComponentState_$22010",
                      "typeString": "enum IComponent.ComponentState"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2548:27:29"
            },
            "scope": 25407,
            "src": "2500:136:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22053
            ],
            "body": {
              "id": 25192,
              "nodeType": "Block",
              "src": "2700:19:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25189,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 20878,
                      "src": "2709:5:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                        "typeString": "function () view returns (address)"
                      }
                    },
                    "id": 25190,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2709:7:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 25188,
                  "id": 25191,
                  "nodeType": "Return",
                  "src": "2702:14:29"
                }
              ]
            },
            "functionSelector": "893d20e8",
            "id": 25193,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getOwner",
            "nameLocation": "2651:8:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25185,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2669:8:29"
            },
            "parameters": {
              "id": 25184,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2659:2:29"
            },
            "returnParameters": {
              "id": 25188,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25187,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25193,
                  "src": "2691:7:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 25186,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2691:7:29",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2690:9:29"
            },
            "scope": 25407,
            "src": "2642:77:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22058
            ],
            "body": {
              "id": 25205,
              "nodeType": "Block",
              "src": "2783:62:29",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_enum$_ComponentType_$22002",
                      "typeString": "enum IComponent.ComponentType"
                    },
                    "id": 25203,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 25199,
                      "name": "_componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25009,
                      "src": "2792:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$22002",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "expression": {
                        "expression": {
                          "id": 25200,
                          "name": "IComponent",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22099,
                          "src": "2810:10:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IComponent_$22099_$",
                            "typeString": "type(contract IComponent)"
                          }
                        },
                        "id": 25201,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ComponentType",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22002,
                        "src": "2810:24:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_enum$_ComponentType_$22002_$",
                          "typeString": "type(enum IComponent.ComponentType)"
                        }
                      },
                      "id": 25202,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "memberName": "Product",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 22000,
                      "src": "2810:32:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$22002",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "src": "2792:50:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 25198,
                  "id": 25204,
                  "nodeType": "Return",
                  "src": "2785:57:29"
                }
              ]
            },
            "functionSelector": "e0815f0d",
            "id": 25206,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isProduct",
            "nameLocation": "2736:9:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25195,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2755:8:29"
            },
            "parameters": {
              "id": 25194,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2745:2:29"
            },
            "returnParameters": {
              "id": 25198,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25197,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25206,
                  "src": "2777:4:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 25196,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2777:4:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2776:6:29"
            },
            "scope": 25407,
            "src": "2727:118:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22063
            ],
            "body": {
              "id": 25218,
              "nodeType": "Block",
              "src": "2906:61:29",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_enum$_ComponentType_$22002",
                      "typeString": "enum IComponent.ComponentType"
                    },
                    "id": 25216,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 25212,
                      "name": "_componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25009,
                      "src": "2915:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$22002",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "expression": {
                        "expression": {
                          "id": 25213,
                          "name": "IComponent",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22099,
                          "src": "2933:10:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IComponent_$22099_$",
                            "typeString": "type(contract IComponent)"
                          }
                        },
                        "id": 25214,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ComponentType",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22002,
                        "src": "2933:24:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_enum$_ComponentType_$22002_$",
                          "typeString": "type(enum IComponent.ComponentType)"
                        }
                      },
                      "id": 25215,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "memberName": "Oracle",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 21999,
                      "src": "2933:31:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$22002",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "src": "2915:49:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 25211,
                  "id": 25217,
                  "nodeType": "Return",
                  "src": "2908:56:29"
                }
              ]
            },
            "functionSelector": "9a82f890",
            "id": 25219,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isOracle",
            "nameLocation": "2860:8:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25208,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2878:8:29"
            },
            "parameters": {
              "id": 25207,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2868:2:29"
            },
            "returnParameters": {
              "id": 25211,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25210,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25219,
                  "src": "2900:4:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 25209,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2900:4:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2899:6:29"
            },
            "scope": 25407,
            "src": "2851:116:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22068
            ],
            "body": {
              "id": 25231,
              "nodeType": "Block",
              "src": "3030:63:29",
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_enum$_ComponentType_$22002",
                      "typeString": "enum IComponent.ComponentType"
                    },
                    "id": 25229,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 25225,
                      "name": "_componentType",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25009,
                      "src": "3039:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$22002",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "expression": {
                        "expression": {
                          "id": 25226,
                          "name": "IComponent",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22099,
                          "src": "3057:10:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_IComponent_$22099_$",
                            "typeString": "type(contract IComponent)"
                          }
                        },
                        "id": 25227,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "ComponentType",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 22002,
                        "src": "3057:24:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_enum$_ComponentType_$22002_$",
                          "typeString": "type(enum IComponent.ComponentType)"
                        }
                      },
                      "id": 25228,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "memberName": "Riskpool",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 22001,
                      "src": "3057:33:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_enum$_ComponentType_$22002",
                        "typeString": "enum IComponent.ComponentType"
                      }
                    },
                    "src": "3039:51:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 25224,
                  "id": 25230,
                  "nodeType": "Return",
                  "src": "3032:58:29"
                }
              ]
            },
            "functionSelector": "258d560c",
            "id": 25232,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isRiskpool",
            "nameLocation": "2982:10:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25221,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3002:8:29"
            },
            "parameters": {
              "id": 25220,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2992:2:29"
            },
            "returnParameters": {
              "id": 25224,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25223,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25232,
                  "src": "3024:4:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 25222,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "3024:4:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3023:6:29"
            },
            "scope": 25407,
            "src": "2973:120:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22074
            ],
            "body": {
              "id": 25241,
              "nodeType": "Block",
              "src": "3166:21:29",
              "statements": [
                {
                  "expression": {
                    "id": 25239,
                    "name": "_registry",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 25012,
                    "src": "3175:9:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IRegistry_$21750",
                      "typeString": "contract IRegistry"
                    }
                  },
                  "functionReturnParameters": 25238,
                  "id": 25240,
                  "nodeType": "Return",
                  "src": "3168:16:29"
                }
              ]
            },
            "functionSelector": "5ab1bd53",
            "id": 25242,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getRegistry",
            "nameLocation": "3110:11:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25234,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3133:8:29"
            },
            "parameters": {
              "id": 25233,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3121:2:29"
            },
            "returnParameters": {
              "id": 25238,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25237,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25242,
                  "src": "3155:9:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IRegistry_$21750",
                    "typeString": "contract IRegistry"
                  },
                  "typeName": {
                    "id": 25236,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 25235,
                      "name": "IRegistry",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 21750,
                      "src": "3155:9:29"
                    },
                    "referencedDeclaration": 21750,
                    "src": "3155:9:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IRegistry_$21750",
                      "typeString": "contract IRegistry"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3154:11:29"
            },
            "scope": 25407,
            "src": "3101:86:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "baseFunctions": [
              22077
            ],
            "body": {
              "id": 25251,
              "nodeType": "Block",
              "src": "3253:20:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25248,
                      "name": "_afterPropose",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25326,
                      "src": "3255:13:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 25249,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3255:15:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25250,
                  "nodeType": "ExpressionStatement",
                  "src": "3255:15:29"
                }
              ]
            },
            "functionSelector": "638ce0ba",
            "id": 25252,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25246,
                "modifierName": {
                  "id": 25245,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "3239:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3239:13:29"
              }
            ],
            "name": "proposalCallback",
            "nameLocation": "3204:16:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25244,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3230:8:29"
            },
            "parameters": {
              "id": 25243,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3220:2:29"
            },
            "returnParameters": {
              "id": 25247,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3253:0:29"
            },
            "scope": 25407,
            "src": "3195:78:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22080
            ],
            "body": {
              "id": 25261,
              "nodeType": "Block",
              "src": "3337:20:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25258,
                      "name": "_afterApprove",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25330,
                      "src": "3339:13:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 25259,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3339:15:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25260,
                  "nodeType": "ExpressionStatement",
                  "src": "3339:15:29"
                }
              ]
            },
            "functionSelector": "1b867c63",
            "id": 25262,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25256,
                "modifierName": {
                  "id": 25255,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "3323:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3323:13:29"
              }
            ],
            "name": "approvalCallback",
            "nameLocation": "3288:16:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25254,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3314:8:29"
            },
            "parameters": {
              "id": 25253,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3304:2:29"
            },
            "returnParameters": {
              "id": 25257,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3337:0:29"
            },
            "scope": 25407,
            "src": "3279:78:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22083
            ],
            "body": {
              "id": 25271,
              "nodeType": "Block",
              "src": "3420:20:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25268,
                      "name": "_afterDecline",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25334,
                      "src": "3422:13:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 25269,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3422:15:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25270,
                  "nodeType": "ExpressionStatement",
                  "src": "3422:15:29"
                }
              ]
            },
            "functionSelector": "bd1fe5d0",
            "id": 25272,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25266,
                "modifierName": {
                  "id": 25265,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "3406:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3406:13:29"
              }
            ],
            "name": "declineCallback",
            "nameLocation": "3372:15:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25264,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3397:8:29"
            },
            "parameters": {
              "id": 25263,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3387:2:29"
            },
            "returnParameters": {
              "id": 25267,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3420:0:29"
            },
            "scope": 25407,
            "src": "3363:77:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22086
            ],
            "body": {
              "id": 25281,
              "nodeType": "Block",
              "src": "3503:20:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25278,
                      "name": "_afterSuspend",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25338,
                      "src": "3505:13:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 25279,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3505:15:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25280,
                  "nodeType": "ExpressionStatement",
                  "src": "3505:15:29"
                }
              ]
            },
            "functionSelector": "b3fca9bd",
            "id": 25282,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25276,
                "modifierName": {
                  "id": 25275,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "3489:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3489:13:29"
              }
            ],
            "name": "suspendCallback",
            "nameLocation": "3455:15:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25274,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3480:8:29"
            },
            "parameters": {
              "id": 25273,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3470:2:29"
            },
            "returnParameters": {
              "id": 25277,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3503:0:29"
            },
            "scope": 25407,
            "src": "3446:77:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22089
            ],
            "body": {
              "id": 25291,
              "nodeType": "Block",
              "src": "3585:19:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25288,
                      "name": "_afterResume",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25342,
                      "src": "3587:12:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 25289,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3587:14:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25290,
                  "nodeType": "ExpressionStatement",
                  "src": "3587:14:29"
                }
              ]
            },
            "functionSelector": "a18f5ae2",
            "id": 25292,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25286,
                "modifierName": {
                  "id": 25285,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "3571:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3571:13:29"
              }
            ],
            "name": "resumeCallback",
            "nameLocation": "3538:14:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25284,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3562:8:29"
            },
            "parameters": {
              "id": 25283,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3552:2:29"
            },
            "returnParameters": {
              "id": 25287,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3585:0:29"
            },
            "scope": 25407,
            "src": "3529:75:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22092
            ],
            "body": {
              "id": 25301,
              "nodeType": "Block",
              "src": "3665:18:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25298,
                      "name": "_afterPause",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25346,
                      "src": "3667:11:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 25299,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3667:13:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25300,
                  "nodeType": "ExpressionStatement",
                  "src": "3667:13:29"
                }
              ]
            },
            "functionSelector": "d73cd992",
            "id": 25302,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25296,
                "modifierName": {
                  "id": 25295,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "3651:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3651:13:29"
              }
            ],
            "name": "pauseCallback",
            "nameLocation": "3619:13:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25294,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3642:8:29"
            },
            "parameters": {
              "id": 25293,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3632:2:29"
            },
            "returnParameters": {
              "id": 25297,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3665:0:29"
            },
            "scope": 25407,
            "src": "3610:73:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22095
            ],
            "body": {
              "id": 25311,
              "nodeType": "Block",
              "src": "3746:20:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25308,
                      "name": "_afterUnpause",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25350,
                      "src": "3748:13:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 25309,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3748:15:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25310,
                  "nodeType": "ExpressionStatement",
                  "src": "3748:15:29"
                }
              ]
            },
            "functionSelector": "59dacc6a",
            "id": 25312,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25306,
                "modifierName": {
                  "id": 25305,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "3732:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3732:13:29"
              }
            ],
            "name": "unpauseCallback",
            "nameLocation": "3698:15:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25304,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3723:8:29"
            },
            "parameters": {
              "id": 25303,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3713:2:29"
            },
            "returnParameters": {
              "id": 25307,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3746:0:29"
            },
            "scope": 25407,
            "src": "3689:77:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "baseFunctions": [
              22098
            ],
            "body": {
              "id": 25321,
              "nodeType": "Block",
              "src": "3829:20:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 25318,
                      "name": "_afterArchive",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 25354,
                      "src": "3831:13:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 25319,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3831:15:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 25320,
                  "nodeType": "ExpressionStatement",
                  "src": "3831:15:29"
                }
              ]
            },
            "functionSelector": "be169e7e",
            "id": 25322,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "id": 25316,
                "modifierName": {
                  "id": 25315,
                  "name": "onlyComponent",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 25049,
                  "src": "3815:13:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3815:13:29"
              }
            ],
            "name": "archiveCallback",
            "nameLocation": "3781:15:29",
            "nodeType": "FunctionDefinition",
            "overrides": {
              "id": 25314,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3806:8:29"
            },
            "parameters": {
              "id": 25313,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3796:2:29"
            },
            "returnParameters": {
              "id": 25317,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3829:0:29"
            },
            "scope": 25407,
            "src": "3772:77:29",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "body": {
              "id": 25325,
              "nodeType": "Block",
              "src": "4020:2:29",
              "statements": []
            },
            "id": 25326,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterPropose",
            "nameLocation": "3987:13:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25323,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4000:2:29"
            },
            "returnParameters": {
              "id": 25324,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4020:0:29"
            },
            "scope": 25407,
            "src": "3978:44:29",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25329,
              "nodeType": "Block",
              "src": "4070:2:29",
              "statements": []
            },
            "id": 25330,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterApprove",
            "nameLocation": "4037:13:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25327,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4050:2:29"
            },
            "returnParameters": {
              "id": 25328,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4070:0:29"
            },
            "scope": 25407,
            "src": "4028:44:29",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25333,
              "nodeType": "Block",
              "src": "4120:2:29",
              "statements": []
            },
            "id": 25334,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterDecline",
            "nameLocation": "4087:13:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25331,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4100:2:29"
            },
            "returnParameters": {
              "id": 25332,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4120:0:29"
            },
            "scope": 25407,
            "src": "4078:44:29",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25337,
              "nodeType": "Block",
              "src": "4170:2:29",
              "statements": []
            },
            "id": 25338,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterSuspend",
            "nameLocation": "4137:13:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25335,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4150:2:29"
            },
            "returnParameters": {
              "id": 25336,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4170:0:29"
            },
            "scope": 25407,
            "src": "4128:44:29",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25341,
              "nodeType": "Block",
              "src": "4219:2:29",
              "statements": []
            },
            "id": 25342,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterResume",
            "nameLocation": "4187:12:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25339,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4199:2:29"
            },
            "returnParameters": {
              "id": 25340,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4219:0:29"
            },
            "scope": 25407,
            "src": "4178:43:29",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25345,
              "nodeType": "Block",
              "src": "4267:2:29",
              "statements": []
            },
            "id": 25346,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterPause",
            "nameLocation": "4236:11:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25343,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4247:2:29"
            },
            "returnParameters": {
              "id": 25344,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4267:0:29"
            },
            "scope": 25407,
            "src": "4227:42:29",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25349,
              "nodeType": "Block",
              "src": "4317:2:29",
              "statements": []
            },
            "id": 25350,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterUnpause",
            "nameLocation": "4284:13:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25347,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4297:2:29"
            },
            "returnParameters": {
              "id": 25348,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4317:0:29"
            },
            "scope": 25407,
            "src": "4275:44:29",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25353,
              "nodeType": "Block",
              "src": "4367:2:29",
              "statements": []
            },
            "id": 25354,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_afterArchive",
            "nameLocation": "4334:13:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25351,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4347:2:29"
            },
            "returnParameters": {
              "id": 25352,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4367:0:29"
            },
            "scope": 25407,
            "src": "4325:44:29",
            "stateMutability": "nonpayable",
            "virtual": true,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25366,
              "nodeType": "Block",
              "src": "4431:72:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "hexValue": "416363657373",
                            "id": 25362,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "string",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "4477:8:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_662ef9f10158779adc6a36d83dac352a0d38be4aaefa069e4f4fdcebe6a5d3ee",
                              "typeString": "literal_string \"Access\""
                            },
                            "value": "Access"
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_662ef9f10158779adc6a36d83dac352a0d38be4aaefa069e4f4fdcebe6a5d3ee",
                              "typeString": "literal_string \"Access\""
                            }
                          ],
                          "id": 25361,
                          "name": "_getContractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 25406,
                          "src": "4457:19:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 25363,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4457:29:29",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 25360,
                      "name": "IAccess",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 21938,
                      "src": "4449:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_IAccess_$21938_$",
                        "typeString": "type(contract IAccess)"
                      }
                    },
                    "id": 25364,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4449:38:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IAccess_$21938",
                      "typeString": "contract IAccess"
                    }
                  },
                  "functionReturnParameters": 25359,
                  "id": 25365,
                  "nodeType": "Return",
                  "src": "4442:45:29"
                }
              ]
            },
            "id": 25367,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getAccess",
            "nameLocation": "4386:10:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25355,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4396:2:29"
            },
            "returnParameters": {
              "id": 25359,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25358,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25367,
                  "src": "4422:7:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IAccess_$21938",
                    "typeString": "contract IAccess"
                  },
                  "typeName": {
                    "id": 25357,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 25356,
                      "name": "IAccess",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 21938,
                      "src": "4422:7:29"
                    },
                    "referencedDeclaration": 21938,
                    "src": "4422:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IAccess_$21938",
                      "typeString": "contract IAccess"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4421:9:29"
            },
            "scope": 25407,
            "src": "4377:126:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25379,
              "nodeType": "Block",
              "src": "4583:90:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "hexValue": "496e7374616e636553657276696365",
                            "id": 25375,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "string",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "4638:17:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_9d0370d7b33c0a7e946fd67f2013156c598b4d6a70b1490bc73aacf4dc1a6f52",
                              "typeString": "literal_string \"InstanceService\""
                            },
                            "value": "InstanceService"
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_9d0370d7b33c0a7e946fd67f2013156c598b4d6a70b1490bc73aacf4dc1a6f52",
                              "typeString": "literal_string \"InstanceService\""
                            }
                          ],
                          "id": 25374,
                          "name": "_getContractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 25406,
                          "src": "4618:19:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 25376,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4618:38:29",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 25373,
                      "name": "IInstanceService",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22849,
                      "src": "4601:16:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_IInstanceService_$22849_$",
                        "typeString": "type(contract IInstanceService)"
                      }
                    },
                    "id": 25377,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4601:56:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IInstanceService_$22849",
                      "typeString": "contract IInstanceService"
                    }
                  },
                  "functionReturnParameters": 25372,
                  "id": 25378,
                  "nodeType": "Return",
                  "src": "4594:63:29"
                }
              ]
            },
            "id": 25380,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getInstanceService",
            "nameLocation": "4520:19:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25368,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4539:2:29"
            },
            "returnParameters": {
              "id": 25372,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25371,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25380,
                  "src": "4565:16:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IInstanceService_$22849",
                    "typeString": "contract IInstanceService"
                  },
                  "typeName": {
                    "id": 25370,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 25369,
                      "name": "IInstanceService",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22849,
                      "src": "4565:16:29"
                    },
                    "referencedDeclaration": 22849,
                    "src": "4565:16:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IInstanceService_$22849",
                      "typeString": "contract IInstanceService"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4564:18:29"
            },
            "scope": 25407,
            "src": "4511:162:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25392,
              "nodeType": "Block",
              "src": "4765:102:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "hexValue": "436f6d706f6e656e744f776e657253657276696365",
                            "id": 25388,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "string",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "4826:23:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_stringliteral_95855e0e8f5cd64ffc781762663437a44ef7554eea00fdb413a3a655c097a675",
                              "typeString": "literal_string \"ComponentOwnerService\""
                            },
                            "value": "ComponentOwnerService"
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_stringliteral_95855e0e8f5cd64ffc781762663437a44ef7554eea00fdb413a3a655c097a675",
                              "typeString": "literal_string \"ComponentOwnerService\""
                            }
                          ],
                          "id": 25387,
                          "name": "_getContractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 25406,
                          "src": "4806:19:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 25389,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4806:44:29",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 25386,
                      "name": "IComponentOwnerService",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 23478,
                      "src": "4783:22:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_IComponentOwnerService_$23478_$",
                        "typeString": "type(contract IComponentOwnerService)"
                      }
                    },
                    "id": 25390,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4783:68:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                      "typeString": "contract IComponentOwnerService"
                    }
                  },
                  "functionReturnParameters": 25385,
                  "id": 25391,
                  "nodeType": "Return",
                  "src": "4776:75:29"
                }
              ]
            },
            "id": 25393,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getComponentOwnerService",
            "nameLocation": "4690:25:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25381,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4715:2:29"
            },
            "returnParameters": {
              "id": 25385,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25384,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25393,
                  "src": "4741:22:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                    "typeString": "contract IComponentOwnerService"
                  },
                  "typeName": {
                    "id": 25383,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 25382,
                      "name": "IComponentOwnerService",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 23478,
                      "src": "4741:22:29"
                    },
                    "referencedDeclaration": 23478,
                    "src": "4741:22:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IComponentOwnerService_$23478",
                      "typeString": "contract IComponentOwnerService"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4740:24:29"
            },
            "scope": 25407,
            "src": "4681:186:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 25405,
              "nodeType": "Block",
              "src": "4958:62:29",
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 25402,
                        "name": "contractName",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25395,
                        "src": "4999:12:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "id": 25400,
                        "name": "_registry",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 25012,
                        "src": "4977:9:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IRegistry_$21750",
                          "typeString": "contract IRegistry"
                        }
                      },
                      "id": 25401,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getContract",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 21723,
                      "src": "4977:21:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$",
                        "typeString": "function (bytes32) view external returns (address)"
                      }
                    },
                    "id": 25403,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4977:35:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 25399,
                  "id": 25404,
                  "nodeType": "Return",
                  "src": "4970:42:29"
                }
              ]
            },
            "id": 25406,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_getContractAddress",
            "nameLocation": "4884:19:29",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 25396,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25395,
                  "mutability": "mutable",
                  "name": "contractName",
                  "nameLocation": "4912:12:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 25406,
                  "src": "4904:20:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 25394,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4904:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4903:22:29"
            },
            "returnParameters": {
              "id": 25399,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 25398,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 25406,
                  "src": "4949:7:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 25397,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4949:7:29",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4948:9:29"
            },
            "scope": 25407,
            "src": "4875:145:29",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          }
        ],
        "scope": 25408,
        "src": "461:4564:29"
      }
    ],
    "src": "40:4987:29"
  },
  "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.7.3/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.7.3/IERC165",
    "OpenZeppelin/openzeppelin-contracts@4.7.3/IERC20",
    "OpenZeppelin/openzeppelin-contracts@4.7.3/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.7.3/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/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/components/Component.sol",
  "type": "contract"
}