{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "expectedPremiumAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "sumInsuredAmount",
          "type": "uint256"
        }
      ],
      "name": "adjustPremiumSumInsured",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "requestId",
          "type": "uint256"
        }
      ],
      "name": "cancelRequest",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        }
      ],
      "name": "close",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "claimId",
          "type": "uint256"
        }
      ],
      "name": "closeClaim",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "collectPremium",
      "outputs": [
        {
          "internalType": "bool",
          "name": "success",
          "type": "bool"
        },
        {
          "internalType": "uint256",
          "name": "feeAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "netPremiumAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "claimId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "confirmedAmount",
          "type": "uint256"
        }
      ],
      "name": "confirmClaim",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        }
      ],
      "name": "decline",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "claimId",
          "type": "uint256"
        }
      ],
      "name": "declineClaim",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        }
      ],
      "name": "expire",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "premiumAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "sumInsuredAmount",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "metaData",
          "type": "bytes"
        },
        {
          "internalType": "bytes",
          "name": "applicationData",
          "type": "bytes"
        }
      ],
      "name": "newApplication",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "claimAmount",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "newClaim",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "claimId",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "claimId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "newPayout",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "payoutId",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "payoutId",
          "type": "uint256"
        }
      ],
      "name": "processPayout",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "feeAmount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "netPayoutAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        },
        {
          "internalType": "string",
          "name": "callbackMethodName",
          "type": "string"
        },
        {
          "internalType": "address",
          "name": "callbackContractAddress",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "responsibleOracleId",
          "type": "uint256"
        }
      ],
      "name": "request",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "requestId",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        }
      ],
      "name": "revoke",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        }
      ],
      "name": "underwrite",
      "outputs": [
        {
          "internalType": "bool",
          "name": "success",
          "type": "bool"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "allSourcePaths": {
    "27": "contracts/services/IProductService.sol"
  },
  "ast": {
    "absolutePath": "contracts/services/IProductService.sol",
    "exportedSymbols": {
      "IProductService": [
        4488
      ]
    },
    "id": 4489,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 4345,
        "literals": [
          "solidity",
          "0.8",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "39:22:27"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "id": 4488,
        "linearizedBaseContracts": [
          4488
        ],
        "name": "IProductService",
        "nameLocation": "73:15:27",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "functionSelector": "93b8414a",
            "id": 4360,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "newApplication",
            "nameLocation": "105:14:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4356,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4347,
                  "mutability": "mutable",
                  "name": "owner",
                  "nameLocation": "137:5:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4360,
                  "src": "129:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 4346,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "129:7:27",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4349,
                  "mutability": "mutable",
                  "name": "premiumAmount",
                  "nameLocation": "160:13:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4360,
                  "src": "152:21:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4348,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "152:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4351,
                  "mutability": "mutable",
                  "name": "sumInsuredAmount",
                  "nameLocation": "191:16:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4360,
                  "src": "183:24:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4350,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "183:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4353,
                  "mutability": "mutable",
                  "name": "metaData",
                  "nameLocation": "232:8:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4360,
                  "src": "217:23:27",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 4352,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "217:5:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4355,
                  "mutability": "mutable",
                  "name": "applicationData",
                  "nameLocation": "266:15:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4360,
                  "src": "251:30:27",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 4354,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "251:5:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "119:169:27"
            },
            "returnParameters": {
              "id": 4359,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4358,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "314:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4360,
                  "src": "306:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4357,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "306:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "305:19:27"
            },
            "scope": 4488,
            "src": "96:229:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "e3ebdea5",
            "id": 4373,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "collectPremium",
            "nameLocation": "340:14:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4365,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4362,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "363:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4373,
                  "src": "355:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4361,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "355:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4364,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "382:6:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4373,
                  "src": "374:14:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4363,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "374:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "354:35:27"
            },
            "returnParameters": {
              "id": 4372,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4367,
                  "mutability": "mutable",
                  "name": "success",
                  "nameLocation": "433:7:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4373,
                  "src": "428:12:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 4366,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "428:4:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4369,
                  "mutability": "mutable",
                  "name": "feeAmount",
                  "nameLocation": "462:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4373,
                  "src": "454:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4368,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "454:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4371,
                  "mutability": "mutable",
                  "name": "netPremiumAmount",
                  "nameLocation": "493:16:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4373,
                  "src": "485:24:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4370,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "485:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "414:105:27"
            },
            "scope": 4488,
            "src": "331:189:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "30a73da5",
            "id": 4382,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "adjustPremiumSumInsured",
            "nameLocation": "539:23:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4380,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4375,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "580:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4382,
                  "src": "572:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4374,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "572:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4377,
                  "mutability": "mutable",
                  "name": "expectedPremiumAmount",
                  "nameLocation": "608:21:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4382,
                  "src": "600:29:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4376,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "600:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4379,
                  "mutability": "mutable",
                  "name": "sumInsuredAmount",
                  "nameLocation": "647:16:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4382,
                  "src": "639:24:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4378,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "639:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "562:107:27"
            },
            "returnParameters": {
              "id": 4381,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "678:0:27"
            },
            "scope": 4488,
            "src": "530:149:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "b75c7dc6",
            "id": 4387,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "revoke",
            "nameLocation": "694:6:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4385,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4384,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "709:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4387,
                  "src": "701:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4383,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "701:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "700:19:27"
            },
            "returnParameters": {
              "id": 4386,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "728:0:27"
            },
            "scope": 4488,
            "src": "685:44:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "1b07b17f",
            "id": 4394,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "underwrite",
            "nameLocation": "743:10:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4390,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4389,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "762:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4394,
                  "src": "754:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4388,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "754:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "753:19:27"
            },
            "returnParameters": {
              "id": 4393,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4392,
                  "mutability": "mutable",
                  "name": "success",
                  "nameLocation": "795:7:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4394,
                  "src": "790:12:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 4391,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "790:4:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "789:14:27"
            },
            "scope": 4488,
            "src": "734:70:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "8cc7d3d1",
            "id": 4399,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "decline",
            "nameLocation": "818:7:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4397,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4396,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "834:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4399,
                  "src": "826:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4395,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "826:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "825:19:27"
            },
            "returnParameters": {
              "id": 4398,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "853:0:27"
            },
            "scope": 4488,
            "src": "809:45:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "c6441798",
            "id": 4404,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "expire",
            "nameLocation": "868:6:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4402,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4401,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "883:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4404,
                  "src": "875:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4400,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "875:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "874:19:27"
            },
            "returnParameters": {
              "id": 4403,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "902:0:27"
            },
            "scope": 4488,
            "src": "859:44:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "39c79e0c",
            "id": 4409,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "close",
            "nameLocation": "917:5:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4407,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4406,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "931:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4409,
                  "src": "923:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4405,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "923:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "922:19:27"
            },
            "returnParameters": {
              "id": 4408,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "950:0:27"
            },
            "scope": 4488,
            "src": "908:43:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "fae43d15",
            "id": 4420,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "newClaim",
            "nameLocation": "966:8:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4416,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4411,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "992:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4420,
                  "src": "984:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4410,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "984:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4413,
                  "mutability": "mutable",
                  "name": "claimAmount",
                  "nameLocation": "1020:11:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4420,
                  "src": "1012:19:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4412,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1012:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4415,
                  "mutability": "mutable",
                  "name": "data",
                  "nameLocation": "1056:4:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4420,
                  "src": "1041:19:27",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 4414,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1041:5:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "974:92:27"
            },
            "returnParameters": {
              "id": 4419,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4418,
                  "mutability": "mutable",
                  "name": "claimId",
                  "nameLocation": "1092:7:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4420,
                  "src": "1084:15:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4417,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1084:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1083:17:27"
            },
            "scope": 4488,
            "src": "957:144:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "4e02c63f",
            "id": 4429,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "confirmClaim",
            "nameLocation": "1116:12:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4427,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4422,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "1146:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4429,
                  "src": "1138:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4421,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1138:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4424,
                  "mutability": "mutable",
                  "name": "claimId",
                  "nameLocation": "1174:7:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4429,
                  "src": "1166:15:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4423,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1166:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4426,
                  "mutability": "mutable",
                  "name": "confirmedAmount",
                  "nameLocation": "1200:15:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4429,
                  "src": "1192:23:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4425,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1192:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1128:93:27"
            },
            "returnParameters": {
              "id": 4428,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1230:0:27"
            },
            "scope": 4488,
            "src": "1107:124:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "4cda0de9",
            "id": 4436,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "declineClaim",
            "nameLocation": "1246:12:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4434,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4431,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "1267:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4436,
                  "src": "1259:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4430,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1259:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4433,
                  "mutability": "mutable",
                  "name": "claimId",
                  "nameLocation": "1286:7:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4436,
                  "src": "1278:15:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4432,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1278:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1258:36:27"
            },
            "returnParameters": {
              "id": 4435,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1303:0:27"
            },
            "scope": 4488,
            "src": "1237:67:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "7f29dba2",
            "id": 4443,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "closeClaim",
            "nameLocation": "1318:10:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4441,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4438,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "1337:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4443,
                  "src": "1329:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4437,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1329:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4440,
                  "mutability": "mutable",
                  "name": "claimId",
                  "nameLocation": "1356:7:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4443,
                  "src": "1348:15:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4439,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1348:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1328:36:27"
            },
            "returnParameters": {
              "id": 4442,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1373:0:27"
            },
            "scope": 4488,
            "src": "1309:65:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "781d7846",
            "id": 4456,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "newPayout",
            "nameLocation": "1389:9:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4452,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4445,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "1416:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4456,
                  "src": "1408:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4444,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1408:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4447,
                  "mutability": "mutable",
                  "name": "claimId",
                  "nameLocation": "1444:7:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4456,
                  "src": "1436:15:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4446,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1436:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4449,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "1470:6:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4456,
                  "src": "1462:14:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4448,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1462:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4451,
                  "mutability": "mutable",
                  "name": "data",
                  "nameLocation": "1501:4:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4456,
                  "src": "1486:19:27",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 4450,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1486:5:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1398:113:27"
            },
            "returnParameters": {
              "id": 4455,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4454,
                  "mutability": "mutable",
                  "name": "payoutId",
                  "nameLocation": "1537:8:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4456,
                  "src": "1529:16:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4453,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1529:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1528:18:27"
            },
            "scope": 4488,
            "src": "1380:167:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "fe64372b",
            "id": 4467,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "processPayout",
            "nameLocation": "1562:13:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4461,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4458,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "1584:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4467,
                  "src": "1576:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4457,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1576:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4460,
                  "mutability": "mutable",
                  "name": "payoutId",
                  "nameLocation": "1603:8:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4467,
                  "src": "1595:16:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4459,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1595:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1575:37:27"
            },
            "returnParameters": {
              "id": 4466,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4463,
                  "mutability": "mutable",
                  "name": "feeAmount",
                  "nameLocation": "1659:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4467,
                  "src": "1651:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4462,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1651:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4465,
                  "mutability": "mutable",
                  "name": "netPayoutAmount",
                  "nameLocation": "1690:15:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4467,
                  "src": "1682:23:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4464,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1682:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1637:78:27"
            },
            "scope": 4488,
            "src": "1553:163:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "2c933f22",
            "id": 4482,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "request",
            "nameLocation": "1731:7:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4478,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4469,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "1756:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4482,
                  "src": "1748:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 4468,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1748:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4471,
                  "mutability": "mutable",
                  "name": "data",
                  "nameLocation": "1790:4:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4482,
                  "src": "1775:19:27",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 4470,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1775:5:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4473,
                  "mutability": "mutable",
                  "name": "callbackMethodName",
                  "nameLocation": "1820:18:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4482,
                  "src": "1804:34:27",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 4472,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1804:6:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4475,
                  "mutability": "mutable",
                  "name": "callbackContractAddress",
                  "nameLocation": "1856:23:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4482,
                  "src": "1848:31:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 4474,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1848:7:27",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 4477,
                  "mutability": "mutable",
                  "name": "responsibleOracleId",
                  "nameLocation": "1897:19:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4482,
                  "src": "1889:27:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4476,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1889:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1738:184:27"
            },
            "returnParameters": {
              "id": 4481,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4480,
                  "mutability": "mutable",
                  "name": "requestId",
                  "nameLocation": "1948:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4482,
                  "src": "1940:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4479,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1940:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1939:19:27"
            },
            "scope": 4488,
            "src": "1722:237:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "3015394c",
            "id": 4487,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "cancelRequest",
            "nameLocation": "1974:13:27",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 4485,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 4484,
                  "mutability": "mutable",
                  "name": "requestId",
                  "nameLocation": "1996:9:27",
                  "nodeType": "VariableDeclaration",
                  "scope": 4487,
                  "src": "1988:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 4483,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1988:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1987:19:27"
            },
            "returnParameters": {
              "id": 4486,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2015:0:27"
            },
            "scope": 4488,
            "src": "1965:51:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 4489,
        "src": "63:1955:27"
      }
    ],
    "src": "39:1980:27"
  },
  "bytecode": "",
  "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
  "compiler": {
    "evm_version": "istanbul",
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "version": "0.8.2+commit.661d1103"
  },
  "contractName": "IProductService",
  "coverageMap": {
    "branches": {},
    "statements": {}
  },
  "dependencies": [],
  "deployedBytecode": "",
  "deployedSourceMap": "",
  "language": "Solidity",
  "natspec": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "offset": [
    63,
    2018
  ],
  "opcodes": "",
  "pcMap": {},
  "sha1": "a9bb78c3f0ebb9395271b09bb6ebd4f5d77d123a",
  "source": "// SPDX-License-Identifier: Apache-2.0\npragma solidity 0.8.2;\n\ninterface IProductService {\n\n    function newApplication(\n        address owner,\n        uint256 premiumAmount,\n        uint256 sumInsuredAmount,\n        bytes calldata metaData, \n        bytes calldata applicationData \n    ) external returns(bytes32 processId);\n\n    function collectPremium(bytes32 processId, uint256 amount) external\n        returns(\n            bool success,\n            uint256 feeAmount,\n            uint256 netPremiumAmount\n        );\n    \n    function adjustPremiumSumInsured(\n        bytes32 processId, \n        uint256 expectedPremiumAmount,\n        uint256 sumInsuredAmount\n    ) external;\n\n    function revoke(bytes32 processId) external;\n    function underwrite(bytes32 processId) external returns(bool success);\n    function decline(bytes32 processId) external;\n    function expire(bytes32 processId) external;\n    function close(bytes32 processId) external;\n\n    function newClaim(\n        bytes32 processId, \n        uint256 claimAmount,\n        bytes calldata data\n    ) external returns(uint256 claimId);\n\n    function confirmClaim(\n        bytes32 processId, \n        uint256 claimId, \n        uint256 confirmedAmount\n    ) external;\n\n    function declineClaim(bytes32 processId, uint256 claimId) external;\n    function closeClaim(bytes32 processId, uint256 claimId) external;\n\n    function newPayout(\n        bytes32 processId, \n        uint256 claimId, \n        uint256 amount,\n        bytes calldata data\n    ) external returns(uint256 payoutId);\n\n    function processPayout(bytes32 processId, uint256 payoutId) external\n        returns(\n            uint256 feeAmount,\n            uint256 netPayoutAmount\n        );\n\n    function request(\n        bytes32 processId,\n        bytes calldata data,\n        string calldata callbackMethodName,\n        address callbackContractAddress,\n        uint256 responsibleOracleId\n    ) external returns(uint256 requestId);\n\n    function cancelRequest(uint256 requestId) external;\n}\n",
  "sourceMap": "",
  "sourcePath": "contracts/services/IProductService.sol",
  "type": "interface"
}