{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/codegen/templates/KnightTemplate.sol","id":167857,"exportedSymbols":{"Combat":[98974],"CombatArchetypes":[87309],"EncodedLengths":[7251],"GoldOnKill":[109628],"KnightTemplate":[167856],"KnightTemplateId":[167565],"LENGTH":[167568],"Movable":[142252],"ResourceId":[9486],"StructureTypes":[87321],"TerrainTypes":[87314],"UnitType":[163219],"UnitTypes":[87294],"Untraversable":[163933],"createTemplate":[177313],"templateId":[167562]},"nodeType":"SourceUnit","src":"32:2395:260","nodes":[{"id":167542,"nodeType":"PragmaDirective","src":"32:25:260","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":167544,"nodeType":"ImportDirective","src":"108:74:260","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":167857,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":167543,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"117:14:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":167546,"nodeType":"ImportDirective","src":"183:66:260","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":167857,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":167545,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"192:10:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":167548,"nodeType":"ImportDirective","src":"250:77:260","nodes":[],"absolutePath":"src/libraries/templates/createTemplate.sol","file":"base/libraries/templates/createTemplate.sol","nameLocation":"-1:-1:-1","scope":167857,"sourceUnit":177314,"symbolAliases":[{"foreign":{"id":167547,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"259:14:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":167553,"nodeType":"ImportDirective","src":"328:100:260","nodes":[],"absolutePath":"src/codegen/common.sol","file":"base/codegen/common.sol","nameLocation":"-1:-1:-1","scope":167857,"sourceUnit":87322,"symbolAliases":[{"foreign":{"id":167549,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"337:9:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":167550,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"348:16:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":167551,"name":"TerrainTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87314,"src":"366:12:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":167552,"name":"StructureTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87321,"src":"380:14:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":167559,"nodeType":"ImportDirective","src":"430:94:260","nodes":[],"absolutePath":"src/codegen/index.sol","file":"base/codegen/index.sol","nameLocation":"-1:-1:-1","scope":167857,"sourceUnit":87483,"symbolAliases":[{"foreign":{"id":167554,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"439:6:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":167555,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"447:8:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":167556,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"457:10:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":167557,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"469:7:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":167558,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"478:13:260","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":167562,"nodeType":"VariableDeclaration","src":"526:38:260","nodes":[],"constant":true,"mutability":"constant","name":"templateId","nameLocation":"543:10:260","scope":167857,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":167560,"name":"bytes32","nodeType":"ElementaryTypeName","src":"526:7:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"4b6e69676874","id":167561,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"556:8:260","typeDescriptions":{"typeIdentifier":"t_stringliteral_1ffbaab2766b063901adee17c2712bc0c90ee3726642127a7ac4fb93f4271493","typeString":"literal_string \"Knight\""},"value":"Knight"},"visibility":"internal"},{"id":167565,"nodeType":"VariableDeclaration","src":"566:46:260","nodes":[],"constant":true,"mutability":"constant","name":"KnightTemplateId","nameLocation":"583:16:260","scope":167857,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":167563,"name":"bytes32","nodeType":"ElementaryTypeName","src":"566:7:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"id":167564,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167562,"src":"602:10:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"id":167568,"nodeType":"VariableDeclaration","src":"614:27:260","nodes":[],"constant":true,"mutability":"constant","name":"LENGTH","nameLocation":"631:6:260","scope":167857,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":167566,"name":"uint256","nodeType":"ElementaryTypeName","src":"614:7:260","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"35","id":167567,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"640:1:260","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"visibility":"internal"},{"id":167856,"nodeType":"FunctionDefinition","src":"644:1782:260","nodes":[],"body":{"id":167855,"nodeType":"Block","src":"670:1756:260","nodes":[],"statements":[{"assignments":[167575],"declarations":[{"constant":false,"id":167575,"mutability":"mutable","name":"tableIds","nameLocation":"691:8:260","nodeType":"VariableDeclaration","scope":167855,"src":"674:25:260","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":167573,"name":"bytes32","nodeType":"ElementaryTypeName","src":"674:7:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167574,"nodeType":"ArrayTypeName","src":"674:9:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":167581,"initialValue":{"arguments":[{"id":167579,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167568,"src":"716:6:260","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":167578,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"702:13:260","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":167576,"name":"bytes32","nodeType":"ElementaryTypeName","src":"706:7:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167577,"nodeType":"ArrayTypeName","src":"706:9:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":167580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"702:21:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"674:49:260"},{"assignments":[167586],"declarations":[{"constant":false,"id":167586,"mutability":"mutable","name":"encodedLengthss","nameLocation":"744:15:260","nodeType":"VariableDeclaration","scope":167855,"src":"727:32:260","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":167584,"name":"bytes32","nodeType":"ElementaryTypeName","src":"727:7:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167585,"nodeType":"ArrayTypeName","src":"727:9:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":167592,"initialValue":{"arguments":[{"id":167590,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167568,"src":"776:6:260","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":167589,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"762:13:260","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":167587,"name":"bytes32","nodeType":"ElementaryTypeName","src":"766:7:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167588,"nodeType":"ArrayTypeName","src":"766:9:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":167591,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"762:21:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"727:56:260"},{"assignments":[167597],"declarations":[{"constant":false,"id":167597,"mutability":"mutable","name":"staticDatas","nameLocation":"802:11:260","nodeType":"VariableDeclaration","scope":167855,"src":"787:26:260","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":167595,"name":"bytes","nodeType":"ElementaryTypeName","src":"787:5:260","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":167596,"nodeType":"ArrayTypeName","src":"787:7:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":167603,"initialValue":{"arguments":[{"id":167601,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167568,"src":"828:6:260","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":167600,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"816:11:260","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":167598,"name":"bytes","nodeType":"ElementaryTypeName","src":"820:5:260","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":167599,"nodeType":"ArrayTypeName","src":"820:7:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":167602,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"816:19:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"787:48:260"},{"assignments":[167608],"declarations":[{"constant":false,"id":167608,"mutability":"mutable","name":"dynamicDatas","nameLocation":"854:12:260","nodeType":"VariableDeclaration","scope":167855,"src":"839:27:260","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":167606,"name":"bytes","nodeType":"ElementaryTypeName","src":"839:5:260","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":167607,"nodeType":"ArrayTypeName","src":"839:7:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":167614,"initialValue":{"arguments":[{"id":167612,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167568,"src":"881:6:260","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":167611,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"869:11:260","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":167609,"name":"bytes","nodeType":"ElementaryTypeName","src":"873:5:260","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":167610,"nodeType":"ArrayTypeName","src":"873:7:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":167613,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"869:19:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"839:49:260"},{"assignments":[167616],"declarations":[{"constant":false,"id":167616,"mutability":"mutable","name":"staticData","nameLocation":"906:10:260","nodeType":"VariableDeclaration","scope":167855,"src":"893:23:260","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":167615,"name":"bytes","nodeType":"ElementaryTypeName","src":"893:5:260","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":167617,"nodeType":"VariableDeclarationStatement","src":"893:23:260"},{"assignments":[167620],"declarations":[{"constant":false,"id":167620,"mutability":"mutable","name":"encodedLengths","nameLocation":"935:14:260","nodeType":"VariableDeclaration","scope":167855,"src":"920:29:260","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":167619,"nodeType":"UserDefinedTypeName","pathNode":{"id":167618,"name":"EncodedLengths","nameLocations":["920:14:260"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"920:14:260"},"referencedDeclaration":7251,"src":"920:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":167621,"nodeType":"VariableDeclarationStatement","src":"920:29:260"},{"assignments":[167623],"declarations":[{"constant":false,"id":167623,"mutability":"mutable","name":"dynamicData","nameLocation":"966:11:260","nodeType":"VariableDeclaration","scope":167855,"src":"953:24:260","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":167622,"name":"bytes","nodeType":"ElementaryTypeName","src":"953:5:260","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":167624,"nodeType":"VariableDeclarationStatement","src":"953:24:260"},{"expression":{"id":167633,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167625,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167575,"src":"982:8:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167627,"indexExpression":{"hexValue":"30","id":167626,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"991:1:260","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"982:11:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":167630,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1014:6:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":167631,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1021:8:260","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":96603,"src":"1014:15:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":167628,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"996:10:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":167629,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1007:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"996:17:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":167632,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"996:34:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"982:48:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167634,"nodeType":"ExpressionStatement","src":"982:48:260"},{"expression":{"id":167643,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167635,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167575,"src":"1034:8:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167637,"indexExpression":{"hexValue":"31","id":167636,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1043:1:260","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1034:11:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":167640,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"1066:8:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnitType_$163219_$","typeString":"type(library UnitType)"}},"id":167641,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1075:8:260","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":162683,"src":"1066:17:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":167638,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1048:10:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":167639,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1059:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"1048:17:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":167642,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1048:36:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1034:50:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167644,"nodeType":"ExpressionStatement","src":"1034:50:260"},{"expression":{"id":167653,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167645,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167575,"src":"1088:8:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167647,"indexExpression":{"hexValue":"32","id":167646,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1097:1:260","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1088:11:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":167650,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"1120:10:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_GoldOnKill_$109628_$","typeString":"type(library GoldOnKill)"}},"id":167651,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1131:8:260","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":108942,"src":"1120:19:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":167648,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1102:10:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":167649,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1113:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"1102:17:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":167652,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1102:38:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1088:52:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167654,"nodeType":"ExpressionStatement","src":"1088:52:260"},{"expression":{"id":167663,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167655,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167575,"src":"1144:8:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167657,"indexExpression":{"hexValue":"33","id":167656,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1153:1:260","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1144:11:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":167660,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"1176:7:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Movable_$142252_$","typeString":"type(library Movable)"}},"id":167661,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1184:8:260","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":141566,"src":"1176:16:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":167658,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1158:10:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":167659,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1169:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"1158:17:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":167662,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1158:35:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1144:49:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167664,"nodeType":"ExpressionStatement","src":"1144:49:260"},{"expression":{"id":167673,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167665,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167575,"src":"1197:8:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167667,"indexExpression":{"hexValue":"34","id":167666,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1206:1:260","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1197:11:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":167670,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"1229:13:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":167671,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1243:8:260","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":163251,"src":"1229:22:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":167668,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1211:10:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":167669,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1222:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"1211:17:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":167672,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1211:41:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1197:55:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167674,"nodeType":"ExpressionStatement","src":"1197:55:260"},{"expression":{"id":167695,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":167675,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"1258:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":167676,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"1270:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":167677,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"1286:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":167678,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1257:41:260","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":"313830303030","id":167681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1320:6:260","typeDescriptions":{"typeIdentifier":"t_rational_180000_by_1","typeString":"int_const 180000"},"value":"180000"},{"hexValue":"313830303030","id":167682,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1332:6:260","typeDescriptions":{"typeIdentifier":"t_rational_180000_by_1","typeString":"int_const 180000"},"value":"180000"},{"hexValue":"3530303030","id":167683,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1344:5:260","typeDescriptions":{"typeIdentifier":"t_rational_50000_by_1","typeString":"int_const 50000"},"value":"50000"},{"id":167685,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"1355:3:260","subExpression":{"hexValue":"3330","id":167684,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1356:2:260","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":167686,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1364:1:260","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"31","id":167687,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1371:1:260","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"arguments":[{"hexValue":"35","id":167691,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1401:1:260","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"}],"id":167690,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1395:5:260","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":167689,"name":"uint8","nodeType":"ElementaryTypeName","src":"1395:5:260","typeDescriptions":{}}},"id":167692,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1395:8:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":167688,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"1378:16:260","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_CombatArchetypes_$87309_$","typeString":"type(enum CombatArchetypes)"}},"id":167693,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1378:26:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_CombatArchetypes_$87309","typeString":"enum CombatArchetypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_180000_by_1","typeString":"int_const 180000"},{"typeIdentifier":"t_rational_180000_by_1","typeString":"int_const 180000"},{"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":167679,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1301:6:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":167680,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1308:6:260","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":98936,"src":"1301:13:260","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":167694,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1301:107:260","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":"1257:151:260","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":167696,"nodeType":"ExpressionStatement","src":"1257:151:260"},{"expression":{"id":167701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167697,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167597,"src":"1412:11:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167699,"indexExpression":{"hexValue":"30","id":167698,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1424:1:260","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1412:14:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167700,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"1429:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1412:27:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167702,"nodeType":"ExpressionStatement","src":"1412:27:260"},{"expression":{"id":167710,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167703,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167586,"src":"1443:15:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167705,"indexExpression":{"hexValue":"30","id":167704,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1459:1:260","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1443:18:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":167708,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"1486:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":167706,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1464:14:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":167707,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1479:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"1464:21:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":167709,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1464:37:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1443:58:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167711,"nodeType":"ExpressionStatement","src":"1443:58:260"},{"expression":{"id":167716,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167712,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167608,"src":"1505:12:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167714,"indexExpression":{"hexValue":"30","id":167713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1518:1:260","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1505:15:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167715,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"1523:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1505:29:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167717,"nodeType":"ExpressionStatement","src":"1505:29:260"},{"expression":{"id":167731,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":167718,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"1540:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":167719,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"1552:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":167720,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"1568:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":167721,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1539:41:260","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":"35","id":167727,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1615:1:260","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"}],"id":167726,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1609:5:260","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":167725,"name":"uint8","nodeType":"ElementaryTypeName","src":"1609:5:260","typeDescriptions":{}}},"id":167728,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1609:8:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":167724,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"1599:9:260","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_UnitTypes_$87294_$","typeString":"type(enum UnitTypes)"}},"id":167729,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1599:19:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_UnitTypes_$87294","typeString":"enum UnitTypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_UnitTypes_$87294","typeString":"enum UnitTypes"}],"expression":{"id":167722,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"1583:8:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnitType_$163219_$","typeString":"type(library UnitType)"}},"id":167723,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1592:6:260","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163181,"src":"1583:15:260","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":167730,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1583:36:260","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":"1539:80:260","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":167732,"nodeType":"ExpressionStatement","src":"1539:80:260"},{"expression":{"id":167737,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167733,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167597,"src":"1623:11:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167735,"indexExpression":{"hexValue":"31","id":167734,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1635:1:260","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1623:14:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167736,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"1640:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1623:27:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167738,"nodeType":"ExpressionStatement","src":"1623:27:260"},{"expression":{"id":167746,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167739,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167586,"src":"1654:15:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167741,"indexExpression":{"hexValue":"31","id":167740,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1670:1:260","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1654:18:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":167744,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"1697:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":167742,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1675:14:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":167743,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1690:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"1675:21:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":167745,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1675:37:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1654:58:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167747,"nodeType":"ExpressionStatement","src":"1654:58:260"},{"expression":{"id":167752,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167748,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167608,"src":"1716:12:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167750,"indexExpression":{"hexValue":"31","id":167749,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1729:1:260","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1716:15:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167751,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"1734:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1716:29:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167753,"nodeType":"ExpressionStatement","src":"1716:29:260"},{"expression":{"id":167762,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":167754,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"1751:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":167755,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"1763:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":167756,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"1779:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":167757,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1750:41:260","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":"313530","id":167760,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1812:3:260","typeDescriptions":{"typeIdentifier":"t_rational_150_by_1","typeString":"int_const 150"},"value":"150"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_150_by_1","typeString":"int_const 150"}],"expression":{"id":167758,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"1794:10:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_GoldOnKill_$109628_$","typeString":"type(library GoldOnKill)"}},"id":167759,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1805:6:260","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":109590,"src":"1794:17:260","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":167761,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1794:22:260","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":"1750:66:260","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":167763,"nodeType":"ExpressionStatement","src":"1750:66:260"},{"expression":{"id":167768,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167764,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167597,"src":"1820:11:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167766,"indexExpression":{"hexValue":"32","id":167765,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1832:1:260","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1820:14:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167767,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"1837:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1820:27:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167769,"nodeType":"ExpressionStatement","src":"1820:27:260"},{"expression":{"id":167777,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167770,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167586,"src":"1851:15:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167772,"indexExpression":{"hexValue":"32","id":167771,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1867:1:260","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1851:18:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":167775,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"1894:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":167773,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1872:14:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":167774,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1887:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"1872:21:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":167776,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1872:37:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1851:58:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167778,"nodeType":"ExpressionStatement","src":"1851:58:260"},{"expression":{"id":167783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167779,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167608,"src":"1913:12:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167781,"indexExpression":{"hexValue":"32","id":167780,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1926:1:260","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1913:15:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167782,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"1931:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1913:29:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167784,"nodeType":"ExpressionStatement","src":"1913:29:260"},{"expression":{"id":167793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":167785,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"1948:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":167786,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"1960:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":167787,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"1976:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":167788,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1947:41:260","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":"34353030","id":167791,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2006:4:260","typeDescriptions":{"typeIdentifier":"t_rational_4500_by_1","typeString":"int_const 4500"},"value":"4500"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_4500_by_1","typeString":"int_const 4500"}],"expression":{"id":167789,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"1991:7:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Movable_$142252_$","typeString":"type(library Movable)"}},"id":167790,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1999:6:260","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":142214,"src":"1991:14:260","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":167792,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1991:20:260","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":"1947:64:260","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":167794,"nodeType":"ExpressionStatement","src":"1947:64:260"},{"expression":{"id":167799,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167795,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167597,"src":"2015:11:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167797,"indexExpression":{"hexValue":"33","id":167796,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2027:1:260","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2015:14:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167798,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"2032:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2015:27:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167800,"nodeType":"ExpressionStatement","src":"2015:27:260"},{"expression":{"id":167808,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167801,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167586,"src":"2046:15:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167803,"indexExpression":{"hexValue":"33","id":167802,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2062:1:260","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2046:18:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":167806,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"2089:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":167804,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"2067:14:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":167805,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2082:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"2067:21:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":167807,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2067:37:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2046:58:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167809,"nodeType":"ExpressionStatement","src":"2046:58:260"},{"expression":{"id":167814,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167810,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167608,"src":"2108:12:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167812,"indexExpression":{"hexValue":"33","id":167811,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2121:1:260","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2108:15:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167813,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"2126:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2108:29:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167815,"nodeType":"ExpressionStatement","src":"2108:29:260"},{"expression":{"id":167824,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":167816,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"2143:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":167817,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"2155:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":167818,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"2171:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":167819,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"2142:41:260","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":167822,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2207:4:260","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":167820,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"2186:13:260","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":167821,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2200:6:260","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163895,"src":"2186:20:260","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":167823,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2186:26:260","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":"2142:70:260","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":167825,"nodeType":"ExpressionStatement","src":"2142:70:260"},{"expression":{"id":167830,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167826,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167597,"src":"2216:11:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167828,"indexExpression":{"hexValue":"34","id":167827,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2228:1:260","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2216:14:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167829,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167616,"src":"2233:10:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2216:27:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167831,"nodeType":"ExpressionStatement","src":"2216:27:260"},{"expression":{"id":167839,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167832,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167586,"src":"2247:15:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":167834,"indexExpression":{"hexValue":"34","id":167833,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2263:1:260","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2247:18:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":167837,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167620,"src":"2290:14:260","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":167835,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"2268:14:260","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":167836,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2283:6:260","memberName":"unwrap","nodeType":"MemberAccess","src":"2268:21:260","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":167838,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2268:37:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2247:58:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":167840,"nodeType":"ExpressionStatement","src":"2247:58:260"},{"expression":{"id":167845,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":167841,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167608,"src":"2309:12:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":167843,"indexExpression":{"hexValue":"34","id":167842,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2322:1:260","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2309:15:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167844,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167623,"src":"2327:11:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2309:29:260","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":167846,"nodeType":"ExpressionStatement","src":"2309:29:260"},{"expression":{"arguments":[{"id":167848,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167562,"src":"2358:10:260","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":167849,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167575,"src":"2370:8:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":167850,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167597,"src":"2380:11:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},{"id":167851,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167586,"src":"2393:15:260","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":167852,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":167608,"src":"2410:12:260","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":167847,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"2343:14:260","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":167853,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2343:80:260","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":167854,"nodeType":"ExpressionStatement","src":"2343:80:260"}]},"implemented":true,"kind":"freeFunction","modifiers":[],"name":"KnightTemplate","nameLocation":"653:14:260","parameters":{"id":167569,"nodeType":"ParameterList","parameters":[],"src":"667:2:260"},"returnParameters":{"id":167570,"nodeType":"ParameterList","parameters":[],"src":"670:0:260"},"scope":167857,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"license":"MIT"},"id":260}