{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/codegen/templates/DragoonTemplate.sol","id":165880,"exportedSymbols":{"Combat":[98974],"CombatArchetypes":[87309],"DragoonTemplate":[165879],"DragoonTemplateId":[165588],"EncodedLengths":[7251],"GoldOnKill":[109628],"LENGTH":[165591],"Movable":[142252],"ResourceId":[9486],"StructureTypes":[87321],"TerrainTypes":[87314],"UnitType":[163219],"UnitTypes":[87294],"Untraversable":[163933],"createTemplate":[177313],"templateId":[165585]},"nodeType":"SourceUnit","src":"32:2398:253","nodes":[{"id":165565,"nodeType":"PragmaDirective","src":"32:25:253","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":165567,"nodeType":"ImportDirective","src":"108:74:253","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":165880,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":165566,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"117:14:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":165569,"nodeType":"ImportDirective","src":"183:66:253","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":165880,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":165568,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"192:10:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":165571,"nodeType":"ImportDirective","src":"250:77:253","nodes":[],"absolutePath":"src/libraries/templates/createTemplate.sol","file":"base/libraries/templates/createTemplate.sol","nameLocation":"-1:-1:-1","scope":165880,"sourceUnit":177314,"symbolAliases":[{"foreign":{"id":165570,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"259:14:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":165576,"nodeType":"ImportDirective","src":"328:100:253","nodes":[],"absolutePath":"src/codegen/common.sol","file":"base/codegen/common.sol","nameLocation":"-1:-1:-1","scope":165880,"sourceUnit":87322,"symbolAliases":[{"foreign":{"id":165572,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"337:9:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":165573,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"348:16:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":165574,"name":"TerrainTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87314,"src":"366:12:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":165575,"name":"StructureTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87321,"src":"380:14:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":165582,"nodeType":"ImportDirective","src":"430:94:253","nodes":[],"absolutePath":"src/codegen/index.sol","file":"base/codegen/index.sol","nameLocation":"-1:-1:-1","scope":165880,"sourceUnit":87483,"symbolAliases":[{"foreign":{"id":165577,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"439:6:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":165578,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"447:8:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":165579,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"457:10:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":165580,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"469:7:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":165581,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"478:13:253","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":165585,"nodeType":"VariableDeclaration","src":"526:39:253","nodes":[],"constant":true,"mutability":"constant","name":"templateId","nameLocation":"543:10:253","scope":165880,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":165583,"name":"bytes32","nodeType":"ElementaryTypeName","src":"526:7:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"447261676f6f6e","id":165584,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"556:9:253","typeDescriptions":{"typeIdentifier":"t_stringliteral_5772c22fa74cf453c3d855c3a60486d614444954ede705c6fcac42309c940453","typeString":"literal_string \"Dragoon\""},"value":"Dragoon"},"visibility":"internal"},{"id":165588,"nodeType":"VariableDeclaration","src":"567:47:253","nodes":[],"constant":true,"mutability":"constant","name":"DragoonTemplateId","nameLocation":"584:17:253","scope":165880,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":165586,"name":"bytes32","nodeType":"ElementaryTypeName","src":"567:7:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"id":165587,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165585,"src":"604:10:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"id":165591,"nodeType":"VariableDeclaration","src":"616:27:253","nodes":[],"constant":true,"mutability":"constant","name":"LENGTH","nameLocation":"633:6:253","scope":165880,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":165589,"name":"uint256","nodeType":"ElementaryTypeName","src":"616:7:253","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"35","id":165590,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"642:1:253","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"visibility":"internal"},{"id":165879,"nodeType":"FunctionDefinition","src":"646:1783:253","nodes":[],"body":{"id":165878,"nodeType":"Block","src":"673:1756:253","nodes":[],"statements":[{"assignments":[165598],"declarations":[{"constant":false,"id":165598,"mutability":"mutable","name":"tableIds","nameLocation":"694:8:253","nodeType":"VariableDeclaration","scope":165878,"src":"677:25:253","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":165596,"name":"bytes32","nodeType":"ElementaryTypeName","src":"677:7:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165597,"nodeType":"ArrayTypeName","src":"677:9:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":165604,"initialValue":{"arguments":[{"id":165602,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165591,"src":"719:6:253","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":165601,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"705:13:253","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":165599,"name":"bytes32","nodeType":"ElementaryTypeName","src":"709:7:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165600,"nodeType":"ArrayTypeName","src":"709:9:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":165603,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"705:21:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"677:49:253"},{"assignments":[165609],"declarations":[{"constant":false,"id":165609,"mutability":"mutable","name":"encodedLengthss","nameLocation":"747:15:253","nodeType":"VariableDeclaration","scope":165878,"src":"730:32:253","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":165607,"name":"bytes32","nodeType":"ElementaryTypeName","src":"730:7:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165608,"nodeType":"ArrayTypeName","src":"730:9:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":165615,"initialValue":{"arguments":[{"id":165613,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165591,"src":"779:6:253","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":165612,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"765:13:253","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":165610,"name":"bytes32","nodeType":"ElementaryTypeName","src":"769:7:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165611,"nodeType":"ArrayTypeName","src":"769:9:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":165614,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"765:21:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"730:56:253"},{"assignments":[165620],"declarations":[{"constant":false,"id":165620,"mutability":"mutable","name":"staticDatas","nameLocation":"805:11:253","nodeType":"VariableDeclaration","scope":165878,"src":"790:26:253","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":165618,"name":"bytes","nodeType":"ElementaryTypeName","src":"790:5:253","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":165619,"nodeType":"ArrayTypeName","src":"790:7:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":165626,"initialValue":{"arguments":[{"id":165624,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165591,"src":"831:6:253","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":165623,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"819:11:253","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":165621,"name":"bytes","nodeType":"ElementaryTypeName","src":"823:5:253","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":165622,"nodeType":"ArrayTypeName","src":"823:7:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":165625,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"819:19:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"790:48:253"},{"assignments":[165631],"declarations":[{"constant":false,"id":165631,"mutability":"mutable","name":"dynamicDatas","nameLocation":"857:12:253","nodeType":"VariableDeclaration","scope":165878,"src":"842:27:253","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":165629,"name":"bytes","nodeType":"ElementaryTypeName","src":"842:5:253","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":165630,"nodeType":"ArrayTypeName","src":"842:7:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":165637,"initialValue":{"arguments":[{"id":165635,"name":"LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165591,"src":"884:6:253","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":165634,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"872:11:253","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":165632,"name":"bytes","nodeType":"ElementaryTypeName","src":"876:5:253","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":165633,"nodeType":"ArrayTypeName","src":"876:7:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":165636,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"872:19:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"842:49:253"},{"assignments":[165639],"declarations":[{"constant":false,"id":165639,"mutability":"mutable","name":"staticData","nameLocation":"909:10:253","nodeType":"VariableDeclaration","scope":165878,"src":"896:23:253","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":165638,"name":"bytes","nodeType":"ElementaryTypeName","src":"896:5:253","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":165640,"nodeType":"VariableDeclarationStatement","src":"896:23:253"},{"assignments":[165643],"declarations":[{"constant":false,"id":165643,"mutability":"mutable","name":"encodedLengths","nameLocation":"938:14:253","nodeType":"VariableDeclaration","scope":165878,"src":"923:29:253","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":165642,"nodeType":"UserDefinedTypeName","pathNode":{"id":165641,"name":"EncodedLengths","nameLocations":["923:14:253"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"923:14:253"},"referencedDeclaration":7251,"src":"923:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":165644,"nodeType":"VariableDeclarationStatement","src":"923:29:253"},{"assignments":[165646],"declarations":[{"constant":false,"id":165646,"mutability":"mutable","name":"dynamicData","nameLocation":"969:11:253","nodeType":"VariableDeclaration","scope":165878,"src":"956:24:253","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":165645,"name":"bytes","nodeType":"ElementaryTypeName","src":"956:5:253","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":165647,"nodeType":"VariableDeclarationStatement","src":"956:24:253"},{"expression":{"id":165656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165648,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165598,"src":"985:8:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165650,"indexExpression":{"hexValue":"30","id":165649,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"994:1:253","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"985:11:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":165653,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1017:6:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":165654,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1024:8:253","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":96603,"src":"1017:15:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":165651,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"999:10:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":165652,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1010:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"999:17:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":165655,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"999:34:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"985:48:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165657,"nodeType":"ExpressionStatement","src":"985:48:253"},{"expression":{"id":165666,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165658,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165598,"src":"1037:8:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165660,"indexExpression":{"hexValue":"31","id":165659,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1046:1:253","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1037:11:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":165663,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"1069:8:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnitType_$163219_$","typeString":"type(library UnitType)"}},"id":165664,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1078:8:253","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":162683,"src":"1069:17:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":165661,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1051:10:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":165662,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1062:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"1051:17:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":165665,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1051:36:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1037:50:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165667,"nodeType":"ExpressionStatement","src":"1037:50:253"},{"expression":{"id":165676,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165668,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165598,"src":"1091:8:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165670,"indexExpression":{"hexValue":"32","id":165669,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1100:1:253","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1091:11:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":165673,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"1123:10:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_GoldOnKill_$109628_$","typeString":"type(library GoldOnKill)"}},"id":165674,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1134:8:253","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":108942,"src":"1123:19:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":165671,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1105:10:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":165672,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1116:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"1105:17:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":165675,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1105:38:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1091:52:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165677,"nodeType":"ExpressionStatement","src":"1091:52:253"},{"expression":{"id":165686,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165678,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165598,"src":"1147:8:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165680,"indexExpression":{"hexValue":"33","id":165679,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1156:1:253","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1147:11:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":165683,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"1179:7:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Movable_$142252_$","typeString":"type(library Movable)"}},"id":165684,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1187:8:253","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":141566,"src":"1179:16:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":165681,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1161:10:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":165682,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1172:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"1161:17:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":165685,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1161:35:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1147:49:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165687,"nodeType":"ExpressionStatement","src":"1147:49:253"},{"expression":{"id":165696,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165688,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165598,"src":"1200:8:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165690,"indexExpression":{"hexValue":"34","id":165689,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1209:1:253","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1200:11:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":165693,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"1232:13:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":165694,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1246:8:253","memberName":"_tableId","nodeType":"MemberAccess","referencedDeclaration":163251,"src":"1232:22:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":165691,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1214:10:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":165692,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1225:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"1214:17:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":165695,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1214:41:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1200:55:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165697,"nodeType":"ExpressionStatement","src":"1200:55:253"},{"expression":{"id":165718,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":165698,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"1261:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":165699,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"1273:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":165700,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"1289:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":165701,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1260:41:253","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":"343030303030","id":165704,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1323:6:253","typeDescriptions":{"typeIdentifier":"t_rational_400000_by_1","typeString":"int_const 400000"},"value":"400000"},{"hexValue":"343030303030","id":165705,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1335:6:253","typeDescriptions":{"typeIdentifier":"t_rational_400000_by_1","typeString":"int_const 400000"},"value":"400000"},{"hexValue":"3730303030","id":165706,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1347:5:253","typeDescriptions":{"typeIdentifier":"t_rational_70000_by_1","typeString":"int_const 70000"},"value":"70000"},{"id":165708,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"1358:3:253","subExpression":{"hexValue":"3330","id":165707,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1359:2:253","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":165709,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1367:1:253","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"31","id":165710,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1374:1:253","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"arguments":[{"hexValue":"36","id":165714,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1404:1:253","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"}],"id":165713,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1398:5:253","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":165712,"name":"uint8","nodeType":"ElementaryTypeName","src":"1398:5:253","typeDescriptions":{}}},"id":165715,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1398:8:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":165711,"name":"CombatArchetypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87309,"src":"1381:16:253","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_CombatArchetypes_$87309_$","typeString":"type(enum CombatArchetypes)"}},"id":165716,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1381:26:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_CombatArchetypes_$87309","typeString":"enum CombatArchetypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_400000_by_1","typeString":"int_const 400000"},{"typeIdentifier":"t_rational_400000_by_1","typeString":"int_const 400000"},{"typeIdentifier":"t_rational_70000_by_1","typeString":"int_const 70000"},{"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":165702,"name":"Combat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98974,"src":"1304:6:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Combat_$98974_$","typeString":"type(library Combat)"}},"id":165703,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1311:6:253","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":98936,"src":"1304:13:253","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":165717,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1304:107:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"src":"1260:151:253","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":165719,"nodeType":"ExpressionStatement","src":"1260:151:253"},{"expression":{"id":165724,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165720,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165620,"src":"1415:11:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165722,"indexExpression":{"hexValue":"30","id":165721,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1427:1:253","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1415:14:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165723,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"1432:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1415:27:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165725,"nodeType":"ExpressionStatement","src":"1415:27:253"},{"expression":{"id":165733,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165726,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165609,"src":"1446:15:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165728,"indexExpression":{"hexValue":"30","id":165727,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1462:1:253","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1446:18:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":165731,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"1489:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":165729,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1467:14:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":165730,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1482:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"1467:21:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":165732,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1467:37:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1446:58:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165734,"nodeType":"ExpressionStatement","src":"1446:58:253"},{"expression":{"id":165739,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165735,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165631,"src":"1508:12:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165737,"indexExpression":{"hexValue":"30","id":165736,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1521:1:253","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1508:15:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165738,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"1526:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1508:29:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165740,"nodeType":"ExpressionStatement","src":"1508:29:253"},{"expression":{"id":165754,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":165741,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"1543:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":165742,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"1555:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":165743,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"1571:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":165744,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1542:41:253","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":"36","id":165750,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1618:1:253","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"}],"id":165749,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1612:5:253","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":165748,"name":"uint8","nodeType":"ElementaryTypeName","src":"1612:5:253","typeDescriptions":{}}},"id":165751,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1612:8:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":165747,"name":"UnitTypes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87294,"src":"1602:9:253","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_UnitTypes_$87294_$","typeString":"type(enum UnitTypes)"}},"id":165752,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1602:19:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_enum$_UnitTypes_$87294","typeString":"enum UnitTypes"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_UnitTypes_$87294","typeString":"enum UnitTypes"}],"expression":{"id":165745,"name":"UnitType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163219,"src":"1586:8:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnitType_$163219_$","typeString":"type(library UnitType)"}},"id":165746,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1595:6:253","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163181,"src":"1586:15:253","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":165753,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1586:36:253","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":"1542:80:253","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":165755,"nodeType":"ExpressionStatement","src":"1542:80:253"},{"expression":{"id":165760,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165756,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165620,"src":"1626:11:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165758,"indexExpression":{"hexValue":"31","id":165757,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1638:1:253","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1626:14:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165759,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"1643:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1626:27:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165761,"nodeType":"ExpressionStatement","src":"1626:27:253"},{"expression":{"id":165769,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165762,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165609,"src":"1657:15:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165764,"indexExpression":{"hexValue":"31","id":165763,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1673:1:253","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1657:18:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":165767,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"1700:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":165765,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1678:14:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":165766,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1693:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"1678:21:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":165768,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1678:37:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1657:58:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165770,"nodeType":"ExpressionStatement","src":"1657:58:253"},{"expression":{"id":165775,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165771,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165631,"src":"1719:12:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165773,"indexExpression":{"hexValue":"31","id":165772,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1732:1:253","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1719:15:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165774,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"1737:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1719:29:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165776,"nodeType":"ExpressionStatement","src":"1719:29:253"},{"expression":{"id":165785,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":165777,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"1754:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":165778,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"1766:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":165779,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"1782:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":165780,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1753:41:253","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":"353030","id":165783,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1815:3:253","typeDescriptions":{"typeIdentifier":"t_rational_500_by_1","typeString":"int_const 500"},"value":"500"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_500_by_1","typeString":"int_const 500"}],"expression":{"id":165781,"name":"GoldOnKill","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":109628,"src":"1797:10:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_GoldOnKill_$109628_$","typeString":"type(library GoldOnKill)"}},"id":165782,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1808:6:253","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":109590,"src":"1797:17:253","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":165784,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1797:22:253","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":"1753:66:253","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":165786,"nodeType":"ExpressionStatement","src":"1753:66:253"},{"expression":{"id":165791,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165787,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165620,"src":"1823:11:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165789,"indexExpression":{"hexValue":"32","id":165788,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1835:1:253","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1823:14:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165790,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"1840:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1823:27:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165792,"nodeType":"ExpressionStatement","src":"1823:27:253"},{"expression":{"id":165800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165793,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165609,"src":"1854:15:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165795,"indexExpression":{"hexValue":"32","id":165794,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1870:1:253","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1854:18:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":165798,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"1897:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":165796,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"1875:14:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":165797,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1890:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"1875:21:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":165799,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1875:37:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1854:58:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165801,"nodeType":"ExpressionStatement","src":"1854:58:253"},{"expression":{"id":165806,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165802,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165631,"src":"1916:12:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165804,"indexExpression":{"hexValue":"32","id":165803,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1929:1:253","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1916:15:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165805,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"1934:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1916:29:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165807,"nodeType":"ExpressionStatement","src":"1916:29:253"},{"expression":{"id":165816,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":165808,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"1951:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":165809,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"1963:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":165810,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"1979:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":165811,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1950:41:253","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":165814,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2009:4:253","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":165812,"name":"Movable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":142252,"src":"1994:7:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Movable_$142252_$","typeString":"type(library Movable)"}},"id":165813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2002:6:253","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":142214,"src":"1994:14:253","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":165815,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1994:20:253","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":"1950:64:253","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":165817,"nodeType":"ExpressionStatement","src":"1950:64:253"},{"expression":{"id":165822,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165818,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165620,"src":"2018:11:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165820,"indexExpression":{"hexValue":"33","id":165819,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2030:1:253","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2018:14:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165821,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"2035:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2018:27:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165823,"nodeType":"ExpressionStatement","src":"2018:27:253"},{"expression":{"id":165831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165824,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165609,"src":"2049:15:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165826,"indexExpression":{"hexValue":"33","id":165825,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2065:1:253","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2049:18:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":165829,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"2092:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":165827,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"2070:14:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":165828,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2085:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"2070:21:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":165830,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2070:37:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2049:58:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165832,"nodeType":"ExpressionStatement","src":"2049:58:253"},{"expression":{"id":165837,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165833,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165631,"src":"2111:12:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165835,"indexExpression":{"hexValue":"33","id":165834,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2124:1:253","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2111:15:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165836,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"2129:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2111:29:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165838,"nodeType":"ExpressionStatement","src":"2111:29:253"},{"expression":{"id":165847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":165839,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"2146:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":165840,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"2158:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":165841,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"2174:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":165842,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"2145:41:253","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":165845,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2210:4:253","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":165843,"name":"Untraversable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":163933,"src":"2189:13:253","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Untraversable_$163933_$","typeString":"type(library Untraversable)"}},"id":165844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2203:6:253","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":163895,"src":"2189:20:253","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":165846,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2189:26:253","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":"2145:70:253","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":165848,"nodeType":"ExpressionStatement","src":"2145:70:253"},{"expression":{"id":165853,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165849,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165620,"src":"2219:11:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165851,"indexExpression":{"hexValue":"34","id":165850,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2231:1:253","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2219:14:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165852,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165639,"src":"2236:10:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2219:27:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165854,"nodeType":"ExpressionStatement","src":"2219:27:253"},{"expression":{"id":165862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165855,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165609,"src":"2250:15:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":165857,"indexExpression":{"hexValue":"34","id":165856,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2266:1:253","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2250:18:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":165860,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165643,"src":"2293:14:253","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":165858,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"2271:14:253","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":165859,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2286:6:253","memberName":"unwrap","nodeType":"MemberAccess","src":"2271:21:253","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":165861,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2271:37:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2250:58:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":165863,"nodeType":"ExpressionStatement","src":"2250:58:253"},{"expression":{"id":165868,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":165864,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165631,"src":"2312:12:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":165866,"indexExpression":{"hexValue":"34","id":165865,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2325:1:253","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2312:15:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":165867,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165646,"src":"2330:11:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"2312:29:253","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":165869,"nodeType":"ExpressionStatement","src":"2312:29:253"},{"expression":{"arguments":[{"id":165871,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165585,"src":"2361:10:253","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":165872,"name":"tableIds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165598,"src":"2373:8:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":165873,"name":"staticDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165620,"src":"2383:11:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},{"id":165874,"name":"encodedLengthss","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165609,"src":"2396:15:253","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":165875,"name":"dynamicDatas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":165631,"src":"2413:12:253","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":165870,"name":"createTemplate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":177313,"src":"2346:14:253","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":165876,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2346:80:253","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":165877,"nodeType":"ExpressionStatement","src":"2346:80:253"}]},"implemented":true,"kind":"freeFunction","modifiers":[],"name":"DragoonTemplate","nameLocation":"655:15:253","parameters":{"id":165592,"nodeType":"ParameterList","parameters":[],"src":"670:2:253"},"returnParameters":{"id":165593,"nodeType":"ParameterList","parameters":[],"src":"673:0:253"},"scope":165880,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"license":"MIT"},"id":253}