{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/codegen/templates/WoodenWallTemplate.sol","id":170802,"exportedSymbols":{"Combat":[98974],"CombatArchetypes":[87309],"EncodedLengths":[7251],"LENGTH":[170596],"ResourceId":[9486],"StructureType":[157821],"StructureTypes":[87321],"TerrainTypes":[87314],"UnitTypes":[87294],"Untraversable":[163933],"WoodenWallTemplate":[170801],"WoodenWallTemplateId":[170593],"createTemplate":[177313],"templateId":[170590]},"nodeType":"SourceUnit","src":"32:1868:269","nodes":[{"id":170572,"nodeType":"PragmaDirective","src":"32:25:269","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":170574,"nodeType":"ImportDirective","src":"108:74:269","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":170802,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":170573,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"117:14:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170576,"nodeType":"ImportDirective","src":"183:66:269","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":170802,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":170575,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"192:10:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170578,"nodeType":"ImportDirective","src":"250:77:269","nodes":[],"absolutePath":"src/libraries/templates/createTemplate.sol","file":"base/libraries/templates/createTemplate.sol","nameLocation":"-1:-1:-1","scope":170802,"sourceUnit":177314,"symbolAliases":[{"foreign":{"id":170577,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"259:14:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170583,"nodeType":"ImportDirective","src":"328:100:269","nodes":[],"absolutePath":"src/codegen/common.sol","file":"base/codegen/common.sol","nameLocation":"-1:-1:-1","scope":170802,"sourceUnit":87322,"symbolAliases":[{"foreign":{"id":170579,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"337:9:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170580,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"348:16:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170581,"name":"TerrainTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87314,"src":"366:12:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170582,"name":"StructureTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87321,"src":"380:14:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170587,"nodeType":"ImportDirective","src":"430:78:269","nodes":[],"absolutePath":"src/codegen/index.sol","file":"base/codegen/index.sol","nameLocation":"-1:-1:-1","scope":170802,"sourceUnit":87483,"symbolAliases":[{"foreign":{"id":170584,"name":"StructureType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157821,"src":"439:13:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170585,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"454:6:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170586,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"462:13:269","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170590,"nodeType":"VariableDeclaration","src":"510:42:269","nodes":[],"constant":true,"mutability":"constant","name":"templateId","nameLocation":"527:10:269","scope":170802,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":170588,"name":"bytes32","nodeType":"ElementaryTypeName","src":"510:7:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"576f6f64656e57616c6c","id":170589,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"540:12:269","typeDescriptions":{"typeIdentifier":"t_stringliteral_3e76a76163fe791884453d4cb7846e9a897bd4b1a0444b71ee14b8b87db848dc","typeString":"literal_string \"WoodenWall\""},"value":"WoodenWall"},"visibility":"internal"},{"id":170593,"nodeType":"VariableDeclaration","src":"554:50:269","nodes":[],"constant":true,"mutability":"constant","name":"WoodenWallTemplateId","nameLocation":"571:20:269","scope":170802,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":170591,"name":"bytes32","nodeType":"ElementaryTypeName","src":"554:7:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"id":170592,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170590,"src":"594:10:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"id":170596,"nodeType":"VariableDeclaration","src":"606:27:269","nodes":[],"constant":true,"mutability":"constant","name":"LENGTH","nameLocation":"623:6:269","scope":170802,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":170594,"name":"uint256","nodeType":"ElementaryTypeName","src":"606:7:269","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"33","id":170595,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"632:1:269","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"visibility":"internal"},{"id":170801,"nodeType":"FunctionDefinition","src":"636:1263:269","nodes":[],"body":{"id":170800,"nodeType":"Block","src":"666:1233:269","nodes":[],"statements":[{"assignments":[170603],"declarations":[{"constant":false,"id":170603,"mutability":"mutable","name":"tableIds","nameLocation":"687:8:269","nodeType":"VariableDeclaration","scope":170800,"src":"670:25:269","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":170601,"name":"bytes32","nodeType":"ElementaryTypeName","src":"670:7:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170602,"nodeType":"ArrayTypeName","src":"670:9:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":170609,"initialValue":{"arguments":[{"id":170607,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170596,"src":"712:6:269","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":170606,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"698:13:269","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":170604,"name":"bytes32","nodeType":"ElementaryTypeName","src":"702:7:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170605,"nodeType":"ArrayTypeName","src":"702:9:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":170608,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"698:21:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"670:49:269"},{"assignments":[170614],"declarations":[{"constant":false,"id":170614,"mutability":"mutable","name":"encodedLengthss","nameLocation":"740:15:269","nodeType":"VariableDeclaration","scope":170800,"src":"723:32:269","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":170612,"name":"bytes32","nodeType":"ElementaryTypeName","src":"723:7:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170613,"nodeType":"ArrayTypeName","src":"723:9:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":170620,"initialValue":{"arguments":[{"id":170618,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170596,"src":"772:6:269","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":170617,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"758:13:269","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":170615,"name":"bytes32","nodeType":"ElementaryTypeName","src":"762:7:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170616,"nodeType":"ArrayTypeName","src":"762:9:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":170619,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"758:21:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"723:56:269"},{"assignments":[170625],"declarations":[{"constant":false,"id":170625,"mutability":"mutable","name":"staticDatas","nameLocation":"798:11:269","nodeType":"VariableDeclaration","scope":170800,"src":"783:26:269","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":170623,"name":"bytes","nodeType":"ElementaryTypeName","src":"783:5:269","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":170624,"nodeType":"ArrayTypeName","src":"783:7:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":170631,"initialValue":{"arguments":[{"id":170629,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170596,"src":"824:6:269","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":170628,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"812:11:269","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":170626,"name":"bytes","nodeType":"ElementaryTypeName","src":"816:5:269","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":170627,"nodeType":"ArrayTypeName","src":"816:7:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":170630,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"812:19:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"783:48:269"},{"assignments":[170636],"declarations":[{"constant":false,"id":170636,"mutability":"mutable","name":"dynamicDatas","nameLocation":"850:12:269","nodeType":"VariableDeclaration","scope":170800,"src":"835:27:269","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":170634,"name":"bytes","nodeType":"ElementaryTypeName","src":"835:5:269","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":170635,"nodeType":"ArrayTypeName","src":"835:7:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":170642,"initialValue":{"arguments":[{"id":170640,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170596,"src":"877:6:269","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":170639,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"865:11:269","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":170637,"name":"bytes","nodeType":"ElementaryTypeName","src":"869:5:269","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":170638,"nodeType":"ArrayTypeName","src":"869:7:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":170641,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"865:19:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"835:49:269"},{"assignments":[170644],"declarations":[{"constant":false,"id":170644,"mutability":"mutable","name":"staticData","nameLocation":"902:10:269","nodeType":"VariableDeclaration","scope":170800,"src":"889:23:269","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":170643,"name":"bytes","nodeType":"ElementaryTypeName","src":"889:5:269","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":170645,"nodeType":"VariableDeclarationStatement","src":"889:23:269"},{"assignments":[170648],"declarations":[{"constant":false,"id":170648,"mutability":"mutable","name":"encodedLengths","nameLocation":"931:14:269","nodeType":"VariableDeclaration","scope":170800,"src":"916:29:269","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":170647,"nodeType":"UserDefinedTypeName","pathNode":{"id":170646,"name":"EncodedLengths","nameLocations":["916:14:269"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"916:14:269"},"referencedDeclaration":7251,"src":"916:14:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":170649,"nodeType":"VariableDeclarationStatement","src":"916:29:269"},{"assignments":[170651],"declarations":[{"constant":false,"id":170651,"mutability":"mutable","name":"dynamicData","nameLocation":"962:11:269","nodeType":"VariableDeclaration","scope":170800,"src":"949:24:269","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":170650,"name":"bytes","nodeType":"ElementaryTypeName","src":"949:5:269","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":170652,"nodeType":"VariableDeclarationStatement","src":"949:24:269"},{"expression":{"id":170661,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170653,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170603,"src":"978:8:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170655,"indexExpression":{"hexValue":"30","id":170654,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"987:1:269","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"978:11:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":170658,"name":"StructureType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157821,"src":"1010:13:269","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StructureType_$157821_$","typeString":"type(library StructureType)"}},"id":170659,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1024:8:269","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":157125,"src":"1010:22:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":170656,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"992:10:269","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":170657,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1003:6:269","memberName":"unwrap","nodeType":"MemberAccess","src":"992:17:269","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":170660,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"992:41:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"978:55:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170662,"nodeType":"ExpressionStatement","src":"978:55:269"},{"expression":{"id":170671,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170663,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170603,"src":"1037:8:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170665,"indexExpression":{"hexValue":"31","id":170664,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1046:1:269","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:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":170668,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1069:6:269","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":170669,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1076:8:269","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":96603,"src":"1069:15:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":170666,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1051:10:269","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":170667,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1062:6:269","memberName":"unwrap","nodeType":"MemberAccess","src":"1051:17:269","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":170670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1051:34:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1037:48:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170672,"nodeType":"ExpressionStatement","src":"1037:48:269"},{"expression":{"id":170681,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170673,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170603,"src":"1089:8:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170675,"indexExpression":{"hexValue":"32","id":170674,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1098:1:269","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1089:11:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":170678,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"1121:13:269","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":170679,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1135:8:269","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":163251,"src":"1121:22:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":170676,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1103:10:269","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":170677,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1114:6:269","memberName":"unwrap","nodeType":"MemberAccess","src":"1103:17:269","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":170680,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1103:41:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1089:55:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170682,"nodeType":"ExpressionStatement","src":"1089:55:269"},{"expression":{"id":170696,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":170683,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170644,"src":"1150:10:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":170684,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170648,"src":"1162:14:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":170685,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170651,"src":"1178:11:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":170686,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1149:41:269","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":170692,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1235:1:269","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":170691,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1229:5:269","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":170690,"name":"uint8","nodeType":"ElementaryTypeName","src":"1229:5:269","typeDescriptions":{}}},"id":170693,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1229:8:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":170689,"name":"StructureTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87321,"src":"1214:14:269","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_StructureTypes_$87321_$","typeString":"type(enum StructureTypes)"}},"id":170694,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1214:24:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_StructureTypes_$87321","typeString":"enum StructureTypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_StructureTypes_$87321","typeString":"enum StructureTypes"}],"expression":{"id":170687,"name":"StructureType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157821,"src":"1193:13:269","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StructureType_$157821_$","typeString":"type(library StructureType)"}},"id":170688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1207:6:269","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":157783,"src":"1193:20:269","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_StructureTypes_$87321_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (enum StructureTypes) pure returns (bytes memory,EncodedLengths,bytes memory)"}},"id":170695,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1193:46:269","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":"1149:90:269","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170697,"nodeType":"ExpressionStatement","src":"1149:90:269"},{"expression":{"id":170702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170698,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170625,"src":"1243:11:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170700,"indexExpression":{"hexValue":"30","id":170699,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1255:1:269","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1243:14:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170701,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170644,"src":"1260:10:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1243:27:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170703,"nodeType":"ExpressionStatement","src":"1243:27:269"},{"expression":{"id":170711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170704,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170614,"src":"1274:15:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170706,"indexExpression":{"hexValue":"30","id":170705,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1290:1:269","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1274:18:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":170709,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170648,"src":"1317:14:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":170707,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1295:14:269","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":170708,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1310:6:269","memberName":"unwrap","nodeType":"MemberAccess","src":"1295:21:269","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":170710,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1295:37:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1274:58:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170712,"nodeType":"ExpressionStatement","src":"1274:58:269"},{"expression":{"id":170717,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170713,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170636,"src":"1336:12:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170715,"indexExpression":{"hexValue":"30","id":170714,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1349:1:269","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1336:15:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170716,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170651,"src":"1354:11:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1336:29:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170718,"nodeType":"ExpressionStatement","src":"1336:29:269"},{"expression":{"id":170738,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":170719,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170644,"src":"1371:10:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":170720,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170648,"src":"1383:14:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":170721,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170651,"src":"1399:11:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":170722,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1370:41:269","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":"323030303030","id":170725,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1428:6:269","typeDescriptions":{"typeIdentifier":"t_rational_200000_by_1","typeString":"int_const 200000"},"value":"200000"},{"hexValue":"323030303030","id":170726,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1436:6:269","typeDescriptions":{"typeIdentifier":"t_rational_200000_by_1","typeString":"int_const 200000"},"value":"200000"},{"hexValue":"30","id":170727,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1444:1:269","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":170728,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1447:1:269","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":170729,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1450:1:269","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":170730,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1453:1:269","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"arguments":[{"hexValue":"3132","id":170734,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1479:2:269","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"12"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"}],"id":170733,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1473:5:269","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":170732,"name":"uint8","nodeType":"ElementaryTypeName","src":"1473:5:269","typeDescriptions":{}}},"id":170735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1473:9:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":170731,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"1456:16:269","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_CombatArchetypes_$87309_$","typeString":"type(enum CombatArchetypes)"}},"id":170736,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1456:27:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_CombatArchetypes_$87309","typeString":"enum CombatArchetypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_200000_by_1","typeString":"int_const 200000"},{"typeIdentifier":"t_rational_200000_by_1","typeString":"int_const 200000"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_enum$_CombatArchetypes_$87309","typeString":"enum CombatArchetypes"}],"expression":{"id":170723,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1414:6:269","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":170724,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1421:6:269","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":98936,"src":"1414:13:269","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":170737,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1414:70:269","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":"1370:114:269","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170739,"nodeType":"ExpressionStatement","src":"1370:114:269"},{"expression":{"id":170744,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170740,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170625,"src":"1488:11:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170742,"indexExpression":{"hexValue":"31","id":170741,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1500:1:269","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1488:14:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170743,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170644,"src":"1505:10:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1488:27:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170745,"nodeType":"ExpressionStatement","src":"1488:27:269"},{"expression":{"id":170753,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170746,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170614,"src":"1519:15:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170748,"indexExpression":{"hexValue":"31","id":170747,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1535:1:269","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1519:18:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":170751,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170648,"src":"1562:14:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":170749,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1540:14:269","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":170750,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1555:6:269","memberName":"unwrap","nodeType":"MemberAccess","src":"1540:21:269","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":170752,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1540:37:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1519:58:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170754,"nodeType":"ExpressionStatement","src":"1519:58:269"},{"expression":{"id":170759,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170755,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170636,"src":"1581:12:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170757,"indexExpression":{"hexValue":"31","id":170756,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1594:1:269","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1581:15:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170758,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170651,"src":"1599:11:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1581:29:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170760,"nodeType":"ExpressionStatement","src":"1581:29:269"},{"expression":{"id":170769,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":170761,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170644,"src":"1616:10:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":170762,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170648,"src":"1628:14:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":170763,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170651,"src":"1644:11:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":170764,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1615:41:269","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":170767,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1680:4:269","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":170765,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"1659:13:269","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":170766,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1673:6:269","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163895,"src":"1659:20:269","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":170768,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1659:26:269","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":"1615:70:269","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170770,"nodeType":"ExpressionStatement","src":"1615:70:269"},{"expression":{"id":170775,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170771,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170625,"src":"1689:11:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170773,"indexExpression":{"hexValue":"32","id":170772,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1701:1:269","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1689:14:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170774,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170644,"src":"1706:10:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1689:27:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170776,"nodeType":"ExpressionStatement","src":"1689:27:269"},{"expression":{"id":170784,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170777,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170614,"src":"1720:15:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170779,"indexExpression":{"hexValue":"32","id":170778,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1736:1:269","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1720:18:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":170782,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170648,"src":"1763:14:269","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":170780,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1741:14:269","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":170781,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1756:6:269","memberName":"unwrap","nodeType":"MemberAccess","src":"1741:21:269","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":170783,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1741:37:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1720:58:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170785,"nodeType":"ExpressionStatement","src":"1720:58:269"},{"expression":{"id":170790,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170786,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170636,"src":"1782:12:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170788,"indexExpression":{"hexValue":"32","id":170787,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1795:1:269","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1782:15:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170789,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170651,"src":"1800:11:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1782:29:269","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170791,"nodeType":"ExpressionStatement","src":"1782:29:269"},{"expression":{"arguments":[{"id":170793,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170590,"src":"1831:10:269","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":170794,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170603,"src":"1843:8:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":170795,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170625,"src":"1853:11:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},{"id":170796,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170614,"src":"1866:15:269","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":170797,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170636,"src":"1883:12:269","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":170792,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"1816:14:269","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":170798,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1816:80:269","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170799,"nodeType":"ExpressionStatement","src":"1816:80:269"}]},"implemented":true,"kind":"freeFunction","modifiers":[],"name":"WoodenWallTemplate","nameLocation":"645:18:269","parameters":{"id":170597,"nodeType":"ParameterList","parameters":[],"src":"663:2:269"},"returnParameters":{"id":170598,"nodeType":"ParameterList","parameters":[],"src":"666:0:269"},"scope":170802,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"license":"MIT"},"id":269}