{
  "contractName": "DocumentInterface",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "signedAt",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "cancelReason",
      "outputs": [
        {
          "name": "",
          "type": "string"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "declined",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "signed",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "signer",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "canceled",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "signature",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "declineReason",
      "outputs": [
        {
          "name": "",
          "type": "string"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "eventsId",
      "outputs": [
        {
          "name": "",
          "type": "string"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "file",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "id",
      "outputs": [
        {
          "name": "",
          "type": "string"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "signedFileHash",
      "outputs": [
        {
          "name": "",
          "type": "string"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "createdAt",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "deployer",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "signatureType",
      "outputs": [
        {
          "name": "",
          "type": "string"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "initType",
          "type": "string"
        },
        {
          "name": "documentCreatedAt",
          "type": "uint256"
        }
      ],
      "name": "init",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "signatureOwnerAdr",
          "type": "address"
        }
      ],
      "name": "setSignatureOwner",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "signerAddress",
          "type": "address"
        }
      ],
      "name": "setOwner",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "documentSignedAt",
          "type": "uint256"
        }
      ],
      "name": "sign",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "documentDeclineReason",
          "type": "string"
        }
      ],
      "name": "decline",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "documentCancelReason",
          "type": "string"
        }
      ],
      "name": "cancel",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "fileId",
          "type": "string"
        },
        {
          "name": "fileName",
          "type": "string"
        },
        {
          "name": "fileHash",
          "type": "string"
        },
        {
          "name": "fileCreatedAt",
          "type": "uint256"
        },
        {
          "name": "fileSize",
          "type": "uint256"
        }
      ],
      "name": "createFile",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "fileHash",
          "type": "string"
        }
      ],
      "name": "setFileHash",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "eventId",
          "type": "string"
        },
        {
          "name": "eventType",
          "type": "string"
        },
        {
          "name": "eventUserAgent",
          "type": "string"
        },
        {
          "name": "eventCreatedAt",
          "type": "uint256"
        }
      ],
      "name": "createEvent",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "eventId",
          "type": "string"
        }
      ],
      "name": "getEvent",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getEventsSize",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity <0.6.0;\n\nimport \"./FileInterface.sol\";\nimport \"./EventInterface.sol\";\n\n\ncontract DocumentInterface {\n    address public signature;\n    address public signer;\n    address public deployer;\n\n    string public id;\n    string public cancelReason;\n    string public signatureType;\n    string public declineReason;\n    string public signedFileHash;\n\n    string[] public eventsId;\n\n    uint public signedAt;\n    uint public createdAt;\n\n    bool public signed;\n    bool public canceled;\n    bool public declined;\n\n    FileInterface public file;\n\n    mapping(string => EventInterface) private events;\n\n    function init(\n        string memory initType,\n        uint documentCreatedAt\n    )\n        public;\n\n    function setSignatureOwner(\n        address signatureOwnerAdr\n    )\n        public;\n\n    function setOwner(\n        address signerAddress\n    )\n        public;\n\n    function sign(\n        uint documentSignedAt\n    )\n        public;\n\n    function notifyEntityEvent(\n        string memory notifiersKey,\n        string memory createdEvent,\n        address adrToNotify\n    )\n        internal;\n\n    function decline(\n        string memory documentDeclineReason\n    )\n        public;\n\n    function cancel(\n        string memory documentCancelReason\n    )\n        public;\n\n    function createFile(\n        string memory fileId,\n        string memory fileName,\n        string memory fileHash,\n        uint fileCreatedAt,\n        uint fileSize\n    )\n        public;\n\n    function setFileHash(\n        string memory fileHash\n    )\n        public;\n\n    function createEvent(\n        string memory eventId,\n        string memory eventType,\n        string memory eventUserAgent,\n        uint eventCreatedAt\n    )\n        public;\n\n    function getEvent(\n        string memory eventId\n    )\n        public\n        view\n        returns (address);\n\n    function getEventsSize()\n        public\n        view\n        returns (uint);\n}\n",
  "sourcePath": "/home/administrator/workspace/signaturit-solidity-contracts/contracts/interfaces/DocumentInterface.sol",
  "ast": {
    "absolutePath": "/home/administrator/workspace/signaturit-solidity-contracts/contracts/interfaces/DocumentInterface.sol",
    "exportedSymbols": {
      "DocumentInterface": [
        6880
      ]
    },
    "id": 6881,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 6760,
        "literals": [
          "solidity",
          "<",
          "0.6",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:25"
      },
      {
        "absolutePath": "/home/administrator/workspace/signaturit-solidity-contracts/contracts/interfaces/FileInterface.sol",
        "file": "./FileInterface.sol",
        "id": 6761,
        "nodeType": "ImportDirective",
        "scope": 6881,
        "sourceUnit": 6918,
        "src": "25:29:25",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/administrator/workspace/signaturit-solidity-contracts/contracts/interfaces/EventInterface.sol",
        "file": "./EventInterface.sol",
        "id": 6762,
        "nodeType": "ImportDirective",
        "scope": 6881,
        "sourceUnit": 6892,
        "src": "55:30:25",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 6880,
        "linearizedBaseContracts": [
          6880
        ],
        "name": "DocumentInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 6764,
            "name": "signature",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "121:24:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 6763,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "121:7:25",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6766,
            "name": "signer",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "151:21:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 6765,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "151:7:25",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6768,
            "name": "deployer",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "178:23:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 6767,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "178:7:25",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6770,
            "name": "id",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "208:16:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6769,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "208:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6772,
            "name": "cancelReason",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "230:26:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6771,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "230:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6774,
            "name": "signatureType",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "262:27:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6773,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "262:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6776,
            "name": "declineReason",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "295:27:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6775,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "295:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6778,
            "name": "signedFileHash",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "328:28:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6777,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "328:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6781,
            "name": "eventsId",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "363:24:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_array$_t_string_storage_$dyn_storage",
              "typeString": "string[]"
            },
            "typeName": {
              "baseType": {
                "id": 6779,
                "name": "string",
                "nodeType": "ElementaryTypeName",
                "src": "363:6:25",
                "typeDescriptions": {
                  "typeIdentifier": "t_string_storage_ptr",
                  "typeString": "string"
                }
              },
              "id": 6780,
              "length": null,
              "nodeType": "ArrayTypeName",
              "src": "363:8:25",
              "typeDescriptions": {
                "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
                "typeString": "string[]"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6783,
            "name": "signedAt",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "394:20:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 6782,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "394:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6785,
            "name": "createdAt",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "420:21:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 6784,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "420:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6787,
            "name": "signed",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "448:18:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 6786,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "448:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6789,
            "name": "canceled",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "472:20:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 6788,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "472:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6791,
            "name": "declined",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "498:20:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 6790,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "498:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6793,
            "name": "file",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "525:25:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_FileInterface_$6917",
              "typeString": "contract FileInterface"
            },
            "typeName": {
              "contractScope": null,
              "id": 6792,
              "name": "FileInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6917,
              "src": "525:13:25",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_FileInterface_$6917",
                "typeString": "contract FileInterface"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6797,
            "name": "events",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "557:48:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_string_memory_$_t_contract$_EventInterface_$6891_$",
              "typeString": "mapping(string => contract EventInterface)"
            },
            "typeName": {
              "id": 6796,
              "keyType": {
                "id": 6794,
                "name": "string",
                "nodeType": "ElementaryTypeName",
                "src": "565:6:25",
                "typeDescriptions": {
                  "typeIdentifier": "t_string_storage_ptr",
                  "typeString": "string"
                }
              },
              "nodeType": "Mapping",
              "src": "557:33:25",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_string_memory_$_t_contract$_EventInterface_$6891_$",
                "typeString": "mapping(string => contract EventInterface)"
              },
              "valueType": {
                "contractScope": null,
                "id": 6795,
                "name": "EventInterface",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 6891,
                "src": "575:14:25",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_EventInterface_$6891",
                  "typeString": "contract EventInterface"
                }
              }
            },
            "value": null,
            "visibility": "private"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6804,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "init",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6802,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6799,
                  "name": "initType",
                  "nodeType": "VariableDeclaration",
                  "scope": 6804,
                  "src": "635:22:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6798,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "635:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6801,
                  "name": "documentCreatedAt",
                  "nodeType": "VariableDeclaration",
                  "scope": 6804,
                  "src": "667:22:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6800,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "667:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "625:70:25"
            },
            "returnParameters": {
              "id": 6803,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "710:0:25"
            },
            "scope": 6880,
            "src": "612:99:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6809,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setSignatureOwner",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6807,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6806,
                  "name": "signatureOwnerAdr",
                  "nodeType": "VariableDeclaration",
                  "scope": 6809,
                  "src": "753:25:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6805,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "753:7:25",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "743:41:25"
            },
            "returnParameters": {
              "id": 6808,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "799:0:25"
            },
            "scope": 6880,
            "src": "717:83:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6814,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setOwner",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6812,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6811,
                  "name": "signerAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 6814,
                  "src": "833:21:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6810,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "833:7:25",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "823:37:25"
            },
            "returnParameters": {
              "id": 6813,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "875:0:25"
            },
            "scope": 6880,
            "src": "806:70:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6819,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "sign",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6817,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6816,
                  "name": "documentSignedAt",
                  "nodeType": "VariableDeclaration",
                  "scope": 6819,
                  "src": "905:21:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6815,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "905:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "895:37:25"
            },
            "returnParameters": {
              "id": 6818,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "947:0:25"
            },
            "scope": 6880,
            "src": "882:66:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6828,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "notifyEntityEvent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6826,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6821,
                  "name": "notifiersKey",
                  "nodeType": "VariableDeclaration",
                  "scope": 6828,
                  "src": "990:26:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6820,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "990:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6823,
                  "name": "createdEvent",
                  "nodeType": "VariableDeclaration",
                  "scope": 6828,
                  "src": "1026:26:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6822,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1026:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6825,
                  "name": "adrToNotify",
                  "nodeType": "VariableDeclaration",
                  "scope": 6828,
                  "src": "1062:19:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6824,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1062:7:25",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "980:107:25"
            },
            "returnParameters": {
              "id": 6827,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1104:0:25"
            },
            "scope": 6880,
            "src": "954:151:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6833,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "decline",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6831,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6830,
                  "name": "documentDeclineReason",
                  "nodeType": "VariableDeclaration",
                  "scope": 6833,
                  "src": "1137:35:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6829,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1137:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1127:51:25"
            },
            "returnParameters": {
              "id": 6832,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1193:0:25"
            },
            "scope": 6880,
            "src": "1111:83:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6838,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "cancel",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6836,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6835,
                  "name": "documentCancelReason",
                  "nodeType": "VariableDeclaration",
                  "scope": 6838,
                  "src": "1225:34:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6834,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1225:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1215:50:25"
            },
            "returnParameters": {
              "id": 6837,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1280:0:25"
            },
            "scope": 6880,
            "src": "1200:81:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6851,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "createFile",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6849,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6840,
                  "name": "fileId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1316:20:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6839,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1316:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6842,
                  "name": "fileName",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1346:22:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6841,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1346:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6844,
                  "name": "fileHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1378:22:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6843,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1378:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6846,
                  "name": "fileCreatedAt",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1410:18:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6845,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1410:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6848,
                  "name": "fileSize",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1438:13:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6847,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1438:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1306:151:25"
            },
            "returnParameters": {
              "id": 6850,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1472:0:25"
            },
            "scope": 6880,
            "src": "1287:186:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6856,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setFileHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6854,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6853,
                  "name": "fileHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 6856,
                  "src": "1509:22:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6852,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1509:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1499:38:25"
            },
            "returnParameters": {
              "id": 6855,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1552:0:25"
            },
            "scope": 6880,
            "src": "1479:74:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6867,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "createEvent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6865,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6858,
                  "name": "eventId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6867,
                  "src": "1589:21:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6857,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1589:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6860,
                  "name": "eventType",
                  "nodeType": "VariableDeclaration",
                  "scope": 6867,
                  "src": "1620:23:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6859,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1620:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6862,
                  "name": "eventUserAgent",
                  "nodeType": "VariableDeclaration",
                  "scope": 6867,
                  "src": "1653:28:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6861,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1653:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6864,
                  "name": "eventCreatedAt",
                  "nodeType": "VariableDeclaration",
                  "scope": 6867,
                  "src": "1691:19:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6863,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1691:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1579:137:25"
            },
            "returnParameters": {
              "id": 6866,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1731:0:25"
            },
            "scope": 6880,
            "src": "1559:173:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6874,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getEvent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6870,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6869,
                  "name": "eventId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6874,
                  "src": "1765:21:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6868,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1765:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1755:37:25"
            },
            "returnParameters": {
              "id": 6873,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6872,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6874,
                  "src": "1838:7:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6871,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1838:7:25",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1837:9:25"
            },
            "scope": 6880,
            "src": "1738:109:25",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6879,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getEventsSize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6875,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1875:2:25"
            },
            "returnParameters": {
              "id": 6878,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6877,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6879,
                  "src": "1923:4:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6876,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1923:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1922:6:25"
            },
            "scope": 6880,
            "src": "1853:76:25",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 6881,
        "src": "88:1843:25"
      }
    ],
    "src": "0:1932:25"
  },
  "legacyAST": {
    "absolutePath": "/home/administrator/workspace/signaturit-solidity-contracts/contracts/interfaces/DocumentInterface.sol",
    "exportedSymbols": {
      "DocumentInterface": [
        6880
      ]
    },
    "id": 6881,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 6760,
        "literals": [
          "solidity",
          "<",
          "0.6",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:25"
      },
      {
        "absolutePath": "/home/administrator/workspace/signaturit-solidity-contracts/contracts/interfaces/FileInterface.sol",
        "file": "./FileInterface.sol",
        "id": 6761,
        "nodeType": "ImportDirective",
        "scope": 6881,
        "sourceUnit": 6918,
        "src": "25:29:25",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/administrator/workspace/signaturit-solidity-contracts/contracts/interfaces/EventInterface.sol",
        "file": "./EventInterface.sol",
        "id": 6762,
        "nodeType": "ImportDirective",
        "scope": 6881,
        "sourceUnit": 6892,
        "src": "55:30:25",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 6880,
        "linearizedBaseContracts": [
          6880
        ],
        "name": "DocumentInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 6764,
            "name": "signature",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "121:24:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 6763,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "121:7:25",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6766,
            "name": "signer",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "151:21:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 6765,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "151:7:25",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6768,
            "name": "deployer",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "178:23:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 6767,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "178:7:25",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6770,
            "name": "id",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "208:16:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6769,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "208:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6772,
            "name": "cancelReason",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "230:26:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6771,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "230:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6774,
            "name": "signatureType",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "262:27:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6773,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "262:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6776,
            "name": "declineReason",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "295:27:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6775,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "295:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6778,
            "name": "signedFileHash",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "328:28:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_storage",
              "typeString": "string"
            },
            "typeName": {
              "id": 6777,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "328:6:25",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6781,
            "name": "eventsId",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "363:24:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_array$_t_string_storage_$dyn_storage",
              "typeString": "string[]"
            },
            "typeName": {
              "baseType": {
                "id": 6779,
                "name": "string",
                "nodeType": "ElementaryTypeName",
                "src": "363:6:25",
                "typeDescriptions": {
                  "typeIdentifier": "t_string_storage_ptr",
                  "typeString": "string"
                }
              },
              "id": 6780,
              "length": null,
              "nodeType": "ArrayTypeName",
              "src": "363:8:25",
              "typeDescriptions": {
                "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
                "typeString": "string[]"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6783,
            "name": "signedAt",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "394:20:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 6782,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "394:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6785,
            "name": "createdAt",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "420:21:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 6784,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "420:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6787,
            "name": "signed",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "448:18:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 6786,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "448:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6789,
            "name": "canceled",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "472:20:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 6788,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "472:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6791,
            "name": "declined",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "498:20:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 6790,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "498:4:25",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6793,
            "name": "file",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "525:25:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_FileInterface_$6917",
              "typeString": "contract FileInterface"
            },
            "typeName": {
              "contractScope": null,
              "id": 6792,
              "name": "FileInterface",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6917,
              "src": "525:13:25",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_FileInterface_$6917",
                "typeString": "contract FileInterface"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 6797,
            "name": "events",
            "nodeType": "VariableDeclaration",
            "scope": 6880,
            "src": "557:48:25",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_string_memory_$_t_contract$_EventInterface_$6891_$",
              "typeString": "mapping(string => contract EventInterface)"
            },
            "typeName": {
              "id": 6796,
              "keyType": {
                "id": 6794,
                "name": "string",
                "nodeType": "ElementaryTypeName",
                "src": "565:6:25",
                "typeDescriptions": {
                  "typeIdentifier": "t_string_storage_ptr",
                  "typeString": "string"
                }
              },
              "nodeType": "Mapping",
              "src": "557:33:25",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_string_memory_$_t_contract$_EventInterface_$6891_$",
                "typeString": "mapping(string => contract EventInterface)"
              },
              "valueType": {
                "contractScope": null,
                "id": 6795,
                "name": "EventInterface",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 6891,
                "src": "575:14:25",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_EventInterface_$6891",
                  "typeString": "contract EventInterface"
                }
              }
            },
            "value": null,
            "visibility": "private"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6804,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "init",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6802,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6799,
                  "name": "initType",
                  "nodeType": "VariableDeclaration",
                  "scope": 6804,
                  "src": "635:22:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6798,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "635:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6801,
                  "name": "documentCreatedAt",
                  "nodeType": "VariableDeclaration",
                  "scope": 6804,
                  "src": "667:22:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6800,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "667:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "625:70:25"
            },
            "returnParameters": {
              "id": 6803,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "710:0:25"
            },
            "scope": 6880,
            "src": "612:99:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6809,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setSignatureOwner",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6807,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6806,
                  "name": "signatureOwnerAdr",
                  "nodeType": "VariableDeclaration",
                  "scope": 6809,
                  "src": "753:25:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6805,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "753:7:25",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "743:41:25"
            },
            "returnParameters": {
              "id": 6808,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "799:0:25"
            },
            "scope": 6880,
            "src": "717:83:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6814,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setOwner",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6812,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6811,
                  "name": "signerAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 6814,
                  "src": "833:21:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6810,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "833:7:25",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "823:37:25"
            },
            "returnParameters": {
              "id": 6813,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "875:0:25"
            },
            "scope": 6880,
            "src": "806:70:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6819,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "sign",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6817,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6816,
                  "name": "documentSignedAt",
                  "nodeType": "VariableDeclaration",
                  "scope": 6819,
                  "src": "905:21:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6815,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "905:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "895:37:25"
            },
            "returnParameters": {
              "id": 6818,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "947:0:25"
            },
            "scope": 6880,
            "src": "882:66:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6828,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "notifyEntityEvent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6826,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6821,
                  "name": "notifiersKey",
                  "nodeType": "VariableDeclaration",
                  "scope": 6828,
                  "src": "990:26:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6820,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "990:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6823,
                  "name": "createdEvent",
                  "nodeType": "VariableDeclaration",
                  "scope": 6828,
                  "src": "1026:26:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6822,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1026:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6825,
                  "name": "adrToNotify",
                  "nodeType": "VariableDeclaration",
                  "scope": 6828,
                  "src": "1062:19:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6824,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1062:7:25",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "980:107:25"
            },
            "returnParameters": {
              "id": 6827,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1104:0:25"
            },
            "scope": 6880,
            "src": "954:151:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6833,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "decline",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6831,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6830,
                  "name": "documentDeclineReason",
                  "nodeType": "VariableDeclaration",
                  "scope": 6833,
                  "src": "1137:35:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6829,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1137:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1127:51:25"
            },
            "returnParameters": {
              "id": 6832,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1193:0:25"
            },
            "scope": 6880,
            "src": "1111:83:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6838,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "cancel",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6836,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6835,
                  "name": "documentCancelReason",
                  "nodeType": "VariableDeclaration",
                  "scope": 6838,
                  "src": "1225:34:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6834,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1225:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1215:50:25"
            },
            "returnParameters": {
              "id": 6837,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1280:0:25"
            },
            "scope": 6880,
            "src": "1200:81:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6851,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "createFile",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6849,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6840,
                  "name": "fileId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1316:20:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6839,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1316:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6842,
                  "name": "fileName",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1346:22:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6841,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1346:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6844,
                  "name": "fileHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1378:22:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6843,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1378:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6846,
                  "name": "fileCreatedAt",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1410:18:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6845,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1410:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6848,
                  "name": "fileSize",
                  "nodeType": "VariableDeclaration",
                  "scope": 6851,
                  "src": "1438:13:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6847,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1438:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1306:151:25"
            },
            "returnParameters": {
              "id": 6850,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1472:0:25"
            },
            "scope": 6880,
            "src": "1287:186:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6856,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setFileHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6854,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6853,
                  "name": "fileHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 6856,
                  "src": "1509:22:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6852,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1509:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1499:38:25"
            },
            "returnParameters": {
              "id": 6855,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1552:0:25"
            },
            "scope": 6880,
            "src": "1479:74:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6867,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "createEvent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6865,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6858,
                  "name": "eventId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6867,
                  "src": "1589:21:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6857,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1589:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6860,
                  "name": "eventType",
                  "nodeType": "VariableDeclaration",
                  "scope": 6867,
                  "src": "1620:23:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6859,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1620:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6862,
                  "name": "eventUserAgent",
                  "nodeType": "VariableDeclaration",
                  "scope": 6867,
                  "src": "1653:28:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6861,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1653:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6864,
                  "name": "eventCreatedAt",
                  "nodeType": "VariableDeclaration",
                  "scope": 6867,
                  "src": "1691:19:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6863,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1691:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1579:137:25"
            },
            "returnParameters": {
              "id": 6866,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1731:0:25"
            },
            "scope": 6880,
            "src": "1559:173:25",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6874,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getEvent",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6870,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6869,
                  "name": "eventId",
                  "nodeType": "VariableDeclaration",
                  "scope": 6874,
                  "src": "1765:21:25",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 6868,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1765:6:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1755:37:25"
            },
            "returnParameters": {
              "id": 6873,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6872,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6874,
                  "src": "1838:7:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6871,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1838:7:25",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1837:9:25"
            },
            "scope": 6880,
            "src": "1738:109:25",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 6879,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getEventsSize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6875,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1875:2:25"
            },
            "returnParameters": {
              "id": 6878,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6877,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6879,
                  "src": "1923:4:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6876,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1923:4:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1922:6:25"
            },
            "scope": 6880,
            "src": "1853:76:25",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 6881,
        "src": "88:1843:25"
      }
    ],
    "src": "0:1932:25"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.0+commit.1d4f565a.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "2.0.3",
  "updatedAt": "2020-01-15T10:55:50.248Z"
}