{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/codegen/templates/SwordsmanTemplate.sol","id":170571,"exportedSymbols":{"Combat":[98974],"CombatArchetypes":[87309],"EncodedLengths":[7251],"GoldOnKill":[109628],"LENGTH":[170282],"Movable":[142252],"ResourceId":[9486],"StructureTypes":[87321],"SwordsmanTemplate":[170570],"SwordsmanTemplateId":[170279],"TerrainTypes":[87314],"UnitType":[163219],"UnitTypes":[87294],"Untraversable":[163933],"createTemplate":[177313],"templateId":[170276]},"nodeType":"SourceUnit","src":"32:2403:268","nodes":[{"id":170256,"nodeType":"PragmaDirective","src":"32:25:268","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":170258,"nodeType":"ImportDirective","src":"108:74:268","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":170571,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":170257,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"117:14:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170260,"nodeType":"ImportDirective","src":"183:66:268","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":170571,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":170259,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"192:10:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170262,"nodeType":"ImportDirective","src":"250:77:268","nodes":[],"absolutePath":"src/libraries/templates/createTemplate.sol","file":"base/libraries/templates/createTemplate.sol","nameLocation":"-1:-1:-1","scope":170571,"sourceUnit":177314,"symbolAliases":[{"foreign":{"id":170261,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"259:14:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170267,"nodeType":"ImportDirective","src":"328:100:268","nodes":[],"absolutePath":"src/codegen/common.sol","file":"base/codegen/common.sol","nameLocation":"-1:-1:-1","scope":170571,"sourceUnit":87322,"symbolAliases":[{"foreign":{"id":170263,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"337:9:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170264,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"348:16:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170265,"name":"TerrainTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87314,"src":"366:12:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170266,"name":"StructureTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87321,"src":"380:14:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170273,"nodeType":"ImportDirective","src":"430:94:268","nodes":[],"absolutePath":"src/codegen/index.sol","file":"base/codegen/index.sol","nameLocation":"-1:-1:-1","scope":170571,"sourceUnit":87483,"symbolAliases":[{"foreign":{"id":170268,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"439:6:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170269,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"447:8:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170270,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"457:10:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170271,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"469:7:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":170272,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"478:13:268","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":170276,"nodeType":"VariableDeclaration","src":"526:41:268","nodes":[],"constant":true,"mutability":"constant","name":"templateId","nameLocation":"543:10:268","scope":170571,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":170274,"name":"bytes32","nodeType":"ElementaryTypeName","src":"526:7:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"53776f7264736d616e","id":170275,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"556:11:268","typeDescriptions":{"typeIdentifier":"t_stringliteral_3424d378fa9785b9f0c28a66e638d1b64e939db42bf88929b1b1c4f2ccce3405","typeString":"literal_string \"Swordsman\""},"value":"Swordsman"},"visibility":"internal"},{"id":170279,"nodeType":"VariableDeclaration","src":"569:49:268","nodes":[],"constant":true,"mutability":"constant","name":"SwordsmanTemplateId","nameLocation":"586:19:268","scope":170571,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":170277,"name":"bytes32","nodeType":"ElementaryTypeName","src":"569:7:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"id":170278,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170276,"src":"608:10:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"id":170282,"nodeType":"VariableDeclaration","src":"620:27:268","nodes":[],"constant":true,"mutability":"constant","name":"LENGTH","nameLocation":"637:6:268","scope":170571,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":170280,"name":"uint256","nodeType":"ElementaryTypeName","src":"620:7:268","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"35","id":170281,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"646:1:268","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"visibility":"internal"},{"id":170570,"nodeType":"FunctionDefinition","src":"650:1784:268","nodes":[],"body":{"id":170569,"nodeType":"Block","src":"679:1755:268","nodes":[],"statements":[{"assignments":[170289],"declarations":[{"constant":false,"id":170289,"mutability":"mutable","name":"tableIds","nameLocation":"700:8:268","nodeType":"VariableDeclaration","scope":170569,"src":"683:25:268","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":170287,"name":"bytes32","nodeType":"ElementaryTypeName","src":"683:7:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170288,"nodeType":"ArrayTypeName","src":"683:9:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":170295,"initialValue":{"arguments":[{"id":170293,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170282,"src":"725:6:268","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":170292,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"711:13:268","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":170290,"name":"bytes32","nodeType":"ElementaryTypeName","src":"715:7:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170291,"nodeType":"ArrayTypeName","src":"715:9:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":170294,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"711:21:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"683:49:268"},{"assignments":[170300],"declarations":[{"constant":false,"id":170300,"mutability":"mutable","name":"encodedLengthss","nameLocation":"753:15:268","nodeType":"VariableDeclaration","scope":170569,"src":"736:32:268","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":170298,"name":"bytes32","nodeType":"ElementaryTypeName","src":"736:7:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170299,"nodeType":"ArrayTypeName","src":"736:9:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":170306,"initialValue":{"arguments":[{"id":170304,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170282,"src":"785:6:268","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":170303,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"771:13:268","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":170301,"name":"bytes32","nodeType":"ElementaryTypeName","src":"775:7:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170302,"nodeType":"ArrayTypeName","src":"775:9:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":170305,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"771:21:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"736:56:268"},{"assignments":[170311],"declarations":[{"constant":false,"id":170311,"mutability":"mutable","name":"staticDatas","nameLocation":"811:11:268","nodeType":"VariableDeclaration","scope":170569,"src":"796:26:268","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":170309,"name":"bytes","nodeType":"ElementaryTypeName","src":"796:5:268","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":170310,"nodeType":"ArrayTypeName","src":"796:7:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":170317,"initialValue":{"arguments":[{"id":170315,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170282,"src":"837:6:268","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":170314,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"825:11:268","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":170312,"name":"bytes","nodeType":"ElementaryTypeName","src":"829:5:268","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":170313,"nodeType":"ArrayTypeName","src":"829:7:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":170316,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"825:19:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"796:48:268"},{"assignments":[170322],"declarations":[{"constant":false,"id":170322,"mutability":"mutable","name":"dynamicDatas","nameLocation":"863:12:268","nodeType":"VariableDeclaration","scope":170569,"src":"848:27:268","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":170320,"name":"bytes","nodeType":"ElementaryTypeName","src":"848:5:268","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":170321,"nodeType":"ArrayTypeName","src":"848:7:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":170328,"initialValue":{"arguments":[{"id":170326,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170282,"src":"890:6:268","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":170325,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"878:11:268","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":170323,"name":"bytes","nodeType":"ElementaryTypeName","src":"882:5:268","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":170324,"nodeType":"ArrayTypeName","src":"882:7:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":170327,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"878:19:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"848:49:268"},{"assignments":[170330],"declarations":[{"constant":false,"id":170330,"mutability":"mutable","name":"staticData","nameLocation":"915:10:268","nodeType":"VariableDeclaration","scope":170569,"src":"902:23:268","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":170329,"name":"bytes","nodeType":"ElementaryTypeName","src":"902:5:268","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":170331,"nodeType":"VariableDeclarationStatement","src":"902:23:268"},{"assignments":[170334],"declarations":[{"constant":false,"id":170334,"mutability":"mutable","name":"encodedLengths","nameLocation":"944:14:268","nodeType":"VariableDeclaration","scope":170569,"src":"929:29:268","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":170333,"nodeType":"UserDefinedTypeName","pathNode":{"id":170332,"name":"EncodedLengths","nameLocations":["929:14:268"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"929:14:268"},"referencedDeclaration":7251,"src":"929:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":170335,"nodeType":"VariableDeclarationStatement","src":"929:29:268"},{"assignments":[170337],"declarations":[{"constant":false,"id":170337,"mutability":"mutable","name":"dynamicData","nameLocation":"975:11:268","nodeType":"VariableDeclaration","scope":170569,"src":"962:24:268","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":170336,"name":"bytes","nodeType":"ElementaryTypeName","src":"962:5:268","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":170338,"nodeType":"VariableDeclarationStatement","src":"962:24:268"},{"expression":{"id":170347,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170339,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170289,"src":"991:8:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170341,"indexExpression":{"hexValue":"30","id":170340,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1000:1:268","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"991:11:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":170344,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1023:6:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":170345,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1030:8:268","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":96603,"src":"1023:15:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":170342,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1005:10:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":170343,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1016:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"1005:17:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":170346,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1005:34:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"991:48:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170348,"nodeType":"ExpressionStatement","src":"991:48:268"},{"expression":{"id":170357,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170349,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170289,"src":"1043:8:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170351,"indexExpression":{"hexValue":"31","id":170350,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1052:1:268","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1043:11:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":170354,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"1075:8:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnitType_$163219_$","typeString":"type(library UnitType)"}},"id":170355,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1084:8:268","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":162683,"src":"1075:17:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":170352,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1057:10:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":170353,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1068:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"1057:17:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":170356,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1057:36:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1043:50:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170358,"nodeType":"ExpressionStatement","src":"1043:50:268"},{"expression":{"id":170367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170359,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170289,"src":"1097:8:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170361,"indexExpression":{"hexValue":"32","id":170360,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1106:1:268","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1097:11:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":170364,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"1129:10:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_GoldOnKill_$109628_$","typeString":"type(library GoldOnKill)"}},"id":170365,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1140:8:268","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":108942,"src":"1129:19:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":170362,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1111:10:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":170363,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1122:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"1111:17:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":170366,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1111:38:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1097:52:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170368,"nodeType":"ExpressionStatement","src":"1097:52:268"},{"expression":{"id":170377,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170369,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170289,"src":"1153:8:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170371,"indexExpression":{"hexValue":"33","id":170370,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1162:1:268","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1153:11:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":170374,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"1185:7:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Movable_$142252_$","typeString":"type(library Movable)"}},"id":170375,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1193:8:268","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":141566,"src":"1185:16:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":170372,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1167:10:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":170373,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1178:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"1167:17:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":170376,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1167:35:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1153:49:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170378,"nodeType":"ExpressionStatement","src":"1153:49:268"},{"expression":{"id":170387,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170379,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170289,"src":"1206:8:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170381,"indexExpression":{"hexValue":"34","id":170380,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1215:1:268","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1206:11:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":170384,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"1238:13:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":170385,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1252:8:268","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":163251,"src":"1238:22:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":170382,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1220:10:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":170383,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1231:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"1220:17:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":170386,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1220:41:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1206:55:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170388,"nodeType":"ExpressionStatement","src":"1206:55:268"},{"expression":{"id":170409,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":170389,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"1267:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":170390,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"1279:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":170391,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"1295:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":170392,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1266:41:268","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":"313230303030","id":170395,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1329:6:268","typeDescriptions":{"typeIdentifier":"t_rational_120000_by_1","typeString":"int_const 120000"},"value":"120000"},{"hexValue":"313230303030","id":170396,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1341:6:268","typeDescriptions":{"typeIdentifier":"t_rational_120000_by_1","typeString":"int_const 120000"},"value":"120000"},{"hexValue":"3530303030","id":170397,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1353:5:268","typeDescriptions":{"typeIdentifier":"t_rational_50000_by_1","typeString":"int_const 50000"},"value":"50000"},{"id":170399,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"1364:3:268","subExpression":{"hexValue":"3330","id":170398,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1365:2:268","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"}},{"hexValue":"30","id":170400,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1373:1:268","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"31","id":170401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1380:1:268","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"arguments":[{"hexValue":"31","id":170405,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1410:1:268","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":170404,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1404:5:268","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":170403,"name":"uint8","nodeType":"ElementaryTypeName","src":"1404:5:268","typeDescriptions":{}}},"id":170406,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1404:8:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":170402,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"1387:16:268","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_CombatArchetypes_$87309_$","typeString":"type(enum CombatArchetypes)"}},"id":170407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1387:26:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_CombatArchetypes_$87309","typeString":"enum CombatArchetypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_120000_by_1","typeString":"int_const 120000"},{"typeIdentifier":"t_rational_120000_by_1","typeString":"int_const 120000"},{"typeIdentifier":"t_rational_50000_by_1","typeString":"int_const 50000"},{"typeIdentifier":"t_rational_minus_30_by_1","typeString":"int_const -30"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_enum$_CombatArchetypes_$87309","typeString":"enum CombatArchetypes"}],"expression":{"id":170393,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1310:6:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":170394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1317:6:268","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":98936,"src":"1310:13:268","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":170408,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1310:107:268","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":"1266:151:268","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170410,"nodeType":"ExpressionStatement","src":"1266:151:268"},{"expression":{"id":170415,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170411,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170311,"src":"1421:11:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170413,"indexExpression":{"hexValue":"30","id":170412,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1433:1:268","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1421:14:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170414,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"1438:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1421:27:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170416,"nodeType":"ExpressionStatement","src":"1421:27:268"},{"expression":{"id":170424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170417,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170300,"src":"1452:15:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170419,"indexExpression":{"hexValue":"30","id":170418,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1468:1:268","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1452:18:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":170422,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"1495:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":170420,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1473:14:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":170421,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1488:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"1473:21:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":170423,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1473:37:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1452:58:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170425,"nodeType":"ExpressionStatement","src":"1452:58:268"},{"expression":{"id":170430,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170426,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170322,"src":"1514:12:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170428,"indexExpression":{"hexValue":"30","id":170427,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1527:1:268","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1514:15:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170429,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"1532:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1514:29:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170431,"nodeType":"ExpressionStatement","src":"1514:29:268"},{"expression":{"id":170445,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":170432,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"1549:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":170433,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"1561:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":170434,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"1577:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":170435,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1548:41:268","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":"31","id":170441,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1624:1:268","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":170440,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1618:5:268","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":170439,"name":"uint8","nodeType":"ElementaryTypeName","src":"1618:5:268","typeDescriptions":{}}},"id":170442,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1618:8:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":170438,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"1608:9:268","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_UnitTypes_$87294_$","typeString":"type(enum UnitTypes)"}},"id":170443,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1608:19:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_UnitTypes_$87294","typeString":"enum UnitTypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_UnitTypes_$87294","typeString":"enum UnitTypes"}],"expression":{"id":170436,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"1592:8:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnitType_$163219_$","typeString":"type(library UnitType)"}},"id":170437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1601:6:268","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163181,"src":"1592:15:268","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_UnitTypes_$87294_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (enum UnitTypes) pure returns (bytes memory,EncodedLengths,bytes memory)"}},"id":170444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1592:36:268","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":"1548:80:268","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170446,"nodeType":"ExpressionStatement","src":"1548:80:268"},{"expression":{"id":170451,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170447,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170311,"src":"1632:11:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170449,"indexExpression":{"hexValue":"31","id":170448,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1644:1:268","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1632:14:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170450,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"1649:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1632:27:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170452,"nodeType":"ExpressionStatement","src":"1632:27:268"},{"expression":{"id":170460,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170453,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170300,"src":"1663:15:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170455,"indexExpression":{"hexValue":"31","id":170454,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1679:1:268","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1663:18:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":170458,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"1706:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":170456,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1684:14:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":170457,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1699:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"1684:21:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":170459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1684:37:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1663:58:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170461,"nodeType":"ExpressionStatement","src":"1663:58:268"},{"expression":{"id":170466,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170462,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170322,"src":"1725:12:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170464,"indexExpression":{"hexValue":"31","id":170463,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1738:1:268","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1725:15:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170465,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"1743:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1725:29:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170467,"nodeType":"ExpressionStatement","src":"1725:29:268"},{"expression":{"id":170476,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":170468,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"1760:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":170469,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"1772:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":170470,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"1788:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":170471,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1759:41:268","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":"3235","id":170474,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1821:2:268","typeDescriptions":{"typeIdentifier":"t_rational_25_by_1","typeString":"int_const 25"},"value":"25"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_25_by_1","typeString":"int_const 25"}],"expression":{"id":170472,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"1803:10:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_GoldOnKill_$109628_$","typeString":"type(library GoldOnKill)"}},"id":170473,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1814:6:268","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":109590,"src":"1803:17:268","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":170475,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1803:21:268","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":"1759:65:268","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170477,"nodeType":"ExpressionStatement","src":"1759:65:268"},{"expression":{"id":170482,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170478,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170311,"src":"1828:11:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170480,"indexExpression":{"hexValue":"32","id":170479,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1840:1:268","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1828:14:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170481,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"1845:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1828:27:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170483,"nodeType":"ExpressionStatement","src":"1828:27:268"},{"expression":{"id":170491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170484,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170300,"src":"1859:15:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170486,"indexExpression":{"hexValue":"32","id":170485,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1875:1:268","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1859:18:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":170489,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"1902:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":170487,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1880:14:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":170488,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1895:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"1880:21:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":170490,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1880:37:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1859:58:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170492,"nodeType":"ExpressionStatement","src":"1859:58:268"},{"expression":{"id":170497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170493,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170322,"src":"1921:12:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170495,"indexExpression":{"hexValue":"32","id":170494,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1934:1:268","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1921:15:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170496,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"1939:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1921:29:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170498,"nodeType":"ExpressionStatement","src":"1921:29:268"},{"expression":{"id":170507,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":170499,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"1956:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":170500,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"1968:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":170501,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"1984:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":170502,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1955:41:268","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":"33303030","id":170505,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2014:4:268","typeDescriptions":{"typeIdentifier":"t_rational_3000_by_1","typeString":"int_const 3000"},"value":"3000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3000_by_1","typeString":"int_const 3000"}],"expression":{"id":170503,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"1999:7:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Movable_$142252_$","typeString":"type(library Movable)"}},"id":170504,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2007:6:268","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":142214,"src":"1999:14:268","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":170506,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1999:20:268","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":"1955:64:268","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170508,"nodeType":"ExpressionStatement","src":"1955:64:268"},{"expression":{"id":170513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170509,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170311,"src":"2023:11:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170511,"indexExpression":{"hexValue":"33","id":170510,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2035:1:268","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2023:14:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170512,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"2040:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2023:27:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170514,"nodeType":"ExpressionStatement","src":"2023:27:268"},{"expression":{"id":170522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170515,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170300,"src":"2054:15:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170517,"indexExpression":{"hexValue":"33","id":170516,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2070:1:268","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2054:18:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":170520,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"2097:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":170518,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"2075:14:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":170519,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2090:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"2075:21:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":170521,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2075:37:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2054:58:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170523,"nodeType":"ExpressionStatement","src":"2054:58:268"},{"expression":{"id":170528,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170524,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170322,"src":"2116:12:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170526,"indexExpression":{"hexValue":"33","id":170525,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2129:1:268","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2116:15:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170527,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"2134:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2116:29:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170529,"nodeType":"ExpressionStatement","src":"2116:29:268"},{"expression":{"id":170538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":170530,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"2151:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":170531,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"2163:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":170532,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"2179:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":170533,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"2150:41:268","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":170536,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2215:4:268","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":170534,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"2194:13:268","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":170535,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2208:6:268","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163895,"src":"2194:20:268","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":170537,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2194:26:268","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":"2150:70:268","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170539,"nodeType":"ExpressionStatement","src":"2150:70:268"},{"expression":{"id":170544,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170540,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170311,"src":"2224:11:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170542,"indexExpression":{"hexValue":"34","id":170541,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2236:1:268","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2224:14:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170543,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170330,"src":"2241:10:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2224:27:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170545,"nodeType":"ExpressionStatement","src":"2224:27:268"},{"expression":{"id":170553,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170546,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170300,"src":"2255:15:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":170548,"indexExpression":{"hexValue":"34","id":170547,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2271:1:268","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2255:18:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":170551,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170334,"src":"2298:14:268","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":170549,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"2276:14:268","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":170550,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2291:6:268","memberName":"unwrap","nodeType":"MemberAccess","src":"2276:21:268","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":170552,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2276:37:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2255:58:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":170554,"nodeType":"ExpressionStatement","src":"2255:58:268"},{"expression":{"id":170559,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170555,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170322,"src":"2317:12:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":170557,"indexExpression":{"hexValue":"34","id":170556,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2330:1:268","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2317:15:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":170558,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170337,"src":"2335:11:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2317:29:268","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":170560,"nodeType":"ExpressionStatement","src":"2317:29:268"},{"expression":{"arguments":[{"id":170562,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170276,"src":"2366:10:268","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":170563,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170289,"src":"2378:8:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":170564,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170311,"src":"2388:11:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},{"id":170565,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170300,"src":"2401:15:268","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":170566,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":170322,"src":"2418:12:268","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":170561,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"2351:14:268","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":170567,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2351:80:268","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":170568,"nodeType":"ExpressionStatement","src":"2351:80:268"}]},"implemented":true,"kind":"freeFunction","modifiers":[],"name":"SwordsmanTemplate","nameLocation":"659:17:268","parameters":{"id":170283,"nodeType":"ParameterList","parameters":[],"src":"676:2:268"},"returnParameters":{"id":170284,"nodeType":"ParameterList","parameters":[],"src":"679:0:268"},"scope":170571,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"license":"MIT"},"id":268}