{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/codegen/templates/GodUnitTemplate.sol","id":166416,"exportedSymbols":{"Combat":[98974],"CombatArchetypes":[87309],"EncodedLengths":[7251],"GodUnitTemplate":[166415],"GodUnitTemplateId":[166125],"GoldOnKill":[109628],"LENGTH":[166128],"Movable":[142252],"ResourceId":[9486],"StructureTypes":[87321],"TerrainTypes":[87314],"UnitType":[163219],"UnitTypes":[87294],"Untraversable":[163933],"createTemplate":[177313],"templateId":[166122]},"nodeType":"SourceUnit","src":"32:2401:255","nodes":[{"id":166102,"nodeType":"PragmaDirective","src":"32:25:255","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":166104,"nodeType":"ImportDirective","src":"108:74:255","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":166416,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":166103,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"117:14:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":166106,"nodeType":"ImportDirective","src":"183:66:255","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":166416,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":166105,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"192:10:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":166108,"nodeType":"ImportDirective","src":"250:77:255","nodes":[],"absolutePath":"src/libraries/templates/createTemplate.sol","file":"base/libraries/templates/createTemplate.sol","nameLocation":"-1:-1:-1","scope":166416,"sourceUnit":177314,"symbolAliases":[{"foreign":{"id":166107,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"259:14:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":166113,"nodeType":"ImportDirective","src":"328:100:255","nodes":[],"absolutePath":"src/codegen/common.sol","file":"base/codegen/common.sol","nameLocation":"-1:-1:-1","scope":166416,"sourceUnit":87322,"symbolAliases":[{"foreign":{"id":166109,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"337:9:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":166110,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"348:16:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":166111,"name":"TerrainTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87314,"src":"366:12:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":166112,"name":"StructureTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87321,"src":"380:14:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":166119,"nodeType":"ImportDirective","src":"430:94:255","nodes":[],"absolutePath":"src/codegen/index.sol","file":"base/codegen/index.sol","nameLocation":"-1:-1:-1","scope":166416,"sourceUnit":87483,"symbolAliases":[{"foreign":{"id":166114,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"439:6:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":166115,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"447:8:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":166116,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"457:10:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":166117,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"469:7:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":166118,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"478:13:255","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":166122,"nodeType":"VariableDeclaration","src":"526:39:255","nodes":[],"constant":true,"mutability":"constant","name":"templateId","nameLocation":"543:10:255","scope":166416,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":166120,"name":"bytes32","nodeType":"ElementaryTypeName","src":"526:7:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"476f64556e6974","id":166121,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"556:9:255","typeDescriptions":{"typeIdentifier":"t_stringliteral_f7e45dddd064137fa76f254e7f2292571a9cd122fd1dffa0152a282532588e45","typeString":"literal_string \"GodUnit\""},"value":"GodUnit"},"visibility":"internal"},{"id":166125,"nodeType":"VariableDeclaration","src":"567:47:255","nodes":[],"constant":true,"mutability":"constant","name":"GodUnitTemplateId","nameLocation":"584:17:255","scope":166416,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":166123,"name":"bytes32","nodeType":"ElementaryTypeName","src":"567:7:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"id":166124,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166122,"src":"604:10:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"id":166128,"nodeType":"VariableDeclaration","src":"616:27:255","nodes":[],"constant":true,"mutability":"constant","name":"LENGTH","nameLocation":"633:6:255","scope":166416,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":166126,"name":"uint256","nodeType":"ElementaryTypeName","src":"616:7:255","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"35","id":166127,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"642:1:255","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"visibility":"internal"},{"id":166415,"nodeType":"FunctionDefinition","src":"646:1786:255","nodes":[],"body":{"id":166414,"nodeType":"Block","src":"673:1759:255","nodes":[],"statements":[{"assignments":[166135],"declarations":[{"constant":false,"id":166135,"mutability":"mutable","name":"tableIds","nameLocation":"694:8:255","nodeType":"VariableDeclaration","scope":166414,"src":"677:25:255","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":166133,"name":"bytes32","nodeType":"ElementaryTypeName","src":"677:7:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166134,"nodeType":"ArrayTypeName","src":"677:9:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":166141,"initialValue":{"arguments":[{"id":166139,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166128,"src":"719:6:255","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":166138,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"705:13:255","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (bytes32[] memory)"},"typeName":{"baseType":{"id":166136,"name":"bytes32","nodeType":"ElementaryTypeName","src":"709:7:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166137,"nodeType":"ArrayTypeName","src":"709:9:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":166140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"705:21:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"677:49:255"},{"assignments":[166146],"declarations":[{"constant":false,"id":166146,"mutability":"mutable","name":"encodedLengthss","nameLocation":"747:15:255","nodeType":"VariableDeclaration","scope":166414,"src":"730:32:255","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":166144,"name":"bytes32","nodeType":"ElementaryTypeName","src":"730:7:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166145,"nodeType":"ArrayTypeName","src":"730:9:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":166152,"initialValue":{"arguments":[{"id":166150,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166128,"src":"779:6:255","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":166149,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"765:13:255","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (bytes32[] memory)"},"typeName":{"baseType":{"id":166147,"name":"bytes32","nodeType":"ElementaryTypeName","src":"769:7:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166148,"nodeType":"ArrayTypeName","src":"769:9:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":166151,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"765:21:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"730:56:255"},{"assignments":[166157],"declarations":[{"constant":false,"id":166157,"mutability":"mutable","name":"staticDatas","nameLocation":"805:11:255","nodeType":"VariableDeclaration","scope":166414,"src":"790:26:255","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":166155,"name":"bytes","nodeType":"ElementaryTypeName","src":"790:5:255","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":166156,"nodeType":"ArrayTypeName","src":"790:7:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":166163,"initialValue":{"arguments":[{"id":166161,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166128,"src":"831:6:255","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":166160,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"819:11:255","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory[] memory)"},"typeName":{"baseType":{"id":166158,"name":"bytes","nodeType":"ElementaryTypeName","src":"823:5:255","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":166159,"nodeType":"ArrayTypeName","src":"823:7:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":166162,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"819:19:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"790:48:255"},{"assignments":[166168],"declarations":[{"constant":false,"id":166168,"mutability":"mutable","name":"dynamicDatas","nameLocation":"857:12:255","nodeType":"VariableDeclaration","scope":166414,"src":"842:27:255","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":166166,"name":"bytes","nodeType":"ElementaryTypeName","src":"842:5:255","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":166167,"nodeType":"ArrayTypeName","src":"842:7:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":166174,"initialValue":{"arguments":[{"id":166172,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166128,"src":"884:6:255","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":166171,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"872:11:255","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory[] memory)"},"typeName":{"baseType":{"id":166169,"name":"bytes","nodeType":"ElementaryTypeName","src":"876:5:255","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":166170,"nodeType":"ArrayTypeName","src":"876:7:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":166173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"872:19:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"842:49:255"},{"assignments":[166176],"declarations":[{"constant":false,"id":166176,"mutability":"mutable","name":"staticData","nameLocation":"909:10:255","nodeType":"VariableDeclaration","scope":166414,"src":"896:23:255","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":166175,"name":"bytes","nodeType":"ElementaryTypeName","src":"896:5:255","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":166177,"nodeType":"VariableDeclarationStatement","src":"896:23:255"},{"assignments":[166180],"declarations":[{"constant":false,"id":166180,"mutability":"mutable","name":"encodedLengths","nameLocation":"938:14:255","nodeType":"VariableDeclaration","scope":166414,"src":"923:29:255","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":166179,"nodeType":"UserDefinedTypeName","pathNode":{"id":166178,"name":"EncodedLengths","nameLocations":["923:14:255"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"923:14:255"},"referencedDeclaration":7251,"src":"923:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":166181,"nodeType":"VariableDeclarationStatement","src":"923:29:255"},{"assignments":[166183],"declarations":[{"constant":false,"id":166183,"mutability":"mutable","name":"dynamicData","nameLocation":"969:11:255","nodeType":"VariableDeclaration","scope":166414,"src":"956:24:255","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":166182,"name":"bytes","nodeType":"ElementaryTypeName","src":"956:5:255","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":166184,"nodeType":"VariableDeclarationStatement","src":"956:24:255"},{"expression":{"id":166193,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166185,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166135,"src":"985:8:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166187,"indexExpression":{"hexValue":"30","id":166186,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"994:1:255","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"985:11:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":166190,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1017:6:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":166191,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1024:8:255","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":96603,"src":"1017:15:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":166188,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"999:10:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":166189,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1010:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"999:17:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":166192,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"999:34:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"985:48:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166194,"nodeType":"ExpressionStatement","src":"985:48:255"},{"expression":{"id":166203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166195,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166135,"src":"1037:8:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166197,"indexExpression":{"hexValue":"31","id":166196,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1046:1:255","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1037:11:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":166200,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"1069:8:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnitType_$163219_$","typeString":"type(library UnitType)"}},"id":166201,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1078:8:255","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":162683,"src":"1069:17:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":166198,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1051:10:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":166199,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1062:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"1051:17:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":166202,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1051:36:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1037:50:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166204,"nodeType":"ExpressionStatement","src":"1037:50:255"},{"expression":{"id":166213,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166205,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166135,"src":"1091:8:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166207,"indexExpression":{"hexValue":"32","id":166206,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1100:1:255","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1091:11:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":166210,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"1123:10:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_GoldOnKill_$109628_$","typeString":"type(library GoldOnKill)"}},"id":166211,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1134:8:255","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":108942,"src":"1123:19:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":166208,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1105:10:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":166209,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1116:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"1105:17:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":166212,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1105:38:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1091:52:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166214,"nodeType":"ExpressionStatement","src":"1091:52:255"},{"expression":{"id":166223,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166215,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166135,"src":"1147:8:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166217,"indexExpression":{"hexValue":"33","id":166216,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1156:1:255","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1147:11:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":166220,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"1179:7:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Movable_$142252_$","typeString":"type(library Movable)"}},"id":166221,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1187:8:255","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":141566,"src":"1179:16:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":166218,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1161:10:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":166219,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1172:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"1161:17:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":166222,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1161:35:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1147:49:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166224,"nodeType":"ExpressionStatement","src":"1147:49:255"},{"expression":{"id":166233,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166225,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166135,"src":"1200:8:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166227,"indexExpression":{"hexValue":"34","id":166226,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1209:1:255","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1200:11:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":166230,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"1232:13:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":166231,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1246:8:255","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":163251,"src":"1232:22:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":166228,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1214:10:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":166229,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1225:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"1214:17:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":166232,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1214:41:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1200:55:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166234,"nodeType":"ExpressionStatement","src":"1200:55:255"},{"expression":{"id":166254,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":166235,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"1261:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":166236,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"1273:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":166237,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"1289:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":166238,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1260:41:255","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"31303030303030","id":166241,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1323:7:255","typeDescriptions":{"typeIdentifier":"t_rational_1000000_by_1","typeString":"int_const 1000000"},"value":"1000000"},{"hexValue":"31303030303030","id":166242,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1336:7:255","typeDescriptions":{"typeIdentifier":"t_rational_1000000_by_1","typeString":"int_const 1000000"},"value":"1000000"},{"hexValue":"333030303030","id":166243,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1349:6:255","typeDescriptions":{"typeIdentifier":"t_rational_300000_by_1","typeString":"int_const 300000"},"value":"300000"},{"hexValue":"313030","id":166244,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1361:3:255","typeDescriptions":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},"value":"100"},{"hexValue":"30","id":166245,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1370:1:255","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"31","id":166246,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1377:1:255","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"arguments":[{"hexValue":"30","id":166250,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1407:1:255","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":166249,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1401:5:255","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":166248,"name":"uint8","nodeType":"ElementaryTypeName","src":"1401:5:255","typeDescriptions":{}}},"id":166251,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1401:8:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":166247,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"1384:16:255","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_CombatArchetypes_$87309_$","typeString":"type(enum CombatArchetypes)"}},"id":166252,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1384:26:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_CombatArchetypes_$87309","typeString":"enum CombatArchetypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1000000_by_1","typeString":"int_const 1000000"},{"typeIdentifier":"t_rational_1000000_by_1","typeString":"int_const 1000000"},{"typeIdentifier":"t_rational_300000_by_1","typeString":"int_const 300000"},{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_enum$_CombatArchetypes_$87309","typeString":"enum CombatArchetypes"}],"expression":{"id":166239,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1304:6:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":166240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1311:6:255","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":98936,"src":"1304:13:255","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_enum$_CombatArchetypes_$87309_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (int32,int32,int32,int32,int32,int32,enum CombatArchetypes) pure returns (bytes memory,EncodedLengths,bytes memory)"}},"id":166253,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1304:110:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"src":"1260:154:255","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":166255,"nodeType":"ExpressionStatement","src":"1260:154:255"},{"expression":{"id":166260,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166256,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166157,"src":"1418:11:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166258,"indexExpression":{"hexValue":"30","id":166257,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1430:1:255","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1418:14:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166259,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"1435:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1418:27:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166261,"nodeType":"ExpressionStatement","src":"1418:27:255"},{"expression":{"id":166269,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166262,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166146,"src":"1449:15:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166264,"indexExpression":{"hexValue":"30","id":166263,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1465:1:255","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1449:18:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":166267,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"1492:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":166265,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1470:14:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":166266,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1485:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"1470:21:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":166268,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1470:37:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1449:58:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166270,"nodeType":"ExpressionStatement","src":"1449:58:255"},{"expression":{"id":166275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166271,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166168,"src":"1511:12:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166273,"indexExpression":{"hexValue":"30","id":166272,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1524:1:255","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1511:15:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166274,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"1529:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1511:29:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166276,"nodeType":"ExpressionStatement","src":"1511:29:255"},{"expression":{"id":166290,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":166277,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"1546:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":166278,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"1558:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":166279,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"1574:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":166280,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1545:41:255","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"arguments":[{"hexValue":"33","id":166286,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1621:1:255","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"id":166285,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1615:5:255","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":166284,"name":"uint8","nodeType":"ElementaryTypeName","src":"1615:5:255","typeDescriptions":{}}},"id":166287,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1615:8:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":166283,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"1605:9:255","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_UnitTypes_$87294_$","typeString":"type(enum UnitTypes)"}},"id":166288,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1605:19:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_UnitTypes_$87294","typeString":"enum UnitTypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_UnitTypes_$87294","typeString":"enum UnitTypes"}],"expression":{"id":166281,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"1589:8:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnitType_$163219_$","typeString":"type(library UnitType)"}},"id":166282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1598:6:255","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163181,"src":"1589:15:255","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_UnitTypes_$87294_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (enum UnitTypes) pure returns (bytes memory,EncodedLengths,bytes memory)"}},"id":166289,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1589:36:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"src":"1545:80:255","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":166291,"nodeType":"ExpressionStatement","src":"1545:80:255"},{"expression":{"id":166296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166292,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166157,"src":"1629:11:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166294,"indexExpression":{"hexValue":"31","id":166293,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1641:1:255","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1629:14:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166295,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"1646:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1629:27:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166297,"nodeType":"ExpressionStatement","src":"1629:27:255"},{"expression":{"id":166305,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166298,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166146,"src":"1660:15:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166300,"indexExpression":{"hexValue":"31","id":166299,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1676:1:255","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1660:18:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":166303,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"1703:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":166301,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1681:14:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":166302,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1696:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"1681:21:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":166304,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1681:37:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1660:58:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166306,"nodeType":"ExpressionStatement","src":"1660:58:255"},{"expression":{"id":166311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166307,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166168,"src":"1722:12:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166309,"indexExpression":{"hexValue":"31","id":166308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1735:1:255","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1722:15:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166310,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"1740:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1722:29:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166312,"nodeType":"ExpressionStatement","src":"1722:29:255"},{"expression":{"id":166321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":166313,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"1757:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":166314,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"1769:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":166315,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"1785:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":166316,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1756:41:255","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"323530","id":166319,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1818:3:255","typeDescriptions":{"typeIdentifier":"t_rational_250_by_1","typeString":"int_const 250"},"value":"250"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_250_by_1","typeString":"int_const 250"}],"expression":{"id":166317,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"1800:10:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_GoldOnKill_$109628_$","typeString":"type(library GoldOnKill)"}},"id":166318,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1811:6:255","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":109590,"src":"1800:17:255","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int32_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (int32) pure returns (bytes memory,EncodedLengths,bytes memory)"}},"id":166320,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1800:22:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"src":"1756:66:255","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":166322,"nodeType":"ExpressionStatement","src":"1756:66:255"},{"expression":{"id":166327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166323,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166157,"src":"1826:11:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166325,"indexExpression":{"hexValue":"32","id":166324,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1838:1:255","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1826:14:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166326,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"1843:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1826:27:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166328,"nodeType":"ExpressionStatement","src":"1826:27:255"},{"expression":{"id":166336,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166329,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166146,"src":"1857:15:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166331,"indexExpression":{"hexValue":"32","id":166330,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1873:1:255","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1857:18:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":166334,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"1900:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":166332,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1878:14:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":166333,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1893:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"1878:21:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":166335,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1878:37:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1857:58:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166337,"nodeType":"ExpressionStatement","src":"1857:58:255"},{"expression":{"id":166342,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166338,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166168,"src":"1919:12:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166340,"indexExpression":{"hexValue":"32","id":166339,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1932:1:255","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1919:15:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166341,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"1937:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1919:29:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166343,"nodeType":"ExpressionStatement","src":"1919:29:255"},{"expression":{"id":166352,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":166344,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"1954:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":166345,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"1966:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":166346,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"1982:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":166347,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1953:41:255","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"36303030","id":166350,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2012:4:255","typeDescriptions":{"typeIdentifier":"t_rational_6000_by_1","typeString":"int_const 6000"},"value":"6000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_6000_by_1","typeString":"int_const 6000"}],"expression":{"id":166348,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"1997:7:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Movable_$142252_$","typeString":"type(library Movable)"}},"id":166349,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2005:6:255","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":142214,"src":"1997:14:255","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int32_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (int32) pure returns (bytes memory,EncodedLengths,bytes memory)"}},"id":166351,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1997:20:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"src":"1953:64:255","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":166353,"nodeType":"ExpressionStatement","src":"1953:64:255"},{"expression":{"id":166358,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166354,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166157,"src":"2021:11:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166356,"indexExpression":{"hexValue":"33","id":166355,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2033:1:255","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2021:14:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166357,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"2038:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2021:27:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166359,"nodeType":"ExpressionStatement","src":"2021:27:255"},{"expression":{"id":166367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166360,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166146,"src":"2052:15:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166362,"indexExpression":{"hexValue":"33","id":166361,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2068:1:255","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2052:18:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":166365,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"2095:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":166363,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"2073:14:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":166364,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2088:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"2073:21:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":166366,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2073:37:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2052:58:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166368,"nodeType":"ExpressionStatement","src":"2052:58:255"},{"expression":{"id":166373,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166369,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166168,"src":"2114:12:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166371,"indexExpression":{"hexValue":"33","id":166370,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2127:1:255","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2114:15:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166372,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"2132:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2114:29:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166374,"nodeType":"ExpressionStatement","src":"2114:29:255"},{"expression":{"id":166383,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":166375,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"2149:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":166376,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"2161:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":166377,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"2177:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":166378,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"2148:41:255","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"74727565","id":166381,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2213:4:255","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":166379,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"2192:13:255","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":166380,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2206:6:255","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163895,"src":"2192:20:255","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (bool) pure returns (bytes memory,EncodedLengths,bytes memory)"}},"id":166382,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2192:26:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"src":"2148:70:255","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":166384,"nodeType":"ExpressionStatement","src":"2148:70:255"},{"expression":{"id":166389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166385,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166157,"src":"2222:11:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166387,"indexExpression":{"hexValue":"34","id":166386,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2234:1:255","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2222:14:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166388,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166176,"src":"2239:10:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2222:27:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166390,"nodeType":"ExpressionStatement","src":"2222:27:255"},{"expression":{"id":166398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166391,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166146,"src":"2253:15:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":166393,"indexExpression":{"hexValue":"34","id":166392,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2269:1:255","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2253:18:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":166396,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166180,"src":"2296:14:255","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":166394,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"2274:14:255","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":166395,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2289:6:255","memberName":"unwrap","nodeType":"MemberAccess","src":"2274:21:255","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":166397,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2274:37:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2253:58:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":166399,"nodeType":"ExpressionStatement","src":"2253:58:255"},{"expression":{"id":166404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":166400,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166168,"src":"2315:12:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":166402,"indexExpression":{"hexValue":"34","id":166401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2328:1:255","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2315:15:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":166403,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166183,"src":"2333:11:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2315:29:255","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":166405,"nodeType":"ExpressionStatement","src":"2315:29:255"},{"expression":{"arguments":[{"id":166407,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166122,"src":"2364:10:255","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":166408,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166135,"src":"2376:8:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":166409,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166157,"src":"2386:11:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},{"id":166410,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166146,"src":"2399:15:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":166411,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":166168,"src":"2416:12:255","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}],"id":166406,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"2349:14:255","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$returns$__$","typeString":"function (bytes32,bytes32[] memory,bytes memory[] memory,bytes32[] memory,bytes memory[] memory)"}},"id":166412,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2349:80:255","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":166413,"nodeType":"ExpressionStatement","src":"2349:80:255"}]},"implemented":true,"kind":"freeFunction","modifiers":[],"name":"GodUnitTemplate","nameLocation":"655:15:255","parameters":{"id":166129,"nodeType":"ParameterList","parameters":[],"src":"670:2:255"},"returnParameters":{"id":166130,"nodeType":"ParameterList","parameters":[],"src":"673:0:255"},"scope":166416,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"license":"MIT"},"id":255}