UNPKG

@etherisc/depeg-contracts

Version:

Etherisc's smart contracts for a depeg insurance for stable coins.

1,662 lines (1,661 loc) 169 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": { "36": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IPolicy.sol" }, "ast": { "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IPolicy.sol", "exportedSymbols": { "IPolicy": [ 12649 ] }, "id": 12650, "license": "Apache-2.0", "nodeType": "SourceUnit", "nodes": [ { "id": 12305, "literals": [ "solidity", "0.8", ".2" ], "nodeType": "PragmaDirective", "src": "39:22:36" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "fullyImplemented": false, "id": 12649, "linearizedBaseContracts": [ 12649 ], "name": "IPolicy", "nameLocation": "73:7:36", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "id": 12316, "name": "LogMetadataCreated", "nameLocation": "108:18:36", "nodeType": "EventDefinition", "parameters": { "id": 12315, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12307, "indexed": false, "mutability": "mutable", "name": "owner", "nameLocation": "144:5:36", "nodeType": "VariableDeclaration", "scope": 12316, "src": "136:13:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 12306, "name": "address", "nodeType": "ElementaryTypeName", "src": "136:7:36", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 12309, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "167:9:36", "nodeType": "VariableDeclaration", "scope": 12316, "src": "159:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12308, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "159:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 12311, "indexed": false, "mutability": "mutable", "name": "productId", "nameLocation": "194:9:36", "nodeType": "VariableDeclaration", "scope": 12316, "src": "186:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12310, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "186:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 12314, "indexed": false, "mutability": "mutable", "name": "state", "nameLocation": "230:5:36", "nodeType": "VariableDeclaration", "scope": 12316, "src": "214:21:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_enum$_PolicyFlowState_$12433", "typeString": "enum IPolicy.PolicyFlowState" }, "typeName": { "id": 12313, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 12312, "name": "PolicyFlowState", "nodeType": "IdentifierPath", "referencedDeclaration": 12433, "src": "214:15:36" }, "referencedDeclaration": 12433, "src": "214:15:36", "typeDescriptions": { "typeIdentifier": "t_enum$_PolicyFlowState_$12433", "typeString": "enum IPolicy.PolicyFlowState" } }, "visibility": "internal" } ], "src": "126:115:36" }, "src": "102:140:36" }, { "anonymous": false, "id": 12323, "name": "LogMetadataStateChanged", "nameLocation": "254:23:36", "nodeType": "EventDefinition", "parameters": { "id": 12322, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12318, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "295:9:36", "nodeType": "VariableDeclaration", "scope": 12323, "src": "287:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12317, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "287:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 12321, "indexed": false, "mutability": "mutable", "name": "state", "nameLocation": "331:5:36", "nodeType": "VariableDeclaration", "scope": 12323, "src": "315:21:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_enum$_PolicyFlowState_$12433", "typeString": "enum IPolicy.PolicyFlowState" }, "typeName": { "id": 12320, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 12319, "name": "PolicyFlowState", "nodeType": "IdentifierPath", "referencedDeclaration": 12433, "src": "315:15:36" }, "referencedDeclaration": 12433, "src": "315:15:36", "typeDescriptions": { "typeIdentifier": "t_enum$_PolicyFlowState_$12433", "typeString": "enum IPolicy.PolicyFlowState" } }, "visibility": "internal" } ], "src": "277:65:36" }, "src": "248:95:36" }, { "anonymous": false, "id": 12331, "name": "LogApplicationCreated", "nameLocation": "355:21:36", "nodeType": "EventDefinition", "parameters": { "id": 12330, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12325, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "394:9:36", "nodeType": "VariableDeclaration", "scope": 12331, "src": "386:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12324, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "386:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 12327, "indexed": false, "mutability": "mutable", "name": "premiumAmount", "nameLocation": "422:13:36", "nodeType": "VariableDeclaration", "scope": 12331, "src": "414:21:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12326, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "414:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 12329, "indexed": false, "mutability": "mutable", "name": "sumInsuredAmount", "nameLocation": "454:16:36", "nodeType": "VariableDeclaration", "scope": 12331, "src": "446:24:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12328, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "446:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "376:100:36" }, "src": "349:128:36" }, { "anonymous": false, "id": 12335, "name": "LogApplicationRevoked", "nameLocation": "489:21:36", "nodeType": "EventDefinition", "parameters": { "id": 12334, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12333, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "519:9:36", "nodeType": "VariableDeclaration", "scope": 12335, "src": "511:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12332, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "511:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "510:19:36" }, "src": "483:47:36" }, { "anonymous": false, "id": 12339, "name": "LogApplicationUnderwritten", "nameLocation": "541:26:36", "nodeType": "EventDefinition", "parameters": { "id": 12338, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12337, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "576:9:36", "nodeType": "VariableDeclaration", "scope": 12339, "src": "568:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12336, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "568:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "567:19:36" }, "src": "535:52:36" }, { "anonymous": false, "id": 12343, "name": "LogApplicationDeclined", "nameLocation": "598:22:36", "nodeType": "EventDefinition", "parameters": { "id": 12342, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12341, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "629:9:36", "nodeType": "VariableDeclaration", "scope": 12343, "src": "621:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12340, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "621:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "620:19:36" }, "src": "592:48:36" }, { "anonymous": false, "id": 12347, "name": "LogPolicyCreated", "nameLocation": "652:16:36", "nodeType": "EventDefinition", "parameters": { "id": 12346, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12345, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "677:9:36", "nodeType": "VariableDeclaration", "scope": 12347, "src": "669:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12344, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "669:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "668:19:36" }, "src": "646:42:36" }, { "anonymous": false, "id": 12351, "name": "LogPolicyExpired", "nameLocation": "699:16:36", "nodeType": "EventDefinition", "parameters": { "id": 12350, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12349, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "724:9:36", "nodeType": "VariableDeclaration", "scope": 12351, "src": "716:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12348, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "716:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "715:19:36" }, "src": "693:42:36" }, { "anonymous": false, "id": 12355, "name": "LogPolicyClosed", "nameLocation": "746:15:36", "nodeType": "EventDefinition", "parameters": { "id": 12354, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12353, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "770:9:36", "nodeType": "VariableDeclaration", "scope": 12355, "src": "762:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12352, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "762:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" } ], "src": "761:19:36" }, "src": "740:41:36" }, { "anonymous": false, "id": 12361, "name": "LogPremiumCollected", "nameLocation": "793:19:36", "nodeType": "EventDefinition", "parameters": { "id": 12360, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12357, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "821:9:36", "nodeType": "VariableDeclaration", "scope": 12361, "src": "813:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12356, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "813:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 12359, "indexed": false, "mutability": "mutable", "name": "amount", "nameLocation": "840:6:36", "nodeType": "VariableDeclaration", "scope": 12361, "src": "832:14:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12358, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "832:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "812:35:36" }, "src": "787:61:36" }, { "anonymous": false, "id": 12369, "name": "LogApplicationSumInsuredAdjusted", "nameLocation": "864:32:36", "nodeType": "EventDefinition", "parameters": { "id": 12368, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12363, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "905:9:36", "nodeType": "VariableDeclaration", "scope": 12369, "src": "897:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12362, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "897:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 12365, "indexed": false, "mutability": "mutable", "name": "sumInsuredAmountOld", "nameLocation": "924:19:36", "nodeType": "VariableDeclaration", "scope": 12369, "src": "916:27:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12364, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "916:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 12367, "indexed": false, "mutability": "mutable", "name": "sumInsuredAmount", "nameLocation": "953:16:36", "nodeType": "VariableDeclaration", "scope": 12369, "src": "945:24:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12366, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "945:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "896:74:36" }, "src": "858:113:36" }, { "anonymous": false, "id": 12377, "name": "LogApplicationPremiumAdjusted", "nameLocation": "982:29:36", "nodeType": "EventDefinition", "parameters": { "id": 12376, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12371, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "1020:9:36", "nodeType": "VariableDeclaration", "scope": 12377, "src": "1012:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12370, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1012:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 12373, "indexed": false, "mutability": "mutable", "name": "premiumAmountOld", "nameLocation": "1039:16:36", "nodeType": "VariableDeclaration", "scope": 12377, "src": "1031:24:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12372, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1031:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 12375, "indexed": false, "mutability": "mutable", "name": "premiumAmount", "nameLocation": "1065:13:36", "nodeType": "VariableDeclaration", "scope": 12377, "src": "1057:21:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12374, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1057:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "1011:68:36" }, "src": "976:104:36" }, { "anonymous": false, "id": 12385, "name": "LogPolicyPremiumAdjusted", "nameLocation": "1091:24:36", "nodeType": "EventDefinition", "parameters": { "id": 12384, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 12379, "indexed": false, "mutability": "mutable", "name": "processId", "nameLocation": "1124:9:36", "nodeType": "VariableDeclaration", "scope": 12385, "src": "1116:17:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 12378, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1116:7:36", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "visibility": "internal" }, { "constant": false, "id": 12381, "indexed": false, "mutability": "mutable", "name": "premiumExpectedAmountOld", "nameLocation": "1143:24:36", "nodeType": "VariableDeclaration", "scope": 12385, "src": "1135:32:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 12380, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1135:7:36", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 12383, "indexed": false, "mutability": "mutable", "name": "premiumExpectedAmount", "nameLocation": "1177:21:36", "nodeType": "VariableDeclaration", "scope": 12385, "src": "1169:29:36", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256",