@onchain-id/solidity
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -130,3 +130,3 @@ { | ||
], | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.10+commit.5a6ea5b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"_sig\",\"type\":\"bytes\"}],\"name\":\"isClaimRevoked\",\"outputs\":[{\"name\":\"result\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_identity\",\"type\":\"address\"},{\"name\":\"_claimId\",\"type\":\"bytes32\"},{\"name\":\"claimTopic\",\"type\":\"uint256\"},{\"name\":\"sig\",\"type\":\"bytes\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"isClaimValid\",\"outputs\":[{\"name\":\"claimValid\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"issuedClaimCount\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_claimId\",\"type\":\"bytes32\"},{\"name\":\"_identity\",\"type\":\"address\"}],\"name\":\"revokeClaim\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_identity\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"claimTopic\",\"type\":\"uint256\"}],\"name\":\"ClaimValid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_identity\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"claimTopic\",\"type\":\"uint256\"}],\"name\":\"ClaimInvalid\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/IClaimIssuer.sol\":\"IClaimIssuer\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/ERC734.sol\":{\"keccak256\":\"0x63947ba56daec9e556ca640e58981275012940235c41ac758b22e9b019c9910c\",\"urls\":[\"bzzr://a136e81f420d0263277a37286ec5213e4c03e57a05cae3f23148f2ab70d8a72f\",\"dweb:/ipfs/QmTZ6uNgbc3uJqnSi5vksk8djghX343MoLMxBdtNoqTnJT\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/IClaimIssuer.sol\":{\"keccak256\":\"0x0414e54576a063aad91c13ded39c01129c568dd4e5096af658c04f497f128ca5\",\"urls\":[\"bzzr://f7a393b7ed627f95f346b50be75065f777f987460c73f5f3ca55903251f1df78\",\"dweb:/ipfs/QmXgvJ2MyzWgSAKthJsfiGLWdbx6grFru4GeViQTWN2MJR\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/IERC734.sol\":{\"keccak256\":\"0xd45b98aacdad2fcbfd451c0eb53dc08fedcd08365e7906e5544d853a3a907d42\",\"urls\":[\"bzzr://b152e3cf439e815b9c6c4084c3d761e26f95f0f8dfedec7b2bee43e58eacb67c\",\"dweb:/ipfs/QmQjZELV16qfr2vp55hgtPyaio63Zn7A2LKWp56ydyfQ8U\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/IERC735.sol\":{\"keccak256\":\"0x3d7176100c6007132304cecb0ea3866f6ac731c474811b94c5687b3e7e941c50\",\"urls\":[\"bzzr://2634ed8d9000d0ac472c7afc4b05167ad3b22e2d8bada2faa02d667bcff790dc\",\"dweb:/ipfs/QmcDeEAsKKfKeqULN7ZEQz1gLFsZC3AUfq3jt71k7ipzUc\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/Identity.sol\":{\"keccak256\":\"0x50383eb266ae9f1e9a16de1f81d61383035d88c7046dab8a03347f1ecbb2555b\",\"urls\":[\"bzzr://99cce61a2935f1218ad1834cf9a8dcde4528f2b204ddcdaf4bbae04120dc0efe\",\"dweb:/ipfs/QmTUVVn1WqvXmY1nwDCaYA6LEigiaEihviA8DbgNksJM2z\"]}},\"version\":1}", | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.10+commit.5a6ea5b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"_sig\",\"type\":\"bytes\"}],\"name\":\"isClaimRevoked\",\"outputs\":[{\"name\":\"result\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_identity\",\"type\":\"address\"},{\"name\":\"_claimId\",\"type\":\"bytes32\"},{\"name\":\"claimTopic\",\"type\":\"uint256\"},{\"name\":\"sig\",\"type\":\"bytes\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"isClaimValid\",\"outputs\":[{\"name\":\"claimValid\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"issuedClaimCount\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_claimId\",\"type\":\"bytes32\"},{\"name\":\"_identity\",\"type\":\"address\"}],\"name\":\"revokeClaim\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_identity\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"claimTopic\",\"type\":\"uint256\"}],\"name\":\"ClaimValid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_identity\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"claimTopic\",\"type\":\"uint256\"}],\"name\":\"ClaimInvalid\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/IClaimIssuer.sol\":\"IClaimIssuer\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/ERC734.sol\":{\"keccak256\":\"0x63947ba56daec9e556ca640e58981275012940235c41ac758b22e9b019c9910c\",\"urls\":[\"bzzr://a136e81f420d0263277a37286ec5213e4c03e57a05cae3f23148f2ab70d8a72f\",\"dweb:/ipfs/QmTZ6uNgbc3uJqnSi5vksk8djghX343MoLMxBdtNoqTnJT\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/IClaimIssuer.sol\":{\"keccak256\":\"0x0414e54576a063aad91c13ded39c01129c568dd4e5096af658c04f497f128ca5\",\"urls\":[\"bzzr://f7a393b7ed627f95f346b50be75065f777f987460c73f5f3ca55903251f1df78\",\"dweb:/ipfs/QmXgvJ2MyzWgSAKthJsfiGLWdbx6grFru4GeViQTWN2MJR\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/IERC734.sol\":{\"keccak256\":\"0xd45b98aacdad2fcbfd451c0eb53dc08fedcd08365e7906e5544d853a3a907d42\",\"urls\":[\"bzzr://b152e3cf439e815b9c6c4084c3d761e26f95f0f8dfedec7b2bee43e58eacb67c\",\"dweb:/ipfs/QmQjZELV16qfr2vp55hgtPyaio63Zn7A2LKWp56ydyfQ8U\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/IERC735.sol\":{\"keccak256\":\"0x360ca97a82349384cf2c86b1b63277b3d0f6cb376a47f87133ebf709803e1457\",\"urls\":[\"bzzr://3d1168979553bab74ab2b9140b14b852b08d90b091157ab8d2f0df53e1db705f\",\"dweb:/ipfs/Qmbha6f25EzXwbhDRJQVRasifgB2Ruyk1DXb3CU9uE9pbk\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/Identity.sol\":{\"keccak256\":\"0xfb2d6e1c6f1d5a8aa9ac4d94284b3b60bcae9921ad80899581145d296fade8f9\",\"urls\":[\"bzzr://079004dad051caa2ffe87851ba9b08bf9508f1c8cb4d862e741e9825e15d5490\",\"dweb:/ipfs/QmdUfFoikFrpHQNHh1MdEEmx7iALLF7dnWrQUcGUhUEhHz\"]}},\"version\":1}", | ||
"bytecode": "0x", | ||
@@ -142,10 +142,10 @@ "deployedBytecode": "0x", | ||
"IClaimIssuer": [ | ||
995 | ||
1017 | ||
] | ||
}, | ||
"id": 996, | ||
"id": 1018, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 940, | ||
"id": 962, | ||
"literals": [ | ||
@@ -163,6 +163,6 @@ "solidity", | ||
"file": "./Identity.sol", | ||
"id": 941, | ||
"id": 963, | ||
"nodeType": "ImportDirective", | ||
"scope": 996, | ||
"sourceUnit": 1653, | ||
"scope": 1018, | ||
"sourceUnit": 1675, | ||
"src": "26:24:2", | ||
@@ -178,5 +178,5 @@ "symbolAliases": [], | ||
"fullyImplemented": false, | ||
"id": 995, | ||
"id": 1017, | ||
"linearizedBaseContracts": [ | ||
995 | ||
1017 | ||
], | ||
@@ -188,6 +188,6 @@ "name": "IClaimIssuer", | ||
"constant": false, | ||
"id": 943, | ||
"id": 965, | ||
"name": "issuedClaimCount", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "91:28:2", | ||
@@ -201,3 +201,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 942, | ||
"id": 964, | ||
"name": "uint", | ||
@@ -216,6 +216,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 947, | ||
"id": 969, | ||
"name": "revokedClaims", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "126:37:2", | ||
@@ -229,5 +229,5 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 946, | ||
"id": 968, | ||
"keyType": { | ||
"id": 944, | ||
"id": 966, | ||
"name": "bytes", | ||
@@ -248,3 +248,3 @@ "nodeType": "ElementaryTypeName", | ||
"valueType": { | ||
"id": 945, | ||
"id": 967, | ||
"name": "bool", | ||
@@ -264,6 +264,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 951, | ||
"id": 973, | ||
"name": "identityAddresses", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "169:46:2", | ||
@@ -277,5 +277,5 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 950, | ||
"id": 972, | ||
"keyType": { | ||
"id": 948, | ||
"id": 970, | ||
"name": "bytes32", | ||
@@ -296,3 +296,3 @@ "nodeType": "ElementaryTypeName", | ||
"valueType": { | ||
"id": 949, | ||
"id": 971, | ||
"name": "address", | ||
@@ -314,7 +314,7 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": null, | ||
"id": 957, | ||
"id": 979, | ||
"name": "ClaimValid", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 956, | ||
"id": 978, | ||
"nodeType": "ParameterList", | ||
@@ -324,7 +324,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 953, | ||
"id": 975, | ||
"indexed": false, | ||
"name": "_identity", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 957, | ||
"scope": 979, | ||
"src": "239:18:2", | ||
@@ -334,3 +334,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -340,9 +340,9 @@ }, | ||
"contractScope": null, | ||
"id": 952, | ||
"id": 974, | ||
"name": "Identity", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1652, | ||
"referencedDeclaration": 1674, | ||
"src": "239:8:2", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -356,7 +356,7 @@ } | ||
"constant": false, | ||
"id": 955, | ||
"id": 977, | ||
"indexed": false, | ||
"name": "claimTopic", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 957, | ||
"scope": 979, | ||
"src": "259:18:2", | ||
@@ -370,3 +370,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 954, | ||
"id": 976, | ||
"name": "uint256", | ||
@@ -391,7 +391,7 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": null, | ||
"id": 963, | ||
"id": 985, | ||
"name": "ClaimInvalid", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 962, | ||
"id": 984, | ||
"nodeType": "ParameterList", | ||
@@ -401,7 +401,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 959, | ||
"id": 981, | ||
"indexed": false, | ||
"name": "_identity", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 963, | ||
"scope": 985, | ||
"src": "303:18:2", | ||
@@ -411,3 +411,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -417,9 +417,9 @@ }, | ||
"contractScope": null, | ||
"id": 958, | ||
"id": 980, | ||
"name": "Identity", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1652, | ||
"referencedDeclaration": 1674, | ||
"src": "303:8:2", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -433,7 +433,7 @@ } | ||
"constant": false, | ||
"id": 961, | ||
"id": 983, | ||
"indexed": false, | ||
"name": "claimTopic", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 963, | ||
"scope": 985, | ||
"src": "323:18:2", | ||
@@ -447,3 +447,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 960, | ||
"id": 982, | ||
"name": "uint256", | ||
@@ -468,3 +468,3 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": null, | ||
"id": 972, | ||
"id": 994, | ||
"implemented": false, | ||
@@ -476,3 +476,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 968, | ||
"id": 990, | ||
"nodeType": "ParameterList", | ||
@@ -482,6 +482,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 965, | ||
"id": 987, | ||
"name": "_claimId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 972, | ||
"scope": 994, | ||
"src": "370:16:2", | ||
@@ -495,3 +495,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 964, | ||
"id": 986, | ||
"name": "bytes32", | ||
@@ -510,6 +510,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 967, | ||
"id": 989, | ||
"name": "_identity", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 972, | ||
"scope": 994, | ||
"src": "388:17:2", | ||
@@ -523,3 +523,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 966, | ||
"id": 988, | ||
"name": "address", | ||
@@ -541,3 +541,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 971, | ||
"id": 993, | ||
"nodeType": "ParameterList", | ||
@@ -547,6 +547,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 970, | ||
"id": 992, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 972, | ||
"scope": 994, | ||
"src": "422:4:2", | ||
@@ -560,3 +560,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 969, | ||
"id": 991, | ||
"name": "bool", | ||
@@ -576,3 +576,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "349:79:2", | ||
@@ -586,3 +586,3 @@ "stateMutability": "nonpayable", | ||
"documentation": null, | ||
"id": 979, | ||
"id": 1001, | ||
"implemented": false, | ||
@@ -594,3 +594,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 975, | ||
"id": 997, | ||
"nodeType": "ParameterList", | ||
@@ -600,6 +600,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 974, | ||
"id": 996, | ||
"name": "_sig", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 979, | ||
"scope": 1001, | ||
"src": "621:17:2", | ||
@@ -613,3 +613,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 973, | ||
"id": 995, | ||
"name": "bytes", | ||
@@ -630,3 +630,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 978, | ||
"id": 1000, | ||
"nodeType": "ParameterList", | ||
@@ -636,6 +636,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 977, | ||
"id": 999, | ||
"name": "result", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 979, | ||
"scope": 1001, | ||
"src": "660:11:2", | ||
@@ -649,3 +649,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 976, | ||
"id": 998, | ||
"name": "bool", | ||
@@ -665,3 +665,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "597:76:2", | ||
@@ -675,3 +675,3 @@ "stateMutability": "view", | ||
"documentation": null, | ||
"id": 994, | ||
"id": 1016, | ||
"implemented": false, | ||
@@ -683,3 +683,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 990, | ||
"id": 1012, | ||
"nodeType": "ParameterList", | ||
@@ -689,6 +689,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 981, | ||
"id": 1003, | ||
"name": "_identity", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "700:18:2", | ||
@@ -698,3 +698,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -704,9 +704,9 @@ }, | ||
"contractScope": null, | ||
"id": 980, | ||
"id": 1002, | ||
"name": "Identity", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1652, | ||
"referencedDeclaration": 1674, | ||
"src": "700:8:2", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -720,6 +720,6 @@ } | ||
"constant": false, | ||
"id": 983, | ||
"id": 1005, | ||
"name": "_claimId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "720:16:2", | ||
@@ -733,3 +733,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 982, | ||
"id": 1004, | ||
"name": "bytes32", | ||
@@ -748,6 +748,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 985, | ||
"id": 1007, | ||
"name": "claimTopic", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "738:18:2", | ||
@@ -761,3 +761,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 984, | ||
"id": 1006, | ||
"name": "uint256", | ||
@@ -776,6 +776,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 987, | ||
"id": 1009, | ||
"name": "sig", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "758:16:2", | ||
@@ -789,3 +789,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 986, | ||
"id": 1008, | ||
"name": "bytes", | ||
@@ -804,6 +804,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 989, | ||
"id": 1011, | ||
"name": "data", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "776:17:2", | ||
@@ -817,3 +817,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 988, | ||
"id": 1010, | ||
"name": "bytes", | ||
@@ -834,3 +834,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 993, | ||
"id": 1015, | ||
"nodeType": "ParameterList", | ||
@@ -840,6 +840,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 992, | ||
"id": 1014, | ||
"name": "claimValid", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "828:15:2", | ||
@@ -853,3 +853,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 991, | ||
"id": 1013, | ||
"name": "bool", | ||
@@ -869,3 +869,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "678:167:2", | ||
@@ -877,3 +877,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 996, | ||
"scope": 1018, | ||
"src": "64:784:2" | ||
@@ -888,10 +888,10 @@ } | ||
"IClaimIssuer": [ | ||
995 | ||
1017 | ||
] | ||
}, | ||
"id": 996, | ||
"id": 1018, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 940, | ||
"id": 962, | ||
"literals": [ | ||
@@ -909,6 +909,6 @@ "solidity", | ||
"file": "./Identity.sol", | ||
"id": 941, | ||
"id": 963, | ||
"nodeType": "ImportDirective", | ||
"scope": 996, | ||
"sourceUnit": 1653, | ||
"scope": 1018, | ||
"sourceUnit": 1675, | ||
"src": "26:24:2", | ||
@@ -924,5 +924,5 @@ "symbolAliases": [], | ||
"fullyImplemented": false, | ||
"id": 995, | ||
"id": 1017, | ||
"linearizedBaseContracts": [ | ||
995 | ||
1017 | ||
], | ||
@@ -934,6 +934,6 @@ "name": "IClaimIssuer", | ||
"constant": false, | ||
"id": 943, | ||
"id": 965, | ||
"name": "issuedClaimCount", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "91:28:2", | ||
@@ -947,3 +947,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 942, | ||
"id": 964, | ||
"name": "uint", | ||
@@ -962,6 +962,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 947, | ||
"id": 969, | ||
"name": "revokedClaims", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "126:37:2", | ||
@@ -975,5 +975,5 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 946, | ||
"id": 968, | ||
"keyType": { | ||
"id": 944, | ||
"id": 966, | ||
"name": "bytes", | ||
@@ -994,3 +994,3 @@ "nodeType": "ElementaryTypeName", | ||
"valueType": { | ||
"id": 945, | ||
"id": 967, | ||
"name": "bool", | ||
@@ -1010,6 +1010,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 951, | ||
"id": 973, | ||
"name": "identityAddresses", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "169:46:2", | ||
@@ -1023,5 +1023,5 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 950, | ||
"id": 972, | ||
"keyType": { | ||
"id": 948, | ||
"id": 970, | ||
"name": "bytes32", | ||
@@ -1042,3 +1042,3 @@ "nodeType": "ElementaryTypeName", | ||
"valueType": { | ||
"id": 949, | ||
"id": 971, | ||
"name": "address", | ||
@@ -1060,7 +1060,7 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": null, | ||
"id": 957, | ||
"id": 979, | ||
"name": "ClaimValid", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 956, | ||
"id": 978, | ||
"nodeType": "ParameterList", | ||
@@ -1070,7 +1070,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 953, | ||
"id": 975, | ||
"indexed": false, | ||
"name": "_identity", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 957, | ||
"scope": 979, | ||
"src": "239:18:2", | ||
@@ -1080,3 +1080,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -1086,9 +1086,9 @@ }, | ||
"contractScope": null, | ||
"id": 952, | ||
"id": 974, | ||
"name": "Identity", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1652, | ||
"referencedDeclaration": 1674, | ||
"src": "239:8:2", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -1102,7 +1102,7 @@ } | ||
"constant": false, | ||
"id": 955, | ||
"id": 977, | ||
"indexed": false, | ||
"name": "claimTopic", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 957, | ||
"scope": 979, | ||
"src": "259:18:2", | ||
@@ -1116,3 +1116,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 954, | ||
"id": 976, | ||
"name": "uint256", | ||
@@ -1137,7 +1137,7 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": null, | ||
"id": 963, | ||
"id": 985, | ||
"name": "ClaimInvalid", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 962, | ||
"id": 984, | ||
"nodeType": "ParameterList", | ||
@@ -1147,7 +1147,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 959, | ||
"id": 981, | ||
"indexed": false, | ||
"name": "_identity", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 963, | ||
"scope": 985, | ||
"src": "303:18:2", | ||
@@ -1157,3 +1157,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -1163,9 +1163,9 @@ }, | ||
"contractScope": null, | ||
"id": 958, | ||
"id": 980, | ||
"name": "Identity", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1652, | ||
"referencedDeclaration": 1674, | ||
"src": "303:8:2", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -1179,7 +1179,7 @@ } | ||
"constant": false, | ||
"id": 961, | ||
"id": 983, | ||
"indexed": false, | ||
"name": "claimTopic", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 963, | ||
"scope": 985, | ||
"src": "323:18:2", | ||
@@ -1193,3 +1193,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 960, | ||
"id": 982, | ||
"name": "uint256", | ||
@@ -1214,3 +1214,3 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": null, | ||
"id": 972, | ||
"id": 994, | ||
"implemented": false, | ||
@@ -1222,3 +1222,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 968, | ||
"id": 990, | ||
"nodeType": "ParameterList", | ||
@@ -1228,6 +1228,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 965, | ||
"id": 987, | ||
"name": "_claimId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 972, | ||
"scope": 994, | ||
"src": "370:16:2", | ||
@@ -1241,3 +1241,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 964, | ||
"id": 986, | ||
"name": "bytes32", | ||
@@ -1256,6 +1256,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 967, | ||
"id": 989, | ||
"name": "_identity", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 972, | ||
"scope": 994, | ||
"src": "388:17:2", | ||
@@ -1269,3 +1269,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 966, | ||
"id": 988, | ||
"name": "address", | ||
@@ -1287,3 +1287,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 971, | ||
"id": 993, | ||
"nodeType": "ParameterList", | ||
@@ -1293,6 +1293,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 970, | ||
"id": 992, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 972, | ||
"scope": 994, | ||
"src": "422:4:2", | ||
@@ -1306,3 +1306,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 969, | ||
"id": 991, | ||
"name": "bool", | ||
@@ -1322,3 +1322,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "349:79:2", | ||
@@ -1332,3 +1332,3 @@ "stateMutability": "nonpayable", | ||
"documentation": null, | ||
"id": 979, | ||
"id": 1001, | ||
"implemented": false, | ||
@@ -1340,3 +1340,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 975, | ||
"id": 997, | ||
"nodeType": "ParameterList", | ||
@@ -1346,6 +1346,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 974, | ||
"id": 996, | ||
"name": "_sig", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 979, | ||
"scope": 1001, | ||
"src": "621:17:2", | ||
@@ -1359,3 +1359,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 973, | ||
"id": 995, | ||
"name": "bytes", | ||
@@ -1376,3 +1376,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 978, | ||
"id": 1000, | ||
"nodeType": "ParameterList", | ||
@@ -1382,6 +1382,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 977, | ||
"id": 999, | ||
"name": "result", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 979, | ||
"scope": 1001, | ||
"src": "660:11:2", | ||
@@ -1395,3 +1395,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 976, | ||
"id": 998, | ||
"name": "bool", | ||
@@ -1411,3 +1411,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "597:76:2", | ||
@@ -1421,3 +1421,3 @@ "stateMutability": "view", | ||
"documentation": null, | ||
"id": 994, | ||
"id": 1016, | ||
"implemented": false, | ||
@@ -1429,3 +1429,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 990, | ||
"id": 1012, | ||
"nodeType": "ParameterList", | ||
@@ -1435,6 +1435,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 981, | ||
"id": 1003, | ||
"name": "_identity", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "700:18:2", | ||
@@ -1444,3 +1444,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -1450,9 +1450,9 @@ }, | ||
"contractScope": null, | ||
"id": 980, | ||
"id": 1002, | ||
"name": "Identity", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1652, | ||
"referencedDeclaration": 1674, | ||
"src": "700:8:2", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Identity_$1652", | ||
"typeIdentifier": "t_contract$_Identity_$1674", | ||
"typeString": "contract Identity" | ||
@@ -1466,6 +1466,6 @@ } | ||
"constant": false, | ||
"id": 983, | ||
"id": 1005, | ||
"name": "_claimId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "720:16:2", | ||
@@ -1479,3 +1479,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 982, | ||
"id": 1004, | ||
"name": "bytes32", | ||
@@ -1494,6 +1494,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 985, | ||
"id": 1007, | ||
"name": "claimTopic", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "738:18:2", | ||
@@ -1507,3 +1507,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 984, | ||
"id": 1006, | ||
"name": "uint256", | ||
@@ -1522,6 +1522,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 987, | ||
"id": 1009, | ||
"name": "sig", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "758:16:2", | ||
@@ -1535,3 +1535,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 986, | ||
"id": 1008, | ||
"name": "bytes", | ||
@@ -1550,6 +1550,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 989, | ||
"id": 1011, | ||
"name": "data", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "776:17:2", | ||
@@ -1563,3 +1563,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 988, | ||
"id": 1010, | ||
"name": "bytes", | ||
@@ -1580,3 +1580,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 993, | ||
"id": 1015, | ||
"nodeType": "ParameterList", | ||
@@ -1586,6 +1586,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 992, | ||
"id": 1014, | ||
"name": "claimValid", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 994, | ||
"scope": 1016, | ||
"src": "828:15:2", | ||
@@ -1599,3 +1599,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 991, | ||
"id": 1013, | ||
"name": "bool", | ||
@@ -1615,3 +1615,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 995, | ||
"scope": 1017, | ||
"src": "678:167:2", | ||
@@ -1623,3 +1623,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 996, | ||
"scope": 1018, | ||
"src": "64:784:2" | ||
@@ -1635,4 +1635,4 @@ } | ||
"networks": {}, | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-09-17T07:40:46.833Z", | ||
"schemaVersion": "3.0.21", | ||
"updatedAt": "2020-01-23T10:28:11.712Z", | ||
"devdoc": { | ||
@@ -1639,0 +1639,0 @@ "methods": {} |
{ | ||
"name": "@onchain-id/solidity", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Ethereum solidity smart contracts for Blockchain OnchainID identities.", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2311604
48774