@onchain-id/solidity
Advanced tools
Comparing version 1.2.0-beta1 to 1.2.0
@@ -16,6 +16,6 @@ { | ||
"Context": [ | ||
1936 | ||
1960 | ||
] | ||
}, | ||
"id": 1937, | ||
"id": 1961, | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1915, | ||
"id": 1939, | ||
"literals": [ | ||
@@ -34,3 +34,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "33:23:13" | ||
"src": "33:23:12" | ||
}, | ||
@@ -44,5 +44,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 1936, | ||
"id": 1960, | ||
"linearizedBaseContracts": [ | ||
1936 | ||
1960 | ||
], | ||
@@ -54,5 +54,5 @@ "name": "Context", | ||
"body": { | ||
"id": 1923, | ||
"id": 1947, | ||
"nodeType": "Block", | ||
"src": "660:34:13", | ||
"src": "660:34:12", | ||
"statements": [ | ||
@@ -64,3 +64,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1920, | ||
"id": 1944, | ||
"name": "msg", | ||
@@ -70,3 +70,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -15, | ||
"src": "677:3:13", | ||
"src": "677:3:12", | ||
"typeDescriptions": { | ||
@@ -77,3 +77,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1921, | ||
"id": 1945, | ||
"isConstant": false, | ||
@@ -86,3 +86,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "677:10:13", | ||
"src": "677:10:12", | ||
"typeDescriptions": { | ||
@@ -93,6 +93,6 @@ "typeIdentifier": "t_address_payable", | ||
}, | ||
"functionReturnParameters": 1919, | ||
"id": 1922, | ||
"functionReturnParameters": 1943, | ||
"id": 1946, | ||
"nodeType": "Return", | ||
"src": "670:17:13" | ||
"src": "670:17:12" | ||
} | ||
@@ -102,3 +102,3 @@ ] | ||
"documentation": null, | ||
"id": 1924, | ||
"id": 1948, | ||
"implemented": true, | ||
@@ -111,9 +111,9 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1916, | ||
"id": 1940, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "609:2:13" | ||
"src": "609:2:12" | ||
}, | ||
"returnParameters": { | ||
"id": 1919, | ||
"id": 1943, | ||
"nodeType": "ParameterList", | ||
@@ -123,3 +123,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1918, | ||
"id": 1942, | ||
"mutability": "mutable", | ||
@@ -129,4 +129,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 1924, | ||
"src": "643:15:13", | ||
"scope": 1948, | ||
"src": "643:15:12", | ||
"stateVariable": false, | ||
@@ -139,6 +139,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1917, | ||
"id": 1941, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "643:15:13", | ||
"src": "643:15:12", | ||
"stateMutability": "payable", | ||
@@ -154,6 +154,6 @@ "typeDescriptions": { | ||
], | ||
"src": "642:17:13" | ||
"src": "642:17:12" | ||
}, | ||
"scope": 1936, | ||
"src": "590:104:13", | ||
"scope": 1960, | ||
"src": "590:104:12", | ||
"stateMutability": "view", | ||
@@ -165,5 +165,5 @@ "virtual": true, | ||
"body": { | ||
"id": 1934, | ||
"id": 1958, | ||
"nodeType": "Block", | ||
"src": "765:165:13", | ||
"src": "765:165:12", | ||
"statements": [ | ||
@@ -173,3 +173,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1929, | ||
"id": 1953, | ||
"name": "this", | ||
@@ -179,11 +179,11 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -28, | ||
"src": "775:4:13", | ||
"src": "775:4:12", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Context_$1936", | ||
"typeIdentifier": "t_contract$_Context_$1960", | ||
"typeString": "contract Context" | ||
} | ||
}, | ||
"id": 1930, | ||
"id": 1954, | ||
"nodeType": "ExpressionStatement", | ||
"src": "775:4:13" | ||
"src": "775:4:12" | ||
}, | ||
@@ -195,3 +195,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1931, | ||
"id": 1955, | ||
"name": "msg", | ||
@@ -201,3 +201,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -15, | ||
"src": "915:3:13", | ||
"src": "915:3:12", | ||
"typeDescriptions": { | ||
@@ -208,3 +208,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1932, | ||
"id": 1956, | ||
"isConstant": false, | ||
@@ -217,3 +217,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "915:8:13", | ||
"src": "915:8:12", | ||
"typeDescriptions": { | ||
@@ -224,6 +224,6 @@ "typeIdentifier": "t_bytes_calldata_ptr", | ||
}, | ||
"functionReturnParameters": 1928, | ||
"id": 1933, | ||
"functionReturnParameters": 1952, | ||
"id": 1957, | ||
"nodeType": "Return", | ||
"src": "908:15:13" | ||
"src": "908:15:12" | ||
} | ||
@@ -233,3 +233,3 @@ ] | ||
"documentation": null, | ||
"id": 1935, | ||
"id": 1959, | ||
"implemented": true, | ||
@@ -242,9 +242,9 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1925, | ||
"id": 1949, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "717:2:13" | ||
"src": "717:2:12" | ||
}, | ||
"returnParameters": { | ||
"id": 1928, | ||
"id": 1952, | ||
"nodeType": "ParameterList", | ||
@@ -254,3 +254,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1927, | ||
"id": 1951, | ||
"mutability": "mutable", | ||
@@ -260,4 +260,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 1935, | ||
"src": "751:12:13", | ||
"scope": 1959, | ||
"src": "751:12:12", | ||
"stateVariable": false, | ||
@@ -270,6 +270,6 @@ "storageLocation": "memory", | ||
"typeName": { | ||
"id": 1926, | ||
"id": 1950, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "751:5:13", | ||
"src": "751:5:12", | ||
"typeDescriptions": { | ||
@@ -284,6 +284,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "750:14:13" | ||
"src": "750:14:12" | ||
}, | ||
"scope": 1936, | ||
"src": "700:230:13", | ||
"scope": 1960, | ||
"src": "700:230:12", | ||
"stateMutability": "view", | ||
@@ -294,7 +294,7 @@ "virtual": true, | ||
], | ||
"scope": 1937, | ||
"src": "558:374:13" | ||
"scope": 1961, | ||
"src": "558:374:12" | ||
} | ||
], | ||
"src": "33:900:13" | ||
"src": "33:900:12" | ||
}, | ||
@@ -305,6 +305,6 @@ "legacyAST": { | ||
"Context": [ | ||
1936 | ||
1960 | ||
] | ||
}, | ||
"id": 1937, | ||
"id": 1961, | ||
"license": "MIT", | ||
@@ -314,3 +314,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1915, | ||
"id": 1939, | ||
"literals": [ | ||
@@ -323,3 +323,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "33:23:13" | ||
"src": "33:23:12" | ||
}, | ||
@@ -333,5 +333,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 1936, | ||
"id": 1960, | ||
"linearizedBaseContracts": [ | ||
1936 | ||
1960 | ||
], | ||
@@ -343,5 +343,5 @@ "name": "Context", | ||
"body": { | ||
"id": 1923, | ||
"id": 1947, | ||
"nodeType": "Block", | ||
"src": "660:34:13", | ||
"src": "660:34:12", | ||
"statements": [ | ||
@@ -353,3 +353,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1920, | ||
"id": 1944, | ||
"name": "msg", | ||
@@ -359,3 +359,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -15, | ||
"src": "677:3:13", | ||
"src": "677:3:12", | ||
"typeDescriptions": { | ||
@@ -366,3 +366,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1921, | ||
"id": 1945, | ||
"isConstant": false, | ||
@@ -375,3 +375,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "677:10:13", | ||
"src": "677:10:12", | ||
"typeDescriptions": { | ||
@@ -382,6 +382,6 @@ "typeIdentifier": "t_address_payable", | ||
}, | ||
"functionReturnParameters": 1919, | ||
"id": 1922, | ||
"functionReturnParameters": 1943, | ||
"id": 1946, | ||
"nodeType": "Return", | ||
"src": "670:17:13" | ||
"src": "670:17:12" | ||
} | ||
@@ -391,3 +391,3 @@ ] | ||
"documentation": null, | ||
"id": 1924, | ||
"id": 1948, | ||
"implemented": true, | ||
@@ -400,9 +400,9 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1916, | ||
"id": 1940, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "609:2:13" | ||
"src": "609:2:12" | ||
}, | ||
"returnParameters": { | ||
"id": 1919, | ||
"id": 1943, | ||
"nodeType": "ParameterList", | ||
@@ -412,3 +412,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1918, | ||
"id": 1942, | ||
"mutability": "mutable", | ||
@@ -418,4 +418,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 1924, | ||
"src": "643:15:13", | ||
"scope": 1948, | ||
"src": "643:15:12", | ||
"stateVariable": false, | ||
@@ -428,6 +428,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1917, | ||
"id": 1941, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "643:15:13", | ||
"src": "643:15:12", | ||
"stateMutability": "payable", | ||
@@ -443,6 +443,6 @@ "typeDescriptions": { | ||
], | ||
"src": "642:17:13" | ||
"src": "642:17:12" | ||
}, | ||
"scope": 1936, | ||
"src": "590:104:13", | ||
"scope": 1960, | ||
"src": "590:104:12", | ||
"stateMutability": "view", | ||
@@ -454,5 +454,5 @@ "virtual": true, | ||
"body": { | ||
"id": 1934, | ||
"id": 1958, | ||
"nodeType": "Block", | ||
"src": "765:165:13", | ||
"src": "765:165:12", | ||
"statements": [ | ||
@@ -462,3 +462,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1929, | ||
"id": 1953, | ||
"name": "this", | ||
@@ -468,11 +468,11 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -28, | ||
"src": "775:4:13", | ||
"src": "775:4:12", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Context_$1936", | ||
"typeIdentifier": "t_contract$_Context_$1960", | ||
"typeString": "contract Context" | ||
} | ||
}, | ||
"id": 1930, | ||
"id": 1954, | ||
"nodeType": "ExpressionStatement", | ||
"src": "775:4:13" | ||
"src": "775:4:12" | ||
}, | ||
@@ -484,3 +484,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1931, | ||
"id": 1955, | ||
"name": "msg", | ||
@@ -490,3 +490,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -15, | ||
"src": "915:3:13", | ||
"src": "915:3:12", | ||
"typeDescriptions": { | ||
@@ -497,3 +497,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1932, | ||
"id": 1956, | ||
"isConstant": false, | ||
@@ -506,3 +506,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "915:8:13", | ||
"src": "915:8:12", | ||
"typeDescriptions": { | ||
@@ -513,6 +513,6 @@ "typeIdentifier": "t_bytes_calldata_ptr", | ||
}, | ||
"functionReturnParameters": 1928, | ||
"id": 1933, | ||
"functionReturnParameters": 1952, | ||
"id": 1957, | ||
"nodeType": "Return", | ||
"src": "908:15:13" | ||
"src": "908:15:12" | ||
} | ||
@@ -522,3 +522,3 @@ ] | ||
"documentation": null, | ||
"id": 1935, | ||
"id": 1959, | ||
"implemented": true, | ||
@@ -531,9 +531,9 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1925, | ||
"id": 1949, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "717:2:13" | ||
"src": "717:2:12" | ||
}, | ||
"returnParameters": { | ||
"id": 1928, | ||
"id": 1952, | ||
"nodeType": "ParameterList", | ||
@@ -543,3 +543,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1927, | ||
"id": 1951, | ||
"mutability": "mutable", | ||
@@ -549,4 +549,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 1935, | ||
"src": "751:12:13", | ||
"scope": 1959, | ||
"src": "751:12:12", | ||
"stateVariable": false, | ||
@@ -559,6 +559,6 @@ "storageLocation": "memory", | ||
"typeName": { | ||
"id": 1926, | ||
"id": 1950, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "751:5:13", | ||
"src": "751:5:12", | ||
"typeDescriptions": { | ||
@@ -573,6 +573,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "750:14:13" | ||
"src": "750:14:12" | ||
}, | ||
"scope": 1936, | ||
"src": "700:230:13", | ||
"scope": 1960, | ||
"src": "700:230:12", | ||
"stateMutability": "view", | ||
@@ -583,7 +583,7 @@ "virtual": true, | ||
], | ||
"scope": 1937, | ||
"src": "558:374:13" | ||
"scope": 1961, | ||
"src": "558:374:12" | ||
} | ||
], | ||
"src": "33:900:13" | ||
"src": "33:900:12" | ||
}, | ||
@@ -596,3 +596,3 @@ "compiler": { | ||
"schemaVersion": "3.2.4", | ||
"updatedAt": "2020-11-24T15:47:35.272Z", | ||
"updatedAt": "2020-11-27T16:20:41.767Z", | ||
"devdoc": { | ||
@@ -599,0 +599,0 @@ "methods": {} |
@@ -705,3 +705,3 @@ { | ||
], | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"Approved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"claimId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"ClaimAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"claimId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"ClaimChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"claimId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"ClaimRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"claimRequestId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"ClaimRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Executed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"ExecutionFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"ExecutionRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"}],\"name\":\"KeyAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"}],\"name\":\"KeyRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"name\":\"KeysRequiredChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_topic\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_scheme\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"name\":\"addClaim\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"claimRequestId\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_keyType\",\"type\":\"uint256\"}],\"name\":\"addKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_approve\",\"type\":\"bool\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_claimId\",\"type\":\"bytes32\"}],\"name\":\"getClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_topic\",\"type\":\"uint256\"}],\"name\":\"getClaimIdsByTopic\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"claimIds\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"}],\"name\":\"getKey\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"purposes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"}],\"name\":\"getKeyPurposes\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_purposes\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"}],\"name\":\"getKeysByPurpose\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"keys\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"}],\"name\":\"keyHasPurpose\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_claimId\",\"type\":\"bytes32\"}],\"name\":\"removeClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"}],\"name\":\"removeKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"addClaim(uint256,uint256,address,bytes,bytes,string)\":{\"details\":\"Add or update a claim. Triggers Event: `ClaimRequested`, `ClaimAdded`, `ClaimChanged` Specification: Requests the ADDITION or the CHANGE of a claim from an issuer. Claims can requested to be added by anybody, including the claim holder itself (self issued). _signature is a signed message of the following structure: `keccak256(abi.encode(address identityHolder_address, uint256 topic, bytes data))`. Claim IDs are generated using `keccak256(abi.encode(address issuer_address + uint256 topic))`. This COULD implement an approval process for pending claims, or add them right away. MUST return a claimRequestId (use claim ID) that COULD be sent to the approve function.\"},\"addKey(bytes32,uint256,uint256)\":{\"details\":\"Adds a _key to the identity. The _purpose specifies the purpose of the key. Triggers Event: `KeyAdded` Specification: MUST only be done by keys of purpose 1, or the identity itself. If it's the identity itself, the approval process will determine its approval.\"},\"approve(uint256,bool)\":{\"details\":\"Approves an execution or claim addition. Triggers Event: `Approved`, `Executed` Specification: This SHOULD require n of m approvals of keys purpose 1, if the _to of the execution is the identity contract itself, to successfully approve an execution. And COULD require n of m approvals of keys purpose 2, if the _to of the execution is another contract, to successfully approve an execution.\"},\"execute(address,uint256,bytes)\":{\"details\":\"Passes an execution instruction to an ERC725 identity. Triggers Event: `ExecutionRequested`, `Executed` Specification: SHOULD require approve to be called with one or more keys of purpose 1 or 2 to approve this execution. Execute COULD be used as the only accessor for `addKey` and `removeKey`.\"},\"getClaim(bytes32)\":{\"details\":\"Get a claim by its ID. Claim IDs are generated using `keccak256(abi.encode(address issuer_address, uint256 topic))`.\"},\"getClaimIdsByTopic(uint256)\":{\"details\":\"Returns an array of claim IDs by topic.\"},\"getKey(bytes32)\":{\"details\":\"Returns the full key data, if present in the identity.\"},\"getKeyPurposes(bytes32)\":{\"details\":\"Returns the list of purposes associated with a key.\"},\"getKeysByPurpose(uint256)\":{\"details\":\"Returns an array of public key bytes32 held by this identity.\"},\"keyHasPurpose(bytes32,uint256)\":{\"details\":\"Returns TRUE if a key is present and has the given purpose. If the key is not present it returns FALSE.\"},\"removeClaim(bytes32)\":{\"details\":\"Removes a claim. Triggers Event: `ClaimRemoved` Claim IDs are generated using `keccak256(abi.encode(address issuer_address, uint256 topic))`.\"},\"removeKey(bytes32,uint256)\":{\"details\":\"Removes _purpose for _key from the identity. Triggers Event: `KeyRemoved` Specification: MUST only be done by keys of purpose 1, or the identity itself. If it's the identity itself, the approval process will determine its approval.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IIdentity.sol\":\"IIdentity\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IERC734.sol\":{\"keccak256\":\"0x2b407b99254d0182e4310c79fd2f5dcee05634016278a9e598de82c18014720e\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://5f949f90629758de617262c5e0c20ab7e76dad06601ea20e78fd39c3b867be0e\",\"dweb:/ipfs/QmeoMyS6v5ygUv3TRHXFcz9k6F5KEqugpURxLxdBhZRFet\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IERC735.sol\":{\"keccak256\":\"0xd2349410e3fe18d6d98d9debf16c52a77bebff700a2f3366c53d52bad7978e8c\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bb225c45358c59685fe5c52b52dd87b1ab2a224c63593a310de2004f5af90d34\",\"dweb:/ipfs/QmPBiNi7uT9R5yoM62tcEnK36aWGGqRPAUB3ALgEfey5RK\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IIdentity.sol\":{\"keccak256\":\"0x29eda8053e2d5d031503cb25fa06d3a7baacb7c30f2db4e726a08b18d4043af4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ad3b8376ae00c8bc06a0eb5427ef6d0037738a236190d8996ba8bc754e70457f\",\"dweb:/ipfs/QmS37nUkey14qpQp9EDiZRmXw7rs8dkgf9FC7oP2zn1J7Z\"]}},\"version\":1}", | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"Approved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"claimId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"ClaimAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"claimId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"ClaimChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"claimId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"ClaimRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"claimRequestId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"ClaimRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Executed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"ExecutionFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"ExecutionRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"}],\"name\":\"KeyAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"}],\"name\":\"KeyRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"purpose\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"name\":\"KeysRequiredChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_topic\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_scheme\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"name\":\"addClaim\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"claimRequestId\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_keyType\",\"type\":\"uint256\"}],\"name\":\"addKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_approve\",\"type\":\"bool\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"executionId\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_claimId\",\"type\":\"bytes32\"}],\"name\":\"getClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"topic\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"scheme\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_topic\",\"type\":\"uint256\"}],\"name\":\"getClaimIdsByTopic\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"claimIds\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"}],\"name\":\"getKey\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"purposes\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"keyType\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"}],\"name\":\"getKeyPurposes\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_purposes\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"}],\"name\":\"getKeysByPurpose\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"keys\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"}],\"name\":\"keyHasPurpose\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_claimId\",\"type\":\"bytes32\"}],\"name\":\"removeClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_purpose\",\"type\":\"uint256\"}],\"name\":\"removeKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"addClaim(uint256,uint256,address,bytes,bytes,string)\":{\"details\":\"Add or update a claim. Triggers Event: `ClaimRequested`, `ClaimAdded`, `ClaimChanged` Specification: Requests the ADDITION or the CHANGE of a claim from an issuer. Claims can requested to be added by anybody, including the claim holder itself (self issued). _signature is a signed message of the following structure: `keccak256(abi.encode(address identityHolder_address, uint256 topic, bytes data))`. Claim IDs are generated using `keccak256(abi.encode(address issuer_address + uint256 topic))`. This COULD implement an approval process for pending claims, or add them right away. MUST return a claimRequestId (use claim ID) that COULD be sent to the approve function.\"},\"addKey(bytes32,uint256,uint256)\":{\"details\":\"Adds a _key to the identity. The _purpose specifies the purpose of the key. Triggers Event: `KeyAdded` Specification: MUST only be done by keys of purpose 1, or the identity itself. If it's the identity itself, the approval process will determine its approval.\"},\"approve(uint256,bool)\":{\"details\":\"Approves an execution or claim addition. Triggers Event: `Approved`, `Executed` Specification: This SHOULD require n of m approvals of keys purpose 1, if the _to of the execution is the identity contract itself, to successfully approve an execution. And COULD require n of m approvals of keys purpose 2, if the _to of the execution is another contract, to successfully approve an execution.\"},\"execute(address,uint256,bytes)\":{\"details\":\"Passes an execution instruction to an ERC725 identity. Triggers Event: `ExecutionRequested`, `Executed` Specification: SHOULD require approve to be called with one or more keys of purpose 1 or 2 to approve this execution. Execute COULD be used as the only accessor for `addKey` and `removeKey`.\"},\"getClaim(bytes32)\":{\"details\":\"Get a claim by its ID. Claim IDs are generated using `keccak256(abi.encode(address issuer_address, uint256 topic))`.\"},\"getClaimIdsByTopic(uint256)\":{\"details\":\"Returns an array of claim IDs by topic.\"},\"getKey(bytes32)\":{\"details\":\"Returns the full key data, if present in the identity.\"},\"getKeyPurposes(bytes32)\":{\"details\":\"Returns the list of purposes associated with a key.\"},\"getKeysByPurpose(uint256)\":{\"details\":\"Returns an array of public key bytes32 held by this identity.\"},\"keyHasPurpose(bytes32,uint256)\":{\"details\":\"Returns TRUE if a key is present and has the given purpose. If the key is not present it returns FALSE.\"},\"removeClaim(bytes32)\":{\"details\":\"Removes a claim. Triggers Event: `ClaimRemoved` Claim IDs are generated using `keccak256(abi.encode(address issuer_address, uint256 topic))`.\"},\"removeKey(bytes32,uint256)\":{\"details\":\"Removes _purpose for _key from the identity. Triggers Event: `KeyRemoved` Specification: MUST only be done by keys of purpose 1, or the identity itself. If it's the identity itself, the approval process will determine its approval.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/solidity/solidity/contracts/interface/IIdentity.sol\":\"IIdentity\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/solidity/solidity/contracts/interface/IERC734.sol\":{\"keccak256\":\"0x2b407b99254d0182e4310c79fd2f5dcee05634016278a9e598de82c18014720e\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://5f949f90629758de617262c5e0c20ab7e76dad06601ea20e78fd39c3b867be0e\",\"dweb:/ipfs/QmeoMyS6v5ygUv3TRHXFcz9k6F5KEqugpURxLxdBhZRFet\"]},\"/home/runner/work/solidity/solidity/contracts/interface/IERC735.sol\":{\"keccak256\":\"0xd2349410e3fe18d6d98d9debf16c52a77bebff700a2f3366c53d52bad7978e8c\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://bb225c45358c59685fe5c52b52dd87b1ab2a224c63593a310de2004f5af90d34\",\"dweb:/ipfs/QmPBiNi7uT9R5yoM62tcEnK36aWGGqRPAUB3ALgEfey5RK\"]},\"/home/runner/work/solidity/solidity/contracts/interface/IIdentity.sol\":{\"keccak256\":\"0x29eda8053e2d5d031503cb25fa06d3a7baacb7c30f2db4e726a08b18d4043af4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ad3b8376ae00c8bc06a0eb5427ef6d0037738a236190d8996ba8bc754e70457f\",\"dweb:/ipfs/QmS37nUkey14qpQp9EDiZRmXw7rs8dkgf9FC7oP2zn1J7Z\"]}},\"version\":1}", | ||
"bytecode": "0x", | ||
@@ -713,11 +713,11 @@ "deployedBytecode": "0x", | ||
"source": "// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.6.9;\n\nimport \"./IERC734.sol\";\nimport \"./IERC735.sol\";\n\ninterface IIdentity is IERC734, IERC735 {}\n", | ||
"sourcePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IIdentity.sol", | ||
"sourcePath": "/home/runner/work/solidity/solidity/contracts/interface/IIdentity.sol", | ||
"ast": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IIdentity.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/interface/IIdentity.sol", | ||
"exportedSymbols": { | ||
"IIdentity": [ | ||
1708 | ||
1740 | ||
] | ||
}, | ||
"id": 1709, | ||
"id": 1741, | ||
"license": "GPL-3.0", | ||
@@ -727,3 +727,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1701, | ||
"id": 1733, | ||
"literals": [ | ||
@@ -739,8 +739,8 @@ "solidity", | ||
{ | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IERC734.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/interface/IERC734.sol", | ||
"file": "./IERC734.sol", | ||
"id": 1702, | ||
"id": 1734, | ||
"nodeType": "ImportDirective", | ||
"scope": 1709, | ||
"sourceUnit": 1575, | ||
"scope": 1741, | ||
"sourceUnit": 1607, | ||
"src": "61:23:5", | ||
@@ -751,8 +751,8 @@ "symbolAliases": [], | ||
{ | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IERC735.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/interface/IERC735.sol", | ||
"file": "./IERC735.sol", | ||
"id": 1703, | ||
"id": 1735, | ||
"nodeType": "ImportDirective", | ||
"scope": 1709, | ||
"sourceUnit": 1700, | ||
"scope": 1741, | ||
"sourceUnit": 1732, | ||
"src": "85:23:5", | ||
@@ -769,13 +769,13 @@ "symbolAliases": [], | ||
"contractScope": null, | ||
"id": 1704, | ||
"id": 1736, | ||
"name": "IERC734", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1574, | ||
"referencedDeclaration": 1606, | ||
"src": "133:7:5", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC734_$1574", | ||
"typeIdentifier": "t_contract$_IERC734_$1606", | ||
"typeString": "contract IERC734" | ||
} | ||
}, | ||
"id": 1705, | ||
"id": 1737, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -788,13 +788,13 @@ "src": "133:7:5" | ||
"contractScope": null, | ||
"id": 1706, | ||
"id": 1738, | ||
"name": "IERC735", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1699, | ||
"referencedDeclaration": 1731, | ||
"src": "142:7:5", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC735_$1699", | ||
"typeIdentifier": "t_contract$_IERC735_$1731", | ||
"typeString": "contract IERC735" | ||
} | ||
}, | ||
"id": 1707, | ||
"id": 1739, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -805,4 +805,4 @@ "src": "142:7:5" | ||
"contractDependencies": [ | ||
1574, | ||
1699 | ||
1606, | ||
1731 | ||
], | ||
@@ -812,7 +812,7 @@ "contractKind": "interface", | ||
"fullyImplemented": false, | ||
"id": 1708, | ||
"id": 1740, | ||
"linearizedBaseContracts": [ | ||
1708, | ||
1699, | ||
1574 | ||
1740, | ||
1731, | ||
1606 | ||
], | ||
@@ -822,3 +822,3 @@ "name": "IIdentity", | ||
"nodes": [], | ||
"scope": 1709, | ||
"scope": 1741, | ||
"src": "110:42:5" | ||
@@ -830,9 +830,9 @@ } | ||
"legacyAST": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IIdentity.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/interface/IIdentity.sol", | ||
"exportedSymbols": { | ||
"IIdentity": [ | ||
1708 | ||
1740 | ||
] | ||
}, | ||
"id": 1709, | ||
"id": 1741, | ||
"license": "GPL-3.0", | ||
@@ -842,3 +842,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1701, | ||
"id": 1733, | ||
"literals": [ | ||
@@ -854,8 +854,8 @@ "solidity", | ||
{ | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IERC734.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/interface/IERC734.sol", | ||
"file": "./IERC734.sol", | ||
"id": 1702, | ||
"id": 1734, | ||
"nodeType": "ImportDirective", | ||
"scope": 1709, | ||
"sourceUnit": 1575, | ||
"scope": 1741, | ||
"sourceUnit": 1607, | ||
"src": "61:23:5", | ||
@@ -866,8 +866,8 @@ "symbolAliases": [], | ||
{ | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/interface/IERC735.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/interface/IERC735.sol", | ||
"file": "./IERC735.sol", | ||
"id": 1703, | ||
"id": 1735, | ||
"nodeType": "ImportDirective", | ||
"scope": 1709, | ||
"sourceUnit": 1700, | ||
"scope": 1741, | ||
"sourceUnit": 1732, | ||
"src": "85:23:5", | ||
@@ -884,13 +884,13 @@ "symbolAliases": [], | ||
"contractScope": null, | ||
"id": 1704, | ||
"id": 1736, | ||
"name": "IERC734", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1574, | ||
"referencedDeclaration": 1606, | ||
"src": "133:7:5", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC734_$1574", | ||
"typeIdentifier": "t_contract$_IERC734_$1606", | ||
"typeString": "contract IERC734" | ||
} | ||
}, | ||
"id": 1705, | ||
"id": 1737, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -903,13 +903,13 @@ "src": "133:7:5" | ||
"contractScope": null, | ||
"id": 1706, | ||
"id": 1738, | ||
"name": "IERC735", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1699, | ||
"referencedDeclaration": 1731, | ||
"src": "142:7:5", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC735_$1699", | ||
"typeIdentifier": "t_contract$_IERC735_$1731", | ||
"typeString": "contract IERC735" | ||
} | ||
}, | ||
"id": 1707, | ||
"id": 1739, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -920,4 +920,4 @@ "src": "142:7:5" | ||
"contractDependencies": [ | ||
1574, | ||
1699 | ||
1606, | ||
1731 | ||
], | ||
@@ -927,7 +927,7 @@ "contractKind": "interface", | ||
"fullyImplemented": false, | ||
"id": 1708, | ||
"id": 1740, | ||
"linearizedBaseContracts": [ | ||
1708, | ||
1699, | ||
1574 | ||
1740, | ||
1731, | ||
1606 | ||
], | ||
@@ -937,3 +937,3 @@ "name": "IIdentity", | ||
"nodes": [], | ||
"scope": 1709, | ||
"scope": 1741, | ||
"src": "110:42:5" | ||
@@ -950,3 +950,3 @@ } | ||
"schemaVersion": "3.2.4", | ||
"updatedAt": "2020-11-24T15:47:35.264Z", | ||
"updatedAt": "2020-11-27T16:20:41.759Z", | ||
"devdoc": { | ||
@@ -953,0 +953,0 @@ "methods": { |
@@ -107,18 +107,18 @@ { | ||
], | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_implementation\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"UpdatedImplementation\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newImplementation\",\"type\":\"address\"}],\"name\":\"updateImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/proxy/ImplementationAuthority.sol\":\"ImplementationAuthority\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/proxy/ImplementationAuthority.sol\":{\"keccak256\":\"0x26d98f9d1c9a7ca85cd1869260ffe4f7deb3c529c902bdc41976229b7ca2c4e0\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://4ee3f9e3b3f2f9e5c6233933b041c70619817dbbc2c8ca947105200e67e438b8\",\"dweb:/ipfs/QmbRPXjJzyo8APbEXwnrtmiVHru6Yzymbpytuto27iAnej\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]}},\"version\":1}", | ||
"bytecode": "0x608060405234801561001057600080fd5b506040516108f13803806108f18339818101604052602081101561003357600080fd5b8101908080519060200190929190505050600061005461019c60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f87c4e67a766ffddda27f441d63853a36ae64fbb07775a7c59d395e064b204eeb81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1506101a4565b600033905090565b61073e806101b36000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063025b22bc1461005c578063715018a6146100a05780638da5cb5b146100aa578063aaf10f42146100f4578063f2fde38b1461013e575b600080fd5b61009e6004803603602081101561007257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610182565b005b6100a86102f2565b005b6100b261047a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100fc6104a3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101806004803603602081101561015457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104cd565b005b61018a6106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461024b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f87c4e67a766ffddda27f441d63853a36ae64fbb07775a7c59d395e064b204eeb81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b6102fa6106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146103bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104d56106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610596576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561061c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806106e36026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60003390509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a26469706673582212200b37381f091ef87b667b4a0dcfe4094836f7d5d29242a36b4f613377f4aedb5264736f6c63430006090033", | ||
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063025b22bc1461005c578063715018a6146100a05780638da5cb5b146100aa578063aaf10f42146100f4578063f2fde38b1461013e575b600080fd5b61009e6004803603602081101561007257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610182565b005b6100a86102f2565b005b6100b261047a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100fc6104a3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101806004803603602081101561015457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104cd565b005b61018a6106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461024b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f87c4e67a766ffddda27f441d63853a36ae64fbb07775a7c59d395e064b204eeb81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b6102fa6106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146103bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104d56106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610596576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561061c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806106e36026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60003390509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a26469706673582212200b37381f091ef87b667b4a0dcfe4094836f7d5d29242a36b4f613377f4aedb5264736f6c63430006090033", | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_implementation\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"UpdatedImplementation\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newImplementation\",\"type\":\"address\"}],\"name\":\"updateImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"getImplementation()\":{\"details\":\"get the address of the implementation contract.\",\"returns\":{\"_0\":\"implementation the address of the implementation contract\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"updateImplementation(address)\":{\"details\":\"update the address of the implementation contract.\",\"params\":{\"_newImplementation\":\"the implementation address\"}}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/solidity/solidity/contracts/proxy/ImplementationAuthority.sol\":\"ImplementationAuthority\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/solidity/solidity/contracts/interface/IImplementationAuthority.sol\":{\"keccak256\":\"0x9a47de4bb5997b5e8936a44494628802c6902cada6c88eeb941f7283d541a30a\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://41fba930fce6d5f20e172068d4e961615852189edb85ece2baf4ebaf82294339\",\"dweb:/ipfs/QmTpWYmavDWVaBKoUYhq3mS1EacsXRKQbMhBbAPjceQ1sK\"]},\"/home/runner/work/solidity/solidity/contracts/proxy/ImplementationAuthority.sol\":{\"keccak256\":\"0xfeb674b9f52452ba15d1e808f6a32149757f0e5348e5552ba071c05ae5a8ce4c\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2f087c5bf264d874e4c667989473c4fede59bf77d1b6dee9b0b456b9ce717cbf\",\"dweb:/ipfs/QmSE9YcM9LXuToV22QjhLYqYYfbFhgmycAYPom5fFH4yAG\"]},\"@openzeppelin/contracts/GSN/Context.sol\":{\"keccak256\":\"0xdb26cbf4d028490f49831a7865c2fe1b28db44b535ca8d343785a3b768aae183\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840b14ce0315c47d49ba328f1f9fa7654ded1c9e1559e6c5e777a7b2dc28bf0a\",\"dweb:/ipfs/QmTLLabn4wcfGro9LEmUXUN2nwKqZSotXMvjDCLXEnLtZP\"]},\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x4bd6402ca6b3419008c2b482aff54e66836e8cb4eba2680e42ac5884ae6424fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f9f711fb8d0d92aeea1c327e3845d13ca1fa8f142e47f8723cd5b3106fb29a3\",\"dweb:/ipfs/QmVQUReDW9f4zGqhizwHnyU8EntMs95tbASdqkGncnikba\"]}},\"version\":1}", | ||
"bytecode": "0x608060405234801561001057600080fd5b506040516108f13803806108f18339818101604052602081101561003357600080fd5b8101908080519060200190929190505050600061005461019c60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f87c4e67a766ffddda27f441d63853a36ae64fbb07775a7c59d395e064b204eeb81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1506101a4565b600033905090565b61073e806101b36000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063025b22bc1461005c578063715018a6146100a05780638da5cb5b146100aa578063aaf10f42146100f4578063f2fde38b1461013e575b600080fd5b61009e6004803603602081101561007257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610182565b005b6100a86102f2565b005b6100b261047a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100fc6104a3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101806004803603602081101561015457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104cd565b005b61018a6106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461024b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f87c4e67a766ffddda27f441d63853a36ae64fbb07775a7c59d395e064b204eeb81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b6102fa6106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146103bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104d56106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610596576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561061c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806106e36026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60003390509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220433c9008218208edbbfa3461206c2eeee16b49111ed23ce0eaf795c6929b819864736f6c63430006090033", | ||
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063025b22bc1461005c578063715018a6146100a05780638da5cb5b146100aa578063aaf10f42146100f4578063f2fde38b1461013e575b600080fd5b61009e6004803603602081101561007257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610182565b005b6100a86102f2565b005b6100b261047a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100fc6104a3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101806004803603602081101561015457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104cd565b005b61018a6106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461024b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f87c4e67a766ffddda27f441d63853a36ae64fbb07775a7c59d395e064b204eeb81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b6102fa6106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146103bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104d56106da565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610596576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561061c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806106e36026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60003390509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220433c9008218208edbbfa3461206c2eeee16b49111ed23ce0eaf795c6929b819864736f6c63430006090033", | ||
"immutableReferences": {}, | ||
"sourceMap": "116:575:8:-:0;;;250:146;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;865:17:14;885:12;:10;;;:12;;:::i;:::-;865:32;;916:9;907:6;;:18;;;;;;;;;;;;;;;;;;973:9;940:43;;969:1;940:43;;;;;;;;;;;;831:159;321:15:8;304:14;;:32;;;;;;;;;;;;;;;;;;351:38;373:15;351:38;;;;;;;;;;;;;;;;;;;;;;250:146;116:575;;590:104:13;643:15;677:10;670:17;;590:104;:::o;116:575:8:-;;;;;;;", | ||
"deployedSourceMap": "116:575:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;506:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1689:145:14;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;402:98:8;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1983:240:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;506:183:8;1280:12:14;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;608:18:8::1;591:14;;:35;;;;;;;;;;;;;;;;;;641:41;663:18;641:41;;;;;;;;;;;;;;;;;;;;;;506:183:::0;:::o;1689:145:14:-;1280:12;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1795:1:::1;1758:40;;1779:6;::::0;::::1;;;;;;;;;1758:40;;;;;;;;;;;;1825:1;1808:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;1689:145::o:0;1066:77::-;1104:7;1130:6;;;;;;;;;;;1123:13;;1066:77;:::o;402:98:8:-;453:7;479:14;;;;;;;;;;;472:21;;402:98;:::o;1983:240:14:-;1280:12;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2091:1:::1;2071:22;;:8;:22;;;;2063:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2180:8;2151:38;;2172:6;::::0;::::1;;;;;;;;;2151:38;;;;;;;;;;;;2208:8;2199:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;1983:240:::0;:::o;590:104:13:-;643:15;677:10;670:17;;590:104;:::o", | ||
"source": "// SPDX-License-Identifier: GPL-3.0\n\npragma solidity ^0.6.9;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\n\ncontract ImplementationAuthority is Ownable {\n\n event UpdatedImplementation(address newAddress);\n\n address implementation;\n\n constructor(address _implementation) public {\n implementation = _implementation;\n emit UpdatedImplementation(_implementation);\n }\n\n function getImplementation() external view returns(address) {\n return implementation;\n }\n\n function updateImplementation(address _newImplementation) public onlyOwner {\n implementation = _newImplementation;\n emit UpdatedImplementation(_newImplementation);\n }\n}\n\n\n", | ||
"sourcePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/proxy/ImplementationAuthority.sol", | ||
"sourceMap": "168:898:8:-:0;;;328:146;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;865:17:13;885:12;:10;;;:12;;:::i;:::-;865:32;;916:9;907:6;;:18;;;;;;;;;;;;;;;;;;973:9;940:43;;969:1;940:43;;;;;;;;;;;;831:159;399:15:8;382:14;;:32;;;;;;;;;;;;;;;;;;429:38;451:15;429:38;;;;;;;;;;;;;;;;;;;;;;328:146;168:898;;590:104:12;643:15;677:10;670:17;;590:104;:::o;168:898:8:-;;;;;;;", | ||
"deployedSourceMap": "168:898:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;881:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1689:145:13;;;:::i;:::-;;1066:77;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;629:107:8;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1983:240:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;881:183:8;1280:12:13;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;983:18:8::1;966:14;;:35;;;;;;;;;;;;;;;;;;1016:41;1038:18;1016:41;;;;;;;;;;;;;;;;;;;;;;881:183:::0;:::o;1689:145:13:-;1280:12;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1795:1:::1;1758:40;;1779:6;::::0;::::1;;;;;;;;;1758:40;;;;;;;;;;;;1825:1;1808:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;1689:145::o:0;1066:77::-;1104:7;1130:6;;;;;;;;;;;1123:13;;1066:77;:::o;629:107:8:-;689:7;715:14;;;;;;;;;;;708:21;;629:107;:::o;1983:240:13:-;1280:12;:10;:12::i;:::-;1270:22;;:6;;;;;;;;;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2091:1:::1;2071:22;;:8;:22;;;;2063:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2180:8;2151:38;;2172:6;::::0;::::1;;;;;;;;;2151:38;;;;;;;;;;;;2208:8;2199:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;1983:240:::0;:::o;590:104:12:-;643:15;677:10;670:17;;590:104;:::o", | ||
"source": "// SPDX-License-Identifier: GPL-3.0\n\npragma solidity ^0.6.9;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"../interface/IImplementationAuthority.sol\";\n\ncontract ImplementationAuthority is IImplementationAuthority, Ownable {\n\n event UpdatedImplementation(address newAddress);\n\n address implementation;\n\n constructor(address _implementation) public {\n implementation = _implementation;\n emit UpdatedImplementation(_implementation);\n }\n\n /**\n * @dev get the address of the implementation contract.\n * @return implementation the address of the implementation contract\n */\n function getImplementation() external override view returns(address) {\n return implementation;\n }\n\n /**\n * @dev update the address of the implementation contract.\n * @param _newImplementation the implementation address\n */\n function updateImplementation(address _newImplementation) public onlyOwner {\n implementation = _newImplementation;\n emit UpdatedImplementation(_newImplementation);\n }\n}\n\n\n", | ||
"sourcePath": "/home/runner/work/solidity/solidity/contracts/proxy/ImplementationAuthority.sol", | ||
"ast": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/proxy/ImplementationAuthority.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/proxy/ImplementationAuthority.sol", | ||
"exportedSymbols": { | ||
"ImplementationAuthority": [ | ||
1789 | ||
1859 | ||
] | ||
}, | ||
"id": 1790, | ||
"id": 1860, | ||
"license": "GPL-3.0", | ||
@@ -128,3 +128,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1741, | ||
"id": 1805, | ||
"literals": [ | ||
@@ -142,6 +142,6 @@ "solidity", | ||
"file": "@openzeppelin/contracts/access/Ownable.sol", | ||
"id": 1742, | ||
"id": 1806, | ||
"nodeType": "ImportDirective", | ||
"scope": 1790, | ||
"sourceUnit": 2046, | ||
"scope": 1860, | ||
"sourceUnit": 2070, | ||
"src": "62:52:8", | ||
@@ -152,2 +152,13 @@ "symbolAliases": [], | ||
{ | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/interface/IImplementationAuthority.sol", | ||
"file": "../interface/IImplementationAuthority.sol", | ||
"id": 1807, | ||
"nodeType": "ImportDirective", | ||
"scope": 1860, | ||
"sourceUnit": 1749, | ||
"src": "115:51:8", | ||
"symbolAliases": [], | ||
"unitAlias": "" | ||
}, | ||
{ | ||
"abstract": false, | ||
@@ -159,20 +170,39 @@ "baseContracts": [ | ||
"contractScope": null, | ||
"id": 1743, | ||
"id": 1808, | ||
"name": "IImplementationAuthority", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1748, | ||
"src": "204:24:8", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IImplementationAuthority_$1748", | ||
"typeString": "contract IImplementationAuthority" | ||
} | ||
}, | ||
"id": 1809, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "204:24:8" | ||
}, | ||
{ | ||
"arguments": null, | ||
"baseName": { | ||
"contractScope": null, | ||
"id": 1810, | ||
"name": "Ownable", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2045, | ||
"src": "152:7:8", | ||
"referencedDeclaration": 2069, | ||
"src": "230:7:8", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Ownable_$2045", | ||
"typeIdentifier": "t_contract$_Ownable_$2069", | ||
"typeString": "contract Ownable" | ||
} | ||
}, | ||
"id": 1744, | ||
"id": 1811, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "152:7:8" | ||
"src": "230:7:8" | ||
} | ||
], | ||
"contractDependencies": [ | ||
1936, | ||
2045 | ||
1748, | ||
1960, | ||
2069 | ||
], | ||
@@ -182,7 +212,8 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 1789, | ||
"id": 1859, | ||
"linearizedBaseContracts": [ | ||
1789, | ||
2045, | ||
1936 | ||
1859, | ||
2069, | ||
1960, | ||
1748 | ||
], | ||
@@ -195,7 +226,7 @@ "name": "ImplementationAuthority", | ||
"documentation": null, | ||
"id": 1748, | ||
"id": 1815, | ||
"name": "UpdatedImplementation", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 1747, | ||
"id": 1814, | ||
"nodeType": "ParameterList", | ||
@@ -205,3 +236,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1746, | ||
"id": 1813, | ||
"indexed": false, | ||
@@ -212,4 +243,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 1748, | ||
"src": "195:18:8", | ||
"scope": 1815, | ||
"src": "273:18:8", | ||
"stateVariable": false, | ||
@@ -222,6 +253,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1745, | ||
"id": 1812, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "195:7:8", | ||
"src": "273:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -237,9 +268,9 @@ "typeDescriptions": { | ||
], | ||
"src": "194:20:8" | ||
"src": "272:20:8" | ||
}, | ||
"src": "167:48:8" | ||
"src": "245:48:8" | ||
}, | ||
{ | ||
"constant": false, | ||
"id": 1750, | ||
"id": 1817, | ||
"mutability": "mutable", | ||
@@ -249,4 +280,4 @@ "name": "implementation", | ||
"overrides": null, | ||
"scope": 1789, | ||
"src": "221:22:8", | ||
"scope": 1859, | ||
"src": "299:22:8", | ||
"stateVariable": true, | ||
@@ -259,6 +290,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1749, | ||
"id": 1816, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "221:7:8", | ||
"src": "299:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -275,5 +306,5 @@ "typeDescriptions": { | ||
"body": { | ||
"id": 1763, | ||
"id": 1830, | ||
"nodeType": "Block", | ||
"src": "294:102:8", | ||
"src": "372:102:8", | ||
"statements": [ | ||
@@ -283,3 +314,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1757, | ||
"id": 1824, | ||
"isConstant": false, | ||
@@ -291,8 +322,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1755, | ||
"id": 1822, | ||
"name": "implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1750, | ||
"src": "304:14:8", | ||
"referencedDeclaration": 1817, | ||
"src": "382:14:8", | ||
"typeDescriptions": { | ||
@@ -307,8 +338,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1756, | ||
"id": 1823, | ||
"name": "_implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1752, | ||
"src": "321:15:8", | ||
"referencedDeclaration": 1819, | ||
"src": "399:15:8", | ||
"typeDescriptions": { | ||
@@ -319,3 +350,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "304:32:8", | ||
"src": "382:32:8", | ||
"typeDescriptions": { | ||
@@ -326,5 +357,5 @@ "typeIdentifier": "t_address", | ||
}, | ||
"id": 1758, | ||
"id": 1825, | ||
"nodeType": "ExpressionStatement", | ||
"src": "304:32:8" | ||
"src": "382:32:8" | ||
}, | ||
@@ -337,8 +368,8 @@ { | ||
"argumentTypes": null, | ||
"id": 1760, | ||
"id": 1827, | ||
"name": "_implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1752, | ||
"src": "373:15:8", | ||
"referencedDeclaration": 1819, | ||
"src": "451:15:8", | ||
"typeDescriptions": { | ||
@@ -357,8 +388,8 @@ "typeIdentifier": "t_address", | ||
], | ||
"id": 1759, | ||
"id": 1826, | ||
"name": "UpdatedImplementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1748, | ||
"src": "351:21:8", | ||
"referencedDeclaration": 1815, | ||
"src": "429:21:8", | ||
"typeDescriptions": { | ||
@@ -369,3 +400,3 @@ "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", | ||
}, | ||
"id": 1761, | ||
"id": 1828, | ||
"isConstant": false, | ||
@@ -378,3 +409,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "351:38:8", | ||
"src": "429:38:8", | ||
"tryCall": false, | ||
@@ -386,5 +417,5 @@ "typeDescriptions": { | ||
}, | ||
"id": 1762, | ||
"id": 1829, | ||
"nodeType": "EmitStatement", | ||
"src": "346:43:8" | ||
"src": "424:43:8" | ||
} | ||
@@ -394,3 +425,3 @@ ] | ||
"documentation": null, | ||
"id": 1764, | ||
"id": 1831, | ||
"implemented": true, | ||
@@ -403,3 +434,3 @@ "kind": "constructor", | ||
"parameters": { | ||
"id": 1753, | ||
"id": 1820, | ||
"nodeType": "ParameterList", | ||
@@ -409,3 +440,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1752, | ||
"id": 1819, | ||
"mutability": "mutable", | ||
@@ -415,4 +446,4 @@ "name": "_implementation", | ||
"overrides": null, | ||
"scope": 1764, | ||
"src": "262:23:8", | ||
"scope": 1831, | ||
"src": "340:23:8", | ||
"stateVariable": false, | ||
@@ -425,6 +456,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1751, | ||
"id": 1818, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "262:7:8", | ||
"src": "340:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -440,12 +471,12 @@ "typeDescriptions": { | ||
], | ||
"src": "261:25:8" | ||
"src": "339:25:8" | ||
}, | ||
"returnParameters": { | ||
"id": 1754, | ||
"id": 1821, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "294:0:8" | ||
"src": "372:0:8" | ||
}, | ||
"scope": 1789, | ||
"src": "250:146:8", | ||
"scope": 1859, | ||
"src": "328:146:8", | ||
"stateMutability": "nonpayable", | ||
@@ -456,6 +487,9 @@ "virtual": false, | ||
{ | ||
"baseFunctions": [ | ||
1747 | ||
], | ||
"body": { | ||
"id": 1771, | ||
"id": 1840, | ||
"nodeType": "Block", | ||
"src": "462:38:8", | ||
"src": "698:38:8", | ||
"statements": [ | ||
@@ -465,8 +499,8 @@ { | ||
"argumentTypes": null, | ||
"id": 1769, | ||
"id": 1838, | ||
"name": "implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1750, | ||
"src": "479:14:8", | ||
"referencedDeclaration": 1817, | ||
"src": "715:14:8", | ||
"typeDescriptions": { | ||
@@ -477,12 +511,17 @@ "typeIdentifier": "t_address", | ||
}, | ||
"functionReturnParameters": 1768, | ||
"id": 1770, | ||
"functionReturnParameters": 1837, | ||
"id": 1839, | ||
"nodeType": "Return", | ||
"src": "472:21:8" | ||
"src": "708:21:8" | ||
} | ||
] | ||
}, | ||
"documentation": null, | ||
"documentation": { | ||
"id": 1832, | ||
"nodeType": "StructuredDocumentation", | ||
"src": "480:144:8", | ||
"text": " @dev get the address of the implementation contract.\n @return implementation the address of the implementation contract" | ||
}, | ||
"functionSelector": "aaf10f42", | ||
"id": 1772, | ||
"id": 1841, | ||
"implemented": true, | ||
@@ -493,11 +532,16 @@ "kind": "function", | ||
"nodeType": "FunctionDefinition", | ||
"overrides": null, | ||
"overrides": { | ||
"id": 1834, | ||
"nodeType": "OverrideSpecifier", | ||
"overrides": [], | ||
"src": "667:8:8" | ||
}, | ||
"parameters": { | ||
"id": 1765, | ||
"id": 1833, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "428:2:8" | ||
"src": "655:2:8" | ||
}, | ||
"returnParameters": { | ||
"id": 1768, | ||
"id": 1837, | ||
"nodeType": "ParameterList", | ||
@@ -507,3 +551,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1767, | ||
"id": 1836, | ||
"mutability": "mutable", | ||
@@ -513,4 +557,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 1772, | ||
"src": "453:7:8", | ||
"scope": 1841, | ||
"src": "689:7:8", | ||
"stateVariable": false, | ||
@@ -523,6 +567,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1766, | ||
"id": 1835, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "453:7:8", | ||
"src": "689:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -538,6 +582,6 @@ "typeDescriptions": { | ||
], | ||
"src": "452:9:8" | ||
"src": "688:9:8" | ||
}, | ||
"scope": 1789, | ||
"src": "402:98:8", | ||
"scope": 1859, | ||
"src": "629:107:8", | ||
"stateMutability": "view", | ||
@@ -549,5 +593,5 @@ "virtual": false, | ||
"body": { | ||
"id": 1787, | ||
"id": 1857, | ||
"nodeType": "Block", | ||
"src": "581:108:8", | ||
"src": "956:108:8", | ||
"statements": [ | ||
@@ -557,3 +601,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1781, | ||
"id": 1851, | ||
"isConstant": false, | ||
@@ -565,8 +609,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1779, | ||
"id": 1849, | ||
"name": "implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1750, | ||
"src": "591:14:8", | ||
"referencedDeclaration": 1817, | ||
"src": "966:14:8", | ||
"typeDescriptions": { | ||
@@ -581,8 +625,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1780, | ||
"id": 1850, | ||
"name": "_newImplementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1774, | ||
"src": "608:18:8", | ||
"referencedDeclaration": 1844, | ||
"src": "983:18:8", | ||
"typeDescriptions": { | ||
@@ -593,3 +637,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "591:35:8", | ||
"src": "966:35:8", | ||
"typeDescriptions": { | ||
@@ -600,5 +644,5 @@ "typeIdentifier": "t_address", | ||
}, | ||
"id": 1782, | ||
"id": 1852, | ||
"nodeType": "ExpressionStatement", | ||
"src": "591:35:8" | ||
"src": "966:35:8" | ||
}, | ||
@@ -611,8 +655,8 @@ { | ||
"argumentTypes": null, | ||
"id": 1784, | ||
"id": 1854, | ||
"name": "_newImplementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1774, | ||
"src": "663:18:8", | ||
"referencedDeclaration": 1844, | ||
"src": "1038:18:8", | ||
"typeDescriptions": { | ||
@@ -631,8 +675,8 @@ "typeIdentifier": "t_address", | ||
], | ||
"id": 1783, | ||
"id": 1853, | ||
"name": "UpdatedImplementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1748, | ||
"src": "641:21:8", | ||
"referencedDeclaration": 1815, | ||
"src": "1016:21:8", | ||
"typeDescriptions": { | ||
@@ -643,3 +687,3 @@ "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", | ||
}, | ||
"id": 1785, | ||
"id": 1855, | ||
"isConstant": false, | ||
@@ -652,3 +696,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "641:41:8", | ||
"src": "1016:41:8", | ||
"tryCall": false, | ||
@@ -660,11 +704,16 @@ "typeDescriptions": { | ||
}, | ||
"id": 1786, | ||
"id": 1856, | ||
"nodeType": "EmitStatement", | ||
"src": "636:46:8" | ||
"src": "1011:46:8" | ||
} | ||
] | ||
}, | ||
"documentation": null, | ||
"documentation": { | ||
"id": 1842, | ||
"nodeType": "StructuredDocumentation", | ||
"src": "742:134:8", | ||
"text": " @dev update the address of the implementation contract.\n @param _newImplementation the implementation address" | ||
}, | ||
"functionSelector": "025b22bc", | ||
"id": 1788, | ||
"id": 1858, | ||
"implemented": true, | ||
@@ -675,11 +724,11 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 1777, | ||
"id": 1847, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 1776, | ||
"id": 1846, | ||
"name": "onlyOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1994, | ||
"src": "571:9:8", | ||
"referencedDeclaration": 2018, | ||
"src": "946:9:8", | ||
"typeDescriptions": { | ||
@@ -691,3 +740,3 @@ "typeIdentifier": "t_modifier$__$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "571:9:8" | ||
"src": "946:9:8" | ||
} | ||
@@ -699,3 +748,3 @@ ], | ||
"parameters": { | ||
"id": 1775, | ||
"id": 1845, | ||
"nodeType": "ParameterList", | ||
@@ -705,3 +754,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1774, | ||
"id": 1844, | ||
"mutability": "mutable", | ||
@@ -711,4 +760,4 @@ "name": "_newImplementation", | ||
"overrides": null, | ||
"scope": 1788, | ||
"src": "536:26:8", | ||
"scope": 1858, | ||
"src": "911:26:8", | ||
"stateVariable": false, | ||
@@ -721,6 +770,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1773, | ||
"id": 1843, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "536:7:8", | ||
"src": "911:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -736,12 +785,12 @@ "typeDescriptions": { | ||
], | ||
"src": "535:28:8" | ||
"src": "910:28:8" | ||
}, | ||
"returnParameters": { | ||
"id": 1778, | ||
"id": 1848, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "581:0:8" | ||
"src": "956:0:8" | ||
}, | ||
"scope": 1789, | ||
"src": "506:183:8", | ||
"scope": 1859, | ||
"src": "881:183:8", | ||
"stateMutability": "nonpayable", | ||
@@ -752,16 +801,16 @@ "virtual": false, | ||
], | ||
"scope": 1790, | ||
"src": "116:575:8" | ||
"scope": 1860, | ||
"src": "168:898:8" | ||
} | ||
], | ||
"src": "37:657:8" | ||
"src": "37:1032:8" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/proxy/ImplementationAuthority.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/proxy/ImplementationAuthority.sol", | ||
"exportedSymbols": { | ||
"ImplementationAuthority": [ | ||
1789 | ||
1859 | ||
] | ||
}, | ||
"id": 1790, | ||
"id": 1860, | ||
"license": "GPL-3.0", | ||
@@ -771,3 +820,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1741, | ||
"id": 1805, | ||
"literals": [ | ||
@@ -785,6 +834,6 @@ "solidity", | ||
"file": "@openzeppelin/contracts/access/Ownable.sol", | ||
"id": 1742, | ||
"id": 1806, | ||
"nodeType": "ImportDirective", | ||
"scope": 1790, | ||
"sourceUnit": 2046, | ||
"scope": 1860, | ||
"sourceUnit": 2070, | ||
"src": "62:52:8", | ||
@@ -795,2 +844,13 @@ "symbolAliases": [], | ||
{ | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/interface/IImplementationAuthority.sol", | ||
"file": "../interface/IImplementationAuthority.sol", | ||
"id": 1807, | ||
"nodeType": "ImportDirective", | ||
"scope": 1860, | ||
"sourceUnit": 1749, | ||
"src": "115:51:8", | ||
"symbolAliases": [], | ||
"unitAlias": "" | ||
}, | ||
{ | ||
"abstract": false, | ||
@@ -802,20 +862,39 @@ "baseContracts": [ | ||
"contractScope": null, | ||
"id": 1743, | ||
"id": 1808, | ||
"name": "IImplementationAuthority", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1748, | ||
"src": "204:24:8", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IImplementationAuthority_$1748", | ||
"typeString": "contract IImplementationAuthority" | ||
} | ||
}, | ||
"id": 1809, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "204:24:8" | ||
}, | ||
{ | ||
"arguments": null, | ||
"baseName": { | ||
"contractScope": null, | ||
"id": 1810, | ||
"name": "Ownable", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2045, | ||
"src": "152:7:8", | ||
"referencedDeclaration": 2069, | ||
"src": "230:7:8", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Ownable_$2045", | ||
"typeIdentifier": "t_contract$_Ownable_$2069", | ||
"typeString": "contract Ownable" | ||
} | ||
}, | ||
"id": 1744, | ||
"id": 1811, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "152:7:8" | ||
"src": "230:7:8" | ||
} | ||
], | ||
"contractDependencies": [ | ||
1936, | ||
2045 | ||
1748, | ||
1960, | ||
2069 | ||
], | ||
@@ -825,7 +904,8 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 1789, | ||
"id": 1859, | ||
"linearizedBaseContracts": [ | ||
1789, | ||
2045, | ||
1936 | ||
1859, | ||
2069, | ||
1960, | ||
1748 | ||
], | ||
@@ -838,7 +918,7 @@ "name": "ImplementationAuthority", | ||
"documentation": null, | ||
"id": 1748, | ||
"id": 1815, | ||
"name": "UpdatedImplementation", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 1747, | ||
"id": 1814, | ||
"nodeType": "ParameterList", | ||
@@ -848,3 +928,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1746, | ||
"id": 1813, | ||
"indexed": false, | ||
@@ -855,4 +935,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 1748, | ||
"src": "195:18:8", | ||
"scope": 1815, | ||
"src": "273:18:8", | ||
"stateVariable": false, | ||
@@ -865,6 +945,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1745, | ||
"id": 1812, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "195:7:8", | ||
"src": "273:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -880,9 +960,9 @@ "typeDescriptions": { | ||
], | ||
"src": "194:20:8" | ||
"src": "272:20:8" | ||
}, | ||
"src": "167:48:8" | ||
"src": "245:48:8" | ||
}, | ||
{ | ||
"constant": false, | ||
"id": 1750, | ||
"id": 1817, | ||
"mutability": "mutable", | ||
@@ -892,4 +972,4 @@ "name": "implementation", | ||
"overrides": null, | ||
"scope": 1789, | ||
"src": "221:22:8", | ||
"scope": 1859, | ||
"src": "299:22:8", | ||
"stateVariable": true, | ||
@@ -902,6 +982,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1749, | ||
"id": 1816, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "221:7:8", | ||
"src": "299:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -918,5 +998,5 @@ "typeDescriptions": { | ||
"body": { | ||
"id": 1763, | ||
"id": 1830, | ||
"nodeType": "Block", | ||
"src": "294:102:8", | ||
"src": "372:102:8", | ||
"statements": [ | ||
@@ -926,3 +1006,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1757, | ||
"id": 1824, | ||
"isConstant": false, | ||
@@ -934,8 +1014,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1755, | ||
"id": 1822, | ||
"name": "implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1750, | ||
"src": "304:14:8", | ||
"referencedDeclaration": 1817, | ||
"src": "382:14:8", | ||
"typeDescriptions": { | ||
@@ -950,8 +1030,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1756, | ||
"id": 1823, | ||
"name": "_implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1752, | ||
"src": "321:15:8", | ||
"referencedDeclaration": 1819, | ||
"src": "399:15:8", | ||
"typeDescriptions": { | ||
@@ -962,3 +1042,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "304:32:8", | ||
"src": "382:32:8", | ||
"typeDescriptions": { | ||
@@ -969,5 +1049,5 @@ "typeIdentifier": "t_address", | ||
}, | ||
"id": 1758, | ||
"id": 1825, | ||
"nodeType": "ExpressionStatement", | ||
"src": "304:32:8" | ||
"src": "382:32:8" | ||
}, | ||
@@ -980,8 +1060,8 @@ { | ||
"argumentTypes": null, | ||
"id": 1760, | ||
"id": 1827, | ||
"name": "_implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1752, | ||
"src": "373:15:8", | ||
"referencedDeclaration": 1819, | ||
"src": "451:15:8", | ||
"typeDescriptions": { | ||
@@ -1000,8 +1080,8 @@ "typeIdentifier": "t_address", | ||
], | ||
"id": 1759, | ||
"id": 1826, | ||
"name": "UpdatedImplementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1748, | ||
"src": "351:21:8", | ||
"referencedDeclaration": 1815, | ||
"src": "429:21:8", | ||
"typeDescriptions": { | ||
@@ -1012,3 +1092,3 @@ "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", | ||
}, | ||
"id": 1761, | ||
"id": 1828, | ||
"isConstant": false, | ||
@@ -1021,3 +1101,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "351:38:8", | ||
"src": "429:38:8", | ||
"tryCall": false, | ||
@@ -1029,5 +1109,5 @@ "typeDescriptions": { | ||
}, | ||
"id": 1762, | ||
"id": 1829, | ||
"nodeType": "EmitStatement", | ||
"src": "346:43:8" | ||
"src": "424:43:8" | ||
} | ||
@@ -1037,3 +1117,3 @@ ] | ||
"documentation": null, | ||
"id": 1764, | ||
"id": 1831, | ||
"implemented": true, | ||
@@ -1046,3 +1126,3 @@ "kind": "constructor", | ||
"parameters": { | ||
"id": 1753, | ||
"id": 1820, | ||
"nodeType": "ParameterList", | ||
@@ -1052,3 +1132,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1752, | ||
"id": 1819, | ||
"mutability": "mutable", | ||
@@ -1058,4 +1138,4 @@ "name": "_implementation", | ||
"overrides": null, | ||
"scope": 1764, | ||
"src": "262:23:8", | ||
"scope": 1831, | ||
"src": "340:23:8", | ||
"stateVariable": false, | ||
@@ -1068,6 +1148,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1751, | ||
"id": 1818, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "262:7:8", | ||
"src": "340:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -1083,12 +1163,12 @@ "typeDescriptions": { | ||
], | ||
"src": "261:25:8" | ||
"src": "339:25:8" | ||
}, | ||
"returnParameters": { | ||
"id": 1754, | ||
"id": 1821, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "294:0:8" | ||
"src": "372:0:8" | ||
}, | ||
"scope": 1789, | ||
"src": "250:146:8", | ||
"scope": 1859, | ||
"src": "328:146:8", | ||
"stateMutability": "nonpayable", | ||
@@ -1099,6 +1179,9 @@ "virtual": false, | ||
{ | ||
"baseFunctions": [ | ||
1747 | ||
], | ||
"body": { | ||
"id": 1771, | ||
"id": 1840, | ||
"nodeType": "Block", | ||
"src": "462:38:8", | ||
"src": "698:38:8", | ||
"statements": [ | ||
@@ -1108,8 +1191,8 @@ { | ||
"argumentTypes": null, | ||
"id": 1769, | ||
"id": 1838, | ||
"name": "implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1750, | ||
"src": "479:14:8", | ||
"referencedDeclaration": 1817, | ||
"src": "715:14:8", | ||
"typeDescriptions": { | ||
@@ -1120,12 +1203,17 @@ "typeIdentifier": "t_address", | ||
}, | ||
"functionReturnParameters": 1768, | ||
"id": 1770, | ||
"functionReturnParameters": 1837, | ||
"id": 1839, | ||
"nodeType": "Return", | ||
"src": "472:21:8" | ||
"src": "708:21:8" | ||
} | ||
] | ||
}, | ||
"documentation": null, | ||
"documentation": { | ||
"id": 1832, | ||
"nodeType": "StructuredDocumentation", | ||
"src": "480:144:8", | ||
"text": " @dev get the address of the implementation contract.\n @return implementation the address of the implementation contract" | ||
}, | ||
"functionSelector": "aaf10f42", | ||
"id": 1772, | ||
"id": 1841, | ||
"implemented": true, | ||
@@ -1136,11 +1224,16 @@ "kind": "function", | ||
"nodeType": "FunctionDefinition", | ||
"overrides": null, | ||
"overrides": { | ||
"id": 1834, | ||
"nodeType": "OverrideSpecifier", | ||
"overrides": [], | ||
"src": "667:8:8" | ||
}, | ||
"parameters": { | ||
"id": 1765, | ||
"id": 1833, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "428:2:8" | ||
"src": "655:2:8" | ||
}, | ||
"returnParameters": { | ||
"id": 1768, | ||
"id": 1837, | ||
"nodeType": "ParameterList", | ||
@@ -1150,3 +1243,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1767, | ||
"id": 1836, | ||
"mutability": "mutable", | ||
@@ -1156,4 +1249,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 1772, | ||
"src": "453:7:8", | ||
"scope": 1841, | ||
"src": "689:7:8", | ||
"stateVariable": false, | ||
@@ -1166,6 +1259,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1766, | ||
"id": 1835, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "453:7:8", | ||
"src": "689:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -1181,6 +1274,6 @@ "typeDescriptions": { | ||
], | ||
"src": "452:9:8" | ||
"src": "688:9:8" | ||
}, | ||
"scope": 1789, | ||
"src": "402:98:8", | ||
"scope": 1859, | ||
"src": "629:107:8", | ||
"stateMutability": "view", | ||
@@ -1192,5 +1285,5 @@ "virtual": false, | ||
"body": { | ||
"id": 1787, | ||
"id": 1857, | ||
"nodeType": "Block", | ||
"src": "581:108:8", | ||
"src": "956:108:8", | ||
"statements": [ | ||
@@ -1200,3 +1293,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1781, | ||
"id": 1851, | ||
"isConstant": false, | ||
@@ -1208,8 +1301,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1779, | ||
"id": 1849, | ||
"name": "implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1750, | ||
"src": "591:14:8", | ||
"referencedDeclaration": 1817, | ||
"src": "966:14:8", | ||
"typeDescriptions": { | ||
@@ -1224,8 +1317,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1780, | ||
"id": 1850, | ||
"name": "_newImplementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1774, | ||
"src": "608:18:8", | ||
"referencedDeclaration": 1844, | ||
"src": "983:18:8", | ||
"typeDescriptions": { | ||
@@ -1236,3 +1329,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "591:35:8", | ||
"src": "966:35:8", | ||
"typeDescriptions": { | ||
@@ -1243,5 +1336,5 @@ "typeIdentifier": "t_address", | ||
}, | ||
"id": 1782, | ||
"id": 1852, | ||
"nodeType": "ExpressionStatement", | ||
"src": "591:35:8" | ||
"src": "966:35:8" | ||
}, | ||
@@ -1254,8 +1347,8 @@ { | ||
"argumentTypes": null, | ||
"id": 1784, | ||
"id": 1854, | ||
"name": "_newImplementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1774, | ||
"src": "663:18:8", | ||
"referencedDeclaration": 1844, | ||
"src": "1038:18:8", | ||
"typeDescriptions": { | ||
@@ -1274,8 +1367,8 @@ "typeIdentifier": "t_address", | ||
], | ||
"id": 1783, | ||
"id": 1853, | ||
"name": "UpdatedImplementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1748, | ||
"src": "641:21:8", | ||
"referencedDeclaration": 1815, | ||
"src": "1016:21:8", | ||
"typeDescriptions": { | ||
@@ -1286,3 +1379,3 @@ "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", | ||
}, | ||
"id": 1785, | ||
"id": 1855, | ||
"isConstant": false, | ||
@@ -1295,3 +1388,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "641:41:8", | ||
"src": "1016:41:8", | ||
"tryCall": false, | ||
@@ -1303,11 +1396,16 @@ "typeDescriptions": { | ||
}, | ||
"id": 1786, | ||
"id": 1856, | ||
"nodeType": "EmitStatement", | ||
"src": "636:46:8" | ||
"src": "1011:46:8" | ||
} | ||
] | ||
}, | ||
"documentation": null, | ||
"documentation": { | ||
"id": 1842, | ||
"nodeType": "StructuredDocumentation", | ||
"src": "742:134:8", | ||
"text": " @dev update the address of the implementation contract.\n @param _newImplementation the implementation address" | ||
}, | ||
"functionSelector": "025b22bc", | ||
"id": 1788, | ||
"id": 1858, | ||
"implemented": true, | ||
@@ -1318,11 +1416,11 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 1777, | ||
"id": 1847, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 1776, | ||
"id": 1846, | ||
"name": "onlyOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1994, | ||
"src": "571:9:8", | ||
"referencedDeclaration": 2018, | ||
"src": "946:9:8", | ||
"typeDescriptions": { | ||
@@ -1334,3 +1432,3 @@ "typeIdentifier": "t_modifier$__$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "571:9:8" | ||
"src": "946:9:8" | ||
} | ||
@@ -1342,3 +1440,3 @@ ], | ||
"parameters": { | ||
"id": 1775, | ||
"id": 1845, | ||
"nodeType": "ParameterList", | ||
@@ -1348,3 +1446,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1774, | ||
"id": 1844, | ||
"mutability": "mutable", | ||
@@ -1354,4 +1452,4 @@ "name": "_newImplementation", | ||
"overrides": null, | ||
"scope": 1788, | ||
"src": "536:26:8", | ||
"scope": 1858, | ||
"src": "911:26:8", | ||
"stateVariable": false, | ||
@@ -1364,6 +1462,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1773, | ||
"id": 1843, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "536:7:8", | ||
"src": "911:7:8", | ||
"stateMutability": "nonpayable", | ||
@@ -1379,12 +1477,12 @@ "typeDescriptions": { | ||
], | ||
"src": "535:28:8" | ||
"src": "910:28:8" | ||
}, | ||
"returnParameters": { | ||
"id": 1778, | ||
"id": 1848, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "581:0:8" | ||
"src": "956:0:8" | ||
}, | ||
"scope": 1789, | ||
"src": "506:183:8", | ||
"scope": 1859, | ||
"src": "881:183:8", | ||
"stateMutability": "nonpayable", | ||
@@ -1395,7 +1493,7 @@ "virtual": false, | ||
], | ||
"scope": 1790, | ||
"src": "116:575:8" | ||
"scope": 1860, | ||
"src": "168:898:8" | ||
} | ||
], | ||
"src": "37:657:8" | ||
"src": "37:1032:8" | ||
}, | ||
@@ -1408,5 +1506,11 @@ "compiler": { | ||
"schemaVersion": "3.2.4", | ||
"updatedAt": "2020-11-24T15:47:35.265Z", | ||
"updatedAt": "2020-11-27T16:20:41.765Z", | ||
"devdoc": { | ||
"methods": { | ||
"getImplementation()": { | ||
"details": "get the address of the implementation contract.", | ||
"returns": { | ||
"_0": "implementation the address of the implementation contract" | ||
} | ||
}, | ||
"owner()": { | ||
@@ -1420,2 +1524,8 @@ "details": "Returns the address of the current owner." | ||
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." | ||
}, | ||
"updateImplementation(address)": { | ||
"details": "update the address of the implementation contract.", | ||
"params": { | ||
"_newImplementation": "the implementation address" | ||
} | ||
} | ||
@@ -1422,0 +1532,0 @@ } |
{ | ||
"contractName": "Storage", | ||
"abi": [], | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Storage.sol\":\"Storage\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Storage.sol\":{\"keccak256\":\"0x2c3a403ba6cfea5da765f3526461af682b88f2f5a57c9f59f521d6de8edc3658\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://91fc48ab290d53190dbc35d58abe6bd8319ba42588f642fbf59bdfdd99389901\",\"dweb:/ipfs/QmQLQaZYE5k4z3zah75vtzFDZ7vqNxPxBZ1TFcmwc8nZZ6\"]},\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Structs.sol\":{\"keccak256\":\"0xed51ca289567e02329937443bcf1bdf64802c1e28545fa11d31f1cf78755e80c\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://13070ceb34e6ad0dcc292c7b0d173f542266b865b1fe919ee2a9508c1e4abe8d\",\"dweb:/ipfs/QmVChVm3JJpgf7sZsb17n7vPuJ7x6fNKoT8dqejjWMABaH\"]}},\"version\":1}", | ||
"bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220e5c54569100cfd3e1042b2fb2fe2899e094eb9b83ca8f20d2503967bec9f024c64736f6c63430006090033", | ||
"deployedBytecode": "0x6080604052600080fdfea2646970667358221220e5c54569100cfd3e1042b2fb2fe2899e094eb9b83ca8f20d2503967bec9f024c64736f6c63430006090033", | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/solidity/solidity/contracts/storage/Storage.sol\":\"Storage\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/solidity/solidity/contracts/storage/Storage.sol\":{\"keccak256\":\"0x2c3a403ba6cfea5da765f3526461af682b88f2f5a57c9f59f521d6de8edc3658\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://91fc48ab290d53190dbc35d58abe6bd8319ba42588f642fbf59bdfdd99389901\",\"dweb:/ipfs/QmQLQaZYE5k4z3zah75vtzFDZ7vqNxPxBZ1TFcmwc8nZZ6\"]},\"/home/runner/work/solidity/solidity/contracts/storage/Structs.sol\":{\"keccak256\":\"0xed51ca289567e02329937443bcf1bdf64802c1e28545fa11d31f1cf78755e80c\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://13070ceb34e6ad0dcc292c7b0d173f542266b865b1fe919ee2a9508c1e4abe8d\",\"dweb:/ipfs/QmVChVm3JJpgf7sZsb17n7vPuJ7x6fNKoT8dqejjWMABaH\"]}},\"version\":1}", | ||
"bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220ec56339734ad18af84308bf5ecb3a40c7a137fd9f3aead0b90488a4deb8479a264736f6c63430006090033", | ||
"deployedBytecode": "0x6080604052600080fdfea2646970667358221220ec56339734ad18af84308bf5ecb3a40c7a137fd9f3aead0b90488a4deb8479a264736f6c63430006090033", | ||
"immutableReferences": {}, | ||
"sourceMap": "85:329:8:-:0;;;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "85:329:8:-:0;;;;;", | ||
"sourceMap": "85:329:9:-:0;;;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "85:329:9:-:0;;;;;", | ||
"source": "// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.6.9;\nimport \"./Structs.sol\";\n\ncontract Storage is Structs {\n uint256 internal executionNonce;\n mapping(bytes32 => Key) internal keys;\n mapping(uint256 => bytes32[]) internal keysByPurpose;\n mapping(uint256 => Execution) internal executions;\n mapping(bytes32 => Claim) internal claims;\n mapping(uint256 => bytes32[]) internal claimsByTopic;\n}\n", | ||
"sourcePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Storage.sol", | ||
"sourcePath": "/home/runner/work/solidity/solidity/contracts/storage/Storage.sol", | ||
"ast": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Storage.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/storage/Storage.sol", | ||
"exportedSymbols": { | ||
"Storage": [ | ||
1880 | ||
1889 | ||
] | ||
}, | ||
"id": 1881, | ||
"id": 1890, | ||
"license": "GPL-3.0", | ||
@@ -24,3 +24,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1852, | ||
"id": 1861, | ||
"literals": [ | ||
@@ -33,12 +33,12 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "36:23:8" | ||
"src": "36:23:9" | ||
}, | ||
{ | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Structs.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/storage/Structs.sol", | ||
"file": "./Structs.sol", | ||
"id": 1853, | ||
"id": 1862, | ||
"nodeType": "ImportDirective", | ||
"scope": 1881, | ||
"sourceUnit": 1916, | ||
"src": "60:23:8", | ||
"scope": 1890, | ||
"sourceUnit": 1925, | ||
"src": "60:23:9", | ||
"symbolAliases": [], | ||
@@ -54,19 +54,19 @@ "unitAlias": "" | ||
"contractScope": null, | ||
"id": 1854, | ||
"id": 1863, | ||
"name": "Structs", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1915, | ||
"src": "105:7:8", | ||
"referencedDeclaration": 1924, | ||
"src": "105:7:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Structs_$1915", | ||
"typeIdentifier": "t_contract$_Structs_$1924", | ||
"typeString": "contract Structs" | ||
} | ||
}, | ||
"id": 1855, | ||
"id": 1864, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "105:7:8" | ||
"src": "105:7:9" | ||
} | ||
], | ||
"contractDependencies": [ | ||
1915 | ||
1924 | ||
], | ||
@@ -76,6 +76,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 1880, | ||
"id": 1889, | ||
"linearizedBaseContracts": [ | ||
1880, | ||
1915 | ||
1889, | ||
1924 | ||
], | ||
@@ -87,3 +87,3 @@ "name": "Storage", | ||
"constant": false, | ||
"id": 1857, | ||
"id": 1866, | ||
"mutability": "mutable", | ||
@@ -93,4 +93,4 @@ "name": "executionNonce", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "119:31:8", | ||
"scope": 1889, | ||
"src": "119:31:9", | ||
"stateVariable": true, | ||
@@ -103,6 +103,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1856, | ||
"id": 1865, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "119:7:8", | ||
"src": "119:7:9", | ||
"typeDescriptions": { | ||
@@ -118,3 +118,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1861, | ||
"id": 1870, | ||
"mutability": "mutable", | ||
@@ -124,17 +124,17 @@ "name": "keys", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "156:37:8", | ||
"scope": 1889, | ||
"src": "156:37:9", | ||
"stateVariable": true, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Key_$1890_storage_$", | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Key_$1899_storage_$", | ||
"typeString": "mapping(bytes32 => struct Structs.Key)" | ||
}, | ||
"typeName": { | ||
"id": 1860, | ||
"id": 1869, | ||
"keyType": { | ||
"id": 1858, | ||
"id": 1867, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "164:7:8", | ||
"src": "164:7:9", | ||
"typeDescriptions": { | ||
@@ -146,5 +146,5 @@ "typeIdentifier": "t_bytes32", | ||
"nodeType": "Mapping", | ||
"src": "156:23:8", | ||
"src": "156:23:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Key_$1890_storage_$", | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Key_$1899_storage_$", | ||
"typeString": "mapping(bytes32 => struct Structs.Key)" | ||
@@ -154,9 +154,9 @@ }, | ||
"contractScope": null, | ||
"id": 1859, | ||
"id": 1868, | ||
"name": "Key", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1890, | ||
"src": "175:3:8", | ||
"referencedDeclaration": 1899, | ||
"src": "175:3:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_Key_$1890_storage_ptr", | ||
"typeIdentifier": "t_struct$_Key_$1899_storage_ptr", | ||
"typeString": "struct Structs.Key" | ||
@@ -171,3 +171,3 @@ } | ||
"constant": false, | ||
"id": 1866, | ||
"id": 1875, | ||
"mutability": "mutable", | ||
@@ -177,4 +177,4 @@ "name": "keysByPurpose", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "199:52:8", | ||
"scope": 1889, | ||
"src": "199:52:9", | ||
"stateVariable": true, | ||
@@ -187,8 +187,8 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1865, | ||
"id": 1874, | ||
"keyType": { | ||
"id": 1862, | ||
"id": 1871, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "207:7:8", | ||
"src": "207:7:9", | ||
"typeDescriptions": { | ||
@@ -200,3 +200,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "199:29:8", | ||
"src": "199:29:9", | ||
"typeDescriptions": { | ||
@@ -208,6 +208,6 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_bytes32_$dyn_storage_$", | ||
"baseType": { | ||
"id": 1863, | ||
"id": 1872, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "218:7:8", | ||
"src": "218:7:9", | ||
"typeDescriptions": { | ||
@@ -218,6 +218,6 @@ "typeIdentifier": "t_bytes32", | ||
}, | ||
"id": 1864, | ||
"id": 1873, | ||
"length": null, | ||
"nodeType": "ArrayTypeName", | ||
"src": "218:9:8", | ||
"src": "218:9:9", | ||
"typeDescriptions": { | ||
@@ -234,3 +234,3 @@ "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", | ||
"constant": false, | ||
"id": 1870, | ||
"id": 1879, | ||
"mutability": "mutable", | ||
@@ -240,17 +240,17 @@ "name": "executions", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "257:49:8", | ||
"scope": 1889, | ||
"src": "257:49:9", | ||
"stateVariable": true, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Execution_$1901_storage_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Execution_$1910_storage_$", | ||
"typeString": "mapping(uint256 => struct Structs.Execution)" | ||
}, | ||
"typeName": { | ||
"id": 1869, | ||
"id": 1878, | ||
"keyType": { | ||
"id": 1867, | ||
"id": 1876, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "265:7:8", | ||
"src": "265:7:9", | ||
"typeDescriptions": { | ||
@@ -262,5 +262,5 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "257:29:8", | ||
"src": "257:29:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Execution_$1901_storage_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Execution_$1910_storage_$", | ||
"typeString": "mapping(uint256 => struct Structs.Execution)" | ||
@@ -270,9 +270,9 @@ }, | ||
"contractScope": null, | ||
"id": 1868, | ||
"id": 1877, | ||
"name": "Execution", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1901, | ||
"src": "276:9:8", | ||
"referencedDeclaration": 1910, | ||
"src": "276:9:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_Execution_$1901_storage_ptr", | ||
"typeIdentifier": "t_struct$_Execution_$1910_storage_ptr", | ||
"typeString": "struct Structs.Execution" | ||
@@ -287,3 +287,3 @@ } | ||
"constant": false, | ||
"id": 1874, | ||
"id": 1883, | ||
"mutability": "mutable", | ||
@@ -293,17 +293,17 @@ "name": "claims", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "312:41:8", | ||
"scope": 1889, | ||
"src": "312:41:9", | ||
"stateVariable": true, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Claim_$1914_storage_$", | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Claim_$1923_storage_$", | ||
"typeString": "mapping(bytes32 => struct Structs.Claim)" | ||
}, | ||
"typeName": { | ||
"id": 1873, | ||
"id": 1882, | ||
"keyType": { | ||
"id": 1871, | ||
"id": 1880, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "320:7:8", | ||
"src": "320:7:9", | ||
"typeDescriptions": { | ||
@@ -315,5 +315,5 @@ "typeIdentifier": "t_bytes32", | ||
"nodeType": "Mapping", | ||
"src": "312:25:8", | ||
"src": "312:25:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Claim_$1914_storage_$", | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Claim_$1923_storage_$", | ||
"typeString": "mapping(bytes32 => struct Structs.Claim)" | ||
@@ -323,9 +323,9 @@ }, | ||
"contractScope": null, | ||
"id": 1872, | ||
"id": 1881, | ||
"name": "Claim", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1914, | ||
"src": "331:5:8", | ||
"referencedDeclaration": 1923, | ||
"src": "331:5:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_Claim_$1914_storage_ptr", | ||
"typeIdentifier": "t_struct$_Claim_$1923_storage_ptr", | ||
"typeString": "struct Structs.Claim" | ||
@@ -340,3 +340,3 @@ } | ||
"constant": false, | ||
"id": 1879, | ||
"id": 1888, | ||
"mutability": "mutable", | ||
@@ -346,4 +346,4 @@ "name": "claimsByTopic", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "359:52:8", | ||
"scope": 1889, | ||
"src": "359:52:9", | ||
"stateVariable": true, | ||
@@ -356,8 +356,8 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1878, | ||
"id": 1887, | ||
"keyType": { | ||
"id": 1875, | ||
"id": 1884, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "367:7:8", | ||
"src": "367:7:9", | ||
"typeDescriptions": { | ||
@@ -369,3 +369,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "359:29:8", | ||
"src": "359:29:9", | ||
"typeDescriptions": { | ||
@@ -377,6 +377,6 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_bytes32_$dyn_storage_$", | ||
"baseType": { | ||
"id": 1876, | ||
"id": 1885, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "378:7:8", | ||
"src": "378:7:9", | ||
"typeDescriptions": { | ||
@@ -387,6 +387,6 @@ "typeIdentifier": "t_bytes32", | ||
}, | ||
"id": 1877, | ||
"id": 1886, | ||
"length": null, | ||
"nodeType": "ArrayTypeName", | ||
"src": "378:9:8", | ||
"src": "378:9:9", | ||
"typeDescriptions": { | ||
@@ -402,16 +402,16 @@ "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", | ||
], | ||
"scope": 1881, | ||
"src": "85:329:8" | ||
"scope": 1890, | ||
"src": "85:329:9" | ||
} | ||
], | ||
"src": "36:379:8" | ||
"src": "36:379:9" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Storage.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/storage/Storage.sol", | ||
"exportedSymbols": { | ||
"Storage": [ | ||
1880 | ||
1889 | ||
] | ||
}, | ||
"id": 1881, | ||
"id": 1890, | ||
"license": "GPL-3.0", | ||
@@ -421,3 +421,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1852, | ||
"id": 1861, | ||
"literals": [ | ||
@@ -430,12 +430,12 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "36:23:8" | ||
"src": "36:23:9" | ||
}, | ||
{ | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Structs.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/storage/Structs.sol", | ||
"file": "./Structs.sol", | ||
"id": 1853, | ||
"id": 1862, | ||
"nodeType": "ImportDirective", | ||
"scope": 1881, | ||
"sourceUnit": 1916, | ||
"src": "60:23:8", | ||
"scope": 1890, | ||
"sourceUnit": 1925, | ||
"src": "60:23:9", | ||
"symbolAliases": [], | ||
@@ -451,19 +451,19 @@ "unitAlias": "" | ||
"contractScope": null, | ||
"id": 1854, | ||
"id": 1863, | ||
"name": "Structs", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1915, | ||
"src": "105:7:8", | ||
"referencedDeclaration": 1924, | ||
"src": "105:7:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Structs_$1915", | ||
"typeIdentifier": "t_contract$_Structs_$1924", | ||
"typeString": "contract Structs" | ||
} | ||
}, | ||
"id": 1855, | ||
"id": 1864, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "105:7:8" | ||
"src": "105:7:9" | ||
} | ||
], | ||
"contractDependencies": [ | ||
1915 | ||
1924 | ||
], | ||
@@ -473,6 +473,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 1880, | ||
"id": 1889, | ||
"linearizedBaseContracts": [ | ||
1880, | ||
1915 | ||
1889, | ||
1924 | ||
], | ||
@@ -484,3 +484,3 @@ "name": "Storage", | ||
"constant": false, | ||
"id": 1857, | ||
"id": 1866, | ||
"mutability": "mutable", | ||
@@ -490,4 +490,4 @@ "name": "executionNonce", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "119:31:8", | ||
"scope": 1889, | ||
"src": "119:31:9", | ||
"stateVariable": true, | ||
@@ -500,6 +500,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1856, | ||
"id": 1865, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "119:7:8", | ||
"src": "119:7:9", | ||
"typeDescriptions": { | ||
@@ -515,3 +515,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1861, | ||
"id": 1870, | ||
"mutability": "mutable", | ||
@@ -521,17 +521,17 @@ "name": "keys", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "156:37:8", | ||
"scope": 1889, | ||
"src": "156:37:9", | ||
"stateVariable": true, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Key_$1890_storage_$", | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Key_$1899_storage_$", | ||
"typeString": "mapping(bytes32 => struct Structs.Key)" | ||
}, | ||
"typeName": { | ||
"id": 1860, | ||
"id": 1869, | ||
"keyType": { | ||
"id": 1858, | ||
"id": 1867, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "164:7:8", | ||
"src": "164:7:9", | ||
"typeDescriptions": { | ||
@@ -543,5 +543,5 @@ "typeIdentifier": "t_bytes32", | ||
"nodeType": "Mapping", | ||
"src": "156:23:8", | ||
"src": "156:23:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Key_$1890_storage_$", | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Key_$1899_storage_$", | ||
"typeString": "mapping(bytes32 => struct Structs.Key)" | ||
@@ -551,9 +551,9 @@ }, | ||
"contractScope": null, | ||
"id": 1859, | ||
"id": 1868, | ||
"name": "Key", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1890, | ||
"src": "175:3:8", | ||
"referencedDeclaration": 1899, | ||
"src": "175:3:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_Key_$1890_storage_ptr", | ||
"typeIdentifier": "t_struct$_Key_$1899_storage_ptr", | ||
"typeString": "struct Structs.Key" | ||
@@ -568,3 +568,3 @@ } | ||
"constant": false, | ||
"id": 1866, | ||
"id": 1875, | ||
"mutability": "mutable", | ||
@@ -574,4 +574,4 @@ "name": "keysByPurpose", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "199:52:8", | ||
"scope": 1889, | ||
"src": "199:52:9", | ||
"stateVariable": true, | ||
@@ -584,8 +584,8 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1865, | ||
"id": 1874, | ||
"keyType": { | ||
"id": 1862, | ||
"id": 1871, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "207:7:8", | ||
"src": "207:7:9", | ||
"typeDescriptions": { | ||
@@ -597,3 +597,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "199:29:8", | ||
"src": "199:29:9", | ||
"typeDescriptions": { | ||
@@ -605,6 +605,6 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_bytes32_$dyn_storage_$", | ||
"baseType": { | ||
"id": 1863, | ||
"id": 1872, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "218:7:8", | ||
"src": "218:7:9", | ||
"typeDescriptions": { | ||
@@ -615,6 +615,6 @@ "typeIdentifier": "t_bytes32", | ||
}, | ||
"id": 1864, | ||
"id": 1873, | ||
"length": null, | ||
"nodeType": "ArrayTypeName", | ||
"src": "218:9:8", | ||
"src": "218:9:9", | ||
"typeDescriptions": { | ||
@@ -631,3 +631,3 @@ "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", | ||
"constant": false, | ||
"id": 1870, | ||
"id": 1879, | ||
"mutability": "mutable", | ||
@@ -637,17 +637,17 @@ "name": "executions", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "257:49:8", | ||
"scope": 1889, | ||
"src": "257:49:9", | ||
"stateVariable": true, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Execution_$1901_storage_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Execution_$1910_storage_$", | ||
"typeString": "mapping(uint256 => struct Structs.Execution)" | ||
}, | ||
"typeName": { | ||
"id": 1869, | ||
"id": 1878, | ||
"keyType": { | ||
"id": 1867, | ||
"id": 1876, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "265:7:8", | ||
"src": "265:7:9", | ||
"typeDescriptions": { | ||
@@ -659,5 +659,5 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "257:29:8", | ||
"src": "257:29:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Execution_$1901_storage_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Execution_$1910_storage_$", | ||
"typeString": "mapping(uint256 => struct Structs.Execution)" | ||
@@ -667,9 +667,9 @@ }, | ||
"contractScope": null, | ||
"id": 1868, | ||
"id": 1877, | ||
"name": "Execution", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1901, | ||
"src": "276:9:8", | ||
"referencedDeclaration": 1910, | ||
"src": "276:9:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_Execution_$1901_storage_ptr", | ||
"typeIdentifier": "t_struct$_Execution_$1910_storage_ptr", | ||
"typeString": "struct Structs.Execution" | ||
@@ -684,3 +684,3 @@ } | ||
"constant": false, | ||
"id": 1874, | ||
"id": 1883, | ||
"mutability": "mutable", | ||
@@ -690,17 +690,17 @@ "name": "claims", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "312:41:8", | ||
"scope": 1889, | ||
"src": "312:41:9", | ||
"stateVariable": true, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Claim_$1914_storage_$", | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Claim_$1923_storage_$", | ||
"typeString": "mapping(bytes32 => struct Structs.Claim)" | ||
}, | ||
"typeName": { | ||
"id": 1873, | ||
"id": 1882, | ||
"keyType": { | ||
"id": 1871, | ||
"id": 1880, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "320:7:8", | ||
"src": "320:7:9", | ||
"typeDescriptions": { | ||
@@ -712,5 +712,5 @@ "typeIdentifier": "t_bytes32", | ||
"nodeType": "Mapping", | ||
"src": "312:25:8", | ||
"src": "312:25:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Claim_$1914_storage_$", | ||
"typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Claim_$1923_storage_$", | ||
"typeString": "mapping(bytes32 => struct Structs.Claim)" | ||
@@ -720,9 +720,9 @@ }, | ||
"contractScope": null, | ||
"id": 1872, | ||
"id": 1881, | ||
"name": "Claim", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 1914, | ||
"src": "331:5:8", | ||
"referencedDeclaration": 1923, | ||
"src": "331:5:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_Claim_$1914_storage_ptr", | ||
"typeIdentifier": "t_struct$_Claim_$1923_storage_ptr", | ||
"typeString": "struct Structs.Claim" | ||
@@ -737,3 +737,3 @@ } | ||
"constant": false, | ||
"id": 1879, | ||
"id": 1888, | ||
"mutability": "mutable", | ||
@@ -743,4 +743,4 @@ "name": "claimsByTopic", | ||
"overrides": null, | ||
"scope": 1880, | ||
"src": "359:52:8", | ||
"scope": 1889, | ||
"src": "359:52:9", | ||
"stateVariable": true, | ||
@@ -753,8 +753,8 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1878, | ||
"id": 1887, | ||
"keyType": { | ||
"id": 1875, | ||
"id": 1884, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "367:7:8", | ||
"src": "367:7:9", | ||
"typeDescriptions": { | ||
@@ -766,3 +766,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "359:29:8", | ||
"src": "359:29:9", | ||
"typeDescriptions": { | ||
@@ -774,6 +774,6 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_bytes32_$dyn_storage_$", | ||
"baseType": { | ||
"id": 1876, | ||
"id": 1885, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "378:7:8", | ||
"src": "378:7:9", | ||
"typeDescriptions": { | ||
@@ -784,6 +784,6 @@ "typeIdentifier": "t_bytes32", | ||
}, | ||
"id": 1877, | ||
"id": 1886, | ||
"length": null, | ||
"nodeType": "ArrayTypeName", | ||
"src": "378:9:8", | ||
"src": "378:9:9", | ||
"typeDescriptions": { | ||
@@ -799,7 +799,7 @@ "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", | ||
], | ||
"scope": 1881, | ||
"src": "85:329:8" | ||
"scope": 1890, | ||
"src": "85:329:9" | ||
} | ||
], | ||
"src": "36:379:8" | ||
"src": "36:379:9" | ||
}, | ||
@@ -812,3 +812,3 @@ "compiler": { | ||
"schemaVersion": "3.2.4", | ||
"updatedAt": "2020-11-27T11:40:54.591Z", | ||
"updatedAt": "2020-11-27T16:20:41.766Z", | ||
"devdoc": { | ||
@@ -815,0 +815,0 @@ "methods": {} |
{ | ||
"contractName": "Structs", | ||
"abi": [], | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Structs.sol\":\"Structs\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Structs.sol\":{\"keccak256\":\"0xed51ca289567e02329937443bcf1bdf64802c1e28545fa11d31f1cf78755e80c\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://13070ceb34e6ad0dcc292c7b0d173f542266b865b1fe919ee2a9508c1e4abe8d\",\"dweb:/ipfs/QmVChVm3JJpgf7sZsb17n7vPuJ7x6fNKoT8dqejjWMABaH\"]}},\"version\":1}", | ||
"bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220ed0c97a0eb181be22986a18f90f404262bb8f477205fd41c50309fc857207d9264736f6c63430006090033", | ||
"deployedBytecode": "0x6080604052600080fdfea2646970667358221220ed0c97a0eb181be22986a18f90f404262bb8f477205fd41c50309fc857207d9264736f6c63430006090033", | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/solidity/solidity/contracts/storage/Structs.sol\":\"Structs\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/solidity/solidity/contracts/storage/Structs.sol\":{\"keccak256\":\"0xed51ca289567e02329937443bcf1bdf64802c1e28545fa11d31f1cf78755e80c\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://13070ceb34e6ad0dcc292c7b0d173f542266b865b1fe919ee2a9508c1e4abe8d\",\"dweb:/ipfs/QmVChVm3JJpgf7sZsb17n7vPuJ7x6fNKoT8dqejjWMABaH\"]}},\"version\":1}", | ||
"bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220caa409415ce4dc32a678373f3fcd4956e34b588fffa7be82944e944a5e6c9a6864736f6c63430006090033", | ||
"deployedBytecode": "0x6080604052600080fdfea2646970667358221220caa409415ce4dc32a678373f3fcd4956e34b588fffa7be82944e944a5e6c9a6864736f6c63430006090033", | ||
"immutableReferences": {}, | ||
"sourceMap": "61:2636:11:-:0;;;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "61:2636:11:-:0;;;;;", | ||
"sourceMap": "61:2636:10:-:0;;;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "61:2636:10:-:0;;;;;", | ||
"source": "// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.6.9;\n\ncontract Structs {\n\n /**\n * @dev Definition of the structure of a Key.\n *\n * Specification: Keys are cryptographic public keys, or contract addresses associated with this identity.\n * The structure should be as follows:\n * - key: A public key owned by this identity\n * - purposes: uint256[] Array of the key purposes, like 1 = MANAGEMENT, 2 = EXECUTION\n * - keyType: The type of key used, which would be a uint256 for different key types. e.g. 1 = ECDSA, 2 = RSA, etc.\n * - key: bytes32 The public key. // Its the Keccak256 hash of the key\n */\n struct Key {\n uint256[] purposes;\n uint256 keyType;\n bytes32 key;\n }\n\n struct Execution {\n address to;\n uint256 value;\n bytes data;\n bool approved;\n bool executed;\n }\n\n /**\n * @dev Definition of the structure of a Claim.\n *\n * Specification: Claims are information an issuer has about the identity holder.\n * The structure should be as follows:\n * - claim: A claim published for the Identity.\n * - topic: A uint256 number which represents the topic of the claim. (e.g. 1 biometric, 2 residence (ToBeDefined: number schemes, sub topics based on number ranges??))\n * - scheme : The scheme with which this claim SHOULD be verified or how it should be processed. Its a uint256 for different schemes. E.g. could 3 mean contract verification, where the data will be call data, and the issuer a contract address to call (ToBeDefined). Those can also mean different key types e.g. 1 = ECDSA, 2 = RSA, etc. (ToBeDefined)\n * - issuer: The issuers identity contract address, or the address used to sign the above signature. If an identity contract, it should hold the key with which the above message was signed, if the key is not present anymore, the claim SHOULD be treated as invalid. The issuer can also be a contract address itself, at which the claim can be verified using the call data.\n * - signature: Signature which is the proof that the claim issuer issued a claim of topic for this identity. it MUST be a signed message of the following structure: `keccak256(abi.encode(identityHolder_address, topic, data))`\n * - data: The hash of the claim data, sitting in another location, a bit-mask, call data, or actual data based on the claim scheme.\n * - uri: The location of the claim, this can be HTTP links, swarm hashes, IPFS hashes, and such.\n */\n struct Claim {\n uint256 topic;\n uint256 scheme;\n address issuer;\n bytes signature;\n bytes data;\n string uri;\n }\n}\n", | ||
"sourcePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Structs.sol", | ||
"sourcePath": "/home/runner/work/solidity/solidity/contracts/storage/Structs.sol", | ||
"ast": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Structs.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/storage/Structs.sol", | ||
"exportedSymbols": { | ||
"Structs": [ | ||
1900 | ||
1924 | ||
] | ||
}, | ||
"id": 1901, | ||
"id": 1925, | ||
"license": "GPL-3.0", | ||
@@ -24,3 +24,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1867, | ||
"id": 1891, | ||
"literals": [ | ||
@@ -33,3 +33,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "36:23:11" | ||
"src": "36:23:10" | ||
}, | ||
@@ -43,5 +43,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 1900, | ||
"id": 1924, | ||
"linearizedBaseContracts": [ | ||
1900 | ||
1924 | ||
], | ||
@@ -53,7 +53,7 @@ "name": "Structs", | ||
"canonicalName": "Structs.Key", | ||
"id": 1875, | ||
"id": 1899, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 1870, | ||
"id": 1894, | ||
"mutability": "mutable", | ||
@@ -63,4 +63,4 @@ "name": "purposes", | ||
"overrides": null, | ||
"scope": 1875, | ||
"src": "676:18:11", | ||
"scope": 1899, | ||
"src": "676:18:10", | ||
"stateVariable": false, | ||
@@ -74,6 +74,6 @@ "storageLocation": "default", | ||
"baseType": { | ||
"id": 1868, | ||
"id": 1892, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "676:7:11", | ||
"src": "676:7:10", | ||
"typeDescriptions": { | ||
@@ -84,6 +84,6 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"id": 1869, | ||
"id": 1893, | ||
"length": null, | ||
"nodeType": "ArrayTypeName", | ||
"src": "676:9:11", | ||
"src": "676:9:10", | ||
"typeDescriptions": { | ||
@@ -99,3 +99,3 @@ "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", | ||
"constant": false, | ||
"id": 1872, | ||
"id": 1896, | ||
"mutability": "mutable", | ||
@@ -105,4 +105,4 @@ "name": "keyType", | ||
"overrides": null, | ||
"scope": 1875, | ||
"src": "704:15:11", | ||
"scope": 1899, | ||
"src": "704:15:10", | ||
"stateVariable": false, | ||
@@ -115,6 +115,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1871, | ||
"id": 1895, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "704:7:11", | ||
"src": "704:7:10", | ||
"typeDescriptions": { | ||
@@ -130,3 +130,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1874, | ||
"id": 1898, | ||
"mutability": "mutable", | ||
@@ -136,4 +136,4 @@ "name": "key", | ||
"overrides": null, | ||
"scope": 1875, | ||
"src": "729:11:11", | ||
"scope": 1899, | ||
"src": "729:11:10", | ||
"stateVariable": false, | ||
@@ -146,6 +146,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1873, | ||
"id": 1897, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "729:7:11", | ||
"src": "729:7:10", | ||
"typeDescriptions": { | ||
@@ -162,4 +162,4 @@ "typeIdentifier": "t_bytes32", | ||
"nodeType": "StructDefinition", | ||
"scope": 1900, | ||
"src": "655:92:11", | ||
"scope": 1924, | ||
"src": "655:92:10", | ||
"visibility": "public" | ||
@@ -169,7 +169,7 @@ }, | ||
"canonicalName": "Structs.Execution", | ||
"id": 1886, | ||
"id": 1910, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 1877, | ||
"id": 1901, | ||
"mutability": "mutable", | ||
@@ -179,4 +179,4 @@ "name": "to", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "780:10:11", | ||
"scope": 1910, | ||
"src": "780:10:10", | ||
"stateVariable": false, | ||
@@ -189,6 +189,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1876, | ||
"id": 1900, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "780:7:11", | ||
"src": "780:7:10", | ||
"stateMutability": "nonpayable", | ||
@@ -205,3 +205,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 1879, | ||
"id": 1903, | ||
"mutability": "mutable", | ||
@@ -211,4 +211,4 @@ "name": "value", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "800:13:11", | ||
"scope": 1910, | ||
"src": "800:13:10", | ||
"stateVariable": false, | ||
@@ -221,6 +221,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1878, | ||
"id": 1902, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "800:7:11", | ||
"src": "800:7:10", | ||
"typeDescriptions": { | ||
@@ -236,3 +236,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1881, | ||
"id": 1905, | ||
"mutability": "mutable", | ||
@@ -242,4 +242,4 @@ "name": "data", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "823:10:11", | ||
"scope": 1910, | ||
"src": "823:10:10", | ||
"stateVariable": false, | ||
@@ -252,6 +252,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1880, | ||
"id": 1904, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "823:5:11", | ||
"src": "823:5:10", | ||
"typeDescriptions": { | ||
@@ -267,3 +267,3 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
"constant": false, | ||
"id": 1883, | ||
"id": 1907, | ||
"mutability": "mutable", | ||
@@ -273,4 +273,4 @@ "name": "approved", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "843:13:11", | ||
"scope": 1910, | ||
"src": "843:13:10", | ||
"stateVariable": false, | ||
@@ -283,6 +283,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1882, | ||
"id": 1906, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "843:4:11", | ||
"src": "843:4:10", | ||
"typeDescriptions": { | ||
@@ -298,3 +298,3 @@ "typeIdentifier": "t_bool", | ||
"constant": false, | ||
"id": 1885, | ||
"id": 1909, | ||
"mutability": "mutable", | ||
@@ -304,4 +304,4 @@ "name": "executed", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "866:13:11", | ||
"scope": 1910, | ||
"src": "866:13:10", | ||
"stateVariable": false, | ||
@@ -314,6 +314,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1884, | ||
"id": 1908, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "866:4:11", | ||
"src": "866:4:10", | ||
"typeDescriptions": { | ||
@@ -330,4 +330,4 @@ "typeIdentifier": "t_bool", | ||
"nodeType": "StructDefinition", | ||
"scope": 1900, | ||
"src": "753:133:11", | ||
"scope": 1924, | ||
"src": "753:133:10", | ||
"visibility": "public" | ||
@@ -337,7 +337,7 @@ }, | ||
"canonicalName": "Structs.Claim", | ||
"id": 1899, | ||
"id": 1923, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 1888, | ||
"id": 1912, | ||
"mutability": "mutable", | ||
@@ -347,4 +347,4 @@ "name": "topic", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2562:13:11", | ||
"scope": 1923, | ||
"src": "2562:13:10", | ||
"stateVariable": false, | ||
@@ -357,6 +357,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1887, | ||
"id": 1911, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2562:7:11", | ||
"src": "2562:7:10", | ||
"typeDescriptions": { | ||
@@ -372,3 +372,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1890, | ||
"id": 1914, | ||
"mutability": "mutable", | ||
@@ -378,4 +378,4 @@ "name": "scheme", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2585:14:11", | ||
"scope": 1923, | ||
"src": "2585:14:10", | ||
"stateVariable": false, | ||
@@ -388,6 +388,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1889, | ||
"id": 1913, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2585:7:11", | ||
"src": "2585:7:10", | ||
"typeDescriptions": { | ||
@@ -403,3 +403,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1892, | ||
"id": 1916, | ||
"mutability": "mutable", | ||
@@ -409,4 +409,4 @@ "name": "issuer", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2609:14:11", | ||
"scope": 1923, | ||
"src": "2609:14:10", | ||
"stateVariable": false, | ||
@@ -419,6 +419,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1891, | ||
"id": 1915, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2609:7:11", | ||
"src": "2609:7:10", | ||
"stateMutability": "nonpayable", | ||
@@ -435,3 +435,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 1894, | ||
"id": 1918, | ||
"mutability": "mutable", | ||
@@ -441,4 +441,4 @@ "name": "signature", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2633:15:11", | ||
"scope": 1923, | ||
"src": "2633:15:10", | ||
"stateVariable": false, | ||
@@ -451,6 +451,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1893, | ||
"id": 1917, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2633:5:11", | ||
"src": "2633:5:10", | ||
"typeDescriptions": { | ||
@@ -466,3 +466,3 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
"constant": false, | ||
"id": 1896, | ||
"id": 1920, | ||
"mutability": "mutable", | ||
@@ -472,4 +472,4 @@ "name": "data", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2658:10:11", | ||
"scope": 1923, | ||
"src": "2658:10:10", | ||
"stateVariable": false, | ||
@@ -482,6 +482,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1895, | ||
"id": 1919, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2658:5:11", | ||
"src": "2658:5:10", | ||
"typeDescriptions": { | ||
@@ -497,3 +497,3 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
"constant": false, | ||
"id": 1898, | ||
"id": 1922, | ||
"mutability": "mutable", | ||
@@ -503,4 +503,4 @@ "name": "uri", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2678:10:11", | ||
"scope": 1923, | ||
"src": "2678:10:10", | ||
"stateVariable": false, | ||
@@ -513,6 +513,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1897, | ||
"id": 1921, | ||
"name": "string", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2678:6:11", | ||
"src": "2678:6:10", | ||
"typeDescriptions": { | ||
@@ -529,21 +529,21 @@ "typeIdentifier": "t_string_storage_ptr", | ||
"nodeType": "StructDefinition", | ||
"scope": 1900, | ||
"src": "2539:156:11", | ||
"scope": 1924, | ||
"src": "2539:156:10", | ||
"visibility": "public" | ||
} | ||
], | ||
"scope": 1901, | ||
"src": "61:2636:11" | ||
"scope": 1925, | ||
"src": "61:2636:10" | ||
} | ||
], | ||
"src": "36:2662:11" | ||
"src": "36:2662:10" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/storage/Structs.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/storage/Structs.sol", | ||
"exportedSymbols": { | ||
"Structs": [ | ||
1900 | ||
1924 | ||
] | ||
}, | ||
"id": 1901, | ||
"id": 1925, | ||
"license": "GPL-3.0", | ||
@@ -553,3 +553,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1867, | ||
"id": 1891, | ||
"literals": [ | ||
@@ -562,3 +562,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "36:23:11" | ||
"src": "36:23:10" | ||
}, | ||
@@ -572,5 +572,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 1900, | ||
"id": 1924, | ||
"linearizedBaseContracts": [ | ||
1900 | ||
1924 | ||
], | ||
@@ -582,7 +582,7 @@ "name": "Structs", | ||
"canonicalName": "Structs.Key", | ||
"id": 1875, | ||
"id": 1899, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 1870, | ||
"id": 1894, | ||
"mutability": "mutable", | ||
@@ -592,4 +592,4 @@ "name": "purposes", | ||
"overrides": null, | ||
"scope": 1875, | ||
"src": "676:18:11", | ||
"scope": 1899, | ||
"src": "676:18:10", | ||
"stateVariable": false, | ||
@@ -603,6 +603,6 @@ "storageLocation": "default", | ||
"baseType": { | ||
"id": 1868, | ||
"id": 1892, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "676:7:11", | ||
"src": "676:7:10", | ||
"typeDescriptions": { | ||
@@ -613,6 +613,6 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"id": 1869, | ||
"id": 1893, | ||
"length": null, | ||
"nodeType": "ArrayTypeName", | ||
"src": "676:9:11", | ||
"src": "676:9:10", | ||
"typeDescriptions": { | ||
@@ -628,3 +628,3 @@ "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", | ||
"constant": false, | ||
"id": 1872, | ||
"id": 1896, | ||
"mutability": "mutable", | ||
@@ -634,4 +634,4 @@ "name": "keyType", | ||
"overrides": null, | ||
"scope": 1875, | ||
"src": "704:15:11", | ||
"scope": 1899, | ||
"src": "704:15:10", | ||
"stateVariable": false, | ||
@@ -644,6 +644,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1871, | ||
"id": 1895, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "704:7:11", | ||
"src": "704:7:10", | ||
"typeDescriptions": { | ||
@@ -659,3 +659,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1874, | ||
"id": 1898, | ||
"mutability": "mutable", | ||
@@ -665,4 +665,4 @@ "name": "key", | ||
"overrides": null, | ||
"scope": 1875, | ||
"src": "729:11:11", | ||
"scope": 1899, | ||
"src": "729:11:10", | ||
"stateVariable": false, | ||
@@ -675,6 +675,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1873, | ||
"id": 1897, | ||
"name": "bytes32", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "729:7:11", | ||
"src": "729:7:10", | ||
"typeDescriptions": { | ||
@@ -691,4 +691,4 @@ "typeIdentifier": "t_bytes32", | ||
"nodeType": "StructDefinition", | ||
"scope": 1900, | ||
"src": "655:92:11", | ||
"scope": 1924, | ||
"src": "655:92:10", | ||
"visibility": "public" | ||
@@ -698,7 +698,7 @@ }, | ||
"canonicalName": "Structs.Execution", | ||
"id": 1886, | ||
"id": 1910, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 1877, | ||
"id": 1901, | ||
"mutability": "mutable", | ||
@@ -708,4 +708,4 @@ "name": "to", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "780:10:11", | ||
"scope": 1910, | ||
"src": "780:10:10", | ||
"stateVariable": false, | ||
@@ -718,6 +718,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1876, | ||
"id": 1900, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "780:7:11", | ||
"src": "780:7:10", | ||
"stateMutability": "nonpayable", | ||
@@ -734,3 +734,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 1879, | ||
"id": 1903, | ||
"mutability": "mutable", | ||
@@ -740,4 +740,4 @@ "name": "value", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "800:13:11", | ||
"scope": 1910, | ||
"src": "800:13:10", | ||
"stateVariable": false, | ||
@@ -750,6 +750,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1878, | ||
"id": 1902, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "800:7:11", | ||
"src": "800:7:10", | ||
"typeDescriptions": { | ||
@@ -765,3 +765,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1881, | ||
"id": 1905, | ||
"mutability": "mutable", | ||
@@ -771,4 +771,4 @@ "name": "data", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "823:10:11", | ||
"scope": 1910, | ||
"src": "823:10:10", | ||
"stateVariable": false, | ||
@@ -781,6 +781,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1880, | ||
"id": 1904, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "823:5:11", | ||
"src": "823:5:10", | ||
"typeDescriptions": { | ||
@@ -796,3 +796,3 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
"constant": false, | ||
"id": 1883, | ||
"id": 1907, | ||
"mutability": "mutable", | ||
@@ -802,4 +802,4 @@ "name": "approved", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "843:13:11", | ||
"scope": 1910, | ||
"src": "843:13:10", | ||
"stateVariable": false, | ||
@@ -812,6 +812,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1882, | ||
"id": 1906, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "843:4:11", | ||
"src": "843:4:10", | ||
"typeDescriptions": { | ||
@@ -827,3 +827,3 @@ "typeIdentifier": "t_bool", | ||
"constant": false, | ||
"id": 1885, | ||
"id": 1909, | ||
"mutability": "mutable", | ||
@@ -833,4 +833,4 @@ "name": "executed", | ||
"overrides": null, | ||
"scope": 1886, | ||
"src": "866:13:11", | ||
"scope": 1910, | ||
"src": "866:13:10", | ||
"stateVariable": false, | ||
@@ -843,6 +843,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1884, | ||
"id": 1908, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "866:4:11", | ||
"src": "866:4:10", | ||
"typeDescriptions": { | ||
@@ -859,4 +859,4 @@ "typeIdentifier": "t_bool", | ||
"nodeType": "StructDefinition", | ||
"scope": 1900, | ||
"src": "753:133:11", | ||
"scope": 1924, | ||
"src": "753:133:10", | ||
"visibility": "public" | ||
@@ -866,7 +866,7 @@ }, | ||
"canonicalName": "Structs.Claim", | ||
"id": 1899, | ||
"id": 1923, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 1888, | ||
"id": 1912, | ||
"mutability": "mutable", | ||
@@ -876,4 +876,4 @@ "name": "topic", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2562:13:11", | ||
"scope": 1923, | ||
"src": "2562:13:10", | ||
"stateVariable": false, | ||
@@ -886,6 +886,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1887, | ||
"id": 1911, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2562:7:11", | ||
"src": "2562:7:10", | ||
"typeDescriptions": { | ||
@@ -901,3 +901,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1890, | ||
"id": 1914, | ||
"mutability": "mutable", | ||
@@ -907,4 +907,4 @@ "name": "scheme", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2585:14:11", | ||
"scope": 1923, | ||
"src": "2585:14:10", | ||
"stateVariable": false, | ||
@@ -917,6 +917,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1889, | ||
"id": 1913, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2585:7:11", | ||
"src": "2585:7:10", | ||
"typeDescriptions": { | ||
@@ -932,3 +932,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1892, | ||
"id": 1916, | ||
"mutability": "mutable", | ||
@@ -938,4 +938,4 @@ "name": "issuer", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2609:14:11", | ||
"scope": 1923, | ||
"src": "2609:14:10", | ||
"stateVariable": false, | ||
@@ -948,6 +948,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1891, | ||
"id": 1915, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2609:7:11", | ||
"src": "2609:7:10", | ||
"stateMutability": "nonpayable", | ||
@@ -964,3 +964,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 1894, | ||
"id": 1918, | ||
"mutability": "mutable", | ||
@@ -970,4 +970,4 @@ "name": "signature", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2633:15:11", | ||
"scope": 1923, | ||
"src": "2633:15:10", | ||
"stateVariable": false, | ||
@@ -980,6 +980,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1893, | ||
"id": 1917, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2633:5:11", | ||
"src": "2633:5:10", | ||
"typeDescriptions": { | ||
@@ -995,3 +995,3 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
"constant": false, | ||
"id": 1896, | ||
"id": 1920, | ||
"mutability": "mutable", | ||
@@ -1001,4 +1001,4 @@ "name": "data", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2658:10:11", | ||
"scope": 1923, | ||
"src": "2658:10:10", | ||
"stateVariable": false, | ||
@@ -1011,6 +1011,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1895, | ||
"id": 1919, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2658:5:11", | ||
"src": "2658:5:10", | ||
"typeDescriptions": { | ||
@@ -1026,3 +1026,3 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
"constant": false, | ||
"id": 1898, | ||
"id": 1922, | ||
"mutability": "mutable", | ||
@@ -1032,4 +1032,4 @@ "name": "uri", | ||
"overrides": null, | ||
"scope": 1899, | ||
"src": "2678:10:11", | ||
"scope": 1923, | ||
"src": "2678:10:10", | ||
"stateVariable": false, | ||
@@ -1042,6 +1042,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1897, | ||
"id": 1921, | ||
"name": "string", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "2678:6:11", | ||
"src": "2678:6:10", | ||
"typeDescriptions": { | ||
@@ -1058,12 +1058,12 @@ "typeIdentifier": "t_string_storage_ptr", | ||
"nodeType": "StructDefinition", | ||
"scope": 1900, | ||
"src": "2539:156:11", | ||
"scope": 1924, | ||
"src": "2539:156:10", | ||
"visibility": "public" | ||
} | ||
], | ||
"scope": 1901, | ||
"src": "61:2636:11" | ||
"scope": 1925, | ||
"src": "61:2636:10" | ||
} | ||
], | ||
"src": "36:2662:11" | ||
"src": "36:2662:10" | ||
}, | ||
@@ -1076,3 +1076,3 @@ "compiler": { | ||
"schemaVersion": "3.2.4", | ||
"updatedAt": "2020-11-24T15:47:35.271Z", | ||
"updatedAt": "2020-11-27T16:20:41.766Z", | ||
"devdoc": { | ||
@@ -1079,0 +1079,0 @@ "methods": {} |
@@ -18,18 +18,18 @@ { | ||
], | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Version contract gives the versioning information of the implementation contract\",\"methods\":{\"version()\":{\"details\":\"Returns the string of the current version.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/version/Version.sol\":\"Version\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/version/Version.sol\":{\"keccak256\":\"0x083b0fee8bb9fd7d3631862b3806bc58fa50d66bcd3649f0d28b306f40edf169\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ce8939cca78919613cea7892b4057608842cda787d36412705be48a2e25a2f27\",\"dweb:/ipfs/QmWPxrcLFaANEdPv7m5rp5BcJ97iRnBLy2LC4BdA3cuDPv\"]}},\"version\":1}", | ||
"bytecode": "0x608060405234801561001057600080fd5b5061011e806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806354fd4d5014602d575b600080fd5b603360ab565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101560715780820151818401526020810190506058565b50505050905090810190601f168015609d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60606040518060400160405280600581526020017f312e302e3000000000000000000000000000000000000000000000000000000081525090509056fea26469706673582212207d9dec62934afd6a57b288cbca790db2f0ffbc40c9b05862ad63431bb394eb5964736f6c63430006090033", | ||
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c806354fd4d5014602d575b600080fd5b603360ab565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101560715780820151818401526020810190506058565b50505050905090810190601f168015609d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60606040518060400160405280600581526020017f312e302e3000000000000000000000000000000000000000000000000000000081525090509056fea26469706673582212207d9dec62934afd6a57b288cbca790db2f0ffbc40c9b05862ad63431bb394eb5964736f6c63430006090033", | ||
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Version contract gives the versioning information of the implementation contract\",\"methods\":{\"version()\":{\"details\":\"Returns the string of the current version.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/solidity/solidity/contracts/version/Version.sol\":\"Version\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/solidity/solidity/contracts/version/Version.sol\":{\"keccak256\":\"0x083b0fee8bb9fd7d3631862b3806bc58fa50d66bcd3649f0d28b306f40edf169\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://ce8939cca78919613cea7892b4057608842cda787d36412705be48a2e25a2f27\",\"dweb:/ipfs/QmWPxrcLFaANEdPv7m5rp5BcJ97iRnBLy2LC4BdA3cuDPv\"]}},\"version\":1}", | ||
"bytecode": "0x608060405234801561001057600080fd5b5061011e806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806354fd4d5014602d575b600080fd5b603360ab565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101560715780820151818401526020810190506058565b50505050905090810190601f168015609d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60606040518060400160405280600581526020017f312e302e3000000000000000000000000000000000000000000000000000000081525090509056fea26469706673582212205d2f2f9fcc1c684107ff5518ba67322eb25084e35143b8eec8adc06d0cf7f82964736f6c63430006090033", | ||
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c806354fd4d5014602d575b600080fd5b603360ab565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101560715780820151818401526020810190506058565b50505050905090810190601f168015609d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60606040518060400160405280600581526020017f312e302e3000000000000000000000000000000000000000000000000000000081525090509056fea26469706673582212205d2f2f9fcc1c684107ff5518ba67322eb25084e35143b8eec8adc06d0cf7f82964736f6c63430006090033", | ||
"immutableReferences": {}, | ||
"sourceMap": "159:207:12:-:0;;;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "159:207:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;253:111;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;293:13;343:14;;;;;;;;;;;;;;;;;;;253:111;:::o", | ||
"sourceMap": "159:207:11:-:0;;;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "159:207:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;253:111;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;293:13;343:14;;;;;;;;;;;;;;;;;;;253:111;:::o", | ||
"source": "// SPDX-License-Identifier: GPL-3.0\n\npragma solidity ^0.6.9;\n\n/**\n * @dev Version contract gives the versioning information of the implementation contract\n */\ncontract Version {\n /**\n * @dev Returns the string of the current version.\n */\n function version() public pure returns (string memory) {\n // version 1.0.0\n return \"1.0.0\";\n }\n}\n", | ||
"sourcePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/version/Version.sol", | ||
"sourcePath": "/home/runner/work/solidity/solidity/contracts/version/Version.sol", | ||
"ast": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/version/Version.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/version/Version.sol", | ||
"exportedSymbols": { | ||
"Version": [ | ||
1913 | ||
1937 | ||
] | ||
}, | ||
"id": 1914, | ||
"id": 1938, | ||
"license": "GPL-3.0", | ||
@@ -39,3 +39,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1902, | ||
"id": 1926, | ||
"literals": [ | ||
@@ -48,3 +48,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "37:23:12" | ||
"src": "37:23:11" | ||
}, | ||
@@ -57,11 +57,11 @@ { | ||
"documentation": { | ||
"id": 1903, | ||
"id": 1927, | ||
"nodeType": "StructuredDocumentation", | ||
"src": "62:96:12", | ||
"src": "62:96:11", | ||
"text": " @dev Version contract gives the versioning information of the implementation contract" | ||
}, | ||
"fullyImplemented": true, | ||
"id": 1913, | ||
"id": 1937, | ||
"linearizedBaseContracts": [ | ||
1913 | ||
1937 | ||
], | ||
@@ -73,5 +73,5 @@ "name": "Version", | ||
"body": { | ||
"id": 1911, | ||
"id": 1935, | ||
"nodeType": "Block", | ||
"src": "308:56:12", | ||
"src": "308:56:11", | ||
"statements": [ | ||
@@ -82,3 +82,3 @@ { | ||
"hexValue": "312e302e30", | ||
"id": 1909, | ||
"id": 1933, | ||
"isConstant": false, | ||
@@ -90,3 +90,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "350:7:12", | ||
"src": "350:7:11", | ||
"subdenomination": null, | ||
@@ -99,6 +99,6 @@ "typeDescriptions": { | ||
}, | ||
"functionReturnParameters": 1908, | ||
"id": 1910, | ||
"functionReturnParameters": 1932, | ||
"id": 1934, | ||
"nodeType": "Return", | ||
"src": "343:14:12" | ||
"src": "343:14:11" | ||
} | ||
@@ -108,9 +108,9 @@ ] | ||
"documentation": { | ||
"id": 1904, | ||
"id": 1928, | ||
"nodeType": "StructuredDocumentation", | ||
"src": "182:66:12", | ||
"src": "182:66:11", | ||
"text": " @dev Returns the string of the current version." | ||
}, | ||
"functionSelector": "54fd4d50", | ||
"id": 1912, | ||
"id": 1936, | ||
"implemented": true, | ||
@@ -123,9 +123,9 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1905, | ||
"id": 1929, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "269:2:12" | ||
"src": "269:2:11" | ||
}, | ||
"returnParameters": { | ||
"id": 1908, | ||
"id": 1932, | ||
"nodeType": "ParameterList", | ||
@@ -135,3 +135,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1907, | ||
"id": 1931, | ||
"mutability": "mutable", | ||
@@ -141,4 +141,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 1912, | ||
"src": "293:13:12", | ||
"scope": 1936, | ||
"src": "293:13:11", | ||
"stateVariable": false, | ||
@@ -151,6 +151,6 @@ "storageLocation": "memory", | ||
"typeName": { | ||
"id": 1906, | ||
"id": 1930, | ||
"name": "string", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "293:6:12", | ||
"src": "293:6:11", | ||
"typeDescriptions": { | ||
@@ -165,6 +165,6 @@ "typeIdentifier": "t_string_storage_ptr", | ||
], | ||
"src": "292:15:12" | ||
"src": "292:15:11" | ||
}, | ||
"scope": 1913, | ||
"src": "253:111:12", | ||
"scope": 1937, | ||
"src": "253:111:11", | ||
"stateMutability": "pure", | ||
@@ -175,16 +175,16 @@ "virtual": false, | ||
], | ||
"scope": 1914, | ||
"src": "159:207:12" | ||
"scope": 1938, | ||
"src": "159:207:11" | ||
} | ||
], | ||
"src": "37:330:12" | ||
"src": "37:330:11" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/kevinthizy/Documents/DEV/TokenY/OnchainID/solidity/contracts/version/Version.sol", | ||
"absolutePath": "/home/runner/work/solidity/solidity/contracts/version/Version.sol", | ||
"exportedSymbols": { | ||
"Version": [ | ||
1913 | ||
1937 | ||
] | ||
}, | ||
"id": 1914, | ||
"id": 1938, | ||
"license": "GPL-3.0", | ||
@@ -194,3 +194,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1902, | ||
"id": 1926, | ||
"literals": [ | ||
@@ -203,3 +203,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "37:23:12" | ||
"src": "37:23:11" | ||
}, | ||
@@ -212,11 +212,11 @@ { | ||
"documentation": { | ||
"id": 1903, | ||
"id": 1927, | ||
"nodeType": "StructuredDocumentation", | ||
"src": "62:96:12", | ||
"src": "62:96:11", | ||
"text": " @dev Version contract gives the versioning information of the implementation contract" | ||
}, | ||
"fullyImplemented": true, | ||
"id": 1913, | ||
"id": 1937, | ||
"linearizedBaseContracts": [ | ||
1913 | ||
1937 | ||
], | ||
@@ -228,5 +228,5 @@ "name": "Version", | ||
"body": { | ||
"id": 1911, | ||
"id": 1935, | ||
"nodeType": "Block", | ||
"src": "308:56:12", | ||
"src": "308:56:11", | ||
"statements": [ | ||
@@ -237,3 +237,3 @@ { | ||
"hexValue": "312e302e30", | ||
"id": 1909, | ||
"id": 1933, | ||
"isConstant": false, | ||
@@ -245,3 +245,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "350:7:12", | ||
"src": "350:7:11", | ||
"subdenomination": null, | ||
@@ -254,6 +254,6 @@ "typeDescriptions": { | ||
}, | ||
"functionReturnParameters": 1908, | ||
"id": 1910, | ||
"functionReturnParameters": 1932, | ||
"id": 1934, | ||
"nodeType": "Return", | ||
"src": "343:14:12" | ||
"src": "343:14:11" | ||
} | ||
@@ -263,9 +263,9 @@ ] | ||
"documentation": { | ||
"id": 1904, | ||
"id": 1928, | ||
"nodeType": "StructuredDocumentation", | ||
"src": "182:66:12", | ||
"src": "182:66:11", | ||
"text": " @dev Returns the string of the current version." | ||
}, | ||
"functionSelector": "54fd4d50", | ||
"id": 1912, | ||
"id": 1936, | ||
"implemented": true, | ||
@@ -278,9 +278,9 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1905, | ||
"id": 1929, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "269:2:12" | ||
"src": "269:2:11" | ||
}, | ||
"returnParameters": { | ||
"id": 1908, | ||
"id": 1932, | ||
"nodeType": "ParameterList", | ||
@@ -290,3 +290,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1907, | ||
"id": 1931, | ||
"mutability": "mutable", | ||
@@ -296,4 +296,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 1912, | ||
"src": "293:13:12", | ||
"scope": 1936, | ||
"src": "293:13:11", | ||
"stateVariable": false, | ||
@@ -306,6 +306,6 @@ "storageLocation": "memory", | ||
"typeName": { | ||
"id": 1906, | ||
"id": 1930, | ||
"name": "string", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "293:6:12", | ||
"src": "293:6:11", | ||
"typeDescriptions": { | ||
@@ -320,6 +320,6 @@ "typeIdentifier": "t_string_storage_ptr", | ||
], | ||
"src": "292:15:12" | ||
"src": "292:15:11" | ||
}, | ||
"scope": 1913, | ||
"src": "253:111:12", | ||
"scope": 1937, | ||
"src": "253:111:11", | ||
"stateMutability": "pure", | ||
@@ -330,7 +330,7 @@ "virtual": false, | ||
], | ||
"scope": 1914, | ||
"src": "159:207:12" | ||
"scope": 1938, | ||
"src": "159:207:11" | ||
} | ||
], | ||
"src": "37:330:12" | ||
"src": "37:330:11" | ||
}, | ||
@@ -343,3 +343,3 @@ "compiler": { | ||
"schemaVersion": "3.2.4", | ||
"updatedAt": "2020-11-24T15:47:35.271Z", | ||
"updatedAt": "2020-11-27T16:20:41.767Z", | ||
"devdoc": { | ||
@@ -346,0 +346,0 @@ "details": "Version contract gives the versioning information of the implementation contract", |
@@ -7,2 +7,14 @@ # Changelog | ||
## [1.2.0] - 2020-11-27 | ||
### Added | ||
- Custom Upgradable Proxy contract that behaves similarly to the [EIP-1822](https://eips.ethereum.org/EIPS/eip-1822): Universal Upgradeable Proxy Standard (UUPS), except that it points to an Authority contract which in itself points to an implementation (which can be updated). | ||
- New ImplementationAuthority contract that acts as an authority for proxy contracts | ||
- Library Lock contract to ensure no one can manipulate the Logic Contract once it is deployed | ||
- Version contract that gives the versioning information of the implementation contract | ||
### Moved | ||
- variables in a separate contract (Storage.sol) | ||
- structs in a separate contract (Structs.sol) | ||
### Updated | ||
- Update contracts to SOL =0.6.9 | ||
## [1.1.2] - 2020-09-30 | ||
@@ -9,0 +21,0 @@ ### Fixed |
{ | ||
"name": "@onchain-id/solidity", | ||
"version": "1.2.0-beta1", | ||
"version": "1.2.0", | ||
"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 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
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
0
2865641
32
61625