UNPKG

@etherisc/registry-contracts

Version:

Etherisc's smart contracts for the registry.

1,326 lines 96.6 kB
{ "abi": [ { "inputs": [ { "internalType": "Version", "name": "a", "type": "uint48" }, { "internalType": "Version", "name": "b", "type": "uint48" } ], "name": "eq", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "Version", "name": "a", "type": "uint48" }, { "internalType": "Version", "name": "b", "type": "uint48" } ], "name": "gt", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "Version", "name": "a", "type": "uint48" }, { "internalType": "Version", "name": "b", "type": "uint48" } ], "name": "gte", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "p", "type": "uint16" } ], "name": "tp", "outputs": [ { "internalType": "VersionPart", "name": "", "type": "uint16" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "VersionPart", "name": "major", "type": "uint16" }, { "internalType": "VersionPart", "name": "minor", "type": "uint16" }, { "internalType": "VersionPart", "name": "patch", "type": "uint16" } ], "name": "tv", "outputs": [ { "internalType": "Version", "name": "", "type": "uint48" } ], "stateMutability": "pure", "type": "function" } ], "allSourcePaths": { "44": "contracts/shared/IVersionType.sol", "66": "contracts/test/VersionTest.sol" }, "ast": { "absolutePath": "contracts/test/VersionTest.sol", "exportedSymbols": { "Version": [ 12269 ], "VersionPart": [ 12267 ], "VersionTest": [ 11734 ], "toVersion": [ 12435 ], "toVersionPart": [ 12383 ] }, "id": 11735, "license": "Apache-2.0", "nodeType": "SourceUnit", "nodes": [ { "id": 11645, "literals": [ "solidity", "^", "0.8", ".19" ], "nodeType": "PragmaDirective", "src": "39:24:66" }, { "absolutePath": "contracts/shared/IVersionType.sol", "file": "../shared/IVersionType.sol", "id": 11650, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", "scope": 11735, "sourceUnit": 12455, "src": "65:90:66", "symbolAliases": [ { "foreign": { "id": 11646, "name": "Version", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12269, "src": "73:7:66", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" }, { "foreign": { "id": 11647, "name": "VersionPart", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12267, "src": "82:11:66", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" }, { "foreign": { "id": 11648, "name": "toVersion", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12435, "src": "95:9:66", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" }, { "foreign": { "id": 11649, "name": "toVersionPart", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12383, "src": "106:13:66", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" } ], "unitAlias": "" }, { "abstract": false, "baseContracts": [], "canonicalName": "VersionTest", "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, "id": 11734, "linearizedBaseContracts": [ 11734 ], "name": "VersionTest", "nameLocation": "166:11:66", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 11665, "nodeType": "Block", "src": "247:29:66", "statements": [ { "expression": { "commonType": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "function": 12297, "id": 11663, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 11661, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11653, "src": "264:1:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "id": 11662, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11656, "src": "268:1:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "src": "264:5:66", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "functionReturnParameters": 11660, "id": 11664, "nodeType": "Return", "src": "257:12:66" } ] }, "functionSelector": "d0026873", "id": 11666, "implemented": true, "kind": "function", "modifiers": [], "name": "gt", "nameLocation": "194:2:66", "nodeType": "FunctionDefinition", "parameters": { "id": 11657, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11653, "mutability": "mutable", "name": "a", "nameLocation": "205:1:66", "nodeType": "VariableDeclaration", "scope": 11666, "src": "197:9:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "typeName": { "id": 11652, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11651, "name": "Version", "nameLocations": [ "197:7:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12269, "src": "197:7:66" }, "referencedDeclaration": 12269, "src": "197:7:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "visibility": "internal" }, { "constant": false, "id": 11656, "mutability": "mutable", "name": "b", "nameLocation": "216:1:66", "nodeType": "VariableDeclaration", "scope": 11666, "src": "208:9:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "typeName": { "id": 11655, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11654, "name": "Version", "nameLocations": [ "208:7:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12269, "src": "208:7:66" }, "referencedDeclaration": 12269, "src": "208:7:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "visibility": "internal" } ], "src": "196:22:66" }, "returnParameters": { "id": 11660, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11659, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 11666, "src": "241:4:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 11658, "name": "bool", "nodeType": "ElementaryTypeName", "src": "241:4:66", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "240:6:66" }, "scope": 11734, "src": "185:91:66", "stateMutability": "pure", "virtual": false, "visibility": "external" }, { "body": { "id": 11681, "nodeType": "Block", "src": "345:30:66", "statements": [ { "expression": { "commonType": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "function": 12319, "id": 11679, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 11677, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11669, "src": "362:1:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { "id": 11678, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11672, "src": "367:1:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "src": "362:6:66", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "functionReturnParameters": 11676, "id": 11680, "nodeType": "Return", "src": "355:13:66" } ] }, "functionSelector": "bcaff465", "id": 11682, "implemented": true, "kind": "function", "modifiers": [], "name": "gte", "nameLocation": "291:3:66", "nodeType": "FunctionDefinition", "parameters": { "id": 11673, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11669, "mutability": "mutable", "name": "a", "nameLocation": "303:1:66", "nodeType": "VariableDeclaration", "scope": 11682, "src": "295:9:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "typeName": { "id": 11668, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11667, "name": "Version", "nameLocations": [ "295:7:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12269, "src": "295:7:66" }, "referencedDeclaration": 12269, "src": "295:7:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "visibility": "internal" }, { "constant": false, "id": 11672, "mutability": "mutable", "name": "b", "nameLocation": "314:1:66", "nodeType": "VariableDeclaration", "scope": 11682, "src": "306:9:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "typeName": { "id": 11671, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11670, "name": "Version", "nameLocations": [ "306:7:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12269, "src": "306:7:66" }, "referencedDeclaration": 12269, "src": "306:7:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "visibility": "internal" } ], "src": "294:22:66" }, "returnParameters": { "id": 11676, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11675, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 11682, "src": "339:4:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 11674, "name": "bool", "nodeType": "ElementaryTypeName", "src": "339:4:66", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "338:6:66" }, "scope": 11734, "src": "282:93:66", "stateMutability": "pure", "virtual": false, "visibility": "external" }, { "body": { "id": 11697, "nodeType": "Block", "src": "443:30:66", "statements": [ { "expression": { "commonType": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "function": 12341, "id": 11695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "id": 11693, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11685, "src": "460:1:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "id": 11694, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11688, "src": "465:1:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "src": "460:6:66", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "functionReturnParameters": 11692, "id": 11696, "nodeType": "Return", "src": "453:13:66" } ] }, "functionSelector": "25c5a334", "id": 11698, "implemented": true, "kind": "function", "modifiers": [], "name": "eq", "nameLocation": "390:2:66", "nodeType": "FunctionDefinition", "parameters": { "id": 11689, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11685, "mutability": "mutable", "name": "a", "nameLocation": "401:1:66", "nodeType": "VariableDeclaration", "scope": 11698, "src": "393:9:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "typeName": { "id": 11684, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11683, "name": "Version", "nameLocations": [ "393:7:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12269, "src": "393:7:66" }, "referencedDeclaration": 12269, "src": "393:7:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "visibility": "internal" }, { "constant": false, "id": 11688, "mutability": "mutable", "name": "b", "nameLocation": "412:1:66", "nodeType": "VariableDeclaration", "scope": 11698, "src": "404:9:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "typeName": { "id": 11687, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11686, "name": "Version", "nameLocations": [ "404:7:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12269, "src": "404:7:66" }, "referencedDeclaration": 12269, "src": "404:7:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "visibility": "internal" } ], "src": "392:22:66" }, "returnParameters": { "id": 11692, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11691, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 11698, "src": "437:4:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 11690, "name": "bool", "nodeType": "ElementaryTypeName", "src": "437:4:66", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "436:6:66" }, "scope": 11734, "src": "381:92:66", "stateMutability": "pure", "virtual": false, "visibility": "external" }, { "body": { "id": 11710, "nodeType": "Block", "src": "536:40:66", "statements": [ { "expression": { "arguments": [ { "id": 11707, "name": "p", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11700, "src": "567:1:66", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint16", "typeString": "uint16" } ], "id": 11706, "name": "toVersionPart", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12383, "src": "553:13:66", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint16_$returns$_t_userDefinedValueType$_VersionPart_$12267_$", "typeString": "function (uint16) pure returns (VersionPart)" } }, "id": 11708, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "553:16:66", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } }, "functionReturnParameters": 11705, "id": 11709, "nodeType": "Return", "src": "546:23:66" } ] }, "functionSelector": "ff4561c5", "id": 11711, "implemented": true, "kind": "function", "modifiers": [], "name": "tp", "nameLocation": "488:2:66", "nodeType": "FunctionDefinition", "parameters": { "id": 11701, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11700, "mutability": "mutable", "name": "p", "nameLocation": "498:1:66", "nodeType": "VariableDeclaration", "scope": 11711, "src": "491:8:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" }, "typeName": { "id": 11699, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "491:6:66", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" } }, "visibility": "internal" } ], "src": "490:10:66" }, "returnParameters": { "id": 11705, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11704, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 11711, "src": "523:11:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" }, "typeName": { "id": 11703, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11702, "name": "VersionPart", "nameLocations": [ "523:11:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12267, "src": "523:11:66" }, "referencedDeclaration": 12267, "src": "523:11:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } }, "visibility": "internal" } ], "src": "522:13:66" }, "scope": 11734, "src": "479:97:66", "stateMutability": "pure", "virtual": false, "visibility": "external" }, { "body": { "id": 11732, "nodeType": "Block", "src": "681:54:66", "statements": [ { "expression": { "arguments": [ { "id": 11727, "name": "major", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11714, "src": "708:5:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } }, { "id": 11728, "name": "minor", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11717, "src": "715:5:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } }, { "id": 11729, "name": "patch", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11720, "src": "722:5:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" }, { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" }, { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } ], "id": 11726, "name": "toVersion", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 12435, "src": "698:9:66", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_VersionPart_$12267_$_t_userDefinedValueType$_VersionPart_$12267_$_t_userDefinedValueType$_VersionPart_$12267_$returns$_t_userDefinedValueType$_Version_$12269_$", "typeString": "function (VersionPart,VersionPart,VersionPart) pure returns (Version)" } }, "id": 11730, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "698:30:66", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "functionReturnParameters": 11725, "id": 11731, "nodeType": "Return", "src": "691:37:66" } ] }, "functionSelector": "3d352848", "id": 11733, "implemented": true, "kind": "function", "modifiers": [], "name": "tv", "nameLocation": "591:2:66", "nodeType": "FunctionDefinition", "parameters": { "id": 11721, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11714, "mutability": "mutable", "name": "major", "nameLocation": "606:5:66", "nodeType": "VariableDeclaration", "scope": 11733, "src": "594:17:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" }, "typeName": { "id": 11713, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11712, "name": "VersionPart", "nameLocations": [ "594:11:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12267, "src": "594:11:66" }, "referencedDeclaration": 12267, "src": "594:11:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } }, "visibility": "internal" }, { "constant": false, "id": 11717, "mutability": "mutable", "name": "minor", "nameLocation": "625:5:66", "nodeType": "VariableDeclaration", "scope": 11733, "src": "613:17:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" }, "typeName": { "id": 11716, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11715, "name": "VersionPart", "nameLocations": [ "613:11:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12267, "src": "613:11:66" }, "referencedDeclaration": 12267, "src": "613:11:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } }, "visibility": "internal" }, { "constant": false, "id": 11720, "mutability": "mutable", "name": "patch", "nameLocation": "644:5:66", "nodeType": "VariableDeclaration", "scope": 11733, "src": "632:17:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" }, "typeName": { "id": 11719, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11718, "name": "VersionPart", "nameLocations": [ "632:11:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12267, "src": "632:11:66" }, "referencedDeclaration": 12267, "src": "632:11:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_VersionPart_$12267", "typeString": "VersionPart" } }, "visibility": "internal" } ], "src": "593:57:66" }, "returnParameters": { "id": 11725, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 11724, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 11733, "src": "673:7:66", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" }, "typeName": { "id": 11723, "nodeType": "UserDefinedTypeName", "pathNode": { "id": 11722, "name": "Version", "nameLocations": [ "673:7:66" ], "nodeType": "IdentifierPath", "referencedDeclaration": 12269, "src": "673:7:66" }, "referencedDeclaration": 12269, "src": "673:7:66", "typeDescriptions": { "typeIdentifier": "t_userDefinedValueType$_Version_$12269", "typeString": "Version" } }, "visibility": "internal" } ], "src": "672:9:66" }, "scope": 11734, "src": "582:153:66", "stateMutability": "pure", "virtual": false, "visibility": "external" } ], "scope": 11735, "src": "157:580:66", "usedErrors": [] } ], "src": "39:698:66" }, "bytecode": "608060405234801561001057600080fd5b506102c8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806325c5a3341461005c5780633d35284814610084578063bcaff465146100ae578063d0026873146100c1578063ff4561c5146100d4575b600080fd5b61006f61006a3660046101bc565b6100fa565b60405190151581526020015b60405180910390f35b610097610092366004610202565b610114565b60405165ffffffffffff909116815260200161007b565b61006f6100bc3660046101bc565b610129565b61006f6100cf3660046101bc565b61013f565b6100e76100e236600461024d565b610154565b60405161ffff909116815260200161007b565b600065ffffffffffff808416908316145b90505b92915050565b600061012184848461015c565b949350505050565b600065ffffffffffff808316908416101561010b565b600065ffffffffffff8083169084161161010b565b60008161010e565b600061ffff848116908481169084168061018c63ffff0000601089901b1665ffff0000000060208b901b16610271565b6101969190610271565b979650505050505050565b803565ffffffffffff811681146101b757600080fd5b919050565b600080604083850312156101cf57600080fd5b6101d8836101a1565b91506101e6602084016101a1565b90509250929050565b61ffff811681146101ff57600080fd5b50565b60008060006060848603121561021757600080fd5b8335610222816101ef565b92506020840135610232816101ef565b91506040840135610242816101ef565b809150509250925092565b60006020828403121561025f57600080fd5b813561026a816101ef565b9392505050565b8082018082111561010e57634e487b7160e01b600052601160045260246000fdfea2646970667358221220b41b1e337fa079e99c86b926eb9ce9e7c2952484dd7b0937086fb50c9367379f64736f6c63430008130033", "bytecodeSha1": "070c5331e3e7156e619278f3cc2dd5155eb27dec", "compiler": { "evm_version": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "version": "0.8.19+commit.7dd6d404" }, "contractName": "VersionTest", "coverageMap": { "branches": { "44": {}, "66": {} }, "statements": { "44": { "eqVersion": { "0": [ 680, 725 ] }, "gtVersion": { "5": [ 435, 479 ] }, "gteVersion": { "3": [ 562, 607 ] }, "toVersion": { "9": [ 1281, 1378 ] }, "versionPartToInt": { "8": [ 792, 820 ] } }, "66": { "VersionTest.eq": { "1": [ 453, 466 ] }, "VersionTest.gt": { "6": [ 257, 269 ] }, "VersionTest.gte": { "4": [ 355, 368 ] }, "VersionTest.tp": { "7": [ 546, 569 ] }, "VersionTest.tv": { "2": [ 691, 728 ] } } } }, "dependencies": [], "deployedBytecode": "608060405234801561001057600080fd5b50600436106100575760003560e01c806325c5a3341461005c5780633d35284814610084578063bcaff465146100ae578063d0026873146100c1578063ff4561c5146100d4575b600080fd5b61006f61006a3660046101bc565b6100fa565b60405190151581526020015b60405180910390f35b610097610092366004610202565b610114565b60405165ffffffffffff909116815260200161007b565b61006f6100bc3660046101bc565b610129565b61006f6100cf3660046101bc565b61013f565b6100e76100e236600461024d565b610154565b60405161ffff909116815260200161007b565b600065ffffffffffff808416908316145b90505b92915050565b600061012184848461015c565b949350505050565b600065ffffffffffff808316908416101561010b565b600065ffffffffffff8083169084161161010b565b60008161010e565b600061ffff848116908481169084168061018c63ffff0000601089901b1665ffff0000000060208b901b16610271565b6101969190610271565b979650505050505050565b803565ffffffffffff811681146101b757600080fd5b919050565b600080604083850312156101cf57600080fd5b6101d8836101a1565b91506101e6602084016101a1565b90509250929050565b61ffff811681146101ff57600080fd5b50565b60008060006060848603121561021757600080fd5b8335610222816101ef565b92506020840135610232816101ef565b91506040840135610242816101ef565b809150509250925092565b60006020828403121561025f57600080fd5b813561026a816101ef565b9392505050565b8082018082111561010e57634e487b7160e01b600052601160045260246000fdfea2646970667358221220b41b1e337fa079e99c86b926eb9ce9e7c2952484dd7b0937086fb50c9367379f64736f6c63430008130033", "deployedSourceMap": "157:580:66:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;381:92;;;;;;:::i;:::-;;:::i;:::-;;;738:14:67;;731:22;713:41;;701:2;686:18;381:92:66;;;;;;;;582:153;;;;;;:::i;:::-;;:::i;:::-;;;1825:14:67;1813:27;;;1795:46;;1783:2;1768:18;582:153:66;1621:226:67;282:93:66;;;;;;:::i;:::-;;:::i;185:91::-;;;;;;:::i;:::-;;:::i;479:97::-;;;;;;:::i;:::-;;:::i;:::-;;;2336:6:67;2324:19;;;2306:38;;2294:2;2279:18;479:97:66;2128:222:67;381:92:66;437:4;687:38:44;;;;;;;;460:6:66;453:13;;381:92;;;;;:::o;582:153::-;673:7;698:30;708:5;715;722;698:9;:30::i;:::-;691:37;582:153;-1:-1:-1;;;;582:153:66:o;282:93::-;339:4;569:38:44;;;;;;;;;362:6:66;483:127:44;185:91:66;241:4;442:37:44;;;;;;;;264:5:66;359:123:44;479:97:66;523:11;567:1;553:16;907:110:44;1019:362;1130:7;792:28;;;;;;;;;;;;1330:35;1350:14;1362:2;1350:14;;;;1331;1343:2;1331:14;;;;1330:35;:::i;:::-;:46;;;;:::i;:::-;1281:97;1019:362;-1:-1:-1;;;;;;;1019:362:44:o;14:189:67:-;103:20;;163:14;152:26;;142:37;;132:65;;193:1;190;183:12;132:65;14:189;;;:::o;208:360::-;334:6;342;395:2;383:9;374:7;370:23;366:32;363:52;;;411:1;408;401:12;363:52;434:50;474:9;434:50;:::i;:::-;424:60;;503:59;558:2;547:9;543:18;503:59;:::i;:::-;493:69;;208:360;;;;;:::o;765:143::-;876:6;869:5;865:18;858:5;855:29;845:57;;898:1;895;888:12;845:57;765:143;:::o;913:703::-;1089:6;1097;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:52;;;1174:1;1171;1164:12;1126:52;1213:9;1200:23;1232:56;1282:5;1232:56;:::i;:::-;1307:5;-1:-1:-1;1364:2:67;1349:18;;1336:32;1377:58;1336:32;1377:58;:::i;:::-;1454:7;-1:-1:-1;1513:2:67;1498:18;;1485:32;1526:58;1485:32;1526:58;:::i;:::-;1603:7;1593:17;;;913:703;;;;;:::o;1852:271::-;1910:6;1963:2;1951:9;1942:7;1938:23;1934:32;1931:52;;;1979:1;1976;1969:12;1931:52;2018:9;2005:23;2037:56;2087:5;2037:56;:::i;:::-;2112:5;1852:271;-1:-1:-1;;;1852:271:67:o;2355:222::-;2420:9;;;2441:10;;;2438:133;;;2493:10;2488:3;2484:20;2481:1;2474:31;2528:4;2525:1;2518:15;2556:4;2553:1;2546:15", "language": "Solidity", "natspec": { "kind": "dev", "methods": {}, "version": 1 }, "offset": [ 157, 737 ], "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x25C5A334 EQ