UNPKG

@etherisc/gif-interface

Version:

This repository holds the necessary interfaces and base contracts to interact with an existing GIF instance. The repository is not intended to be used on its own.

1,668 lines 168 kB
{ "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "premiumAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "sumInsuredAmount", "type": "uint256" } ], "name": "LogApplicationCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "LogApplicationDeclined", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "premiumAmountOld", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "premiumAmount", "type": "uint256" } ], "name": "LogApplicationPremiumAdjusted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "LogApplicationRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "sumInsuredAmountOld", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "sumInsuredAmount", "type": "uint256" } ], "name": "LogApplicationSumInsuredAdjusted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "LogApplicationUnderwritten", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "claimId", "type": "uint256" } ], "name": "LogClaimClosed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "claimId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "confirmedAmount", "type": "uint256" } ], "name": "LogClaimConfirmed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "claimId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "claimAmount", "type": "uint256" } ], "name": "LogClaimCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "claimId", "type": "uint256" } ], "name": "LogClaimDeclined", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "productId", "type": "uint256" }, { "indexed": false, "internalType": "enum IPolicy.PolicyFlowState", "name": "state", "type": "uint8" } ], "name": "LogMetadataCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "enum IPolicy.PolicyFlowState", "name": "state", "type": "uint8" } ], "name": "LogMetadataStateChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "claimId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "payoutId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogPayoutCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "payoutId", "type": "uint256" } ], "name": "LogPayoutProcessed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "LogPolicyClosed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "LogPolicyCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "LogPolicyExpired", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "premiumExpectedAmountOld", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "premiumExpectedAmount", "type": "uint256" } ], "name": "LogPolicyPremiumAdjusted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "LogPremiumCollected", "type": "event" }, { "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": "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" } ], "name": "closePolicy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "collectPremium", "outputs": [], "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" }, { "internalType": "uint256", "name": "premiumAmount", "type": "uint256" }, { "internalType": "uint256", "name": "sumInsuredAmount", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "createApplication", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "internalType": "uint256", "name": "claimAmount", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "createClaim", "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": "payoutAmount", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "createPayout", "outputs": [ { "internalType": "uint256", "name": "payoutId", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "createPolicy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256", "name": "productId", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "createPolicyFlow", "outputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "declineApplication", "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": "expirePolicy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" }, { "internalType": "uint256", "name": "payoutId", "type": "uint256" } ], "name": "processPayout", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "revokeApplication", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "processId", "type": "bytes32" } ], "name": "underwriteApplication", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "allSourcePaths": { "18": "contracts/modules/IPolicy.sol" }, "ast": { "absolutePath": "contracts/modules/IPolicy.sol", "exportedSymbols": { "IPolicy": [ 3257 ] }, "id": 3258, "license": "Apache-2.0", "nodeType": "SourceUnit", "nodes": [ { "id": 2913, "literals": [ "solidity", "0.8", ".2" ], "nodeType": "PragmaDirective", "src": "39:22:18" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "fullyImplemented": false, "id": 3257, "linearizedBaseContracts": [ 3257 ], "name": "IPolicy", "nameLocation": "73:7:18", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "id": 2924, "name": "LogMetadataCreated", "nameLocation": "108:18:18", "nodeType": "EventDefinition", "parameters": { "id": 2923, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2915, "indexed": false, "mutability": "mutable", "name": "owner", "nameLocation": "144:5:18", "nodeType": "VariableDeclaration", "scope": 2924, "src": "136:13:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 2914, "name": "address", "nodeType": "ElementaryTypeName", "src": "136:7:18", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 2917, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "167:9:18", "nodeType": "VariableDeclaration", "scope": 2924, "src": "159:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2916, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "159:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 2919, "indexed": false, "mutability": "mutable", "name": "productId", "nameLocation": "194:9:18", "nodeType": "VariableDeclaration", "scope": 2924, "src": "186:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2918, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "186:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2922, "indexed": false, "mutability": "mutable", "name": "state", "nameLocation": "230:5:18", "nodeType": "VariableDeclaration", "scope": 2924, "src": "214:21:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_enum$_PolicyFlowState_$3041", "typeString": "enum IPolicy.PolicyFlowState" }, "typeName": { "id": 2921, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 2920, "name": "PolicyFlowState", "nodeType": "IdentifierPath", "referencedDeclaration": 3041, "src": "214:15:18" }, "referencedDeclaration": 3041, "src": "214:15:18", "typeDescriptions": { "typeIdentifier": "t_enum$_PolicyFlowState_$3041", "typeString": "enum IPolicy.PolicyFlowState" } }, "visibility": "internal" } ], "src": "126:115:18" }, "src": "102:140:18" }, { "anonymous": false, "id": 2931, "name": "LogMetadataStateChanged", "nameLocation": "254:23:18", "nodeType": "EventDefinition", "parameters": { "id": 2930, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2926, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "295:9:18", "nodeType": "VariableDeclaration", "scope": 2931, "src": "287:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2925, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "287:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 2929, "indexed": false, "mutability": "mutable", "name": "state", "nameLocation": "331:5:18", "nodeType": "VariableDeclaration", "scope": 2931, "src": "315:21:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_enum$_PolicyFlowState_$3041", "typeString": "enum IPolicy.PolicyFlowState" }, "typeName": { "id": 2928, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 2927, "name": "PolicyFlowState", "nodeType": "IdentifierPath", "referencedDeclaration": 3041, "src": "315:15:18" }, "referencedDeclaration": 3041, "src": "315:15:18", "typeDescriptions": { "typeIdentifier": "t_enum$_PolicyFlowState_$3041", "typeString": "enum IPolicy.PolicyFlowState" } }, "visibility": "internal" } ], "src": "277:65:18" }, "src": "248:95:18" }, { "anonymous": false, "id": 2939, "name": "LogApplicationCreated", "nameLocation": "355:21:18", "nodeType": "EventDefinition", "parameters": { "id": 2938, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2933, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "394:9:18", "nodeType": "VariableDeclaration", "scope": 2939, "src": "386:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2932, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "386:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 2935, "indexed": false, "mutability": "mutable", "name": "premiumAmount", "nameLocation": "422:13:18", "nodeType": "VariableDeclaration", "scope": 2939, "src": "414:21:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2934, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "414:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2937, "indexed": false, "mutability": "mutable", "name": "sumInsuredAmount", "nameLocation": "454:16:18", "nodeType": "VariableDeclaration", "scope": 2939, "src": "446:24:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2936, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "446:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "376:100:18" }, "src": "349:128:18" }, { "anonymous": false, "id": 2943, "name": "LogApplicationRevoked", "nameLocation": "489:21:18", "nodeType": "EventDefinition", "parameters": { "id": 2942, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2941, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "519:9:18", "nodeType": "VariableDeclaration", "scope": 2943, "src": "511:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2940, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "511:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "510:19:18" }, "src": "483:47:18" }, { "anonymous": false, "id": 2947, "name": "LogApplicationUnderwritten", "nameLocation": "541:26:18", "nodeType": "EventDefinition", "parameters": { "id": 2946, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2945, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "576:9:18", "nodeType": "VariableDeclaration", "scope": 2947, "src": "568:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2944, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "568:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "567:19:18" }, "src": "535:52:18" }, { "anonymous": false, "id": 2951, "name": "LogApplicationDeclined", "nameLocation": "598:22:18", "nodeType": "EventDefinition", "parameters": { "id": 2950, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2949, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "629:9:18", "nodeType": "VariableDeclaration", "scope": 2951, "src": "621:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2948, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "621:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "620:19:18" }, "src": "592:48:18" }, { "anonymous": false, "id": 2955, "name": "LogPolicyCreated", "nameLocation": "652:16:18", "nodeType": "EventDefinition", "parameters": { "id": 2954, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2953, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "677:9:18", "nodeType": "VariableDeclaration", "scope": 2955, "src": "669:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2952, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "669:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "668:19:18" }, "src": "646:42:18" }, { "anonymous": false, "id": 2959, "name": "LogPolicyExpired", "nameLocation": "699:16:18", "nodeType": "EventDefinition", "parameters": { "id": 2958, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2957, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "724:9:18", "nodeType": "VariableDeclaration", "scope": 2959, "src": "716:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2956, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "716:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "715:19:18" }, "src": "693:42:18" }, { "anonymous": false, "id": 2963, "name": "LogPolicyClosed", "nameLocation": "746:15:18", "nodeType": "EventDefinition", "parameters": { "id": 2962, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2961, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "770:9:18", "nodeType": "VariableDeclaration", "scope": 2963, "src": "762:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2960, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "762:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "761:19:18" }, "src": "740:41:18" }, { "anonymous": false, "id": 2969, "name": "LogPremiumCollected", "nameLocation": "793:19:18", "nodeType": "EventDefinition", "parameters": { "id": 2968, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2965, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "821:9:18", "nodeType": "VariableDeclaration", "scope": 2969, "src": "813:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2964, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "813:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 2967, "indexed": false, "mutability": "mutable", "name": "amount", "nameLocation": "840:6:18", "nodeType": "VariableDeclaration", "scope": 2969, "src": "832:14:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2966, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "832:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "812:35:18" }, "src": "787:61:18" }, { "anonymous": false, "id": 2977, "name": "LogApplicationSumInsuredAdjusted", "nameLocation": "864:32:18", "nodeType": "EventDefinition", "parameters": { "id": 2976, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2971, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "905:9:18", "nodeType": "VariableDeclaration", "scope": 2977, "src": "897:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2970, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "897:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 2973, "indexed": false, "mutability": "mutable", "name": "sumInsuredAmountOld", "nameLocation": "924:19:18", "nodeType": "VariableDeclaration", "scope": 2977, "src": "916:27:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2972, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "916:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2975, "indexed": false, "mutability": "mutable", "name": "sumInsuredAmount", "nameLocation": "953:16:18", "nodeType": "VariableDeclaration", "scope": 2977, "src": "945:24:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2974, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "945:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "896:74:18" }, "src": "858:113:18" }, { "anonymous": false, "id": 2985, "name": "LogApplicationPremiumAdjusted", "nameLocation": "982:29:18", "nodeType": "EventDefinition", "parameters": { "id": 2984, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2979, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "1020:9:18", "nodeType": "VariableDeclaration", "scope": 2985, "src": "1012:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2978, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1012:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 2981, "indexed": false, "mutability": "mutable", "name": "premiumAmountOld", "nameLocation": "1039:16:18", "nodeType": "VariableDeclaration", "scope": 2985, "src": "1031:24:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2980, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1031:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2983, "indexed": false, "mutability": "mutable", "name": "premiumAmount", "nameLocation": "1065:13:18", "nodeType": "VariableDeclaration", "scope": 2985, "src": "1057:21:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2982, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1057:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "1011:68:18" }, "src": "976:104:18" }, { "anonymous": false, "id": 2993, "name": "LogPolicyPremiumAdjusted", "nameLocation": "1091:24:18", "nodeType": "EventDefinition", "parameters": { "id": 2992, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 2987, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "1124:9:18", "nodeType": "VariableDeclaration", "scope": 2993, "src": "1116:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 2986, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1116:7:18", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 2989, "indexed": false, "mutability": "mutable", "name": "premiumExpectedAmountOld", "nameLocation": "1143:24:18", "nodeType": "VariableDeclaration", "scope": 2993, "src": "1135:32:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2988, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1135:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 2991, "indexed": false, "mutability": "mutable", "name": "premiumExpectedAmount", "nameLocation": "1177:21:18", "nodeType": "VariableDeclaration", "scope": 2993, "src": "1169:29:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2990, "name": "uint256", "nodeType": "ElementaryTypeName", "