{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/codegen/templates/MountainTemplate.sol","id":168525,"exportedSymbols":{"ArmorModifier":[90762],"CombatArchetypes":[87309],"EncodedLengths":[7251],"LENGTH":[168329],"MountainTemplate":[168524],"MountainTemplateId":[168326],"MoveDifficulty":[142970],"ResourceId":[9486],"StructureTypes":[87321],"TerrainType":[162649],"TerrainTypes":[87314],"UnitTypes":[87294],"createTemplate":[177313],"templateId":[168323]},"nodeType":"SourceUnit","src":"32:1826:263","nodes":[{"id":168305,"nodeType":"PragmaDirective","src":"32:25:263","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":168307,"nodeType":"ImportDirective","src":"108:74:263","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":168525,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":168306,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"117:14:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":168309,"nodeType":"ImportDirective","src":"183:66:263","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":168525,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":168308,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"192:10:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":168311,"nodeType":"ImportDirective","src":"250:77:263","nodes":[],"absolutePath":"src/libraries/templates/createTemplate.sol","file":"base/libraries/templates/createTemplate.sol","nameLocation":"-1:-1:-1","scope":168525,"sourceUnit":177314,"symbolAliases":[{"foreign":{"id":168310,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"259:14:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":168316,"nodeType":"ImportDirective","src":"328:100:263","nodes":[],"absolutePath":"src/codegen/common.sol","file":"base/codegen/common.sol","nameLocation":"-1:-1:-1","scope":168525,"sourceUnit":87322,"symbolAliases":[{"foreign":{"id":168312,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"337:9:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":168313,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"348:16:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":168314,"name":"TerrainTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87314,"src":"366:12:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":168315,"name":"StructureTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87321,"src":"380:14:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":168320,"nodeType":"ImportDirective","src":"430:84:263","nodes":[],"absolutePath":"src/codegen/index.sol","file":"base/codegen/index.sol","nameLocation":"-1:-1:-1","scope":168525,"sourceUnit":87483,"symbolAliases":[{"foreign":{"id":168317,"name":"TerrainType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":162649,"src":"439:11:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":168318,"name":"MoveDifficulty","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142970,"src":"452:14:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":168319,"name":"ArmorModifier","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":90762,"src":"468:13:263","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":168323,"nodeType":"VariableDeclaration","src":"516:40:263","nodes":[],"constant":true,"mutability":"constant","name":"templateId","nameLocation":"533:10:263","scope":168525,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":168321,"name":"bytes32","nodeType":"ElementaryTypeName","src":"516:7:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"4d6f756e7461696e","id":168322,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"546:10:263","typeDescriptions":{"typeIdentifier":"t_stringliteral_b4afd157ed8947acded6004240665682e1d397080baca956e1b4fcdecaeb4788","typeString":"literal_string \"Mountain\""},"value":"Mountain"},"visibility":"internal"},{"id":168326,"nodeType":"VariableDeclaration","src":"558:48:263","nodes":[],"constant":true,"mutability":"constant","name":"MountainTemplateId","nameLocation":"575:18:263","scope":168525,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":168324,"name":"bytes32","nodeType":"ElementaryTypeName","src":"558:7:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"id":168325,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168323,"src":"596:10:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"id":168329,"nodeType":"VariableDeclaration","src":"608:27:263","nodes":[],"constant":true,"mutability":"constant","name":"LENGTH","nameLocation":"625:6:263","scope":168525,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":168327,"name":"uint256","nodeType":"ElementaryTypeName","src":"608:7:263","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"33","id":168328,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"634:1:263","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"visibility":"internal"},{"id":168524,"nodeType":"FunctionDefinition","src":"638:1219:263","nodes":[],"body":{"id":168523,"nodeType":"Block","src":"666:1191:263","nodes":[],"statements":[{"assignments":[168336],"declarations":[{"constant":false,"id":168336,"mutability":"mutable","name":"tableIds","nameLocation":"687:8:263","nodeType":"VariableDeclaration","scope":168523,"src":"670:25:263","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":168334,"name":"bytes32","nodeType":"ElementaryTypeName","src":"670:7:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168335,"nodeType":"ArrayTypeName","src":"670:9:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":168342,"initialValue":{"arguments":[{"id":168340,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168329,"src":"712:6:263","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":168339,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"698:13:263","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":168337,"name":"bytes32","nodeType":"ElementaryTypeName","src":"702:7:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168338,"nodeType":"ArrayTypeName","src":"702:9:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":168341,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"698:21:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"670:49:263"},{"assignments":[168347],"declarations":[{"constant":false,"id":168347,"mutability":"mutable","name":"encodedLengthss","nameLocation":"740:15:263","nodeType":"VariableDeclaration","scope":168523,"src":"723:32:263","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":168345,"name":"bytes32","nodeType":"ElementaryTypeName","src":"723:7:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168346,"nodeType":"ArrayTypeName","src":"723:9:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":168353,"initialValue":{"arguments":[{"id":168351,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168329,"src":"772:6:263","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":168350,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"758:13:263","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":168348,"name":"bytes32","nodeType":"ElementaryTypeName","src":"762:7:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168349,"nodeType":"ArrayTypeName","src":"762:9:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":168352,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"758:21:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"723:56:263"},{"assignments":[168358],"declarations":[{"constant":false,"id":168358,"mutability":"mutable","name":"staticDatas","nameLocation":"798:11:263","nodeType":"VariableDeclaration","scope":168523,"src":"783:26:263","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":168356,"name":"bytes","nodeType":"ElementaryTypeName","src":"783:5:263","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":168357,"nodeType":"ArrayTypeName","src":"783:7:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":168364,"initialValue":{"arguments":[{"id":168362,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168329,"src":"824:6:263","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":168361,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"812:11:263","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":168359,"name":"bytes","nodeType":"ElementaryTypeName","src":"816:5:263","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":168360,"nodeType":"ArrayTypeName","src":"816:7:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":168363,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"812:19:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"783:48:263"},{"assignments":[168369],"declarations":[{"constant":false,"id":168369,"mutability":"mutable","name":"dynamicDatas","nameLocation":"850:12:263","nodeType":"VariableDeclaration","scope":168523,"src":"835:27:263","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":168367,"name":"bytes","nodeType":"ElementaryTypeName","src":"835:5:263","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":168368,"nodeType":"ArrayTypeName","src":"835:7:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":168375,"initialValue":{"arguments":[{"id":168373,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168329,"src":"877:6:263","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":168372,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"865:11:263","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":168370,"name":"bytes","nodeType":"ElementaryTypeName","src":"869:5:263","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":168371,"nodeType":"ArrayTypeName","src":"869:7:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":168374,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"865:19:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"835:49:263"},{"assignments":[168377],"declarations":[{"constant":false,"id":168377,"mutability":"mutable","name":"staticData","nameLocation":"902:10:263","nodeType":"VariableDeclaration","scope":168523,"src":"889:23:263","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":168376,"name":"bytes","nodeType":"ElementaryTypeName","src":"889:5:263","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":168378,"nodeType":"VariableDeclarationStatement","src":"889:23:263"},{"assignments":[168381],"declarations":[{"constant":false,"id":168381,"mutability":"mutable","name":"encodedLengths","nameLocation":"931:14:263","nodeType":"VariableDeclaration","scope":168523,"src":"916:29:263","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":168380,"nodeType":"UserDefinedTypeName","pathNode":{"id":168379,"name":"EncodedLengths","nameLocations":["916:14:263"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"916:14:263"},"referencedDeclaration":7251,"src":"916:14:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":168382,"nodeType":"VariableDeclarationStatement","src":"916:29:263"},{"assignments":[168384],"declarations":[{"constant":false,"id":168384,"mutability":"mutable","name":"dynamicData","nameLocation":"962:11:263","nodeType":"VariableDeclaration","scope":168523,"src":"949:24:263","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":168383,"name":"bytes","nodeType":"ElementaryTypeName","src":"949:5:263","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":168385,"nodeType":"VariableDeclarationStatement","src":"949:24:263"},{"expression":{"id":168394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168386,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168336,"src":"978:8:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":168388,"indexExpression":{"hexValue":"30","id":168387,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"987:1:263","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:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":168391,"name":"TerrainType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":162649,"src":"1010:11:263","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TerrainType_$162649_$","typeString":"type(library TerrainType)"}},"id":168392,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1022:8:263","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":162113,"src":"1010:20:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":168389,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"992:10:263","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":168390,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1003:6:263","memberName":"unwrap","nodeType":"MemberAccess","src":"992:17:263","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":168393,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"992:39:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"978:53:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168395,"nodeType":"ExpressionStatement","src":"978:53:263"},{"expression":{"id":168404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168396,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168336,"src":"1035:8:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":168398,"indexExpression":{"hexValue":"31","id":168397,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1044:1:263","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1035:11:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":168401,"name":"MoveDifficulty","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142970,"src":"1067:14:263","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_MoveDifficulty_$142970_$","typeString":"type(library MoveDifficulty)"}},"id":168402,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1082:8:263","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":142284,"src":"1067:23:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":168399,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1049:10:263","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":168400,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1060:6:263","memberName":"unwrap","nodeType":"MemberAccess","src":"1049:17:263","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":168403,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1049:42:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1035:56:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168405,"nodeType":"ExpressionStatement","src":"1035:56:263"},{"expression":{"id":168414,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168406,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168336,"src":"1095:8:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":168408,"indexExpression":{"hexValue":"32","id":168407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1104:1:263","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1095:11:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":168411,"name":"ArmorModifier","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":90762,"src":"1127:13:263","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ArmorModifier_$90762_$","typeString":"type(library ArmorModifier)"}},"id":168412,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1141:8:263","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":90076,"src":"1127:22:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":168409,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1109:10:263","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":168410,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1120:6:263","memberName":"unwrap","nodeType":"MemberAccess","src":"1109:17:263","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":168413,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1109:41:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1095:55:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168415,"nodeType":"ExpressionStatement","src":"1095:55:263"},{"expression":{"id":168429,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":168416,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168377,"src":"1156:10:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":168417,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168381,"src":"1168:14:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":168418,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168384,"src":"1184:11:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":168419,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1155:41:263","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":"32","id":168425,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1237:1:263","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":168424,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1231:5:263","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":168423,"name":"uint8","nodeType":"ElementaryTypeName","src":"1231:5:263","typeDescriptions":{}}},"id":168426,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1231:8:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":168422,"name":"TerrainTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87314,"src":"1218:12:263","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_TerrainTypes_$87314_$","typeString":"type(enum TerrainTypes)"}},"id":168427,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1218:22:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_TerrainTypes_$87314","typeString":"enum TerrainTypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_TerrainTypes_$87314","typeString":"enum TerrainTypes"}],"expression":{"id":168420,"name":"TerrainType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":162649,"src":"1199:11:263","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TerrainType_$162649_$","typeString":"type(library TerrainType)"}},"id":168421,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1211:6:263","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":162611,"src":"1199:18:263","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_TerrainTypes_$87314_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (enum TerrainTypes) pure returns (bytes memory,EncodedLengths,bytes memory)"}},"id":168428,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1199:42:263","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":"1155:86:263","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":168430,"nodeType":"ExpressionStatement","src":"1155:86:263"},{"expression":{"id":168435,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168431,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168358,"src":"1245:11:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":168433,"indexExpression":{"hexValue":"30","id":168432,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1257:1:263","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1245:14:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":168434,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168377,"src":"1262:10:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1245:27:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":168436,"nodeType":"ExpressionStatement","src":"1245:27:263"},{"expression":{"id":168444,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168437,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168347,"src":"1276:15:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":168439,"indexExpression":{"hexValue":"30","id":168438,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1292:1:263","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1276:18:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":168442,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168381,"src":"1319:14:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":168440,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1297:14:263","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":168441,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1312:6:263","memberName":"unwrap","nodeType":"MemberAccess","src":"1297:21:263","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":168443,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1297:37:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1276:58:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168445,"nodeType":"ExpressionStatement","src":"1276:58:263"},{"expression":{"id":168450,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168446,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168369,"src":"1338:12:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":168448,"indexExpression":{"hexValue":"30","id":168447,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1351:1:263","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1338:15:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":168449,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168384,"src":"1356:11:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1338:29:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":168451,"nodeType":"ExpressionStatement","src":"1338:29:263"},{"expression":{"id":168460,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":168452,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168377,"src":"1373:10:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":168453,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168381,"src":"1385:14:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":168454,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168384,"src":"1401:11:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":168455,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1372:41:263","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":"32303030","id":168458,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1438:4:263","typeDescriptions":{"typeIdentifier":"t_rational_2000_by_1","typeString":"int_const 2000"},"value":"2000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2000_by_1","typeString":"int_const 2000"}],"expression":{"id":168456,"name":"MoveDifficulty","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142970,"src":"1416:14:263","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_MoveDifficulty_$142970_$","typeString":"type(library MoveDifficulty)"}},"id":168457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1431:6:263","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":142932,"src":"1416:21:263","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":168459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1416:27:263","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":"1372:71:263","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":168461,"nodeType":"ExpressionStatement","src":"1372:71:263"},{"expression":{"id":168466,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168462,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168358,"src":"1447:11:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":168464,"indexExpression":{"hexValue":"31","id":168463,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1459:1:263","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1447:14:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":168465,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168377,"src":"1464:10:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1447:27:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":168467,"nodeType":"ExpressionStatement","src":"1447:27:263"},{"expression":{"id":168475,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168468,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168347,"src":"1478:15:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":168470,"indexExpression":{"hexValue":"31","id":168469,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1494:1:263","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1478:18:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":168473,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168381,"src":"1521:14:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":168471,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1499:14:263","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":168472,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1514:6:263","memberName":"unwrap","nodeType":"MemberAccess","src":"1499:21:263","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":168474,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1499:37:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1478:58:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168476,"nodeType":"ExpressionStatement","src":"1478:58:263"},{"expression":{"id":168481,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168477,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168369,"src":"1540:12:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":168479,"indexExpression":{"hexValue":"31","id":168478,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1553:1:263","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1540:15:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":168480,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168384,"src":"1558:11:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1540:29:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":168482,"nodeType":"ExpressionStatement","src":"1540:29:263"},{"expression":{"id":168492,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":168483,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168377,"src":"1575:10:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":168484,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168381,"src":"1587:14:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":168485,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168384,"src":"1603:11:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":168486,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1574:41:263","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":[{"id":168490,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"1639:3:263","subExpression":{"hexValue":"3330","id":168489,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1640:2:263","typeDescriptions":{"typeIdentifier":"t_rational_30_by_1","typeString":"int_const 30"},"value":"30"},"typeDescriptions":{"typeIdentifier":"t_rational_minus_30_by_1","typeString":"int_const -30"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_minus_30_by_1","typeString":"int_const -30"}],"expression":{"id":168487,"name":"ArmorModifier","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":90762,"src":"1618:13:263","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ArmorModifier_$90762_$","typeString":"type(library ArmorModifier)"}},"id":168488,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1632:6:263","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":90724,"src":"1618:20:263","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":168491,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1618:25:263","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":"1574:69:263","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":168493,"nodeType":"ExpressionStatement","src":"1574:69:263"},{"expression":{"id":168498,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168494,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168358,"src":"1647:11:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":168496,"indexExpression":{"hexValue":"32","id":168495,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1659:1:263","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1647:14:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":168497,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168377,"src":"1664:10:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1647:27:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":168499,"nodeType":"ExpressionStatement","src":"1647:27:263"},{"expression":{"id":168507,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168500,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168347,"src":"1678:15:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":168502,"indexExpression":{"hexValue":"32","id":168501,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1694:1:263","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1678:18:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":168505,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168381,"src":"1721:14:263","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":168503,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1699:14:263","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":168504,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1714:6:263","memberName":"unwrap","nodeType":"MemberAccess","src":"1699:21:263","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":168506,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1699:37:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1678:58:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":168508,"nodeType":"ExpressionStatement","src":"1678:58:263"},{"expression":{"id":168513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":168509,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168369,"src":"1740:12:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":168511,"indexExpression":{"hexValue":"32","id":168510,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1753:1:263","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1740:15:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":168512,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168384,"src":"1758:11:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1740:29:263","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":168514,"nodeType":"ExpressionStatement","src":"1740:29:263"},{"expression":{"arguments":[{"id":168516,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168323,"src":"1789:10:263","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":168517,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168336,"src":"1801:8:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":168518,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168358,"src":"1811:11:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},{"id":168519,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168347,"src":"1824:15:263","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":168520,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168369,"src":"1841:12:263","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":168515,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"1774:14:263","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":168521,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1774:80:263","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":168522,"nodeType":"ExpressionStatement","src":"1774:80:263"}]},"implemented":true,"kind":"freeFunction","modifiers":[],"name":"MountainTemplate","nameLocation":"647:16:263","parameters":{"id":168330,"nodeType":"ParameterList","parameters":[],"src":"663:2:263"},"returnParameters":{"id":168331,"nodeType":"ParameterList","parameters":[],"src":"666:0:263"},"scope":168525,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"license":"MIT"},"id":263}